Chapter 5 Applied Instructions 5.12.7 Instructing a Servo Drive to Capture Values 1. Motion control function block The motion control function block T_DMCCapSet is used to instruct the servo drive specified on a DMCNET to capture values. The value of the Axis input pin indicates an axis number. The value of the CAP_Number input pin is the number of values which will be captured. Users can set a capture signal by means of the Contact input pin, and set the source of the values which will be captured. The value of the TriggerTime input pin indicates a minimum time interval, and the value of the CapValue of output pin is the value which is captured. 2.
Input pins/Output pins 5-235 Input pin Name Function Data Setting value Time when a value is valid type Axis Motion axis number WORD K1~K12 The value of the Axis input pin is valid when there is a transition in the Enable input pin’s signal from low to high. Enable The servo drive is instructed to capture values when there is a transition in the Enable input pin’s signal from low to high. BOOL True/False - Cap Number _ Number of values captured WORD K1~K400 The value of the Cap Number input pin is _ valid when there is a transition in the Enable input pin’s signal from low to high.
Contact Setting a capture signal BOOL True/False The value of the Contact input pin is valid when there is a transition in the Enable input pin’s signal from low to high. Source Source of the values captured WORD K0~K3 (*1) The value of the Source input pin is valid when there is a transition in the Enable input pin’s signal from low to high.