background image

 

CAN-2054D 

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

19 

4  Application 

Application  Object1  (Class  ID:0x64)  lists  all  the  parameters  of  the  module. 

Each Instance ID is corresponding to the different cahnnels. By using 

“Set/Get 

Attribute 

Single” service, user can read/write the parameters of each channel. 

 

Example1:   

Set DO output value. 

(Class ID: 0x64, Instance ID: 0x01, Attribute ID 0x02). 

If  the  node  ID  of  the  CAN-2054D  is  1,  and  the  master  (ID:  0x0A)  has 

completed 

“Explicit”  connection  with  the  device.  By  setting  the  value  of 

Attribute ID 0x02 to 0xF0, you can set the DO4, DO5, DO6, 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  0  0  0  0  0  1  1  0  0 

0A  10  64  01  02  FF  --  -- 

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  90 

-- 

-- 

-- 

-- 

--  -- 

Master

 

 

Slave 

(CAN-2054D)

 

Set the value 0xFF to the Application Object1 with Instance ID 0x01 and Attribute 

ID 0x02. After sending the 

“Set Attribute Single”, the slave device will response 

0x90 to mean that the setting is OK. Then the DO4, DO5, DO6, and DO7 will be 

turned ON and others are turned OFF. 

 

Via  changing  the  Attribute  ID  of  the  Application  Object,  user  can  set  other 

parameters of this device.

Содержание CAN-2054D

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 6: ...CAN 2054D User s Manual v1 10 April 2015 6 2 Hardware 2 1 Structure Top View Bottom View...

Страница 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...

Страница 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...

Страница 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...

Страница 10: ...CAN 2054D User s Manual v1 10 April 2015 10 2 4 PIN Assignment...

Страница 11: ...CAN 2054D User s Manual v1 10 April 2015 11 2 5 Wire Connection...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 21: ...CAN 2054D User s Manual v1 10 April 2015 21 Appendix A Dimension...

Отзывы: