Ethernet Communications Modules, 3rd Edition, Rev. D
4–15
Chapter 4: RLL Programming for Communications
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Example Program with One Write Instruction
The Ladder View screen below is the program development screen in
Direct
SOFT Programming
Software. This four-rung program is explained in detail on page 4-16. This is a complete
program although its function is very limited. There is also a two-rung program that runs in the
responding PLC. It is also explained on page 4-16.
Program for the Initiating PLC
Program for the Responding PLC
When the toggle switch input to the
initiating
PLC is turned on (transitions from 0 to 1), the
C100 bit in the
responding
PLC also transitions from 0 to 1. The program in the responding
PLC causes Y0 to turn on in response to the C100 bit.
For the purpose of these example programs, both the initiating PLC and the responding PLC
must be in RUN Mode.
E
C
O
M
E
C
O
M
Hub
On
Off
X0
Y0
Module ID 3
Module ID 14
CPU
CPU
U
T
P
U
T
O
U
T
P
U
T
O
I
N
P
U
T
I
N
P
U
T
Initiating PLC
(master)
Responding PLC
(slave)
Содержание H0-ECOM
Страница 1: ...HX ECOM Manual Manual Number HX ECOM M...