Modbus TCP Remote I/O Communication Module RTU-EN01
7 Application Examples – DCISoft
7.15 Smart PLC: IF-THEN
Application Setting up | ||
Steps | 1. When RX#0 and RX#1 are ON, set RY0 to output. | |
2. When RX#2 turns from OFF to ON, set RY1 to reversing its direction. | ||
|
1. See the connection method (as below) and 6.1 for how to set up communication.
PC
| Ethernet |
|
10N EU- TR | TS8 | |
| COM2 |
|
| DI/DO |
DA | CT | TP | DA |
40 | 40 | 40 | 02 |
PV- D | DVP- |
AI/AO
2.Open the setup page and switch to “Smart PLC” page.
3.Select “RX 0 On” and “RX 1 On” in the IF column and select “AND” for the relation between conditions. Next, select “RY 0 Set” in the THEN column and press “Add” to add the settings into the table below.
4.Select “RX 2 Rising” in the IF column and “RY 1 Toggle” in the THEN column. Press “Add” to add the settings into the table below. Press “Apply” to store these settings into
42 |