Using master-slave communications, Polled allocation – Rockwell Automation 1336-GM6 Enhanced DeviceNet Communications Module User Manual
Page 92
B-4
Enhanced DeviceNet Adapter’s Parameters
Using Master-Slave
Communications
To have your Enhanced DeviceNet adapter receive its I/O from a
scanner (PLC or SLC) on the DeviceNet network, you must configure
it for Master-Slave communications.
Figure B.2
Master-Slave Communications
Master-Slave communications let you transmit 2 – 10 words of I/O
data between the adapter and the scanner.
How you configure your adapter and scanner depends on the type of
allocation you are using. The adapter supports the following:
•
Polled.
•
COS (Change of State).
•
Cyclic.
•
Polled and COS.
•
Polled and Cyclic.
Polled Allocation
In polling, the scanner sends control data to the adapter, and then the
adapter responds with its status data. To use polling, you must enable
polling in the adapter and in the scanner.
1. Enable the desired I/O and datalinks (parameters 4 – 8).
2. Set the M-S Input (24) parameter. Refer to the “M-S Input
Parameter Configurations” section in this chapter.
3. Set the M-S Output (25) parameter. Refer to the “M-S Output
Adapter Input
Adapter Output
Master Data from
DeviceNet
Slave Data to
DeviceNet
Data from the
SCANport
Device
Data to the
SCANport
Device
Logic Command
Reference
DL A1 Inp
DL B1 Inp
DL C1 Inp
DL D1 Inp
DL D2 Inp
DL C2 Inp
DL B2 Inp
DL A2 Inp
Logic Status
Feedback
DL A1 Out
DL B1 Out
DL C1 Out
DL D1 Out
DL D2 Out
DL C2 Out
DL B2 Out
DL A2 Out
M-S Output (25)
MSB
1=Enable
0=Disable
LSB
X
X
X
M-S Input (24)
MSB
LSB
X
X
X