5 system interface – Yaskawa MP900 Teach Pendant User Manual

Page 23

Advertising
background image

Specifications and System Configuration

1.2.5 System Interface

1 -12

1.2.5 System Interface

It is necessary to create a ladder logic program specifically for use as the Teach Pendant inter-
face, so that the status of the MP9jj-Series Machine Controller and the Teach Pendant sys-
tem can be managed.

User functions are provided for the interface ladder logic program. These functions must be
called every scan from both a high-speed diagram and a low-speed diagram.

There are a total of 15 interface ladder logic functions, and one of these is used in the high-
speed drawing and one in a low-speed drawing.

J

Allocating Registers

Table 1.1 I/O Register Allocation

Name

Data Type

I/O Register

M-WORK

Integer

MWjjjjj

PORT

Integer

jjjjj

DUMMY

Bit output

DBjjjjjj

MWORKADR

Address input

MAjjjjj

J

Functions

Calling Function from High-speed Drawing: TP_HSCAN

M register leading address

used by Teach Pendant

Used communications port No.

M register ending address

used by Teach Pendant

(leading address + 800)

ON during teach mode

ON during jogging

ON during stepping

ON during zero point return

ON during axis operation

2

Figure 1.3

TP_HSCAN Setting Example

1

Advertising