.

MEICanNodeInfo

Definition

typedef struct MEICanNodeInfo {
    MEICanNodeType              type;
    unsigned long               digitalInputCount;
    unsigned long               digitalOutputCount;
    unsigned long               analogInputCount;
    unsigned long               analogOutputCount;
    MEICanHealthType            healthType;
    MEICanNodeInfoVendor        vendorID;
    MEICanNodeInfoProductCode   productCode;
    unsigned long               versionNumber;
    unsigned long               serialNumber;
} MEICanNodeInfo;
  Change History: Modified in the 03.03.00

Description

MEICanNodeInfo describes how many of the different types of I/O are on this node.

 
type An enumeration indicating the type of node found at startup, or MEICanNodeTypeNONE if no node was found.
digitalInputCount The number of digital inputs supported by this node. The CANOpen protocol only allows the number of digital inputs to be interrogated in multiples of eight, i.e. if a node has two digital inputs then digitalInputCount will return eight. MEI CANOpen SLICE nodes support an extension to the CANOpen protocol that allows the exact number of digital inputs to be returned in this field.
digitalOutputCount The number of digital outputs supported by this node. The CANOpen protocol only allows the number of digital outputs to be interrogated in multiples of eight, i.e. if a node has two digital outputs then digitalOutputCount will return eight. MEI CANOpen SLICE nodes support an extension to the CANOpen protocol that allows the exact number of digital outputs to be returned in this field.
analogInputCount The number of analog inputs supported by this node.
analogOutputCount The number of analog outputs supported by this node.
healthType The type of health checking protocol being used with this node.
See also CAN Node Health.
vendorId This is a number read from the node. Vendor ID numbers are unique numbers allocated to each manufacturer of CANOpen nodes. Not all CANOpen nodes support this feature, in which case, these nodes will return zero for this field. MEI CANOpen nodes always return 0x014F. See also MEICanNodeInfoVendor.
productCode

This is a number read from the node. The product code is made up of numbers allocated by each manufacturer to uniquely identify their different types of nodes. Not all CANOpen nodes support this feature, in which case, these nodes will return zero for this field. MEI CANOpen SLICE nodes always return 0x0204. See also MEICanNodeInfoProductCode.

versionNumber This is a number read from the node. The version number identify the version of code running on this CANOpen node. Not all CANOpen nodes support this feature, in which case, these nodes will return zero for this field. MEI CANOpen nodes do support this field.
serialNumber This is a number read from the node. The serial number uniquely identifies each CANOpen node. Not all CANOpen nodes support this feature, in which case, these nodes will return zero for this field. MEI CANOpen SLICE nodes do support this field and the number is also on the side label of the Network adapter.

See Also

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering