3 direct input string instruction (ins) – Yaskawa Ladder Works Programming Manual User Manual

Page 70

Advertising
background image

4.3 INPUT STRAIGHT Instruction (INS)

4-5

4.3 DIRECT INPUT STRING Instruction (INS)

[Outline]

The INS instruction continuously performs direct input to a single module according to the contents of
a previously-set parameter table. INS can only be used for LIO modules.

[Format]

Symbol : INS
Full Name : Direct Input String
Category : CONTROL

Icon :

[Parameter]

Parameter Name

Setting

Parameter

· Register address (except for # and C registers)
· Register address with subscript

[Status]

· Any bit type register (except for # and C registers)
· Any bit type register with subscript
* possible to omit

INS Instruction Parameter/Data

ADR Type Symbol

Name

Specifications

Input

or

Output

0 W

RSSEL

Module

designation

1

IN

1 W

MDSEL

Module

designation

2

Designation of module for performing
input<For details refer to (1) and (2)
below>

IN

2

W

STS

Status

Output of a bit equivalence of the status
for each word input

OUT

3

W

N

Number of words

Designation of number of continuous
input words

IN

4

W

ID1

Input data 1

OUT

・・・

・・・

・・・

・・・

・・・

N+3

W

IDN

Input data N

If there is an error in the output of input
data, 0 is stored

OUT

Method of setting RSSEL

Designates the rack/slot where the target module is mounted.

Hexadecimal expression: xxyyH

xx=rack number(01H≦xx≦04H)

yy=slot number(00H≦yy≦0DH)

(The rack number = 1, slot number = 3 with tixation in MP930)


Advertising