![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301063.webp)
1023
Serial Communications Instructions
Section 3-24
Description
STUP(237) writes 10 words of data from S to S+9 to the communications
setup area of the Unit with the specified unit address, as shown in the follow-
ing table. When the constant #0000 is designated to S, the communications
settings of the corresponding port will be set to default.
The following data is stored in the 10 words from S to S+9.
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.
Constants
Specified values only
#0000
Data Registers
DR0 to DR15
---
Index Registers
---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area
C
S
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
Peripheral port on CPU Unit
PLC Setup settings in Programming Console
add144 to +153
RS-232C port built into CPU Unit
PLC Setup settings in Programming Console
add160 to +169
Serial Communications Unit port 1
m to m+9 (m = D30000
×
unit number)
Serial Communications Unit port 2
m+10 to m+19 (m = D30000
×
unit number)
Serial Communications Board port 1 D32000 to D32009
Serial Communications Board port 2 D32010 to D32019
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...