Omron CS1G/H-CPUxxH Instructions Manual page 886

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Serial Communications Instructions
Unit address
00 Hex
Unit No. + 10
Hex
E1 Hex
Flags
Precautions
ing table. When the constant #0000 is designated to S, the communications
settings of the corresponding port will be set to default.
Unit
CPU Unit
1 hex
2 hex
Serial Communications
1 hex
Unit (CPU Bus Unit)
2 hex
Serial Communications
1 hex
Board (Inner Board) (CS
2 hex
Series only)
When STUP(237) is executed, the corresponding Port Parameters Changing
Flag (A61901, A61902, or A619 to A636) will turn ON. The flag will remain ON
until changing the parameters has been completed.
Use STUP(237) to change communications parameter for a port during oper-
ation based on specified conditions. For example, STUP(237) can be used to
change to Host Link communications for monitoring and programming from a
host computer when specified conditions are meet while execution a commu-
nications sequence for a modem connection.
Differences between CPU Units
If the PLC is turned OFF and then ON again after STUP(237) has been used
to change the communications parameters, the new parameters will be
retained or will revert to the previous parameters, depending on the CPU Unit.
CPU Unit
CS1-H, CJ1-H,
If the PLC is turned OFF and then ON again, the communications
CJ1M, or CS1D
parameters revert to the settings that existed before they were
changed with STUP(237).
CS1
If the PLC is turned OFF and then ON again, the communications
parameters set with STUP(237) are retained.
Name
Label
Error Flag
ER
Communications parameters consist of the protocol mode, baud rate, data
format (protocol macro transmission method and protocol macro maximum
communications data length), and other parameters. Refer to CS/CJ-series
Programmable Controllers Operation Manual (W339) or CS/CJ-series Serial
Communications Boards and Serial Communications Unit Operation Manual
(W336) for the serial port that is to be set for details.
Port No.
Serial port
Port 1
Communications parameters for
the peripheral port in the PLC
Setup
Port 2
Communications parameters for
the RS-232C port in the PLC
Setup
Port 1
10 words starting from D30000 +
100 x Unit No.
Port 2
10 words starting from D30000 +
100 x Unit No. + 10
Port 1
10 words starting from D32000
Port 2
10 words starting from D32010
Status of communications parameters
Operation
ON if the values in C are not within range.
ON if STUP(237) is executed for a port whose Communi-
cations Parameter Changing Flag is already ON.
ON if STUP(237) is executed in an interrupt task.
OFF in all other cases.
Section 3-24
Serial port communications
setup area
865

Advertisement

Table of Contents
loading

Table of Contents