Change Serial Port Setup: Stup(237) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Serial Communications Instructions
000000

3-24-7 CHANGE SERIAL PORT SETUP: STUP(237)

Purpose
A20203
155906
Communications
Reception
Port Enabled
Completed
Flag
Flag
15
12
11
8
C: D00200
0
0
15
12
11
8
C+1: D00201
3
1
Communication port No. specifier (internal logic port)
3: Communications port No. 3
Note: The Serial Communications Unit's serial port unit address can
also be directly specified in C+1.
15
12
11
8
7
3
0
C+1
0: Directly specified serial port unit address
Communications port No. specifier (internal logic port)
3: Communications port No. 3
Most significant bytes Least significant bytes
15
8
D: D00100
3
4
D00101
7
8
D00102
C
D
D00103
G
H
D00104
K
L
Note: Allocated DM Area Settings
Start code/end code
15
12
11
8
7
0
2
0
D30204:
Start code (e.g., 02 hex)
Start code/end code specifier
15
12
11
8
7
D30205:
1
1
End code specifier
1: Use end code
Start code specifier
1: Use start code
Changes the communications parameters of a serial port on the CPU Unit,
Serial Communications Board (CS Series only), or Serial Communications
Unit (CPU Bus Unit). STUP(237) thus enables the protocol mode to be
changed during PLC operation.
RXDU
D
D00100
C
D00200
N
&10
7
4 3
0
0
1
1: Least significant byte to most significant byte
RS and ER signal control
0: No RS and ER signal control
7
4 3
0
1
2
Serial Communications Unit's unit address
(CPU Bus Unit's unit address)
12: Unit address + 10 hex
Serial Communications Unit's serial port specifier
1: Serial port No. 1
4 3
0
8
8
Serial Communications Unit's serial port unit address specifier
88: 80 + (04_Unit No. 2)
7
0
1
2
5
6
A
B
Received in
1 2 3 4 5 6 7 8 A B C D E F G H I J K L
specified
E
F
order:
I
J
Start and end codes added
according to setting in PC Setup
ST
12
4 3
0
ST: Start code (e.g., 02 hex)
3
ED: End code (e.g., 03 hex)
End code (e.g., 03 hex)
4 3
0
Number of receive data bytes
00: Unlimited (256 bytes max.)
Section 3-24
10 bytes
34
56 78 AB CD
EF GH IJ
KL ED
Data received
1021

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents