background image

 

CAN-2054D 

User’s Manual (v1.10, April/2015) 

20 

Example2:   

Get DI data (Class ID: 0x64, Instance ID: 0x01, Attribute ID 0x01). 

If the node ID of the CAN-2054D is 1, and the master (id: 0x0A) has completed 
“Explicit”  connection  with  the  device.  By  getting  the  value  of  the  object  with 

attribute ID 0x01, you can get the channel 0 ~ 7 of the DI data. 

 

IDENTIFIER BITS 

RTR 

Data 

Length 

8-byte Data (byte) 

(HEX) 

 

Destination MAC ID 

 

10  9  8  7  6  5  4  3  2  1  0 

0  0  0  0  0  0  1  1  0  0 

0A  0E  64  01  01  --  --  -- 

Master

 

 

Slave 

(CAN-2054D)

 

IDENTIFIER BITS 

RTR 

Data 

Length 

8-byte Data (byte) 

(HEX) 

 

Source MAC ID 

 

10  9  8  7  6  5  4  3  2  1  0 

0  0  0  0  0  0  1  0  1  1 

0A  8E  0F 

-- 

-- 

--  --  -- 

Master

 

 

Slave 

(CAN-2054D)

 

Get the value of Application Object1 with Instance ID 0x01 and Attribute ID 0x01. 

After  sending  the 

“Get Attribute Single”, the slave device  response the DI data 

(0x0F) at byte 2. The value 0x0F means that the status of DI3, DI2, DI1 and DI0 

are turned on and others are turned off. 

 

By changing the Instance ID and Attribute ID of the Application Object, you 

can get other parameters of this device. 

The  Attribute  0x03  of  Application  Object1  can  control  the  DO  power  on 

value of each channel. After setting this attribute, the DO channels will output 

DO power on value when booting up. 

Attribute  0x04  and  0x05  of  Application  Object1  are  used  for  safe  value 

configuration when 

“Explicit Message Timeout” error occurs. When setting the 

channel  selection  value  of  the  Attribute  ID  0x04  to 

“0x1”,  the  safe  value  of 

Channel 0 will be active. If the value is set to 0x4, it means that the safe value 

of the channel 2 is active. Afterwards, you can configure the output safe value 

of  this  channel  by  setting  the  value  of  Attribute  ID  0x05.  When  setting  the 

Attribute ID 0x04 to 

“0x1” and Attribute ID 0x05 to “0x1”, the channel 0 will turn 

ON while the error occurs. 

 

Summary of Contents for CAN-2054D

Page 1: ...one year from the date of delivery to customers Warning ICP DAS revises the manual at any time without notice However no responsibility is taken by ICP DAS unless infringement act imperils to patents...

Page 2: ...e 6 2 2 Node ID Baud Rate Rotary Switch 7 2 3 LED Description 8 2 4 PIN Assignment 10 2 5 Wire Connection 11 3 DeviceNet Profile Area 12 3 1 DeviceNet Statement of Compliance 12 3 2 Identity Object Cl...

Page 3: ...acquisition environmental monitoring and packaging machines control etc The CAN 2054D follows DeviceNet specification Volume I II Release 2 0 User can access the digital I O status and set the configu...

Page 4: ...el 3 5 30 VDC DI Off Level 1VDC Max Input Impedance 3 k 0 3 W Intra module Isolation 3750 Vrms ESD Protection 4 kV Contact for each channel Others DeviceNet Status 3 LEDs for PWR NET MOD Terminator Re...

Page 5: ...rrata 5 Group 2 Only Server non UCMM capable Support Predefined Master Slave Connection Set Connection supported 1 connection for Explicit Messaging 1 connection for Polled I O 1 connection for Bit St...

Page 6: ...CAN 2054D User s Manual v1 10 April 2015 6 2 Hardware 2 1 Structure Top View Bottom View...

Page 7: ...tens digit and the units digit of the node ID The node ID value of this demo picture is 32 Node ID rotary switch The rotary switch for baud rate handles the CAN baud rate of CAN 2054D module The rela...

Page 8: ...e Device is on line but not communicating Init solid Link failed Critical Device has detected an error that has rendered it incapable of communicating on the link for example detected a duplicate node...

Page 9: ...hen enable the 120 terminator resistor the LED will be turned on DO LED If the DO LED is turned on it means that the corresponding DO channel is active DI LED If the DI LED is turned on it means that...

Page 10: ...CAN 2054D User s Manual v1 10 April 2015 10 2 4 PIN Assignment...

Page 11: ...CAN 2054D User s Manual v1 10 April 2015 11 2 5 Wire Connection...

Page 12: ...Device Information Description Version Description of DeviceNet Specification Volume I Release 2 0 Volume II Release 2 0 Vendor Name ICP DAS Device Profile Name CAN 2054D Production Revision 1 1 Devic...

Page 13: ..._Single Yes Instance Attribute Instance ID 1 Attribute ID Description Method DeviceNet Data Type Value 1 Vendor Get UINT 803 2 Product type Get UINT 0x00 3 Product code Get UINT 0x700 4 Major Minor of...

Page 14: ...et within slave devices The default IO connection path is as follow Connection Path Class ID Instance ID Attribute ID Poll Produced 0x04 0x64 0x03 Poll Consumed 0x04 0x65 0x03 Bit Strobe Produced 0x04...

Page 15: ...nput will produce data on the network and an output will consume data from the network Class attribute Instance ID 0 Attribute ID Attribute name Data Type Method Value 0x01 Revision UINT Get 1 0x02 Ma...

Page 16: ...channel 7 DI value 0x65 0x00 0xFF Bit 0 channel 0 DO value Bit 1 channel 1 DO value Bit 7 channel 7 DO value Note x is channel number of module Instance attribute Instance ID 0x64 0x65 Attribute ID De...

Page 17: ...bute_Single to read and write CAN 2054D module Application Object1 defines pulse output channels and digital input channels configuration Class attribute Instance ID 0 Attribute ID Attribute name Data...

Page 18: ...DO power on value 0x04 0x00 0xFF Bit 0 channel 0 DO safe value mask Bit 1 channel 1 DO safe value mask Bit 7 channel 7 DO safe value mask Bit value 1 apply safe value setting Bit value 0 apply DO out...

Page 19: ...and DO7 to turn ON and others to turn OFF IDENTIFIER BITS RTR Data Length 8 byte Data byte HEX Destination MAC ID 10 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 1 0 0 0 0 0 0 1 1 0 0 0 6 0A 10 64 01 02 FF Mas...

Page 20: ...vice response the DI data 0x0F at byte 2 The value 0x0F means that the status of DI3 DI2 DI1 and DI0 are turned on and others are turned off By changing the Instance ID and Attribute ID of the Applica...

Page 21: ...CAN 2054D User s Manual v1 10 April 2015 21 Appendix A Dimension...

Reviews: