Chapter 6 Applied Instructions Symbol S 1 : Station address of servo S 2 : Absolute target position S 3 : Target speed 6_ Explanation 1. This instruction executes the servo absolute position control for the servo at the address specified in S 1 . Before you execute this instruction, the INITC and ASDON (Servo-ON) instructions must be complete. 2. The range of S 1 is 1–8. There will be no execution when the input value is out of the range. 3. The range of S 2 is -2147483648 to +2147483647. The +/ - sign indicates the forward / reverse direction. The target position is an absolute position. 4. Refer to the DRVIC instruction (API 2803) for additional information and examples. Example 1 1.
When M0 changes from OFF to ON, the INITC instruction starts to initialize the servos at station addresses 1–3, until SM1681 is ON. 2. When M1 changes from OFF to ON, the ASDON instruction starts to enable the servo at station address 2. When 6-911 API Instruction Operand Description 2804 D DRVAC S1, S2, S3 Servo absolute position control Device X Y M S T C HC D FR SM SR E K 16# “$” F S1 S2 S3 BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1 S2 S3 Pulse instruction 16-bit instruction 32-bit instruction - - AS