![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681050.webp)
1011
Serial Communications Instructions
Section 3-24
Auxiliary Area
Completion Codes
m+4
m+14
8 to 15
No-protocol Mode Start
Code
00 to FF hex
0 to 7
No-protocol Mode End
Code
00 to FF hex
m+5
m+15
12 to 15 No-protocol Mode Start
Code Specifier
0: None
1: Use start code.
8 to 11
No-protocol Mode End
Code Specifier
0: None
1: Use end code.
2: Use CR+LF.
Setup Area word
Bit
Name
Settings
Port 1
Port 2
Name
Address
Description
Communications
Port Enabled
Flags
A20200
to
A20207
ON when a communications instruction (including
TXDU(256) can be executed with the corresponding
port number. Bits 00 to 07 correspond to communica-
tions ports 0 to 7.
The flag is OFF when a communications instruction is
being executed and ON when the execution is com-
pleted (normal end or error end).
Communications
Port Completion
Codes
A203 to
A210
These words contain the completion codes for the
corresponding port numbers when communications
instructions have been executed. Words A203 to
A210 correspond to communications ports 0 to 7.
The code is 00 while the instruction is being executed
and contains the relevant code when execution is
completed.
These words are cleared to 0000 when PLC opera-
tion starts.
Communications
Port Error Flags
A219
ON when an error occurred during execution of a
communications instruction. When a flag is ON,
check the completion code in A203 to A210 to trou-
bleshoot the error.
OFF when execution has been finished normally. Bits
00 to 07 correspond to communications ports 0 to 7.
The flag status is retained until the next communica-
tions instruction is executed. Even if an error has
occurred, a flag will be reset to 0 the next time that a
communications instruction is executed for that port.
Code
Meaning
0205 hex
Response timeout (This error can occur when the communications
mode is set to host link mode.)
0401 hex
Undefined command (This error can occur when the communications
mode is set to protocol macro, NT Link, echoback test, or serial gate-
way mode.)
1001 hex
The command is too long.
1002 hex
The command is too short.
1003 hex
The specified number of data elements does not match the actual
amount of send data.
1004 hex
The command format is incorrect.
110C hex
Other parameter error
2201 hex
Operation could not be performed during operation. (Operation dis-
abled because Unit is busy sending.)
2202 hex
Operation could not be performed when stopped. (Operation dis-
abled because Unit is switching protocols.)
Содержание 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...