EasyManuals Logo

IDEC MICROSmart FC6A Series Ladder Programming Manual

IDEC MICROSmart FC6A Series
604 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 #178 background imageLoading...
Page #178 background image
8: B
OOLEAN
C
OMPUTATION
I
NSTRUCTIONS
8-2 FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
Valid Devices
For valid device address ranges, see "Device Addresses" on page 2-1.
Special internal relays cannot be assigned as D1.
When T (timer) or C (counter) is used as S1 or S2, the timer/counter current value (TC or CC) is displayed. When T (timer) or C (counter) is used as
D1, the data is written in as a preset value (TP or CP) which can be 0 through 65,535.
Since the Boolean computation instructions are executed in each scan while input is on, a pulse input from a SOTU or SOTD instruction should be
used.
Valid Data Types
Example: XORW
To convert optional output status among a series of 10 output points, use the XORW instruction in combination with 10 internal
relay points.
Device Function I Q M R T C D P Constant Repeat
S1 (Source 1) Data for computation XXXXXXX— X 1-99
S2 (Source 2) Data for computation XXXXXXX— X 1-99
D1 (Destination 1) Destination to store results — X X X X X — — 1-99
W (word) X When a bit device such as I (input), Q (output), M (internal relay), or R (shift register) is assigned as the source
or destination, 16 points (word data) or 32 points (double-word data) are used. When repeat is assigned for a bit
device, the quantity of device bits increases in 16- or 32-point increments.
When a word device such as T (timer), C (counter), or D (data register) is assigned as the source or destination,
1 point (word data) or 2 points (double-word data) are used. When repeat is assigned for a word device, the
quantity of device words increases in 1- or 2-point increments.
I (integer) —
D (double word) X
L (long) —
F (float) —
0 0 00 0 0 1 10 0 1 0 1 0 1 0
Q0
Q7Q10Q11
10 points
M0M7M10M17
This program will invert the status of the shaded outputs on the left from on to
off, and those not shaded from off to on.
M8120
REPS1 –
M0
S2 –
Q0
D1 –
Q0
SOTU
I1
XORW(W)
M0
S
M2
S
M4
S
M6
S
M10
S
Ten outputs Q0 through Q11 are assigned to 10 internal relays M0
through M11.
Five internal relays M0, M2, M4, M6, and M10 are set by initialize pulse
special internal relay M8120.
When input I1 is turned on, the XORW instruction is executed to invert
the status of outputs Q0, Q2, Q4, Q6, and Q10.

Table of Contents

Other manuals for IDEC MICROSmart FC6A Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC MICROSmart FC6A Series and is the answer not in the manual?

IDEC MICROSmart FC6A Series Specifications

General IconGeneral
BrandIDEC
ModelMICROSmart FC6A Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals