CDN36X User Manual
revision 1.30
SERIAL STREAM OBJECT
The Serial Stream Object configures the CDN36X serial channel.
Serial Stream Object
Class Code 64 (0x40)
Class
Attribute
Access Name
Type
Value
1 Get
Revision
UINT 1
2
Get
Max Object Instance
UINT
1
6 Get
Max
Class
Identifier
UINT 7
7 Get
Max
Instance
Attribute
UINT 14
Instance
Attribute
Access Name
Type
Value
3
Get/Set Baud Rate
UDINT
300, 1200, 2400, 4800, 9600, 19200 bits per sec.
4 Get/Set
Data
Bits
USINT 7,
8
5
Get/Set Parity
USINT
0 = no parity
1 = odd parity
2 = even parity
3 = mark
4 = space
6 Get/Set
Stop
Bits
USINT 1,
2
7
Get/Set Flow Control
USINT
0 = none
1 = XON / XOFF
2 = CTS / RTS
10
Get/Set Delimiter Mode
USINT
Bit 0 – List mode
Bit 1 – Timeout mode
Bit 2 – Length mode
11
Get/Set Pre-Delimiter List
Short_String List mode – String of 1-9 bytes.
12
Get/Set Post-Delimiter List
Short_String List mode – String of 1-9 bytes.
13
Get/Set Packet Timeout
USINT
Timeout mode – delay between received bytes
(1-255 msec).
14
Get/Set Packet Length
USINT
Length mode – Number of message bytes (1-128).
15
Get/Set 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
Get/Set Byte Swap
USINT
0 = disable
1 = enable
18
Get/Set RS422 Mode
USINT
0 = 4-wire mode (RS422 full duplex)
1 = 2-wire mode (RS485 half duplex)
20
Get/Set I/O Produce Size
UINT
Number of data bytes returned in a I/O Response
Message.
21
Get/Set I/O Consume Size
UINT
Number of data bytes expected in a I/O Command
Message.
Common Services
Service Code
Class
Instance
Service Name
05 (0x05)
No
Yes
Reset
14 (0x0E)
Yes
Yes
Get_Attribute_Single
16 (0x10)
No
Yes
Set_Attribute_Single
MKS Instruments, Inc.
D.I.P. Products Group
49