— 4 —
4. Create a program and build ..................................................................................................................... 90
5. Download and run program ..................................................................................................................... 91
3. Use the controller as Modbus TCP Master ................................................................................................ 92
1. Device preparation ....................................................................................................................................... 92
2. Add slave device ............................................................................................................................................ 93
3. Modbus TCP Master setting ..................................................................................................................... 95
4. Create and build a program ..................................................................................................................... 97
5. Download and run program ..................................................................................................................... 98
4. Use the controller as Modbus TCP Slave.................................................................................................... 99
1. Device preparation ....................................................................................................................................... 99
2. Slave setting ..................................................................................................................................................100
3. Create a program and build ...................................................................................................................104
4. Download and run program ...................................................................................................................105
5. Use the controller as Modbus RTU Master..............................................................................................108
1. Device preparation .....................................................................................................................................108
2. Add slave device ..........................................................................................................................................109
3. Modbus RTU Master setting ...................................................................................................................111
4. Create and build a program ...................................................................................................................113
5. Download and run program ...................................................................................................................114
6. Use the controller as Modbus RTU Slave .................................................................................................115
1. Device preparation .....................................................................................................................................115
2. Slave setting ..................................................................................................................................................116
3. Create a program and build ...................................................................................................................120
4. Download and run program ...................................................................................................................121
7. OPC UA Server setting .....................................................................................................................................124
1. Device preparation .....................................................................................................................................124
2. CODESYS setting .........................................................................................................................................124
3. OPC-UA Client setting ...............................................................................................................................126
8. Counter Input ......................................................................................................................................................128
1. Basic procedure flow .................................................................................................................................128
2. Event procedure flow ................................................................................................................................129
3. Count value setting operation flow .....................................................................................................130
4. Sample program ..........................................................................................................................................131
9. File Access .............................................................................................................................................................136
1. File Access Library setting ........................................................................................................................136
2. Function list ...................................................................................................................................................136
3. Data type ........................................................................................................................................................137
4. Function details ............................................................................................................................................138
5. Sample program ..........................................................................................................................................144
10. Transfer data to Cloud server ........................................................................................................................153
1. File Access Library setting ........................................................................................................................153
2. Function list ...................................................................................................................................................153
3. Function list ...................................................................................................................................................154
4. Function details ............................................................................................................................................156
5. Sample program ..........................................................................................................................................160
Monitoring Edit ............................................................ 167
1. Use CONPROSYS HMI ......................................................................................................................................168