Mitsubishi Q64AD User Manual Page 100

  • Download
  • Add to my manuals
  • Print
  • Page
    / 164
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 99
6 - 11 6 - 11
MELSEC-Q
6 PROGRAMMING
(2) Programming example
A/D conversion
enable/disable setting
CH2 Average time/average
number of times
Averaging processing
setting
CH3 Average time/average
number of times
Write to buffer memory
Turn ON the operating condition
setting request (Y9)
Read the A/D conversion
completed flag
Output the error code
in BCD
Turn ON the error clear
requset (YF)
Turn OFF the error clear
requset (YF)
Read the error code
Turn OFF the operating condition
setting request (Y9)
Read the CH1 digital
output value
Read the CH2 digital
output value
Read the CH3 digital
output value
Read the CH1 to CH3
digital output value
Remote I/O station operating status checking
SB47
SB49
SW70.0
SW74.0
SW78.0
SB20 T100 T101 T102 T103 T104
Master station baton pass
status checking
Master station data link
status checking
Remote I/O station baton pass
status checking
Remote I/O station data link
status checking
Remote I/O parameter communicatio
n
status checking
Master module status
checking
NO M100
X20
X120
M101
M102PLS
M101PLS
M100
N0MC
K3H
T104
K3
H
T103
K4
H
T102
K3
H
T101
K4H
T100
Set the A/D conversion enabled channel (initial setting)
M102
H8 D0
MOV
ZP.REMTO "J1" K1 K1 H2 H0 D0 K10 M200
K50 D2
MOV
K1000 D3
MOV
H604 D9
MOV
M200 M201
Y129 X129
Digital output value read processing
X21 X120 X12E
Z.REMFR "J1" K2 K1 H2 K10 D10 K1 M300
SET Y129
RST Y129
0
D11 D21
MOV
D12 D22
MOV
D13 D23
MOV
M300 M301
M302 M303 D10.0
D10.1
D10.2
Z.REMFR "J1" K3 K1 H2 K11 D11 K3
M302
ZP.REMFR "J1" K4 K1 H2 K19 D14 K1
M306
K3Y30
Error code display and reset processing
X12F
M306
M307
X23
Y12F
X12F
X12F
D14BCD
Y12FSET
Y12FRST
END
0
Page view 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 163 164

Comments to this Manuals

No comments