SmartPLC SafeLine AC4S with fieldbus interfaces
8.5 Data exchange between standard PLC and fail-safe PLC ................................................82
8.5.1 Remarks about the use of exchange variables ........................................................................... 82
8.5.2 Use the factory-set replacement variables ................................................................................. 83
8.5.3 Create additional objects for data exchange .............................................................................. 85
8.5.4 Set interval of the data exchange ............................................................................................... 85
8.6 Safe cross communication .................................................................................................86
8.6.1 Note on the size of the exchange objects ................................................................................... 87
8.6.2 Set up fail-safe network variables ............................................................................................... 88
8.6.3 Use fail-safe network variables in the application ....................................................................... 89
8.7 Safe fieldbus communication .............................................................................................90
8.7.1 Configure FSoE connection ........................................................................................................ 91
8.7.2 Notes on the FSoEMaster .......................................................................................................... 92
8.8 Set process safety time ......................................................................................................93
8.8.1 Process safety time for the AC4S ............................................................................................... 93
8.8.2 Set variable components of the response time ........................................................................... 99
8.9 Configure safety task .......................................................................................................100
8.9.1 Set cycle time of the fail-safe PLC ............................................................................................ 100
9 Operation 101
9.1 Transfer CODESYS project to device ..............................................................................101
9.1.1 Download Standard application to AC4S ................................................................................. 102
9.1.2 Load safe application to AC4S ................................................................................................. 103
9.1.3 Note: Projects with network variables ....................................................................................... 104
9.1.4 Teach code sequences of the safe AS-i slaves ........................................................................ 104
9.1.5 Delete boot application via SD card ......................................................................................... 105
9.2 Operating states AC4S ....................................................................................................106
9.2.1 Standard PLC ........................................................................................................................... 106
9.2.2 Fail-safe PLC ............................................................................................................................ 108
9.3 Reset ................................................................................................................................112
9.3.1 Standard PLC ........................................................................................................................... 112
9.3.2 Fail-safe PLC ............................................................................................................................ 114
9.4 Display web visualisation .................................................................................................115
10 Appendix 116
10.1 Library ACnnnn_Utils.library ............................................................................................117
10.1.1 Overview: AS-i functions (FB_ASi) ........................................................................................... 118
10.1.2 Overview: System functions (FB_System) ............................................................................... 163
10.1.3 Enumeration types and complex variables ............................................................................... 170
10.2 Library ACnnnn_SYS_CMD.library ..................................................................................179
10.2.1 ACnnnn_SysCmd ..................................................................................................................... 179
10.3 Library SF_IO.library ........................................................................................................187
10.3.1 CtrlASi_InSlave ........................................................................................................................ 188
10.3.2 CtrlASi_OutSlave ..................................................................................................................... 190
10.3.3 CtrlASi_ResetAllSlaves ............................................................................................................ 193
10.3.4 CtrlLocalInputs ......................................................................................................................... 194
10.3.5 Ctrl_SetDiagInfo ....................................................................................................................... 196
10.3.6 GetLocalInput ........................................................................................................................... 198
10.3.7 SetLocalOutput ......................................................................................................................... 199
10.4 Library SF_LogicalInterfaces.library ................................................................................200
10.4.1 Remarks about logical devices ................................................................................................. 201
10.4.2 Logical devices for safe AS-i slaves ......................................................................................... 205
10.4.3 Logical devices for the local I/O interface ................................................................................. 235
10.5 Error codes: Safe AS-i slaves ..........................................................................................267
10.6 Error codes: Local I/O interface .......................................................................................269
11 Index 270