beautypg.com

Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 133

background image

7 - 6

YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method

YELADDER.SRC (main file)

Fig. 7.2 Main File

1) Source file name

Source file name can be assigned as required by using an extension of “.SRC”.

_______.SRC

2) Source file format

There are no restrictions on start position, the number of lines and the
number of columns for entering the pseudo instructions, sequence
program, and data.

Characters appearing after “,” in a line are regarded as a comment.

3) Pseudo instructions

€ VERSION

Set a version number.

Format: VERSION AAAAAAAAAAAAAAAAAAAAA

A version number should be set in up to 20 characters.

If no entry is made, spaces occupy 20 columns.

óHIGHSEQUENCE

This indicates the start of a high-speed scan ladder sequence.

An object file is generated as a high-speed scan ladder up to the ENDP

instruction.

;*************************
**********;

VERSION JXSD LADDER

LOWSTOPCOUNT2; Low-speed scan ladder pro-
gram stop count
HIGHSEQUENCE; High-speed scan ladder program
INCLUDE LAD.HI
ENDP
LOW SEQUENCE; Low-speed scan ladder program
INCLUDE LAD.LO1
INCLUDE LAD.LO2
INCLUDE LAD.LO3
ENDP

CONVERSION; Conversion data
INCLUDE CONV.DAT
ENDP

MESSAGE;Message data

€

ó

ì

ö

ú

÷

ø

í

û