CDN36X User Manual
revision 1.30
String1
attribute defines the byte string for the
String1 Before
and
String1 After
fields.
Data Size
attribute defines the number of bytes expected in the
Data
field.
String2
attribute defines the
byte string for the
String2 Before
and
String2 After
fields. While the
Data
field is typically
selected, you can configure an Instance to transmit a predefined message using String1 and/or
String2, without requiring any output data bytes from the DeviceNet master.
When the
String1 Before
and/or
String2 Before
bits are set, the Instance places the respective
byte string(s) at the beginning of the message packet. If both options are selected, String1 is
placed before String2. The Instance then loads the converted data bytes in the Data field. If the
String1
After
and/or
String2 After
bits are set, the Instance places the respective byte string(s) at
the end of the message packet. If both options are selected, then String1 is placed before String2.
The message packet is then loaded into the Transmit Buffer to be sent out the serial channel.
String1
– Required if
String1 Before
or
String1 After
selected in
Transmit Mode
. Enter a string
of 1-9 bytes in Short_String data format, with 1
st
byte = string length. Example
String1
is [ 0x02
0x41 0x42 ], where string length is 2 and post-string characters are 0x41 (‘A’) and 0x42 (‘B’).
You must use the RSNetworx
™
Class Instance Editor (Set Attribute Single command) to write a
Short_String attribute value.
String2
– Required if
String2 Before
or
String2 After
selected in
Transmit Mode
. Enter a string
of 1-9 bytes in Short_String data format, with 1
st
byte = string length. Example
String2
is [ 0x03
0x43 0x44 0x45 ], where string length is 3 and post-string characters are 0x43 (‘C’), 0x44 (‘D’),
and 0x45 (‘E’). You must use the RSNetworx
™
Class Instance Editor (Set Attribute Single
command) to write a Short_String attribute value.
Data Type
– Defines the
Transmit Data
attribute data type.
Decimal
194
195
198
199
202
Hex.
Date Size (byte)
Value Range
0xC2
1
-128 ~ 127
0xC3
2
-32768 ~ 32767
0xC6
1
0 ~ 255
0xC7
2
0 ~ 65535
0xCA
4
+1.175E-38 ~ +3.4028E+38
0xDA
Short_String
Set by data size attribute, Max. 240 bytes
REAL (32-bit floating point value)
UINT (unsigned 16-bit integer)
USINT (unsigned 8-bit integer)
INT
218
(signed 16-bit integer)
SINT (signed 8-bit integer)
Data Type
Enter number from decimal (or hex) column to select the desired data type.
Data Size
column
defines the number of data bytes for
Transmit Data
. For
Short_String,
set
Data Size
attribute to
the desired number of data bytes (plus 1 length byte). Set the
Width
attribute to the expected
number of ASCII bytes to be converted into a real or integer number. Set the
Precision
attribute
to the desired number of digits after the decimal point in a real number.
Data Size
– Required for Short_String
Data Type
. Defines the maximum number of bytes in a
Short-String, plus one length byte (2-128). The first byte in a Short_String defines the string
length
The
Data Size
attributes for all 8
Serial Receive Object
instances must sum to a total of less than
or equal to 128 bytes, and all 8
Serial
Transmit Object
instances must sum to a total less than or
MKS Instruments, Inc.
D.I.P. Products Group
38