beautypg.com

Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 144

background image

7 - 17

YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method

7.4 Linker

The linker reads the object file in the order in which they are designated in the link module
designation file and maps the data contained in these files in the executable format that is the
same format as in the flash ROM.

7.4.1

Object Data and Linker Processing

Linker processing for the data contained in the object files is described below.

(1) High-speed Scan Ladder Data (HIGHSEQUENCE Data)

Execution order of the high-speed scan ladder is determined in the order of link object.

If the object data are divided into multiple objects, they are stored additionally starting
from the first address of the ladder storage area in the order of link object.

If the high-speed scan laddr data appear after the low-speed scan ladder data, it causes
an error.

The linker executes the max. check for the ladder storage area.

An error occurs if there is no RTH.

The limker checks the ADR label names for overlapped definition.

(2) Low-speed Scan Ladder Data (LOWSEQUENCE Data)

Execution order of the low-speed scan ladder is determined in the order of link object.

If the object data are divided into multiple objects, they are stored additionally starting
from the first address of the ladder storage area in the order of link object.

The linker executes the max. check for the ladder storage area.

An error occurs if there is either RET nor RTI.

The limker checks the ADR label names for overlapped definition.

(3) Conversion Table Data (CONVERSION Setting Data)

The designated message data are stored to the address (N9000 to N9023) corresponding
to the variable number.

An error occurs if the same variable data exist in more than one object file.

(4) Message Table Data

The designated message data are stored to the address (N9024 to N9323) corresponding
to the variable number.

An error occurs if the same variable data exist in more than one object file.

(5)Version Number Data (VERSION Setting Data)

The linker stores the version number data to the desginated address.

An error occurs if a version mumber is defined in more than object file.