4. Motion Control Instructions Note: 1. Multiple DMC_NC instructions can be executed simultaneously and the called NcTableIDs can be same or not. But make sure that the axis numbers of DMC_NC instruction being executed must be different from each other. 2. AxisNum: AxisNum gets effective according to the pins of Axis_X/Y/Z/A/B/C/P/Q from top to bottom. The node address of the middle axis can not be omitted and repeated. If AxisNum is set to 5, set the corresponding axis node addresses for Axis_X/Y/Z/A/B among the axis parameters. They could be virtual axes. Axis_C/P/Q can be omitted. Only the valid axis exists in the G code in NC program.
4-210 DVP-MC operating manual Parameter Data Available Explanation name type device Pause When “Pause” is on, execution of NC program is stopped temporarily and the state value of axis is (9) unchanged; when “Pause” is off, execution of NC program will continue. BOOL M, I, Q Stop When “Stop” is on, execution of NC program is stopped and the state value of axis is Stand Still. BOOL M, I, Q ManualMode When “ManualMode” is on, manual function is started up. BOOL M, I, Q ManualVelocity The feed speed in manual mode REAL Constant, D RES Reserved NcTableID The CNC program number, range: 0~32. If NcTableID=0, it indicates to dynamically download NC program.
When “Execute” turns off-> on, the system will wait for the superior equipment to send the NC code; the code will be executed on being received and will be dumped after execution is completed and afterwards, the system will keep waiting for the superior equipment to send the next NC code. DVP10MC11T can store 32 NC programs with the serial number range: 1~32. When the value of NcTableID is within 1~32 and “Execute” turns off-> on, the NC code with the corresponding number will be executed.
UINT Constant, D Done When NC program is executed statically and the execution of CNC codes in NC program is finished, “Done” is on; When NC program is executed statically or dynamically and “Stop” bit is on, “Done” is on after axis stops. When “Execute” is off, “Done” is off. BOOL M,Q Error If any error is detected, "Error" turns on; when "Execute" turns off, "Error" is reset. BOOL M,Q ErrorID Error code. Please refer to section 5.3. UINT D