Chapter 13 Built-in Analog Function
13.5 Built-in Analog functions
Functions of embedded analog module are as described below.
Channel Run/Stop setting
● Specify Run/Stop of the channel to execute A/D, D/A conversion.
● If the unused channel is set to Stop, whole Run time can be reduced.
Input / output
voltage/current range
setting
● Specify analog input / output range to be used.
● Select range in parameter setting after selecting Voltage/Current input / output
according to the wiring properly.
● Embedded analog module provides two kinds of current input / output ranges (4 to 20
mA, 0 to 20 mA) and four kinds of voltage input / output ranges (1 to 5 V, 0 to 5 V, 0 to
10 V,-10 to 10 V)
Input / output data format
setting
● Specify digital input / output type.
● 4 data formats are provided in this module.
(Unsigned value, Signed value, Precise value, Percentile value)
A/D conversion methods
- Sampling process will be performed if A/D conversion type is not specified.
● Filter processing
- Used to delay the sudden change of input value.
● Average processing
- Outputs average A/D conversion value based on time or count.
● Detection alarm (Input disconnection)
- After detecting whether disconnection of the input circuit, the alarm is displayed by a
single flag.(Input signal range: 4 to 20 ㎃, 1 to 5 V)
● Maintenance function of valid conversion value.
- When valid conversion value is exceeded, whether conversion value retains will be
able to set.
● Alarm function
- When exceeding valid input range, alarm and maximum /minimum flag will be
generated.
D/A output status setting
● Set the output status of channel when changing 'Run' to 'Stop'.
● The four kinds of output statuses (Previous, Min, Mid, Max value) are provided.
setting
● Set linear interpolation, S-type interpolation method.
13.5.1 Sampling Processing
It collects analog input sign through general A/D conversion processing at a specific interval to convert to digital.
The time required for A/D conversion of analog input sign till saved on the memory depends on the number of
channels used.
(Processing time) = (Number of channels used) x (Conversion speed)
(i.e.) If the number of channels used is 3, its process time will be 3 x 0.5 ㎳ = 1.5 ㎳
Sampling is to calculate the sampling value of continuous analog sign at a specific interval.