EasyManuals Logo

IDEC OpenNet series User Manual

IDEC OpenNet series
427 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #269 background imageLoading...
Page #269 background image
19: COORDINATE CONVERSION INSTRUCTIONS
19-2 OPENNET CONTROLLER USERS MANUAL
CVXTY (Convert X to Y)
Valid Operands
For the valid operand number range, see page 6-2.
Internal relays M0 through M2557 can be designated as D1. Special internal relays cannot be designated as D1.
When T (timer) or C (counter) is used as S2, the timer/counter current value is read out. When T (timer) or C (counter) is
used as D1, the data is written in as a preset value which can be 0 through 65535.
S1 — Format number
Select a format number 0 through 29 which have been set using the XYFS instruction. When an XYFS instruction
with the corresponding format number is not programmed, a user program execution error will result, turning on spe-
cial internal relay M8004 and the ERROR LED.
S2 — X value
Enter a value for the X coordinate to convert, within the range specified in the XYFS instruction. Although the integer
value can be 0 through +32767, any value out of the range specified in the XYFS results in a user program execution
error, turning on special internal relay M8004 and the ERROR LED.
D1 — Destination to store results
The conversion results of the Y value is stored to the destination. The integer value of the conversion results can be
–32768 through +32767.
Valid Data Types
When a bit operand such as I (input), Q (output), M (internal relay), or R (shift register) is designated as S2 or D1, 16
points (integer data type) are used.
When a word operand such as T (timer), C (counter), D (data register), or L (link register) is designated as S2 or D1, 1
point (integer data type) is used.
Data Conversion Error
The data conversion error is ±0.5.
Operand Function I Q M R T C D L Constant Repeat
S1 (Source 1) Format number ———————— 0 to 29
S2 (Source 2) X value XXXXXXXX 0 to 32767
D1 (Destination 1) Destination to store results X XXXXX ——
W (word) I (integer) D (double word) L (long)
X ——
When input is on, the X value designated by operand S2 is converted
into corresponding Y value according to the linear relationship defined
in the XYFS instruction. Operand S1 selects a format from a maximum
of 30 XY conversion formats. The conversion result is set to the oper-
and designated by D1.
CVXTY(I) S1
**
S2
*****
D1
*****
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC OpenNet series and is the answer not in the manual?

IDEC OpenNet series Specifications

General IconGeneral
BrandIDEC
ModelOpenNet series
CategoryController
LanguageEnglish

Related product manuals