127
CHAPTER 9 PROGRAMMING
9
9.3 Program Example
(2) Programming condition
This program enables the D/A conversion in CH1 and CH2 of the D/A converter module and outputs the written
digital values in analog.
If an error or alert occurs, a digital signal is output from the extension output module.
(3) Initial setting description
Set the initial values for the parameters other than the above.
Setting item Setting value
External signal assignment function
Alert output signal assignment 0x0022
Error flag assignment 0x0024
D/A conversion enable/disable setting
CH1 D/A conversion enable/disable setting 0: Enable
CH2 D/A conversion enable/disable setting 0: Enable
Analog HOLD/CLEAR setting CH1 Analog output HOLD/CLEAR setting 1: HOLD
Alert output function
CH2 Alert output setting 0: Enable
CH2 Alert output upper limit value 16000
CH2 Alert output lower limit value 10000
Scaling function
CH1 Scaling enable/disable setting 0: Enable
CH1 Scaling upper limit value 32000
CH1 Scaling lower limit value 0