15- 2
Chapter 15 Dedicated Instructions
15.1 List of dedicated instructions
The dedicated instructions explained in this Chapter are listed in Table 15.1.
Table 15.1 List of dedicated instructions
Application
Dedicated
instruction
Outline of functions
Reference
Positioning start
ZP.PSTRT1
This function starts the positioning control of the designated
axis of the Simple Motion module.
Section 15.3
ZP.PSTRT2
ZP.PSTRT3
ZP.PSTRT4
Teaching
ZP.TEACH1
This function carries out teaching the designated axis of the
Simple Motion module.
Section 15.4
ZP.TEACH2
ZP.TEACH3
ZP.TEACH4
Writing to flash ROM
ZP.PFWRT
This function writes the buffer memory parameters,
positioning data and block start data to the flash ROM.
Section 15.5
Parameter initialization
ZP.PINIT
This function initializes the buffer memory and flash ROM
setting data to the factory-set data (initial values of the
Simple Motion module).
Section 15.6
POINT
The dedicated instructions of LD77MS16 can be used for only axis 1 to 4. They
cannot be used for axis 5 to 16. If the ZP.PSTRT5 to ZP.PSTRT16 or ZP.TEACH5
to ZP.TEACH16 is executed, the error "Program code error" (error code: 4002) for
PLC CPU and the error "PLC CPU error" (error code: 803) for LD77MS16 will occur
and positioning cannot be started.
Refer to "MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance
and Inspection) for error of PLC CPU".
15.2 Interlock during dedicated instruction is executed
The positioning start instruction (ZP.PSTRT_) and teaching instruction (ZP.TEACH_)
cannot be executed simultaneously in each axis. If they are executed at the same time,
the second and later instructions are ignored by an internal interlock (no error will
occur).
The timing of the positioning start instruction (ZP.PSTRT_) is as shown below.
ZP.PSTRT_ instruction ON
Interlock provided by PLC CPU
BUSY signal
Positioning completed signal
OFF
OFF
OFF
OFF
ON
ON
ON
ON
Summary of Contents for MELSEC-L Series
Page 2: ......
Page 30: ...MEMO ...
Page 70: ...2 10 Chapter 2 System Configuration MEMO ...
Page 83: ...3 13 Chapter 3 Specifications and Functions MEMO ...
Page 103: ...3 33 Chapter 3 Specifications and Functions MEMO ...
Page 107: ...3 37 Chapter 3 Specifications and Functions MEMO ...
Page 111: ...3 41 Chapter 3 Specifications and Functions MEMO ...
Page 115: ...3 45 Chapter 3 Specifications and Functions MEMO ...
Page 140: ...4 22 Chapter 4 Installation Wiring and Maintenance of the Product MEMO ...
Page 253: ...5 113 Chapter 5 Data Used for Positioning Control MEMO ...
Page 342: ...5 202 Chapter 5 Data Used for Positioning Control MEMO ...
Page 438: ...7 20 Chapter 7 Memory Configuration and Data Process MEMO ...
Page 440: ...MEMO ...
Page 485: ...9 25 Chapter 9 Major Positioning Control MEMO ...
Page 594: ...9 134 Chapter 9 Major Positioning Control MEMO ...
Page 624: ...10 30 Chapter 10 High Level Positioning Control MEMO ...
Page 656: ...11 32 Chapter 11 Manual Control MEMO ...
Page 690: ...12 34 Chapter 12 Expansion Control MEMO ...
Page 798: ...13 108 Chapter 13 Control Sub Functions MEMO ...
Page 866: ...14 68 Chapter 14 Common Functions MEMO ...
Page 884: ...15 18 Chapter 15 Dedicated Instructions MEMO ...
Page 899: ...16 15 Chapter 16 Troubleshooting MEMO ...
Page 1036: ...Appendix 88 Appendices MEMO ...
Page 1039: ......