Chapter 5 Instruction Specifications

Program example

X00001 DIF0

UNIT (WY0010, WR0000, 3)

LD X00001 AND DIF0

[

UNIT (WY0010, WR0000, 3)

]

Program description

A 3-digit BCD input display device is connected to the WY0010, and each digit displays WR0000 to WR0002 data independently. (Only the lower four bits are considered the valid data for WR0000 to WR0002.)

Input

28-point type

Output

WR0002

(Line No.)

WR0001

(Conveyor No.)

WR0000

(Product No.)

3-digit BCD input display device Line No. Conveyor No. Product No.

327

Y111 to Y108 Y107 to Y104 Y103 to Y100

Data “3”

Data “2”

Data “7”

UNIT (d, s, n)

5-97

Page 147
Image 147
Hitachi NJI-350B manual Input Point type Output