Campbell Hausfeld SDM-CAN Manual Do Utilizador

Página de 74
SDM-CAN CAN-Bus Interface User Guide 
Read status (type 29): 
This data type instructs the datalogger to request the current status of the       
SDM-CAN and writes the results into a single, specified, input location. The 
status is encoded within that location in the format ‘abcd’ where each letter is a 
digit in the range 0 to 9 indicating a different  type of status information. 
Status ‘a’: 
This digit is currently unused. 
Status ‘b’: 
This digit is currently unused. 
Status ‘c’: 
This digit is currently unused. 
Status ‘d’: 
Bus-On; the SDM-CAN is involved in bus activities. All of 
the error counters are less than 96. 
  
Bus-On; the SDM-CAN is involved in bus activities. One 
of the error counters is equal to or greater than 96. 
  
Bus-Off; the SDM-CAN is not involved in bus activities. 
All of the error counters are less than 96. 
  
Bus-Off; the SDM-CAN is not involved in bus activities. One of 
the error counters is equal to or greater than 96. 
 
 
 
 
See data type 28 above for details of the error counters and how to reset them. 
Read the signature and version number of the SDM-CAN operating system (type 30): 
This will return the OS signature and the OS Version number in separate 
locations. If the SDM-CAN detects that the OS signature is bad then zero will be 
returned.  
Send Remote Frame Request (type 31):  
A special type of CAN frame, called ‘remote frame request’ is transmitted with 
the CAN ID specified.  
Set SDM-CAN internal software switches (type 32):
  
This data type instructs the datalogger to change some internal software switch 
settings that control the way it works. The new switch settings are read from a 
specified input location. The settings are encoded within that location in the 
format of a four digit number. For explanation purposes the four digits are 
represented as ‘abcd’ where each letter is a digit in the range 0 to 9 which 
indicates a different  type of switch setting.  
3-10