DeviceNet HMS Simulator - 2009!1!5
DeviceNet HMS Simulator - 2009!1!5
S300/S600/S700
Paul Coughlin
DeviceNet
Controls up to Up to 64 Nodes
Distances
Up to 500 meters @ Baud rate of 125k
Up to 250 meters @ Baud rate of 250k
Up to 100 meters @ Baud rate of 500k
2 Communication Methods
Polled I/O
(bit 5 is always 1 for Command & Response Axis – it is not Amp address)
Output Data
(Command Assembly)
Input Data
(Response Assembly)
Dongle Port
Baud Rate
Slave Address
Additional information
Vendor ID
Serial Number
Product Name
Polled I/O
Actual Position
Read from GUI = 4998
Actual Position
Read from DeviceNet
00001387 hex
Input Data Bytes 4 & 5
Additional Objects
Command Block : Class 027– creating and storing Motion Tasks
Block Sequencer: Class 0x26 – executing Motion Tasks
Position Object: Class 0x24 – handles errors of amplifiers
Click on Address
Search for slaves
Note:
CommPort
Baud Rate
Node Address
Address 10 is identified
(no parenthesis)
Establish Communications
Click on Communications
Start
Stop
Read Attribute
Write Attribute
Changing Opmodes
Class 0x25
Instance 0x01
Attribute 0x03
Explicit Message 0x00
(Send Value)
Note: Most Objects use Instance 0x01 and special Attribute number. Parameter
Object uses Attribute 0x01 and Instance corresponding to DPR from GUI
Example:
Move Home (MH)
DPR = 141 (dec)
Class ID = 0x0F
Instance ID = 0x8D
Attribute ID = 0x01
Explicit Message = 0x01
(Send Value)
ASCII object
reference
GV Proportional gain
Velocity Control Loop
Note
Displays:
GUI = 0.034
DeviceNet
= 0x22
(34 dec)
Instance ID = 0x00
Attribute ID = 0x64
(Send Value)
Class 0x26
Instance 0x01
Attribute 0x01
Explicit Message 0x05
(Send Value)
Class 0x26
Instance 0x01
Attribute 0x02
Explicit Message 0x01
(Send Value)
REMEMBER TO DISABLE
DRIVE!!
Class 0x27
Instance 0x05
Attribute 0x01
Explicit Message 0x08
(Send Value)
Class 0x27
Instance 0x05
Attribute 0x03 (Target Position)
Explicit Message
(Send Value)
Attributes
0x03 = Target Position
0x04 = Target Velocity
0x05 = Incremental Move
0x65 = Acceleration
0x66 = Deceleration
On Line
Node Active
Polled I/O
Node address (MAC Id)
Output to drive
Byte 0 – 7
Bits 0 - 7
Service Code
Class ID
Data Size
Instance ID
Attribute
Explicit Message
(LSD to MSD)
13 88 = 5000 dec (weight 1000)
Transmit = 1
Address = 10
[Service, Class, Instance]
Attribute, Explicit Message