AH Motion Controller – Motion Control Instructions Manual *Note: 2. Refer to Section 2.4 Data Type Unit (DUT): ENUM for explanation on using enumerations. Outputs _3 3-298 Name Function Data type Setting value (Default value) Timing for updating False: Use the initial value as the reference for the mask range. Name Function Data type Output range (Default value) Valid True when the output value is valid. BOOL True/False (False) Busy True when the instruction is enabled. BOOL True/False (False) Error True if an error occurs. BOOL True/False (False) ErrorID Indicates the error code if an error occurs. Refer to Appendices for error code descriptions.
DWORD 0x0000, 0x3100, 0x3101, 0x3102 (0) CapFlag Indicates that the current Capture is valid. (The flag shifts to Ture for one scan cycle and will be reset immediatly) BOOL True/False (False) CapValue The captured value (Unit: pulse) LREAL -2,147,483,648 ~ 2,147,483,647 (0) CapValuePrevious The previous captured value (Unit: pulse) LREAL -2,147,483,648 ~ 2,147,483,647 (0) Delta The difference between the previous and the current captured values. (Unit: pulse) LREAL -2,147,483,648 ~ 2,147,483,647 (0) CapLenBeyondFlag Indicates that a capture is failed.
(The flag shifts to Ture for one scan cycle and will be reset immediatly) BOOL True/False (False) CapLenBeyondCount Counts the number of the failed Capture. DWORD 0~2,147,483,647 (0)