CDN36X User Manual
revision 1.30
Pre-String
attribute defines the byte string for the
Pre-String
field.
Data Size
attribute defines
the number of bytes expected in the
Data
field.
Post-String
attribute defines the byte string for
the
Post-String
field.
When
Use Pre-String
bit is set, the Instance searches the message packet bytes for a match to the
stored
Pre-String
. If a match is not found, the message packet is ignored.
When
Use Data
bit is set, the Instance converts the
Data Size
number of message bytes into a
value defined by
Data
Type
, and saves it as
Receive Data
. If there are not enough message
bytes, the message packet is ignored. You must select
Use Data
in order to send input data to the
DeviceNet master.
When
Use Post-String
bit is set, the Instance searches the message packet bytes for a match to
the stored
Post-String
. If a match is not found, the message packet is ignored.
Pre-String
– Required if
Use Pre-String
selected in
Receive Mode
. Enter a string of 1-9 bytes in
Short_String data format, with 1
st
byte = string length. Example
Pre-String
is [ 0x01 0x41 ],
where string length is 1 and pre-string character is 0x41 (‘A’). You must use the RSNetworx
™
Class Instance Editor (Set Attribute Single command) to write a Short_String attribute value.
Post-String
– Required if
Use Post-String
selected in
Receive Mode
. Enter a string of 1-9 bytes
in Short_String data format, with 1
st
byte = string length. Example
Post-String
is [ 0x02 0x42
0x43 ], where string length is 2 and post-string characters are 0x42 (‘B’) and 0x43 (‘C’). You
must use the RSNetworx
™
Class Instance Editor (Set Attribute Single command) to write a
Short_String attribute value.
Data Type
– The Instance converts received ASCII message data into the selected data type for
Receive Data
.
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
Data T
218
ype
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 (signed 16-bit integer)
SINT (signed 8-bit integer)
Enter number from decimal (or hex) column to select the desired data type.
Data Size
column
defines the number of data bytes for
Receive 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.
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.
MKS Instruments, Inc.
D.I.P. Products Group
35