![Omron CJ1G-CPUxx Instructions Manual Download Page 886](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491886.webp)
865
Serial Communications Instructions
Section 3-24
ing table. When the constant #0000 is designated to S, the communications
settings of the corresponding port will be set to default.
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.
Flags
Precautions
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.
Unit address
Unit
Port No.
Serial port
Serial port communications
setup area
00 Hex
CPU Unit
1 hex
Port 1
Communications parameters for
the peripheral port in the PLC
Setup
2 hex
Port 2
Communications parameters for
the RS-232C port in the PLC
Setup
Unit No. + 10
Hex
Serial Communications
Unit (CPU Bus Unit)
1 hex
Port 1
10 words starting from
100 x Unit No.
2 hex
Port 2
10 words starting from
100 x Unit No. + 10
E1 Hex
Serial Communications
Board (Inner Board) (CS
Series only)
1 hex
Port 1
10 words starting from D32000
2 hex
Port 2
10 words starting from D32010
CPU Unit
Status of communications parameters
CS1-H, CJ1-H,
CJ1M, or CS1D
If the PLC is turned OFF and then ON again, the communications
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
Operation
Error Flag
ER
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.
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...