.

MEIMotionAttrHoldSource

Definition

typedef union {
    long	gate;
    struct {
        long    *input;
        long    mask;
        long    pattern;
    } input;
    struct {
        long    number;
        long    mask;
        long    pattern;
    } motor;
    struct {
        long    number;
        long    position;
    } axis;
    struct {
        long    *address;
        long    mask;
        long    pattern;
    } user;
} 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.
input.mask This value specifies the AND mask when MEIMotionAttrHoldTypeINPUT is used.
input.pattern 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.
motor.number This value specifies the motor number when MEIMotionAttrHoldTypeMOTOR is used.
motor.mask This value specifies the AND mask when MEIMotionAttrHoldTypeMOTOR is used.
motor.pattern 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.
axis.number An axis's number (0, 1, 2, etc.). Must be specified when the AXIS_POSITION_COMMAND or AXIS_POSITION_ACTUAL motion hold types are used.
axis.position A position comparison value. Must be specified when the AXIS_POSITION_COMMAND or AXIS_POSITION_ACTUAL motion hold types are used.
user.address A controller memory address. Must be specified when the USER_ADDRESS motion hold type is used.
user.mask A bitwise AND mask for the user specified controller memory address. Must be specified when the USER_ADDRESS motion hold type is used.
user.pattern A comparison value for the masked user.address. When the pattern matches the masked value, the motion will be triggered. Must be specified when the USER_ADDRESS motion hold type is used.

See Also

MEIMotionAttrMask | MEIMotionAttrHoldType | meiControlGateGet | meiControlGateSet |

 

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