‑19‑
4 Programming Examples
The following is an example where the input voltage of channel 0 of the GL20‑4DA
module is assigned to the corresponding variable, and AC802 is used as the master
control module.
1. Add GL20‑4DA module.
2. In the Channels Config interface, check Enable access for Access‑0, and set the
parameters as per needs.
3. Define variables DA_CH0, DA_CH1, DA_CH2 and DA_CH3 with the ST programming
language as shown in the figure below.