From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

smc ex 600 devicenet labview communication

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:

  • How can I get analog input value through DeviceNet bus?
  • How can I get digital voltage input state through DeviceNet bus?
  • How can I set digital output through DeviceNet bus?

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.

Download All
0 Kudos
Message 1 of 2
(2,805 Views)

ps:

 

use explicit message , service code with 0x0E and 0x10, results is follow picture.

 

 send explicit message 2.pngservice_0x0E.pngservice_0x10.png

0 Kudos
Message 2 of 2
(2,798 Views)