Mitsubishi Electric MELDAS 60 Series Programming Manual page 268

Plc programming
Hide thumbs Also See for MELDAS 60 Series:
Table of Contents

Advertisement

9.7.5.3 Transient instruction program example and error
(1) Program example
(Example 1)
This is the program where 16 points of data from Y100 device of the station No.1 intelligent device
station connected to the master station (NC) is stored in D100 and after of the master station when
M0 is turned ON.
M0
M2
M2
M1
M2
(Example 2)
This is the program to store 10 points of data from D100 of the master station in the station No.2
intelligent device station connected to the master station (NC) when M0 is turned ON.
M0
M2
M2
M1
M2
(2) Error
The followings are the example of error status to be stored in the control data completion status
(S+0).
Error status
F114
F110
2111
4100
MOV K1
MOV H205 D12
MOV H100 D13
MOV H10
G.RIRD U20 D10 D100 M1
Normal completion processing
Error completion processing
MOV K2
MOV H105 D22
MOV H100 D23
MOV K10
G.RIWT U20 D20 D100 M1
Normal completion processing
Error completion processing
Error details
Instruction is in execution.
(Busy)
Time out
Invalid card was detected.
Illegal device was specified.
- 260 -
9. Exclusive Commands
D11
D14
D21
D24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents