4 ladder drawings (dwg), 1 ) types of drawings – Yaskawa MP2300S Basic Module User Manual

Page 163

Advertising
background image

5.2 User Programs

5.2.4 Ladder Drawings (DWG)

5-30

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.

The following table provides details of the number of drawings for each drawing.

Type of Parent

Drawing

Function

Priority

Execution Conditions

Max. No. of

Drawings

DWG.A
(Drawing A)

Startup processing

1

Power ON
(Executed once only, when power turned ON)

64

DWG.I
(Drawing I)

Interrupt processing

2

External interrupt (executed by Option Module
DI interrupt or counter match interrupt)

64

DWG.H
(Drawing H)

High-speed scan pro-
cessing

3

Scheduled cycle startup
(Executed each high-speed scan)

200

DWG.L
(Drawing L)

Low-speed scan

4

Scheduled cycle startup (Executed each low-
speed scan)

500

Drawing

Number of Drawings

DWG.A

DWG.I

DWG.H

DWG.L

Parent Drawings

1 (A)

1 (I)

1 (H)

1 (L)

Operation Error
Processing Drawings

1 (A00)

1 (I00)

1 (H00)

1 (L00)

Child Drawings

Total: 62 max.

Total: 62 max.

Total: 198 max.

Total: 498 max.

Grandchild Drawings

Advertising