2. Programming Concepts

5.

The analog output signals and their corresponding digital values:

 

 

Model

20EX2/SX2

30EX2

 

Mode

 

 

 

 

 

 

Voltage

-10 V~+10 V

-2000~+2000

-32000~+32000

 

Current

+0 mA~+20 mA

+0~+4000

+0~+32000

 

 

+4 mA~+20 mA

+0~+4000

+0~+32000

6.The descriptions of the special data registers for the analog functions:

Device

Function

 

 

 

Average number of times analog input signals are input through CH0~CH3 of

D1062

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)

 

 

 

Average value of 20EX2/SX2 analog input channel 3 (AD 3)

D1113

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.

 

 

 

Enable/disable 20EX2/SX2 AD channels

 

(0: enable (default) / 1: disable)

D1114

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 D11182.

 

 

 

The description of D1113 for 30EX2:

 

Bit15~12

 

Bit11~8

 

Bit7~4

 

Reserved

 

Status of the analog

 

Status of the analog

 

 

input channel (AD2)

 

input channel (AD1)

 

 

 

 

Bit3~0

Status of the analog input channel (AD0)

The status of the analog input channel of 30EX2:

Status

0x0

 

 

0x1

 

0x2

Description

Normal

 

The analog input exceeds the

The temperature sensor is

 

upper/lower limit.

disconnected.

 

 

 

The upper/lower limit values for the analog input mode of 30EX2:

Analog input mode

 

Upper limit value

 

Lower limit value

 

-10~+10 V

+32384

 

-32384

Voltage

-5V~+5 V

 

 

 

 

 

 

 

 

 

 

+1 V~+5 V

+32384

 

-384

2 - 6 7

Page 99
Image 99
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Device Function