3 Table of Contents
1 Function and area of use ....................................................................................................................................... 2
2 About this Startup document ................................................................................................................................ 2
3 Table of Contents ................................................................................................................................................... 3
4 BCS Tools or CODESYS ....................................................................................................................................... 5
BCS Tools 3.30 or newer .............................................................................................................................. 5
CODESYS ..................................................................................................................................................... 5
5 X2 series Soft control with CODESYS ................................................................................................................. 6
Installation of CODESYS runtime X2 control/X2 marine SC/BoX2 pro SC (v2.1.1 Build 906) ................... 6
Installation of CODESYS runtime X2 extreme SC/BoX2 extreme SC (v2.0 Build 368) ................................ 6
Installation of CODESYS runtime X2 control/X2 marine SC/BoX2 pro SC (v2.0 Build 775) ...................... 7
Installation of CODESYS runtime X2 extreme SC/BoX2 extreme SC (v2.0 Build 367) ................................ 7
Installation of CODESYS runtime X2 control/X2 marine SC/BoX2 pro SC (v1.5.1 Build 693) ................... 8
Installation of CODESYS runtime X2 extreme SC/BoX2 extreme SC (v1.2.1 Build 287) ............................. 8
Installation of CODESYS runtime X2 control (v1.4 Build 581) ................................................................... 9
CODESYS device handling >= image v2.0 (b775/b367) ............................................................................. 9
CODESYS runtime version dependencies ................................................................................................... 10
Version compatibility chart X2 control/X2 marine SC/Box2 pro SC .......................................................... 12
Version compatibility chart X2 extreme/BoX2 extreme SC ........................................................................ 13
Persistent function (X2 control/extreme, BoX2 pro SC/BoX2 extreme SC) ................................................ 13
Declaration of Persistent Variables ........................................................................................................... 14
Boot application ......................................................................................................................................... 16
Interrupt and watchdog .............................................................................................................................. 16
Performance tuning .................................................................................................................................... 17
Error checking and error log ..................................................................................................................... 19
Code transparency CODESYS vs BCS Tools ............................................................................................. 21
6 Supported fieldbus combinations X2 series ....................................................................................................... 22
7 EtherCAT ............................................................................................................................................................. 23
Installation .................................................................................................................................................. 23
Ethernet port mapping ................................................................................................................................ 24
Image version ≥ 1.5 Build 693 with CODESYS runtime 3.5.13.30.4 or newer .......................................... 24
Image version 1.4 Build 581 with CODESYS runtime 3.5.10.10.16 ........................................................... 25
Bus cycle task and I/O updating ................................................................................................................. 26
Output status in STOP mode ...................................................................................................................... 27
Performance ............................................................................................................................................... 27
Limitations and recommended settings....................................................................................................... 28
Error checking ............................................................................................................................................ 29
Links ........................................................................................................................................................... 29
8 Modbus RTU ........................................................................................................................................................ 30
Installation .................................................................................................................................................. 30
Cables ......................................................................................................................................................... 30
COM port mapping ..................................................................................................................................... 31
Bus cycle task and I/O updating ................................................................................................................. 32
Output status in STOP mode ...................................................................................................................... 33
Limitations and recommended setting ........................................................................................................ 34
Error checking ............................................................................................................................................ 34
Performance ............................................................................................................................................... 35
Dynamic configuration and application triggers ....................................................................................... 35
Links ........................................................................................................................................................... 35
9 Modbus TCP ........................................................................................................................................................ 36
Installation .................................................................................................................................................. 36
Ethernet port mapping ................................................................................................................................ 36
36
36
Image version ≥ 1.5.1 Build 693 with CODESYS runtime 3.5.13.30.4 or newer ....................................... 36
Image version 1.4 Build 581 with CODESYS runtime 3.5.10.10.16 ........................................................... 37