FP∑ Positioning Unit Sample Program
18-7
Allocation of data registers
Item Data No. Description Calculation formula
DT0 startup speed
DT2 target speed
DT4 Acceleration/deceleration time
DT6 Target position of X axis
User
Setting
area
DT8 Target position of Y axis
DT10 Current position of X axis
DT12 Current position of Y axis
DT14 Movement amount of X axis = absolute
value of (target position of X axis – current
position of X axis)
ABS(DT6 – DT10)
DT16 Movement amount of Y axis = absolute
value of (target position of Y axis - current
position of Y axis)
ABS(DT8 – DT12)
DT18 Movement amount of square of X axis Square of (DT14)
DT20 Movement amount of square of Y axis Square of (DT16)
DT22
Movement amount of square of X axis +
movement amount of square of Y axis
DT18+DT20
DT24 Linear movement amount √DT22
DT26 Movement amount of X axis/Linear
movement amount
DT14/DT24
DT28 Movement amount of Y axis/Linear
movement amount
DT16/DT24
DT30 Control code of X axis H1<Absolute>
DT32 Startup speed of X axis component DT0*DT26
DT34 Target speed of X axis component DT2*DT26
DT36 Acceleration/deceleration time DT4
DT38 Target position of X axis DT6
DT40 Control code of Y axis H1<Absolute>
DT42 Startup speed of Y axis component DT0*DT28
DT44 Target speed of Y axis component DT2*DT28
DT46 Acceleration/deceleration time DT4
Data
register the
program is
using
DT48 Target position of Y axis DT8