beautypg.com

Program example – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 81

background image

1.4 Program Control Instructions

1-71

1

The forms of parameter input and output are shown below.

„

Program Example

Input Data

Form

Input Designa-

tion

Description

Bit Input

B-VAL

Designates the output to be of a bit type. The bit type data
become the input to the function.

Integer Type
Input

I-VAL

Designates the input to be of an integer type. The contents
(integer data) of the register with the designated number
become the input to the function.

I-REG

Designates the input to be the contents of an integer type
register. The number of the integer type register is desig-
nated when referencing the function. The contents (integer
data) of the register with the designated number become
the input to the function.

Double-length
Integer Type
Input

L-VAL

Designates the input to be of a double-length integer type
register.
When reference the function, the contents (double-length
integer data) of the register with the designated number
become the input to the function.

L-REG

Designates the input to be the contents of a double-length
integer type register. When reference the function, the con-
tents (double-length integer data) of the register with the
designated number become the input to the function.

Real Number
Type Input

F-VAL

Designates the input to be of a real number type. The con-
tents (real number data) of the register with the designated
number become the input to the function.

F-REG

Designates the input to be the contents of a real number
type register.
The number of the real number type register is designated
when referencing the function. The contents (real number
data) of the register with the designated number become
the input to the function.

Address Input

Hands over the address of the designated register (an arbi-
trary integer register) to the function. Only 1 input is
allowed in the case of a user function.

This manual is related to the following products: