Download DeviceNet Communication Module

Transcript
6-20
Using 160-DN2 with DeviceNet Scanner
Using I/O Messaging (Continued)
Figure 6.15
Example PLC-5 Ladder Logic Program (Continued)
Operator Input
Drive Stop
Command Bit
I:000
Bulletin 160
STOP
Command Bit
N10:1
0006
11
0
Operator Input
Drive Jog
Command Bit
I:000
Bulletin 160
JOG
Command Bit
N10:1
0007
12
Operator Input
Drive Clear Faults
Command Bit
I:000
2
Bulletin 160
CLEAR FAULT
Command Bit
N10:1
0008
13
0009
The Block Transfer Write in this rung sends the drive
command data to the scanner and out to the drive via
the DeviceNet network.
BT20:1
0010
EN
0011
Publication 0160-5.18 - June 2003
3
Bulletin 160
REFERENCE
Command Word
MOV
Move
Source
N21:0
0<
Dest
N10:2
0<
BTW
Block Transfer Write
Module Type Generic Block Transfer
Rack
000
Group
0
Module
0
Control Block
BT20:1
Data File
N10:0
Length
62
Continuous
No
EN
DN
ER
END