Programming Procedures - Mitsubishi Electric Q64AD2DA User Manual

Analog input/output module
Table of Contents
9
PROGRAMMING
9.1

Programming Procedures

Create a program in which A/D conversion or D/A conversion is performed with following
the procedures shown below.
Initial setting, Auto refresh setting
(Refer to
(a) Program for reading digital output
Use the A/D conversion function?
(a) Program for writing digital values
Use the D/A conversion function?
Start programming
Use the utility package?
YES
(Section 8.3.2, Section 9.2.2
)
values or scaling values
YES
NO
YES
NO
(a) Error reset program
End programming
Figure 9.1 Programming flowchart
(1) Initial setting program
Set up the initial setting with a sequence program.
(Refer to CHAPTER 6 and Section 9.2.3.)
(Refer to
NO
Initial setting for
A/D conversion
A/D conversion enable/disable program
Averaging processing setting program
Scaling function program*
1
Shift function program*
1
Input signal error detection function program*
Logging function program*
1
Initial setting for
D/A conversion
D/A conversion enable/disable program
1
Scaling function program
*
Shift function program
*
1
*1 Program created for the function to be used
(2) A/D conversion program
*2 Program created for the function to be used
2
(b) Scaling function program*
2
(c) Shift function program*
(d) Input signal error detection function program*
2
(e) Shift function program*
(3) D/A conversion program
*3 Program created for the function used
(b) Scaling function program*
3
(c) Shift function program*
3
(4) Auxiliary program*
*4 Program added for the target to be controlled
(Program if necessary.)
9.1 Programming Procedures
)
1
2
4
9
- 2
9
10
11

Hide quick links:

Table of Contents
loading

This manual is also suitable for:

Sw2d5c-qadu-eSw2d5c-qdau-e

Table of Contents