Delta AS Series Programming Manual page 390

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

4.
The operand S
used in the 16-bit instruction is set as shown in the following table.
2
Device number
S
2
S
+1
2
S
+2
2
S
+3
2
5.
The operand S
used in the 16-bit instruction occupies four devices.
2
6.
The operand S
used in the 32-bit instruction is set as shown in the following table.
2
Device number
、S
S
+1
2
2
S
+2、3
2
S
+4、5
2
S
+6、7
2
7.
The operand S
used in the 32-bit instruction occupies eight devices.
2
8.
If the values in the 32-bit instruction are floating-point numbers, set SM658 to ON. If the values are decimal
integers, set SM685 to OFF.
9.
The operation equation in the instruction is:
D = [(S
–Minimum source value)×(Maximum destination value–Minimum destination value)]÷(Maximum source
1
value)+Minimum destination value
10.
The operational relation between the source value and the destination value is:
y = kx+b
y=Destination value (D)
k=Slope=(Maximum destination value–Minimum destination value)÷(Maximum source value–Minimum source
value)
x=Source value (S
)
1
b=Offset =Minimum destination value–Minimum source value×Slope
Parameter
Maximum source value
Minimum source value
Maximum destination value
Minimum destination value
Parameter
Maximum source value
Minimum source value
Maximum destination value
Minimum destination value
Ch a pt er 6 A pp l i e d I n s tr uc t io ns
Setting range
-32,768 to 32,767
-32,768 to 32,767
-32,768 to 32,767
-32,768 to 32,767
Setting range
Integer
Floating-point number
-2,147,483,648 to
The range of 32-bit
2,147,483,647
floating-point numbers
6_
6 - 111

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents