Omron SYSMAC CS Series Instruction & Reference Manual page 806

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents
3. Instructions
Example Programming
0.00
1919.15
Protocol
Macro
Execution
Flag
D100
D101
2 words
D102
D200
D201
1 word
Note As shown above, the symbol read option, R( ), in the send message or the symbol write option, W( ), actually
sends/receives data.
772
A202.07
Communica-
tions Port
Enabled Flag
D100
R
D200
Unit address of communications partner
E1 hex: Inner Board
Serial port number (physical port)
2 hex: Port 2
Communications port number (logical port)
7 hex: Logical port 7
Communications sequence number
0065 hex: 101
0
3
R(1), 2: 2 bytes sent
Used as
from D101
send area
2
0
W(1), 2: 2 bytes received
Received
starting from D201
data
When CIO 0.00 is ON in the following example,
communications sequence No. 101 (0065 hex)
will be executed as long as the Communications
Port Enabled Flag for port 7 (A20207) is ON and
the Port 1 Protocol Macro Execution Flag (CIO
1909.15) is OFF.
If an operand is specified for the symbol in a
send message, 2 words of data starting from
D101 will be used as the send area (because
the contents of D100 is #0003).
If an operand is specified for the symbol in a
receive message, 2 words of data will be stored
starting from D201 and the number of words
received +1 will be written to D200.
Sent
1
0
0
Received
2
0
0
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Table of Contents
loading

Table of Contents