4. Motion Control Instructions Axis status can be judged according to the special register for axis status. For explanation of the special register on an axis, please refer to appendix C. For example, the special register for the axis state of axis 1 is D24606. All states of the axis correspond to the values as below. Note: The states of Cam_In, gear_In, Gearing, Caming belong to the synchronized state in the state machine figure above. 4.3. Instruction Usage An instruction consists of two parts: instruction name and operand. Instruction format 1. Instruction name 2. Input parameter 3.Output parameter Note:
Different functions for different instructions decide that the parameters are different. The parameters of the left area in one instruction are to be set and the results from execution of instruction are in the right area in the instruction.
DVP-MC operating manual 4-7 State Value Remark State Value Remark Disable 0 No-execution state Cam In _ 7 The state when Cam-in is completed StandStill 1 Pre-execution state Gear In _ 8 The state when Gear-in is completed ErrorStop 2 Error state CNC 9 CNC state Stopping 3 Stop state Rotary A Rotary cutting state Homing 4 Homing state Gearing B The state when Gear-in has not been completed Discrete 5 Discrete state Caming C The state when Cam-in has not been completed Continuous 6 Continuous state Fly Shear D Flying shear state Instruction name Indicates the function of execution of the instruction Operand Indicates the parameter processed by the instruction