95
PLC Network Instructions
Section 6-2
can be executed at the same time for each port. To execute more than one
instructions in sequence at the same port, use the Port Enabled Flags to be
sure that a port is not busy before executing a new instruction for it. Port
Enabled Flags are contained in the status data provided in PLC memory for
network communications.
Note
With CS-series PLCs, ports 0 to 7 are also used for executing the PMCR
(PROTOCOL MACRO) instruction, therefore these flags are used for the 4
instructions: SEND(90), RECV(98), CMND(490), and PMCR(260). When the
PMCR(260) command is being executed, the same port cannot be used for
SEND(90), RECV(98), and CMND(490) instructions.
Communications
Instruction Response
Codes
The status after a communications instruction has been executed is reflected
in the words shown in the following table. During instruction execution, it
becomes “00” or “0000,” and it is reflected here after the execution has been
completed.
Flag Timing
The following timing chart shows the timing of the Port Enabled Flag, Port
Execute Error Flag, and response codes. In this example two commands
were executed for port 0 but there was an error for command 1.
Note
The new data will be sent if the data in the transmission area is changed while
a command is being executed. Do not change data in the area being transmit-
ted unless the Port Enabled Flag is ON.
Name
Address
Contents
Word
Bit
Network Instruction
Enabled Flag
A202
Port number corresponds to bit number, i.e.,
port 0: bit 00, port 1, bit 00, etc.
0: Execution not enabled (executing)
1: Execution enabled (not executing)
Network Instruction
Error Flag
A219
Port number corresponds to bit number plus
8, i.e., port 0: bit 00, port 1, bit 01, etc.
0: Normal end
1: Abnormal end
PLC
Word
Bits
Contents
CS Series
A203
---
Port 0 response code
A204
---
Port 1 response code
A205
---
Port 2 response code
A206
---
Port 3 response code
A207
---
Port 4 response code
A208
---
Port 5 response code
A209
---
Port 6 response code
A210
---
Port 7 response code
0000
0000
1
0
1
0
Port Enabled Flag
(port 0)
Port Execution Error
Flag (port 0)
Response code (port 0)
Command 1
Command 2
Execution
enabled
Execution
enabled
Execution
enabled
Executing
Executing
Command 1
error occurred
Response code for the
previous command
Response code
for command 1
Response code
for command 2
Command
accepted
Command
accepted
Executed
Executed
Содержание CS1W-SLK11-21 - 06-2004
Страница 1: ...Cat No W367 E1 02 SYSMAC CS1W SLK11 21 SYSMAC LINK Units...
Страница 2: ...CS1W SLK11 21 SYSMAC LINK Units Operation Manual Revised June 2004...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ......
Страница 11: ......
Страница 17: ......
Страница 49: ......
Страница 107: ......
Страница 139: ...122 FINS Commands for SYSMAC LINK Units Section 6 4...
Страница 143: ......
Страница 170: ...153 Appendix B Dimensions CS1W SLK11 Optical SYSMAC LINK Unit Unit mm...
Страница 171: ...154 Dimensions Appendix B CS1W SLK21 Coaxial SYSMAC LINK Unit Unit mm...
Страница 177: ......
Страница 179: ......
Страница 195: ......
Страница 199: ......
Страница 201: ...Authorized Distributor Cat No W367 E1 02 Note Specifications subject to change without notice Printed in Japan...
Страница 202: ...SYSMAC CS1W SLK11 21 SYSMAC LINK Units Cat No W367 E1 02 OPERATION MANUAL...