Setup Area Allocations - Omron SYSMAC CS1W-SCB41-V1 Operation Manual

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

Setup Area Allocations

10-1-4 Indicators Used for the Loopback Test
Serial Communications
Boards (CS Series Only)
Serial Communications
Units (CS/CJ Series)
10-2 Setup Area Allocations
DM Area
Board
(CS Series only)
(CS/CJ Series)
Port 1
Port 2
Port 1
D32000
D32010
m
D32001
D32011
m + 1
Serial Communications
Mode
5. Turn ON the Loopback Test Switch. To end the test, turn OFF the switch.
The Loopback Test Switches are as follows:
Board:
CIO 1900, bit 06 for port 1 and bit 14 for port 2
Unit:
n, bit 06 for port 1 and bit 14 for port 2 (n = CIO 1500 + 25 x
Unit No.)
Refer to 10-3 CIO Area Allocations .
6. Use the protocol status to check the results.
Refer to 10-3 CIO Area Allocations .
When the test is being executed, the indicators shown below will flash. Use
the protocol status to check whether or not the test has been executed nor-
mally.
Port 1: COMM1 indicator
Port 2: COMM2 indicator
Port 1: SD1/RD1 indicator
Port 2: SD2/RD2 indicator
This section describes the Setup Area allocated to the Serial Communications
Board and Serial Communications Units in the DM Area when loopback tests
are performed.
The loopback test is performed using the Host Link mode protocol. The Setup
is basically the same as for the Host Link mode.
Bit
Unit
Port 2
m + 10
15
Port settings
14 to 12
Reserved
11 to 08
Serial communications mode: Always F Hex (Loopback test)
07 to 05
Reserved
04
Start bits
0: 1 bit; 1: 1 bit (1 start bit is always used regardless of this setting)
03
Data length
02
Start bits
01
Parity
00
Parity
m + 11
15 to 04
Reserved
03 to 00
Baud rate (bps)
0 hex: Default (9,600); 3 hex: 1,200; 4 hex: 2,400; 5 hex: 4,800;
6 hex: 9,600; 7 hex: 19,200; 8 hex: 38,400; 9 hex: 57,600;
A hex: 115,200
Set the serial communications mode to F Hex to perform a loopback test.
For the other settings, refer to 4-2 Setup Area Allocations.
m = D30000 + 100 × unit number
Settings
0: Defaults, 1: User settings
0: 7 bits, 1: 8 bits
0: 2 bits, 1: 1 bit
0: Yes, 1: No
0: Even, 1: Odd
Section 10-2
305

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents