Change Serial Port Setup - Stup - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Communications Instructions
Flags
5-30-3 CHANGE SERIAL PORT SETUP – STUP(––)
Control Word (C)
The value of the control word determines the port from which data will be read
and the order in which data will be written to memory.
Digit number: 3 2 1 0
The specified number of bytes will be read from S through S+(N ÷ 2)–1 and
transmitted through the specified port.
When digit 0 of C is 0, the bytes of source data shown above will be transmit-
ted in this order: 12345678...
When digit 0 of C is 1, the bytes of source data shown above will be transmit-
ted 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. (The maximum data length is
254 bytes when both a start code and end code are specified.)
ER:
A port on the Serial Communications Board is specified, but a Serial
Communications Board is not installed.
There is an error in the communications settings (PC Setup) or the op-
erand settings.
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 source words (S to S+(N ÷ 2)–1) exceed the data area.
Ladder Symbols
STUP(−−)
N
S
000
0
Byte order 0: Most significant bytes first
1: Least significant bytes first
Not used. (Set to 0.)
Serial port specifier (when bits 12 to 15 are 0.)
0: CPU Unit's built-in RS-232C port
1: Serial Communications Board port 1
2: Serial Communications Board port 2
Port
0: Port other than the peripheral port
1: Peripheral port
MSB LSB
S
1
S+1
3
S+2
5
S+3
7
@STUP(−−)
IR 000, IR 001, IR 002, or IR 003
N
S
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, #
000
Section 5-30
2
4
6
8
Operand Data Areas
N: Port specifier
S: First source word
Third operand: Set to 000.
−−−
419

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents