40
5 MODULE DEDICATED INSTRUCTION
5.2 Positioning Instruction
Setting data
Program example
The following program restores the absolute position of the axis 1.
The devices from X47 to X49 and from Y50 to Y52 are used for the communication with the servo amplifier.
X47: ABS data bit0
X48: ABS data bit1
X49: Send data READY flag
Y50: Servo ON
Y51: ABS transfer mode
Y52: ABS request flag
Device
Item
Setting data
Setting range
Setting side
(s)[0]
System area
(s)[1]
Completion status
The instruction completion status is stored.
• 0: Normal completion
• Other than 0: Error completion (error code)
System
(s)[2]
Receive signal from servo
amplifier
Write the following signal status read from the servo amplifier
to the input module.
• b0: ABS data bit0
• b1: ABS data bit1
• b2: Send data READY flag
b0: 0/1
b1: 0/1
b2: 0/1
User
(s)[3]
Send signal to servo amplifier
The ON/OFF status of the following data, that are calculated
by the dedicated instructions on the basis of "receive signal
from servo amplifier" and output to the amplifier, are stored.
• b0: Servo ON
• b1: ABS transfer mode
• b2: ABS request flag
System
(s)[4]
Status
Communication status with the servo amplifier
• 0: Communication completed(Set by the user at the start of
communication)
• Other than 0: During communication (Stored by the system.)
0
User/System
(s)[5]
(s)[7]
System area
Summary of Contents for MELSEC System Q
Page 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Page 2: ......
Page 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Page 309: ...I 307 MEMO ...
Page 315: ......