CR1140 CR1141
4
8.4.2 Integrating external files .............................................. 59
8.4.2.1 File name conventions .......................................... 59
8.4.3 Texts and fonts..................................................... 59
8.4.4 Language selection.................................................. 60
8.4.4.1 Example of language switching by mouse click. . . . . . . . . . . . . . . . . . . . . . . . 60
8.4.4.2 Example Variable CurrentLanguage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
8.4.5 Using image pools................................................... 61
8.4.5.1 Image properties............................................... 61
8.4.5.2 Adjusting the boot screen........................................ 61
8.4.6 Using the visualisation manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
8.4.6.1 Defining functions for operating elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
8.4.6.2 Global switching of the visualisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
8.4.6.3 Local switching of the visualisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
8.4.6.4 Configuring the target visualisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
8.4.6.5 Configure web visualisation....................................... 64
8.4.7 Creating a visualisation............................................... 65
8.5 Using touch screen functions .............................................. 65
8.5.1 Notes ............................................................ 65
8.5.2 Configuring input objects of the visualisation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
8.5.3 Using multitouch functionality.......................................... 66
8.6 Operation without touch functionality. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
8.7 CSV file logging ........................................................ 67
8.7.1 Writing a CSV file................................................... 67
8.7.1.1 How to proceed:............................................... 67
8.7.2 Reading a CSV file.................................................. 67
8.7.3 String format uiGenericLogSizeMax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
8.8 CODESYS IIoT Libraries SL............................................... 68
8.9 Using CANopen ........................................................ 68
8.9.1 CANopen: Sending and receiving SDO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
8.9.2 CANopen: Network Management (NMT). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
8.10 Using RawCAN (CAN Layer 2)............................................. 69
8.10.1 RawCAN: Controlling CAN network nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
8.10.2 RawCAN: Sending and receiving CAN messages. . . . . . . . . . . . . . . . . . . . . . . . . . . 69
8.10.3 RawCAN: Requesting and sending remote CAN messages . . . . . . . . . . . . . . . . . . . 70
8.11 Using J1939........................................................... 70
8.11.1 Adding a CAN bus .................................................. 70
8.11.2 Assign CAN interface ................................................ 70
8.11.3 Adding J1939 Manager............................................... 70
8.11.4 Setting J1939 Manager parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
8.11.5 Attaching J1939-ECU................................................ 71
8.11.6 Setting J1939-ECU parameters......................................... 71
8.12 Using EtherNet/IP....................................................... 71
8.12.1 Adding an Ethernet adapter to an Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
8.12.2 Attaching an EtherNet/IP adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
8.12.3 Attaching an EtherNet/IP module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
8.12.4 Configuring the EtherNet/IP interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
8.13 Using Modbus.......................................................... 73
8.13.1 Adding an Ethernet adapter to an Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
8.13.2 Attaching a Modbus TCP master........................................ 73
8.13.3 Attaching a Modbus TCP slave device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
8.13.4 Configuing a Modbus TCP slave device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
8.14 Configuring task processing ............................................... 74
8.14.1 Configuring a task................................................... 75
8.14.2 Configuring a visualisation task. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
8.15 Using ecomatPanel...................................................... 75
8.15.1 Connecting and activating ecomatPanel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
9 Operation .................................................................. 77
9.1 Transferring CODESYS project to the device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
9.1.1 Loading an application to the device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
9.1.2 Deleting an application from the device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
9.2 Operating states of the PLC application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78