Changing Communications Port Settings Using STUP(237)
Settings
Note STUP(237) transfers 10 words of data from the DM Area Setup Area. When using the Modbus-RTU
slave mode, the Setup Area is expanded. Before executing STUP(237), use MOV(021) or other instruc-
tions to write the Modbus-RTU settings directly to the DM Area Setup Area for the Serial Communica-
tions Board/Unit. Doing so will allow STUP(237) to transfer all of the expanded DM Area Setup Area to
the Serial Communications Board/Unit.
Serial
Communications
Board/Unit
3) STUP(237)
writes the settings
to the Board/Unit.
S:
D00200 0500
S+1:
D00201 0000
S+2:
D00202 0000
S+3:
D00203 0000
:
S+9:
Transmit
D32010
0500
Settings for port 2 of Serial Communications Board
D32011
0000
(D32010 to D32019)
D32012
0000
D32013
0000
D32019
Setup in DM Area
Port 1 Settings
Port 2 Settings
Port 1 Settings
for Modbus-
RTU Slave
Port 1 Settings
for Modbus-
RTU Slave
Port setting: Defaults
Protocol mode: 1 hex (Host Link)
Baud rate: Default (9,600 bps)
Transmission delay time: 0 ms
CTS control: None
Unit number: 00
2) Execute STUP(237).
Port 1
setting data
Port 1
setting data
for Modbus-RTU
slave
1) Move setting data using
MOV(021) or other instruction.
Appendix R
737