CDN36X User Manual
revision 1.30
Serial Transmit Object Settings
There are eight identical
Serial Transmit Object
instance attribute sets that can be configured in
the CDN36X gateway. This section describes how to configure a single
Serial Transmit Object
instance. Repeat this step for each desired instance.
Serial Transmit Object Instance Attributes (Class Code 66)
Number Name Data
Type
Value
3
Transmit Data
Data Type
Message data to transmit. Received in I/O Command Message.
4
Transmit Toggle
BOOL
User app toggles (0-1, 1-0) to indicate new Transmit Data value.
5
Transmit Acknowledge BOOL
Gateway sets this bit to match Transmit Toggle when the latest
Transmit Data message has been sent.
6
Transmit Mode
USINT
Bit 0 – use Data
Bit 1 – use String1 before data
Bit 2 – use String2 before data
Bit 3 – use String1 after data
Bit 4 – use String2 after data
7
String1
Short_String String of 1-9 bytes.
8
String2
Short_String String of 1-9 bytes.
9
Data Type
USINT
194 (0xC2) = SINT (1 byte)
195 (0xC3) = INT (2 bytes)
198 (0xC6) = USINT (1 byte)
199 (0xC7) = UINT (2 bytes)
202 (0xCA) = REAL (4 bytes)
218 (0xDA) = Short String (Data Size bytes)
10 Data
Size
USINT
1-128
11 Width
USINT
1-16
12 Precision
USINT
0-6
13
Conversion
USINT
Bit 0 – hex (0 for decimal, 1 for hex)
Bit 7 – use leading zeros to pad number
15
Data In I/O Command BOOL
0 = no, 1 = yes
Transmit Data
– Data to be transmitted by this Instance as a serial message packet. The
Transmit Data
value is typically received in the DeviceNet I/O Command Message.
Transmit Toggle
– User application must toggle this bit when it sends a new
Transmit Data
value in the I/O Command Message. Instance will only process and transmit a
Transmit Data
value once after this bit is toggled.
Transmit Acknowledge
– Gateways sets equal to
Transmit Toggle
when the current
Transmit
Data
message packet is queued in transmit buffer, indicating the Instance is ready new data.
Transmit Mode
– Defines the message packet structure to be transmitted. The message packet
can consist of 5 fields –
String1 Before
,
String2 Before
,
Data
,
String1 After
, and
String2 After
.
Set associated bits (0, 1, 2, 3, 4) to enable the desired fields. Set the remaining bits 5-7 to zero.
[ String1 Before ] [ String2 Before ] [ Data ] [ String1 After ] [ String2 After ]
MKS Instruments, Inc.
D.I.P. Products Group
37