MEIMotionAttrHoldSource

MEIMotionAttrHoldSource

 

typedef union {
    long	gate;
    struct {
        long	*input;
        long	mask;
        long	pattern;
    } input;
    struct {
        long	number;
        long	mask;
        long	pattern;
        } motor;
} MEIMotionAttrHoldSource;
Description
  gate This value specifies the control gate number when MEIMotionAttrHoldTypeGATE is used. Valid values are between 0 and 31. See meiControlGateGet/Set(.) for more information.
  input (input) This value specifies the input address when MEIMotionAttrHoldTypeINPUT is used.
  mask (input) This value specifies the AND mask when MEIMotionAttrHoldTypeINPUT is used.
  pattern (input) This value specifies the comparison pattern when MEIMotionAttrHoldTypeINPUT is used. The value at input.input is bit-wise ANDed with the input.mask and compared to the input.pattern.
  number (motor) This value specifies the motor number when MEIMotionAttrHoldTypeMOTOR is used.
  mask (motor) This value specifies the AND mask when MEIMotionAttrHoldTypeMOTOR is used.
  pattern (motor) This value specifies the comparison pattern when MEIMotionAttrHoldTypeMOTOR is used. The motor input word is bit-wise ANDed with the motor.mask and compared to the motor.pattern.
See Also MEIMotionAttrHoldType | meiControlGateGet | meiControlGateSet