CHAPTER 10
This chapter describes the procedure for programming and the basic program of the D/A converter module.
10.1
Procedure for Programming
Create a program executed by D/A converter module according to the following procedure.
Use the configuration
Switch setting, parameter setting,
and auto refresh setting
Error reset program
*1
A program which is created according to the used function.
*2
A program which is added according to the control target. (Create it as needed.)
*3
When the wave output function is used, setting "D/A conversion enable/disable setting" to "0: Enable" in the parameter
setting of the configuration function will cause an error at the start-up of the D/A converter module. The error code (33)
is stored in Latest error code (Un\G19), Error flag (XF) turns on, and the ERR.LED turns on. This error occurs because
the wave pattern data points setting is set to 0 (default value) for the channel where D/A conversion enable is set.
To prevent the error, set D/A conversion enable by the procedure described in the following section.
Basic setting (
*4
Page 154, Section 10.2
*5
Page 154, Section 10.2
PROGRAMMING
Start
*3
function?
Yes
*5
End
Page 111, Section 8.8.1 (4) (b))
(1) Initial setting program
Configure initial settings in a program.
No
D/A conversion enable/disable program
*1
Scaling function program
Warning output function program
Wave output function program
Program to write a digital value and a scaling value,
and program to read a warning output flag
(2) Auxiliary program
CHAPTER 10 PROGRAMMING
*4
*1
*1
*2
153
10