EasyManuals Logo

IDEC SmartAXIS Touch FT1A Series User Manual

IDEC SmartAXIS Touch FT1A Series
1232 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 #689 background imageLoading...
Page #689 background image
SmartAXIS Touch User's Manual 12-21
2 Ladder Program
12
Control Function
DIV
Division
When input is on, 16- or 32-bit data designated by
source device S1 is divided by 16- or 32-bit data
designated by source device S2. The quotient is set to
16- or 32-bit destination device D1, and the remainder is
set to the next 16- or 32-bit data. Data type F does not
generate a remainder.
When S2 is 0 (dividing by 0), the special internal relay
M8004 (ladder program execution error) is turned on.
YES
Data type W or I:
S1 ÷ S2 → D1 (quotient), D1+1 (remainder)
Data type D or L:
S1·S1+1 ÷ S2·S2+1
→ D1·D1+1 (quotient),
D1+2·D1+3 (remainder)
Data type F:
S1·S1+1 ÷ S2·S2+1
→ D1·D1+1 (quotient)
INC
Increment
When input is on, one is added to the 16- or 32-bit data
designated by device S/D and the result is stored to the
same device.
YES
Data type W or I: S/D + 1 → S/D
Data type D or L: S/D·S/D+1 + 1 → S/D·S/D+1
DEC
Decrement
When input is on, one is subtracted from the 16- or 32-
bit data designated by device S/D and the result is stored
to the same device.
YES
Data type W or I: S/D – 1 → S/D
Data type D or L: S/D·S/D+1 – 1 → S/D·S/D+1
ROOT
Root
When input is on, the square root of device designated
by S1 is extracted and is stored to the destination
designated by D1.
The square root is calculated to two decimals, omitting
the figures below the second place of decimals, and
multiplied by 100.
YES
Data type W:
When input is on, the square root of device designated
by S1·S1+1 is extracted and is stored to the destination
designated by D1·D1+1.
The square root is calculated to two decimals, omitting
the figures below the second place of decimals, and
multiplied by 100.
Data type D:
When input is on, the square root of device designated
by S1·S1+1 is extracted and is stored to the destination
designated by D1·D1+1.
Data type F:
SUM
Sum
Calculate the total of designated data, depending on the
calculation option.
ADD:
When input is on, N blocks of 16- or 32-bit data starting
at device designated by S1 are added and the result is
stored to device designated by D1. S2 specifies the
quantity of data blocks.
XOR:
When input is on, N blocks of 16-bit data starting at
device designated by S1 are XORed and the result is
stored to device designated by D1. S2 specifies the
quantity of data blocks.
YES
Symbol Name and Diagram Function
Interrupt
Program
Execution
REP
**
D1(R)
*****
S2(R)
*****
DIV(*) S1(R)
*****
S / D
*****
INC(*)
S / D
*****
DEC(*)
S1
*****
ROOT(*) D1
*****
S1 →D1
S1·S1+1 →D1·D1+1
S1·S1+1 →D1·D1+1
S2
*****
S1
*****
SUM(*)
ADD/XOR
D1
*****

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC SmartAXIS Touch FT1A Series and is the answer not in the manual?

IDEC SmartAXIS Touch FT1A Series Specifications

General IconGeneral
BrandIDEC
ModelSmartAXIS Touch FT1A Series
CategoryController
LanguageEnglish

Related product manuals