Programming Example Without Using The Utility Package - Mitsubishi MELSEC-Q Q62DAN User Manual

Digital-analog converter module
Hide thumbs Also See for MELSEC-Q Q62DAN:
Table of Contents

Advertisement

6 PROGRAMMING

6.1.2 Programming example without using the utility package

Set the D/A conversion enabled channel (initial setting).
Write digital values
Set analog output to enable
Error code display and reset processing
6 - 4
(1) Programming example using the FROM/TO commands
MELSEC-Q
Set CH1 and CH2 to D/A conversion
enable.
Set Y9 (operating condition
setting request) from ON to OFF
to validate the initial setting.
Set analog output to enable.
Write the digital values for CH1
and CH2 into Q62DA.
Enables analog output for CH1
and CH2.
Output the error code to Y20 to
Y2B by BCD code.
Clear the error code.
6 - 4

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents