![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681028.webp)
989
Serial Communications Instructions
Section 3-24
Inner Board Flags for Serial Communications Board (Ports 1 and 2)
Examples
■
Example 1: Sending Data
When CIO 000001 and the RS-232C port’s Send Ready Flag (A39205) are
ON in the following example, the RS signal is set according to the status of
D00300 bit 15 and the ER signal is set according to the status of D00300 bit
14.
Name
Address
Contents
Inner Board Service Dis-
abled Flag
A42404
ON when TXD(236) is executed for a
Serial Communications Board that
does not support no-protocol mode (a
Board without a version number).
S:
ST 12
34 AB CD EF ED
0
3
0
C: D00400
8
12
3
4
15
0
7
11
Byte order
0: Most significant byte to least significant byte
RS and ER signal control
3: RS and ER signal control
Always 0
Serial port specifier
0: CPU Unit's RS-232C port
0
0
S: D00300 1 0 0 0
15 14 13 12
ER signal set to 0
RS signal set to 1
TXD
D00300
D00400
&0
000001
S
C
N
A39205
RS-232C port's
Send Ready Flag
Sent
ST: Start code (e.g., 02 hex)
ED: End code (e.g., 03 hex)
Start and end codes added according to set-
ting in PC Setup (this example assumes that
both a start and end code have been set).
5 bytes
Sent in speci-
fied order.
Most signifi-
cant bytes
Least signif-
icant bytes
Содержание 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...