421
Communications Instructions
Section 5-30
The settings are transferred as shown below. The Port 1 Protocol Macro Exe-
cuting Flag (IR 20708) will be turned OFF again when the transfer has been
completed.
The following table shows the function of the transferred setup data.
Note
An error will occur if STUP(––) is executed while a port’s Settings Changing
Flag or Protocol Macro Executing Flag is ON, so include the flag as a nor-
mally closed execution condition.
Use STUP(––) to change settings such as the communications mode during
operation. For example, a communications sequence can be executed in Pro-
tocol Macro mode to exchange data through a modem connection and the
communications mode can be switched to Host Link mode when necessary to
monitor/program the PC without stopping operation.
Flags
ER:
Indirectly addressed EM/DM word is non-existent.
(Content of
*
EM/
*
DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
The port specifier (N) isn’t IR 000, IR 001, IR 002, or IR 003.
The specified source words exceed the data area.
The built-in RS-232C port or the peripheral port has been specified,
but pin 5 on the DIP switch is ON.
A port on the Serial Communications Board is specified, but a Serial
Communications Board is not installed.
STUP(––) was executed when the specified port’s Settings Changing
Flag (AR 2404 for the RS-232C port or AR 2403 for the peripheral port)
or Protocol Macro Executing Flag (IR 20708 for port 1 or IR 20712 for
port 2) was ON.
Word
Content
Function
DM 0100
1001
Enables the communications settings in DM 0101 and
sets the communications mode to RS-232C.
DM 0101
0803
Sets the following communications settings:
9,600 bps, 1 start bit, 8-bit data, 1 stop bit, no parity
DM 0102
0000
No transmission delay (0 ms)
DM 0103
2000
Enables the end code CR, LF.
DM 0104
0000
---
DM 0100
DM 0101
DM 0102
DM 0103
DM 0104
1001
DM 6555
0803
DM 6556
0000
DM 6557
2000
DM 6558
0000
DM 6559
1001
0803
0000
2000
0000
1001
0803
0000
2000
0000
1001
0803
0000
2000
0000
1001
0803
0000
2000
0000
1001
0803
0000
2000
0000
1001
0803
0000
2000
0000
1001
0803
0000
2000
0000
@STUP(
−−
)
001
DM 0100
20708
00000
Содержание SYSMAC CQM1H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ......
Страница 11: ......
Страница 15: ...xvi...
Страница 87: ...62 Calculating with Signed Binary Data Section 1 7...
Страница 169: ...144 Serial Communications Board Section 2 6...
Страница 537: ......
Страница 565: ......
Страница 569: ......
Страница 573: ......
Страница 577: ......