Purpose
Adds the current value of one block to the TARGET value of another block. You can also use this command to set the target for any of the three stages of the Ramp block.
Syntax
ADDTAR block TO block
NOTE: When specifying a Ramp block, ADDTAR adds the value to the first target value of the block, ADDTAR2 adds the value to the second target value, and ADDTAR3 adds the value to the third target value. If a target value that is outside the Ramp block's EGU range, the Ramp block clamps the value to its low and high EGU limits. AO blocks to not have target values. When using blocks like AO or AI, which do not have target values, use ADDOUT command.
Example
To add the current value of the block AI3 to the block PID5, enter:
ADDTAR AI3 TO PID5
To add the current value of the block AI10 to the second target value of RAMP6, enter:
ADDTAR2 AI10 TO RAMP6