30
Mapping the Poll I/O Connection to AB-1747-SDN:
Before using the RSNetWorx to map the poll I/O connection to 1747-SDN DeviceNet
master scanner, the total number of bytes of the
Poll Produce Size
&
Poll Consume Size
must be determined. The format of the poll response and poll command are listed below:
Poll Response: [TxAck bits1~8][RxToggle bits1~8][Rx Data Inst.1] …[Rx Data Inst.8]
Poll Command: [TxToggle bits1~8][RxAck bits1~8][Tx Data Inst.1] …[Tx Data Inst.8]
The poll produce size is the size (bytes) of the poll response and the poll consume size is
based upon the size (bytes) of the poll command. The data DeviceNet packets for each
can have as many as eight data instances. The poll produce size and the poll consume size
are each based on the number of instances and data size used in each Rx/Tx packet. The
data size for
Short String
data type for each serial receive/transmit is:
Data Size (bytes) = 1 + number of ASCII character to receive.
The constant “1” is one byte reserve for the short string data size length. So if 3 bytes of
short-string data are used, the data size should be set to 4 bytes to include the length byte.
Example:
Using RSNetWorx for DeviceNet to map CDN366 for receiving 14 bytes of
barcode data and transmitting 1 byte for data confirmation. Typical in many
applications, CDN366 is setup to use only one instance.
Rx Instance 1 data size = 1 + 14 = 15 bytes
Tx Instance 1 data size = 1 + 1 = 2 bytes
For short string (poll response and poll command):
Consume size = 2 (handshaking) + 1 (length) + number of data byte (exclude delimiter)
For numeric (Real, usint, etc.):
Consume size = 2 (handshaking) + number of data byte (exclude delimiter)
1)
In RSNetWorx,
right click on the
CDN366 icon.
2)
Double click on
“
Properties
”
3)
The menu
“
CDN366
”
should pop up.
4)
Click on
“
Parameters
”
5)
If the “
EDS
Editor
” prompts,
click on
“
Upload
”
Summary of Contents for CDN366
Page 1: ...CDN366 DeviceNet Gateway Application Notes ...
Page 3: ...3 Revision Initial Release 6 12 01 ...
Page 10: ...10 Select Register a single file and enter the EDS file name on the white box Click on Next ...
Page 39: ...39 CDN366 Template Class Instance Attribute Default Setting Unit Comments ...
Page 72: ...DeviceNet RS 232 Interface Module 27 Publication 1770 5 6 June 1996 ...