beautypg.com

Appendices – KEYENCE BL-700 Series User Manual

Page 147

background image

133

Appendices

Appendices

M9038

MOV

K100

D1

X0

MOV

K1

D4

X0

MOV

K0

D4

LD= D100

K3

MOV

END

K2

D100

MOV

K2

D100

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.

Data stored in D105
and subsequent areas
is processed.

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.

Specify the head address of the
data memory area (DM100).
The BL-700 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.

( ) Shows the value for CV Series.