4. Motion Control Instructions Notes: 1. When "FirstPos", "LastPos" and "Position" are set via human machine interface, their value type should be set as Double Word (Floating). 2. "Execute" bit must turn Off -> On again so as to perform another position capture when position capture is completed. According to different modes, position capture is performed by triggering of I0~I7 of the controller or DI7 of servo drive. 3. The hardware wiring figure is shown below for position capture when I0~I7 of 10MC or DI7 of the servo drive are used.
S/S I0 I1 I2 I3 I4 I5 I6 I7 Out - 24V + - Photoelectric switch L + ASD-CNSCD050 CAN Bus The hardware wiring figure when using DI7 of servo drive for position capture L Out - + ASD-BM-50A Note: The “Out”and “-” of the photoelectric switch are conducted when the photoelectric signal comes. Photoelectric switch DVP-MC operating manual 4-95 Parameter Data type Available Explanation name device Busy "Busy" bit is on as "Execute" bit is on and position capture i not completed yet; "Busy" bit is reset as "Execute" bit is off or position capture completed.
s BOOL is M,Q Abort "DMC CapturePosition" instruction is aborted when being _ executed, "Abort" bit is on; When "Execute" is off, "Abort" is reset. 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 Position The position captured after execution of the CapturePositio instruction is completed. Unit: unit n REAL R