![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681025.webp)
986
Serial Communications Instructions
Section 3-24
The following diagram shows the order in which data is sent and the contents
of the send frame for various start and end code settings.
Flags
1
3
5
2
4
6
CR
LF
CR+LF End Code
Only End Code
Data
Data
Data
Data
Data
Data
N bytes of data is sent in the following order when
sending the most significant bytes first is specified:
1, 2, 3, 4, 5, 6
No Start or End Code
N send bytes: 256 max.
Only Start Code
Send bytes after ST:
256 max.
Send bytes before ED:
256 max.
Start and End Code
Send bytes between
ST and ED: 256 max.
Send bytes before
CR+LF: 256 max.
Send bytes between ST
and CR+LF: 256 max.
Start and CR+LF End Code
RS-232C port on CPU Unit
Data sent.
Name
Label
Operation
Error Flag
ER
ON if the CPU Unit’s RS-232C port is specified as the
send port, but no-protocol mode is not set in the PLC
Setup.
ON if one of the Serial Communication Board’s serial
ports is specified as the send port, but no-protocol mode
is not set in the port’s allocated DM Setup Area.
ON if the value of C is not within range.
ON if the value for N is not between 0000 and 0100 hex.
ON if a send is attempted when the Send Ready Flag is
OFF. (The Send Ready Flag is A39205 for the CPU Unit’s
RS-232C port, A35605 for Serial Communications Board
port 1, or A35613 for Serial Communications Board port
2.)
ON (ER Flag in interrupt tasks) if a TXD(236) or
RXD(235) instruction is being executed for the Serial
Communications Board in the cyclic task, the cyclic task
is interrupted, and another TXD(236) or RXD(235)
instruction is executed for the Serial Communications
Board in the interrupt task. (See note.)
Note
The Error (ER) Flag will turn ON immediately after
another TXD(236) or RXD(235) instruction in the
interrupt task.
OFF in all other cases.
Содержание 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...