Conversion; Xyfs (Xy Format Set) - IDEC FC4A-C10R2 User Manual

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

19: C
OORDINATE
Introduction
The coordinate conversion instructions convert
one data point to another value, using a linear
relationship between values of X and Y.
Upgrade Information
Upgraded CPU modules can use an expanded range of X and Y values. Word and integer data types can be designated for
the Y values. Applicable CPU modules and system program version are shown in the table below. For the procedure to
confirm the system program version of the CPU module, see page 29-1.
CPU Module
System Program Version
Use
ver. 4.50 or higher to program the upgraded coordinate conversion instructions.
WindLDR

XYFS (XY Format Set)

XYFS(*)
Applicable CPU Modules
FC4A-C10R2/C
FC4A-C16R2/C
Valid Operands
Operand
S1 (Source 1)
X0 through Xn
Y0 through Yn
For the valid operand number range, see pages 6-1 and 6-2.
When T (timer) or C (counter) is used as X0 through Xn or Y0 through Yn, the timer/counter current value is read out.
S1 (Format number)
Select a format number 0 through 5. A maximum of 6 formats for XY conversion can be set.
C
ONVERSION
FC4A-C10R2
FC4A-C10R2C
.....
S1
X0
Y0
*
*****
*****
*****
FC4A-C24R2/C
X
Function
Format number
X value
Y value
« FC4A M
(X0, Y0)
All-in-One Type
FC4A-C16R2
FC4A-C24R2
FC4A-C16R2C
FC4A-C24R2C
204 or higher
When input is on, the format for XY conversion is set.
Xn
Yn
The number of XY coordinates, defining the linear rela-
*****
tionship between X and Y, can be 2 to 5 points.
(0 ≤ n ≤ 4)
FC4A-D20K3/S3
X
I
Q
M
— — — — — — —
X
X
X
X
X
X
S
U
'
M
ICRO
MART
SER
S
ANUAL
I
NSTRUCTIONS
Y
(X1, Y1)
FC4A-D20K3
FC4A-D20S3
204 or higher
FC4A-D20RK1/RS1 & FC4A-D40K3/S3
X
R
T
C
D
Constant
0 to 5
0 to 32767
X
X
X
X
0 to 65535
0 to 65535
X
X
X
X
–32768 to 32767
»
(X2, Y2)
X
Slim Type
FC4A-D20RK1
FC4A-D20RS1
FC4A-D40K3
FC4A-D40S3
203 or higher
Repeat
19-1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents