Mitsubishi LE-40MTB-E Instruction Manual page 66

Tension controller
Table of Contents

Advertisement

8. Example of program
X0021
M907
Unit error
Unit ready
M300
M301
M301
M9038
Initial pulse
X0
X0F
M302
M303
X6
Start normally completed
Start conmlpeted
X7
with an error
X0
X0F
X1
Unit
Unit
Data
error
ready
link
status
M9036
P10
Always ON
MOV
MOV
MOV
TO
H0
H1
MOV
TO
H0
H6
MOV
TO
H0
H20
FROM
H0
H668
FROM
H0
H680 K1M401
M401
Link normal (Station number 1)
M401
Link error (Station number 1)
FROM
H0
H0E0 K2M900
TO
H0
H160 K2M800
FROM
H0
H2E0
62
CC-Link parameter setting
PLS
M300
SET
M301
Number of connected device
K1
D0
Number of retries
K7
D1
Number of automatic return
K1
D2
Writing into buffer memory
D0
K3
Operation command when
K0
D3
CPU goes down (Stop)
Writing into buffer memory
D3
K1
Station data
H1301
D4
Writing into buffer memory
D4
K1
RST
M301
Refresh indication
SET
Y0
Data link by buffer memory
parameters
PLS
M302
SET
M303
Data link start command by
SET
Y6
burrer memory parameters
RST
Y6
When data link start by buffer
memory parameters is normally
completed
RST
M303
D100
K1
When data link start by buffer
memory parameters is completed
RST
Y6
with an error
RST
M303
Reading data link status at
K1
the remote device station
Station number 1 normal
CALL
P10
Station number 1 error
Y3F
FEND
Reading contact device
K1
Writing contact cevice
K1
Reading data device
D200
K10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents