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
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 -- --
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
1
2
3
4
5
6
7
1
0 0 0 0 0 0 1 0 1 1
0
2
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
Страница 6: ...CAN 2054D User s Manual v1 10 April 2015 6 2 Hardware 2 1 Structure Top View Bottom View...
Страница 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...
Страница 21: ...CAN 2054D User s Manual v1 10 April 2015 21 Appendix A Dimension...