18: P
ULSE
O
UTPUT
I
NSTRUCTIONS
18-68 FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
ABS (Set Absolute Position)
The ABS instruction initializes the absolute position counter for pulse output.
Operation
When the input is on, the values of special data registers D8240 to D8247 (absolute position counters) are updated to the initial
values specified by S1.
When updated, 1 is stored in the absolute position counter initialized flag in special data register D8239 (absolute position control
status).
Notes:
• Do not execute the ABS instruction while the RAMP, ARAMP, ZRN, or JOG instructions are being executed. The absolute position counters may
be initialized with an unintended value.
• Program the user program so that the ABS instruction will be executed after user program execution starts and before specifying the absolute
position and executing the RAMP (Trapezoidal Control) instruction.
• When multiple ABS instructions are executed in the same scan, the content of the last executed ABS instruction is reflected in the absolute
value counters.
• The ABS instruction cannot be used in an interrupt program. If used in an interrupt program, a user program execution error will occur. Error
code 18 will be stored in D8006 and instruction execution will be canceled.
• If a pulse output instruction is executed with the relay output type, a user program execution error will occur.
Error code 19 will be stored in D8006 and instruction execution will be canceled.
• For user program execution errors, see "User Program Execution Errors" on page 3-10.
Valid Devices
ABS
1
S1
*****
ABS
2
S1
*****
ABS
3
S1
*****
ABS
4
S1
*****
Device Function I Q M R T C D P Constant Repeat
S1 (Source 1) Initial value — — — — — — X — X —