beautypg.com

Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 131

background image

7 - 4

YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method

7.2 Source File

The format of source file input to the compiler is described below.

7.2.1

Source File Format

(1) Definition of Character Codes

All data including the comments and character data must be ASCII.

Although upper case and lower case characters can be used, they are not distinguished
for the internal processing.When entering characters in ladder programs, pay attention
to this point.

Note that all characters are processed in upper case characters.

(2) Definition of Numeric Values

Decimal number

9,1234

Hexadecimal number

1234H, 0ab12H, 0FFH (note)

Characters

aBc, a, Z

Contact/ladder table number

#1000, #10012, #9024

Note: Place “0” at the beginning of a hexadecimal number which begins with A to F.

(3) Pseudo Instructions

The following characters are processed as pseudo instructions.These pseudo instructions
can be used only once in one source file.

The following shows the available, pseudo instructions.

version

lowsequence

message

include

highsequence

lowstopcount

endp

conversion

(4) Definition of Version Number

For one object file where high-speed scan ladder, low-speed scan ladder, tables and
symbols are consolidated, one version number is assigned.