Omron C200HX Computer Hardware User Manual


 
333
When digit 0 of C is 0, the bytes of source data shown above will be transmitted in
this order: 12345678...
When digit 0 of C is 1, the bytes of source data shown above will be transmitted in
this order: 21436587...
Note When start and end codes are specified the total data length should be 256 bytes
max., including the start and end codes.
Flags ER: Another device is not connected to the peripheral port.
There is an error in the communications settings (PC Setup) or the oper-
and settings.
Indirectly addressed DM word is non-existent. (Content of DM word is
not BCD, or the DM area boundary has been exceeded.)
The source words (S to S+(N÷2)1) exceed the data area.
26405: RS-232C Port Communications Enabled Flag
26413: Peripheral Port Communications Enabled Flag
26705: Host Link Unit #0 Communications Enabled Flag
26713: Host Link Unit #1 Communications Enabled Flag
5-27-3 CHANGE RS-232C SETUP STUP(––)
N: RS-232C port specifier
IR 000, IR 001, or IR 002
S: First source word
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
STUP(––)
N
S
---
@STUP(––)
N
S
---
The 3rd operand is ignored.
Limitations N must be IR 000, IR 001, or IR 002.
S and S+4 must be in the same data area.
(S can be set to #0000 to change the RS-232C settings to their defaults.)
STUP(––) cant be executed for the internal RS-232C port if pin 2 of the DIP
switch is ON.
STUP(––) cant be executed within an interrupt subroutine.
Description When the execution condition is OFF, STUP(––) is not executed. When the
execution condition is ON, STUP(––) changes the PC Setup settings for the port
specified by N.
N determines which part of the RS-232C Setup is changed.
N Specified Port
IR 000 Built-in RS-232C port (PC Setup: DM 6645 to DM 6649)
IR 001 Communications Board port A (PC Setup: DM 6555 to DM 6559)
IR 002 Communications Board port B (PC Setup: DM 6550 to DM 6554)
If S is a word address, the contents of S through S+4 are copied to the 5 words in
the PC Setup that contain the settings for the port specified by N.
If S is input as the constant #0000, the settings for the specified port are returned
to their default values.
Serial Communications Instructions Section 5-27