General I/O Configuration
Config Reg - see above screenshot
NOTE: If a Conf Register is configured, it takes immediate precedence over other configuration for the I/O, thus
requiring valid values in the registers. These values can be changed during runtime so care needs to be taken to not
mistakenly overwrite these values and program logic.
Analog Output uses six consecutive 16-Bit registers for configuration and each register has the following descrip-
tion:
%Rxx channel-1 Output Type selection
%Rxx+1 channel-2 Output Type selection
%Rxx+2 channel-1 Hold Last or Goto value selection
%Rxx+3 channel-2 Hold Last or Goto value selection
%Rxx+4 Channel-1 Goto value
%Rxx+5 Channel-2 Goto value
For example, if user entered %R10 in Config Register then:
%R10 channel-1 Output Type selection
%R11 channel-2 Output Type selection
%R12 channel-1 Hold Last or Goto value selection
%R13 channel-2 Hold Last or Goto value selection
%R14 Channel-1 Goto value
%R15 Channel-2 Goto value
Analog Output type can be selected by entering appropriate Values in configured %R.
Configuration Value to be entered
Disable 10
4 to 20mA 2
In the above example, if user entered %R10=2, then Analog Output -1 type will be 4 to 20mA.
Analog Output Hold last state or Goto value can be selected by entering appropriate values in configured %R.
Configuration Value to be entered
%Rxx+2 0 –Hold Last value of Analog output
1—Go to value in %Rxx+4 to Analog output -1
%Rxx+3 0 –Hold Last value of Analog output
1—Go to value in %Rxx+5 to Analog output -2
In the above example, if user entered %R12=0, then Analog Output channel-1 will hold the last value when con-
troller is in Idle mode.
In the above example, if user entered %R12=1 and %R14=12000, then Analog output channel-1 will Go to value
12000 when controller is in Idle mode.
Page 78 of 163