11-13-2017 12:56 AM
Hello, everyone
Hardware:
EX600-SDN1A |
Device Net |
EX600-DXPD |
Voltage Input |
EX600-AXA |
Voltage Analog |
SY3300-5U1 |
Directional Control Valves |
SY3A00-5U1 |
Directional Control Valves |
NI PCI-8532 DeviceNet Card
Try Step:
User Manual “#EXxx-OMN0030.pdf” page 70, define digital output unit object attribute:
http://www.smcworld.com/upfiles/manual/e/EXxx-OMN0030.pdf
Set class id=0x6B, instance id=2, Attribute id=0x71.
Can get and set “Monitoring short circuit at output” attribute is ok, results is success.
But, this manual not define how to set or get digital output unit output state?
Now can set and get unit attribute.
I guess may be use explicit message, but I don’t know how to use, because DeviceNet message need input “service code”, and service code not exist in the user manual.
When setting follow information, use pc send message to device net then ex600 response.
Class ID |
1 |
Instance ID |
1 |
Attribute ID |
7 |
Type |
String |
Can get string type results: ” EX600-SDN1”.
Questions:
More information about communication protocols is needed, such as reading the voltage of the analog input, digital input, digital output.
If you have experience with DeviceNet protocol, please share with me.
11-13-2017 01:04 AM
ps:
use explicit message , service code with 0x0E and 0x10, results is follow picture.