Chapter 3 Motion Control Instructions 3_ *Note: 1. Refer to Section 2.4 Data Type Unit (DUT): ENUM for explanation on using enumerations. Outputs 3-289 Name Function Data type Setting value Timing for (Default value) updating Source Designates the source of the comparison. 0: Axis 1 1: Axis 2 2: Axis 3 3: Axis 4 4: DFB Hcnt CH0 setting value 5: DFB Hcnt CH1 setting value 6: DFB Hcnt CH2 setting value 7: DFB Hcnt CH3 setting value eDFB CO _ MP SOUR _ CE 0: Axis 1 1: Axis 2 2: Axis 3 3: Axis 4 4: DFB AC0 _ 5: DFB AC4 _ 6: DFB AC8 _ 7: DFB AC12 _ (0) When Enable shifts to True CmpMode Comparison condition 0: Equal (=) 1: Bigger Equal (≧) _ 2: Smaller Equal (≦) _ eDFB CO _ MP MOD* _ 1 0:
Equal 1: Bigger Equal _ 2: Smaller Equal _ (0) When Enable shifts to True OutputDevice Designates the output device when the comparison result is True 0: set Y0.8 1: set Y0.9 2: set Y0.10 3: set Y0.11 4: reset DFB Hcnt CH0 setting value 5: reset DFB Hcnt CH1 setting value 6: reset DFB Hcnt CH2 setting value 7: reset DFB Hcnt CH3 setting value eDFB CO _ MP OUTD _ EV 0: SetY08 1: SetY09 2: SetY10 3: SetY11 4: RstAC0 5: RstAC4 6: RstAC8 7: RstAC12 (0) When Enable shifts to True OutputMode Specifies the output method CmpSet: set ON the device CmpRst: reset the device BOOL mcCmpSet: True mcCmpRst:
False (False) When Enable shifts to True CmpValue Specifies the comparison value DWORD Positive integer, negative integer or 0 (0) When Enable shifts to True 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. DWORD 16#0~16#FFFFFFFF (0)