KEYENCE BL-600 Series User Manual

Page 170

Advertising
background image

Appendices

160

Appendices

Program for the SYSMAC-C

25315 (A50015)

MOV

#0064

DM0000

0000

MOV

#0001

DM0004

0000

MOV

#0000

DM0004

25313 (A50013)

CMP

DM0100

#0003

25506 (A50016)

MOV

#0002

DM0100

END

MOV

#0002

DM0100

Data stored in DM0105
and subsequent areas is
processed.

Specify the head address of the
data memory area (DM100).
The BL-600 processes data as
binary data. Specify each DM
number in binary format.

Enter “2” in the data memory flag.
(Use sequential processing to
process the flag.)

Enter “0000” for the reading trigger
input.

Enter “0000” for the reading trigger
input.

When DM0100 becomes “3”, the
specified processing is performed.
After processing is completed,
enter “2” in DM0100.

*

The descriptions in parentheses are the cases for the CV Series.

Data stored in D105
and subsequent areas
is processed.

M9038

MOV

K100

D0

X0

MOV

K1

D4

X0

MOV

K0

D4

LD= D100

K3

MOV

END

K2

D100

MOV

K2

D100

Program for the MELSEC-A Series

Specify the head address of the
data memory area.
Enter “2” in the data memory flag.
(Use sequential processing to
process the flag.)

Enter “X0” for the reading trigger
input.

When D100 becomes “3”, the
specified processing is performed.
After processing is completed,
enter “2” in D100.

Advertising