Chapter 4 Analog Input/Output Module AH06XA b. Interrupt service routine The procedure below explains how to trigger an interrupt service routine in a CPU module. Channel detection Alarm/Warning No (No detection) Enabling physical range detection Yes No Enabling interrupts Yes No interrupt Selecting interrupt numbers The interrupt service routines are I40~I251. Analog output 1. Enabling/Disabling a Channel The conversion speed is 150 μs a channel, and the total conversion time is 150 μsЧ(the number of channels). If a channel is not used, users can disable it to decrease the total conversion time. 2.
Calibration To make a curve meet actual needs, users can calibrate the curve by changing an offset and a gain. A calibration range depends on a range of outputs which can be sent by hardware. A volt is a unit of calibration for offsets if inputs received or outputs sent are voltages. A milliampere is a unit of calibration for offsets if inputs received or outputs sent are currents. The range of offsets used for calibration is -1.0~1.0, and the range of gains used for calibration is 0.9~1.1. 4-11 Item Function Description 1 Enabling/Disabling a channel 1. Users can enable or disable a channel. 2. If a channel is disabled, the total conversion time is decreased.
2 Calibration Users can calibrate an analog output curve. 3 Scale range A digital range corresponds to an analog range. 4 Retaining an output When a module stops running, a signal sent by the module is retained.