![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681064.webp)
1025
Serial Communications Instructions
Section 3-24
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.
Related Flags and Words
The following flags can be used as required when executing STUP(237).
These flags are in the Auxiliary Area.
Examples
When CIO 000000 turns ON in the following example, the communications
parameters for serial port 1 of the Serial Communications Board (Inner Board)
are changes to the settings contained in the 10 words from D00100 to
D00109. In this example, the setting are changed the protocol mode to the
protocol macro mode.
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.
Name
Address
Contents
Peripheral Port Parameters
Changing Flag
A61901
ON when the communications param-
eters are being changed for the periph-
eral port.
RS-232C Port Parameters
Changing Flag
A61902
ON when the communications param-
eters are being changed for the RS-
232C port.
Port Parameters Changing
Flags for ports 1 to 4 on
Serial Communications
Units 1 to 15.
A620 bit 01 to
bit 04
to A635 bit 01
to bit 04
ON when the communications param-
eters are being changed for a port on a
Serial Communications Unit.
Port Parameters Changing
Flags for ports 1 to 4 on the
Serial Communications
Board (CS Series only)
A63601 to
A63604
ON when the communications param-
eters are being changed for a port on
the Serial Communications Board.
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...