CDN36X User Manual
revision 1.30
Configure Serial Channel
The
Serial Stream Obje
ct attributes control the physical layer settings for the CDN36X serial
channel. These settings apply to all serial transmit and receive operations. The attributes also
configure the reception of message packets. Before you can set or change any gateway
configuration settings, make sure the gateway is not in the DeviceNet master scan list.
Serial Stream Object Instance Attributes (Class Code 64)
Number Name Data
Type
Value
3
Baud Rate
UDINT
300, 1200, 2400, 4800, 9600, 19200 bps
4 Data
Bits
USINT
7,
8
5
Parity
USINT
0 = no parity
1 = odd parity
2 = even parity
3 = mark
4 = space
6 Stop
Bits
USINT
1,
2
7
Flow Control
USINT
0 = none
1 = XON / XOFF
2 = CTS / RTS
10
Delimiter Mode
USINT
Bit 0 – List mode
Bit 1 – Timeout mode
Bit 2 – Length mode
11
Pre-Delimiter List
Short_String List mode – String of 1-9 bytes.
12
Post-Delimiter List Short_String List mode – String of 1-9 bytes.
13
Packet Timeout
USINT
Timeout mode – delay between received bytes (1-255 msec).
14
Packet Length
USINT
Length mode – Number of message bytes (1-128).
15
Serial Status
USINT
Bit 0 = RX buffer overrun error
Bit 1 = RX parity error
Bit 4 = TX buffer overrun error
Bit 5 = TX parity error
16
Byte Swap
USINT
0 = disable.
1 = enable.
18
RS422 Mode
USINT
0 = 4-wire mode (RS422 full duplex)
1 = 2-wire mode (RS485 half duplex)
20
I/O Produce Size
UINT
Number of data bytes returned in an I/O Response Message.
21
I/O Consume Size
UINT
Number of data bytes expected in an I/O Command Message.
Baud Rate –
Sets the serial channel’s data or baud rate. Enter
Baud Rate
in bits-per-second
(bps) as a decimal number.
Data Bits –
Selects the number of data bits in one serial byte. This number does not include
start, parity, or stop bits.
Parity –
Selects the parity type used in the serial byte. Selecting any parity option other than
NONE
adds 1 parity bit to the serial byte length.
Stop Bits –
Selects the number of stop bits in one serial byte.
MKS Instruments, Inc.
D.I.P. Products Group
31