1768
22 POSITIONING INSTRUCTIONS
22.1 Restoring the Absolute Position
• The following figure shows the operation at completion of the ABRST
instruction.
• Completion of absolute position restoration can be checked with the (s)+4 status.
• The ABRST
instruction performs absolute position restoration by following procedure.
1.
Output data from ((s)+3).
Servo on, ABS transfer mode, and ABS request flag are output to the output module by using the program.
2.
Set data in ((s)+2).
ABS data bit 0/bit 1 and the send data ready flag are set using the program.
3.
Execute the ABRST
instruction.
4.
Check whether the value in ((s)+4) is 0 or not.
When the value is other than 0, the processing returns to step 1.
When the value is 0, the processing ends.
Precautions
• If the absolute position detection system has been constructed, absolute position restoration must be performed once after
the power is turned on or reset. The servo does not turn on until the absolute position restoration completes with the
positioning module.
• Absolute position restoration must be performed while the programmable controller ready signal [Y0] is off.
• The absolute position can be restored (the ABRST
instruction can be executed) while a servo amplifier is operable. Note
that when the absolute position is restored, the Servo on signal may turn off (servo off) during the period of the scan time
plus approximately 60ms and the module may operate. To restore the absolute position during the servo off state, install an
electromagnetic brake separately so that signals are output to the electromagnetic brake while the ABRST
instruction is
being executed.
• The following instructions cannot be executed simultaneously to a single axis. For different axes, any of the following can
be executed concurrently with a G.ABRST instruction.
Operation error
• Positioning start instruction (PSTRT
)
• Absolute position restoration instruction (ABRST
)
• Teaching instruction (TEACH
)
Error code
((s)+1)
Description
1860H
A value other than 0 was set in "Status" of (s)+4 (at start of communication with the servo amplifier).
1861H
"Status" of (s)+4 was changed during absolute position restoration (i.e. during communication with the servo amplifier).
1865H
An instruction was specified for an undefined axis (e.g. the G.ABRST3 instruction was specified when RD75P2 is used).
END
0
END
0
END
0
END
0
END
0
OFF
OFF
OFF
OFF
ON
ON
Sequence scan
ABRST
instruction
Completion device (d)
Completion status
indication device (d)+1
Completed with an error
Execution of
the instruction
Completed successfully
1 scan
Completion of the instruction
Содержание MELSEC iQ-R Series
Страница 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Страница 34: ...32 MEMO ...
Страница 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Страница 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Страница 204: ...202 5 SEQUENCE INSTRUCTIONS 5 3 Output Instructions Operation error There is no operation error ...
Страница 470: ...468 6 BASIC INSTRUCTIONS 6 6 Data Conversion Instructions Operation error There is no operation error ...
Страница 472: ...470 6 BASIC INSTRUCTIONS 6 6 Data Conversion Instructions Operation error There is no operation error ...
Страница 479: ...6 BASIC INSTRUCTIONS 6 6 Data Conversion Instructions 477 6 Operation error There is no operation error ...
Страница 504: ...502 6 BASIC INSTRUCTIONS 6 7 Data Transfer Instructions Operation error There is no operation error ...
Страница 518: ...516 6 BASIC INSTRUCTIONS 6 7 Data Transfer Instructions Operation error There is no operation error ...
Страница 520: ...518 6 BASIC INSTRUCTIONS 6 7 Data Transfer Instructions Operation error There is no operation error ...
Страница 754: ...752 7 APPLICATION INSTRUCTIONS 7 9 Real Number Instructions Operation error There is no operation error ...
Страница 756: ...754 7 APPLICATION INSTRUCTIONS 7 9 Real Number Instructions Operation error There is no operation error ...
Страница 758: ...756 7 APPLICATION INSTRUCTIONS 7 9 Real Number Instructions Operation error There is no operation error ...
Страница 760: ...758 7 APPLICATION INSTRUCTIONS 7 9 Real Number Instructions Operation error There is no operation error ...
Страница 895: ...7 APPLICATION INSTRUCTIONS 7 16 Ramp Signal Instruction 893 7 Operation error There is no operation error ...
Страница 917: ...7 APPLICATION INSTRUCTIONS 7 20 Data Processing Instructions 915 7 Operation error There is no operation error ...
Страница 919: ...7 APPLICATION INSTRUCTIONS 7 20 Data Processing Instructions 917 7 Operation error There is no operation error ...
Страница 1415: ...13 SFC PROGRAM INSTRUCTIONS 13 1 SFC Control Instructions 1413 13 Operation error There is no operation error ...
Страница 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Страница 1795: ...25 TYPE CONVERSION FUNCTIONS 25 1 Converting BOOL to WORD 1793 25 Operation error There is no operation error ...
Страница 1805: ...25 TYPE CONVERSION FUNCTIONS 25 10 Converting WORD to DINT 1803 25 Operation error There is no operation error ...
Страница 1819: ...25 TYPE CONVERSION FUNCTIONS 25 21 Converting INT to DWORD 1817 25 Operation error There is no operation error ...
Страница 1950: ...1948 32 STRING FUNCTIONS 32 2 Extracting String Data From the Left Right Operation error There is no operation error ...
Страница 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Страница 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Страница 2082: ...2080 APPX Appendix 6 Process Control Program Examples 129 Set the default value of the loop tag ...
Страница 2093: ...APPX Appendix 7 List of Loop Tag Memory Areas Used by Process Control Instructions 2091 A MEMO ...
Страница 2109: ......