Doc. # 1-0002451 | |||
---|---|---|---|
Date Updated | 06-01-2004 | Date Created | 07-27-2000 |
Document Type | Knowledge Base | Related OS | |
Related Product | ADAM-5000/CAN |
Why the "set any change interrupt request" command (DI) can't work with CANOpen protocol? | |||
---|---|---|---|
Solution:
About the DI "Any Change Interrupt" of ADAM-5051, there're few mistake in the User's Manual (page 252).
Set Inputs Any Change Interrupt Request
600+NI, 22, 06, 60, CC, FF
Where
CC : range 01-40H, the 2-character hexadecimal start DI channel number
of the ADAM-5000/CAN.
FF : means the DI channel.
Bit 0 means 1st channel of CC
Bit 1 means 2nd channel of CC
Bit 2 means 3rd channel of CC
Bit 3 means 4th channel of CC
Bit 4 means 5th channel of CC
Bit 5 means 6th channel of CC
Bit 6 means 7th channel of CC
Bit 7 means 8th channel of CC
So, following information just for your reference. Assume that the ID of ADAM-5000/CAN is 01H. Only one ADAM-5051 be used on slot 0. Baudrate is 20Kbps.
; Set Inputs Any Change Interrupt Request
601 22 06 60 01 01
581 60 06 60 01
Change the status of channel 0 (DI0) of ADAM-5051, then follow message will response automatically.
581 4f 20 60 01 01
581 4f 20 60 01 00
581 4f 20 60 01 01
581 4f 20 60 01 00
581 4f 20 60 01 01
.
.
.
.
.
|