Doc. # 1-0002452 | |||
---|---|---|---|
Date Updated | 06-01-2004 | Date Created | 07-27-2000 |
Document Type | Knowledge Base | Related OS | |
Related Product | ADAM-5000/CAN |
Why the AI alarm function can't work with CANOpen protocol? | |||
---|---|---|---|
Solution:
About the AI alarm function, there're few mistake in the User's Manual (page 211, 219).
You need to execute following command to enable the "alarm" feature.
Setting/Verify AI High/Low Alarm Limits
600+NI, AA, TT, 64, CC, 00, 00, FFL, FFH
Where
NI : range 00-3FH, 2-character hexadecimal Node ID that is set by DIP switch.
AA : 22 means 'Write' request
40 means 'Read' request (PS. You can use "600+NI, 40, TT, 64, CC" to inquire the value which had written into Flash)
TT : 24 means the high alarm limits setting
25 means the low alarm limits setting
CC : range 01-20H, the 2-character hexadecimal AI channel number of the ADAM-5000/CAN.
FFL : low byte of count value
FFH : high byte of count value
Setting/Verify AI Alarm Flag Status (High, Low and None)
600+NI, AA, 21, 64, CC, FF
NI : range 00-3FH, 2-character hexadecimal Node ID that is set by DIP switch.
AA : 22 means 'Write' request
40 means 'Read' request (PS. You can use "600+NI, 40, 21, 64, CC" to inquire the alarm flag status which had written into Flash)
CC : range 01-20H, the 2-character hexadecimal AI channel number of the ADAM-5000/CAN.
FF : 00 means to get total number of AI channel
01means High alarm
02 means Low alarm
Globally Enable/Disable AI Interrupt
600+NI, AA, 23, 64, CC, FF
NI : range 00-3FH, 2-character hexadecimal Node ID that is set by DIP switch.
AA : 22 means 'Write' request
40 means 'Read' request (PS. You can use "600+NI, 40, 23, 64, CC" to inquire the interrupt enable/disable status which had written into Flash)
CC : range 01-20H, the 2-character hexadecimal AI channel number of the ADAM-5000/CAN.
FF : 00 means Disable
01means Enable
Kindly see the attached file for further information.
|
|||
Download File | Release Date | Download Site | |
CAN01.txt (0) | 11-22-2000 |