2. Programming Concepts 6. The descriptions of the special data registers for the analog functions: The description of D1113 for 30EX2: The status of the analog input channel of 30EX2: The upper/lower limit values for the analog input mode of 30EX2: 2-55 Device Function D1062 Average number of times analog input signals are input through CH0~CH3 of 20EX2/SX2: 1~20, Default = K2 Average number of times analog input signals are input through CH0~CH2 of 30EX2:
1~15, Default = K2 D1110 Average value of EX2/SX2 analog input channel 0 (AD 0) D1111 Average value of EX2/SX2 analog input channel 1 (AD 1) D1112 Average value of EX2/SX2 analog input channel 2 (AD 2) D1113 Average value of 20EX2/SX2 analog input channel 3 (AD 3) If D1062 is ON, the average value is the current value. Displaying the status of the analog input channel of 30EX2 Please see the explanation below for more information. D1114 Enable/disable 20EX2/SX2 AD channels (0: enable (default) / 1: disable) bit0~bit3 sets AD0~AD3. 30EX2 does not support this function.
D1116 Output value of analog output channel 0 (DA 0) of EX2/SX2 D1117 Output value of analog output channel 1 (DA 1) of 20EX2/SX2 30EX2 does not support this function. D1118 For EX2/SX2 series, sampling time of analog/digital conversion. Sampling time will be regarded as 2ms If D1118≦2. Bit15~12 Bit11~8 Bit7~4 Bit3~0 Reserved Status of the analog input channel (AD2) Status of the analog input channel (AD1) Status of the analog input channel (AD0) Status 0x0 0x1 0x2 The analog input exceeds the upper/lower limit. The temperature sensor is disconnected.
Description Normal Analog input mode Upper limit value Lower limit value -10~+10 V +32384 -32384 Voltage -5V~+5 V +1 V~+5 V +32384 -384 -20 mA~+20 mA +32384 -32384 Current +4 mA~+20 mA +32384 -384 PT100/PT1000 +8100 -1900 Temperature NI100/NI1000 +1800 -900 Device number Function D1115 20EX2/SX2 analog input/output mode setting (Default=H’0) bit0~bit5: Selection between the voltage/current mode (0: Voltage; 1: Current; Default: Voltage) bit0~bit3: Analog inputs (AD0~AD3) bit4~bit5: Analog outputs (DA0~DA1) bit8~bit 13: Current mode bit8~bit11: AD0~AD3 (0: -20 mA~20 mA; 1: 4~20 mA) bit12~bit13: DA0~DA1 (0: 0~20 mA; 1: 4~20 mA) 30EX2 analog input/output mode setting (Default=H’FFFF)