
I185 GB 06 15
LRX D01
73
MD current value is the result of compute. Parameters V1, V2, and V3 can be a constant or other function current value. The output coil will be
set to 1 when the result is overflow. And the current value has no meaning at this time. But it will do nothing if the output coil is NOP. The output
coil will turn OFF when the result is right or the function is disabled.
The example below shows how to configure MD function.
Error output coil M01 will turn ON when the compute result is overflow.
PID (PROPORTION - INTEGRAL - DIFFERENTIAL)
The LRD includes a total of 15 PID instructions that can be used throughout a program. The PID function enables simple operations to be
carried out on integers. There are 9 parameters for proper configuration. The table below describes each configuration parameter and lists each
compatible memory type for configuring PID.
The parameters
and
can be constant or other function current value. The error coil will turn ON when either T
S
or K
P
is 0. But it will do
nothing if the output coil is NOP. The output coil will turn OFF when the result is right or the function is disabled.
PID computes formula:
1
2
3
4
5
6
MD (MUL-DIV)
The LRD includes a total of 31 MD instructions that can be used throughout a program. The MUL-DIV Multiplication and Division function
enables simple operations to be carried out on integers. There are 6 parameters for proper configuration. The table below describes each
configuration parameter, and lists each compatible memory type for configuring MD.
Compute formula: MD = V1 * V2 / V3
1
2
3
4
5
6
Symbol
Description
1
MD current value ( -32768~32767)
2
V1 parameter ( -32768~32767)
3
V2 parameter ( -32768~32767)
4
V3 parameter ( -32768~32767)
5
Error output coil (M, N, NOP)
6
MD code (MD01~MD1F)
1
2
3
4
8
9
5
6
7
8
9
Symbol
Description
1
PI: PID current value (-32768~32767)
2
SV: target value (-32768~32767)
3
PV: measure value (-32768~32767)
4
T
S
: sampling time (1~32767 * 0.01s)
5
K
P
: Proportion (1~32767 %)
6
T
I
: Integral time (1~32767 * 0.1s)
7
T
D
: Differential time (1~32767 * 0.01s)
8
Error output coil (M, N, NOP)
9
PID code (PI01~PI0F)