DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming

n:set values of multi-point areas. The range of set values is K2~K50. When the set value exceeds the range, it will not be executed.

The sample curve: (n is set to be K4)

D+1

D

D+2

D+4

D+3

S+1 S S+2

S+3

S+4

The explanation of the sample:

1.When input value S is larger than S+1 (S1 for short) and smaller than S+2 (S2 for short), D+1 (D1 for short) and D+2 (D2 for short), D= ( ( S – S1) x ( D2 – D1 ) / ( S2 – S1 ) ) + D1.

2.When input value S is smaller than S+1, D= D+1; when input value S is larger than S+n, D= D+n.

3.The operation of instructions uses floating-point values. After the decimal value of the output values is omitted, the value will be output in the 16-bit form.

K13: Proportional Value Calculation Function of Multi-point Areas (32-bit values)

The explanations of source and destination devices are illustrated as the explanation of K12, but devices S and D are indicated by 32-bit values.

K14: Proportional Value Calculation Function of Multi-point Areas (floating-point values) The explanations of source and destination devices are illustrated as the explanation of K12, but devices S and D are indicated by 32-bit floating-point values.

K16: String combination Explanation:

The system searches for the location of ETX (value 0x00) of the destination data string (lower 8 bits), then copies the data string starting of the source register (lower 8 bits) to the end of the destination data string. The source data string will be copied in byte order until the ETX (value 0x00) is reached.

Points to note:

The operand n sets the max data length after the string combination (max 256). If the ETX is not reached after the combination, the location indicated by n will be the ETX and filled with 0x00.

3 - 176

Page 292
Image 292
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual +1 S S+2