![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681118.webp)
1079
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.
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...