Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1063

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Serial Communications Instructions
Description
Unit address
00 hex
Unit No. + 10
hex
E1 hex
1024
Area
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
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.
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)
The following data is stored in the 10 words from S to S+9.
Peripheral port on CPU Unit
RS-232C port built into CPU Unit
Serial Communications Unit port 1
Serial Communications Unit port 2
Serial Communications Board port 1 D32000 to D32009
Serial Communications Board port 2 D32010 to D32019
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.
C
Specified values only
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
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
PLC Setup settings in Programming Console
addresses +144 to +153
PLC Setup settings in Programming Console
addresses +160 to +169
m to m+9 (m = D30000
m+10 to m+19 (m = D30000
Section 3-24
S
#0000
---
Serial port communications
setup area
unit number)
unit number)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents