![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301118.webp)
1078
Network Instructions
Section 3-25
Precautions
Be sure that the order of bytes in the source data matches the order in the
explicit message’s frame (order of data in the line). For example, when the
service data is in 2-byte or 4-byte units, the order of data in the frame is left-
most to rightmost order in 2-digit pairs, as shown in the following diagram.
The following diagrams show how data is stored in the data areas when the
service data is in 2-byte or 4-byte units.
1.
Data in 2-byte Units
• Storing Data from the Leftmost Byte (Bits 12 to 15 of C = 0 hex)
Example: Storing the value 1234 hex in D+1
Communications
Port Error Flag
A21900 to
A21907
These flags are turned ON to indicate that the
explicit message itself was not sent from the cor-
responding ports (00 to 07) during execution of
an explicit message instruction.
The flag status is retained until the next network
instruction is executed. The flag will be turned
OFF when the next instruction is executed even if
an error occurred previously.
Communications
Port Completion
Codes
A203 to
A210
These words contain the completion codes for the
corresponding ports (00 to 07) following execu-
tion of a network instruction.
The corresponding word will contain 0000
while the Explicit Communications Error Flag
is OFF.
The corresponding word will contain a FINS
error code when that port’s Explicit Communi-
cations Error Flag and Communications Port
Error Flag are both ON.
The corresponding word will contain the
appropriate explicit message error code when
that port’s Explicit Communications Error Flag
is ON and the Communications Port Error
Flag is OFF.
The corresponding word will contain 0000 while
the network instruction is being executed and the
completion code will be written when the instruc-
tion is completed. These words are cleared when
program execution begins.
Name
Address
Operation
78
56
34
12
34
12
Service Data:12345678Hex
Service Data:1234Hex
Command format
Example: Address 1234 hex
stored in 34
→
12 order
Example: Cumulative time12345678
hex stored in 78
→
56
→
34
→
12 order
34
15
3
4
1
D+1
2
08 07
00
12
Frame
The data in the frame is
in the order 34
→
12.
In this case, 1234 hex is
stored from the leftmost
byte in the order 34
→
12.
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...