Ladder Drawings (Dwg) - YASKAWA MP2300S User Manual

Machine controller
Hide thumbs Also See for MP2300S:
Table of Contents

Advertisement

5.2 User Programs

5.2.4 Ladder Drawings (DWG)

5.2.4 Ladder Drawings (DWG)
( 1 ) Types of Drawings
Ladder programs are managed in units of ladder drawings, which are identified by drawing numbers. These drawings
form the basis of user programs.
Ladder drawings include parent drawings, child drawings, grandchild drawings, and operation error processing draw-
ings. In addition to drawings, there are functions that can be freely accessed from each drawing.
• Parent Drawings
Parent drawings are automatically executed by the system program when the execution conditions, outlined in
the table below, are met.
• Child Drawings
Child drawings are accessed using a SEE command from a parent drawing.
• Grandchild Drawings
Grandchild drawings are accessed using a SEE command from a child drawing.
• Operation Error Processing Drawings
Operation error processing drawings are automatically executed by the system program when an operation error
occurs.
• Functions
Functions are accessed and executed from parent, child, and grandchild drawings using the FUNC command.
[ a ] Drawing Types and Order of Priority
Drawings are classified by their first letter (A, I, H, or L) based on the processing purpose. The following table outlines
the order of priority and execution conditions for these drawings.
Type of Parent
Drawing
DWG.A
(Drawing A)
DWG.I
(Drawing I)
DWG.H
(Drawing H)
DWG.L
(Drawing L)
The following table provides details of the number of drawings for each drawing.
Drawing
Parent Drawings
Operation Error
Processing Drawings
Child Drawings
Grandchild Drawings
5-30
Function
Priority
1
Startup processing
2
Interrupt processing
High-speed scan pro-
3
cessing
4
Low-speed scan
DWG.A
1 (A)
1 (I)
1 (A00)
1 (I00)
Total: 62 max.
Total: 62 max.
Execution Conditions
Power ON
(Executed once only, when power turned ON)
External interrupt (executed by Option Module
DI interrupt or counter match interrupt)
Scheduled cycle startup
(Executed each high-speed scan)
Scheduled cycle startup (Executed each low-
speed scan)
Number of Drawings
DWG.I
DWG.H
1 (H)
1 (H00)
Total: 198 max.
Max. No. of
Drawings
64
64
200
500
DWG.L
1 (L)
1 (L00)
Total: 498 max.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents