FC_OpenSlcCommunication - General Information
Type: |
Function |
Available as of: |
V1.0.0.0 |
Versions: |
Current version |
NOTE: This function is only supported by PacDrive LMC controllers.
The function FC_OpenSlcCommunication activates the required port rules for the controller firewall. This allows communication of the programming software with the SLC (Safety Logic Controller) via the controller.
oAfter a restart, the firewall is configured according to the default configuration file. Refer to How to Configure the Firewall for PacDrive LMC Controllers User Guide.
oIt is a good practice to keep the port rules activated only as long as needed. Use the FC_CloseSlcCommunication to deactivate the port rules after your communication to the SLC (Safety Logic Controller) is no longer needed.
|
UNAUTHENTICATED ACCESS AND SUBSEQUENT UNAUTHORIZED MACHINE OPERATION |
oEvaluate whether your environment or your machines are connected to your critical infrastructure and, if so, take appropriate steps in terms of prevention, based on Defense-in-Depth, before connecting the automation system to any network. oLimit the number of devices connected to a network to the minimum necessary. oIsolate your industrial network from other networks inside your company. oProtect any network against unintended access by using firewalls, VPN, or other, proven security measures. oMonitor activities within your systems. oPrevent subject devices from direct access or direct link by unauthorized parties or unauthenticated actions. oPrepare a recovery plan including backup of your system and process information. |
Failure to follow these instructions can result in death, serious injury, or equipment damage. |
Input |
Data type |
Description |
---|---|---|
i_ifSafeLogic |
SystemConfigurationItf.IF_SafeLogic |
Specifies the SLC (Safety Logic Controller) for which the communication should be enabled. |
Output |
Data type |
Description |
---|---|---|
q_etResult |
Provides diagnostic and status information as an enumeration value. |
|
q_sResultMsg |
STRING [80] |
Provides additional diagnostic and status information as a text message. |
Data type |
Description |
---|---|
BOOL |
TRUE = SLC connection settings were adapted successfully. FALSE = SLC connecting settings cannot be set. |
The following elements of ET_Result are used for q_etResult.
Name |
Data type |
Value |
Description |
---|---|---|---|
UDINT |
0 |
Operation completed successfully. |
|
UDINT |
100 |
Function not available for this controller. |
|
UDINT |
200 |
The interface assigned to i_ifSafeLogic must be provided by an instance of the Safety Logic Controller in the Devices tree of the project. |