Word Allocations For Communications Status - Omron DeviceNet CV Series Operation Manual

Devicenet slaves
Table of Contents

Advertisement

RS-232C Units
6-2-5

Word Allocations for Communications Status

Port 2 status
Bit
Buy: www.ValinOnline.com | Phone 844-385-3099 | Email: CustomerService@valin.com
The RS-232C Unit is allocated one word (16 points) in the IN Area of the Mas-
ter Unit. This word is configured as illustrated in the following diagram, and is
used to communicate the communications status of RS-232C ports 1 and 2 to
the Master Unit.
Port 1 status
Bit
Name
0
8
Transmission
Ready Flag
1
9
PLC Setup Error
Flag
2
10
Receiving Flag
3
11
Received Flag
4
12
Parity Error Flag
5
13
Overrun Error Flag 0: No overrun error
6
14
Framing Error Flag 0: No framing error
7
15
Receive Buffer
Overflow Flag
Bits 0, 8: Transmission Ready Flag
Bits 1, 9: System Parameter Setup Error Flag
Bits 2, 10: Receiving Flag
Bits 3, 11: Received Flag
Bits 4, 12: Parity Error Flag
Bits 5, 13: Overrun Error Flag
Bits 6, 14: Framing Error Flag
Bits 7, 15: Receive Buffer Overflow Flag
Function
0: Transmitting data
1: Transmission enabled (no data transmitted)
When writing data to other ports (SEND com-
mand), check to make sure this bit is 1 (ON)
before starting.
0: System parameter setup normal
1: System parameter setup error
0: No data is being received
1: Data is being received
0: No data in the reception buffer
1: Data in the reception buffer
When reading data from other ports (RECEIVE
READ DATA command), check to make sure this
bit is 1 (ON) before starting.
0: No parity error
1: Parity error
When a parity error occurs, make sure that the
parity setting for the RS-232C Unit and the RS-
232C device are the same.
1: Overrun error
When an overrun error occurs, make sure that
the baud rate setting for the RS-232C Unit and
the RS-232C device are the same.
1: Framing error
When a framing error occurs, make sure that the
character format setting (data length, parity, No.
of stop bits) for the RS-232C Unit and the RS-
232C device are the same.
0: No overflow in the reception buffer
1: Reception buffer overflow (Not possible to read
receive data)
When the reception buffer overflows it is neces-
sary to either reset or restart the RS-232C Unit,
or reset (initialize) the RS-232C port at which the
overflow occurred.
Section 6-2
265

Advertisement

Table of Contents
loading

Table of Contents