2. Programming Concepts
Description
Description
Reserved Unused
The analog output modes for 30EX2:
Description
Unused
The example of setting D1115 for 30EX2:
If the analog input mode of AD0 is the two-wire NI100, the analog input mode of AD1 is the
three-wire 1000, the analog input mode of AD2 is the voltage mode (+1 V~ +5 V), and the
analog output mode of DA0 is the current mode (+4 mA ~ +20 mA), the setting value in D1115
is H’2A61.
Enable 2-speed output function of DDRVI/DDRVA instruction
Contents:
Availability:
Function
ES2/EX2
ES2-C ES2-E
SX2
SS2 12SE 26SE 28SA2
DDRVI V1.42 V1.42 V1.08 V1.40 V2.2 V2.02 V1.0 V2.88
DDRVA V2.8 V2.8 V1.08
V3.60 V2.02 V1.0 V2.88
You need to set up M1119 before executing DDRVI/DDRVA instruction. After the execution is
complete, M1119 will be cleared.
When P (1) is set to 100K and P (2) is set to 200K, the actions after the execution of
DDRVI/DDRVA will be as below.
DDRVI: sending out 100K of pulses in the first section and sending out 200K pulses at the second
section; a total of 300K pulses will be sent.
DDRVA: sending out 100K of pulses in the first section and sending out 100K pulses at the second
section; a total of 200K pulses will be sent.
(The positions of the first and second sections should be in the same direction.)
Example:
When M1119 is ON, 2-speed output function of DDRVI/DDRVA will be enabled.
Assume that D0 (D1) is the first speed and D2(D3) is the second speed. D10(D11) is the output
pulse number of the first speed and D12(D13) is the output pulse number of the second speed.