11:
P
ROGRAM
B
RANCHING
I
NSTRUCTIONS
FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
11
‐
7
DI
(Disable
Interrupt)
EI
(Enable
Interrupt)
Applicable
CPU
Modules
Valid
Devices
Interrupt
inputs
I2
through
I5
and
timer
interrupt
selected
in
the
Function
Area
Settings
are
normally
enabled
when
the
CPU
starts.
When
the
DI
instruction
is
executed,
interrupt
inputs
and
timer
interrupt
designated
as
source
device
S1
are
disabled
even
if
the
interrupt
condition
is
met
in
the
user
program
area
subsequent
to
the
DI
instruction.
When
the
EI
instruction
is
executed,
disabled
interrupt
inputs
and
timer
interrupt
designated
as
source
device
S1
are
enabled
again
in
the
user
program
area
subsequent
to
the
EI
instruction.
Different
devices
can
be
selected
for
the
DI
and
EI
instructions
to
disable
and
enable
interrupt
inputs
selectively.
For
Interrupt
Input
and
Timer
Interrupt,
see
pages
and
(
Basic
Vol.)
.
Make
sure
that
interrupt
inputs
and
timer
interrupt
designated
as
source
device
S1
are
selected
in
the
Function
Area
Set
‐
tings.
Otherwise,
when
the
DI
or
EI
instruction
is
executed,
a
user
program
execution
error
will
result,
turning
on
special
internal
relay
M8004
and
the
ERR
LED
on
the
CPU
module.
The
DI
and
EI
instructions
cannot
be
used
in
an
interrupt
program.
If
used,
a
user
program
execution
error
will
result,
turning
on
special
internal
relay
M8004
and
the
ERR
LED
on
the
CPU
module.
Special
Internal
Relays
M8140
‐
M8144:
Interrupt
Status
Special
internal
relays
M8140
through
M8144
are
provided
to
indicate
whether
interrupt
inputs
and
timer
interrupt
are
enabled
or
disabled.
Programming
WindLDR
In
the
Disable
Interrupt
(DI)
or
Enable
Interrupt
(EI)
dialog
box,
click
the
check
box
on
the
left
of
Interrupt
Inputs
I2
through
I5
or
Timer
Interrupt
to
select
source
device
S1.
The
example
below
selects
interrupt
inputs
I2,
I3,
and
timer
interrupt
for
the
DI
instruction,
and
a
19
will
be
shown
as
source
device
S1.
FC5A
‐
C10R2/C/D
FC5A
‐
C16R2/C/D
FC5A
‐
C24R2/C/D
FC5A
‐
D16RK1/RS1
FC5A
‐
D32K3/S3
FC5A
‐
D12K1E/S1E
X
X
X
X
X
X
Device
Function
I
Q
M
R
T
C
D
Constant
Repeat
S1
(Source
1)
Interrupt
inputs
and
timer
interrupt
— — — — — — —
1
‐
31
—
Interrupt
Interrupt
Enabled
Interrupt
Disabled
Interrupt
Input
I2
M8140
ON
M8140
OFF
Interrupt
Input
I3
M8141
ON
M8141
OFF
Interrupt
Input
I4
M8142
ON
M8142
OFF
Interrupt
Input
I5
M8143
ON
M8143
OFF
Timer
Interrupt
M8144
ON
M8144
OFF
When
input
is
on,
interrupt
inputs
and
timer
interrupt
designated
by
source
device
S1
are
dis
‐
abled.
DI
S1
**
EI
S1
**
When
input
is
on,
interrupt
inputs
and
timer
interrupt
designated
by
source
device
S1
are
enabled.
DI
S1
19
The
total
of
selected
interrupt
inputs
and
timer
interrupt
is
shown
as
source
device
S1.
Interrupt
S1
Value
Interrupt
Input
I2
1
Interrupt
Input
I3
2
Interrupt
Input
I4
4
Interrupt
Input
I5
8
Timer
Interrupt
16
Содержание MICROSmart FC5A Series
Страница 1: ...FC5A SERIES FC9Y B1273 1 User s Manual Advanced Volume ...
Страница 2: ......
Страница 8: ...Preface 6 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 14: ...TABLE OF CONTENTS vi FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 52: ...4 DATA COMPARISON INSTRUCTIONS 4 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 72: ...5 Binary Arithmetic Instructions 5 20 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 88: ...7 SHIFT ROTATE INSTRUCTIONS 7 12 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 112: ...8 DATA CONVERSION INSTRUCTIONS 8 24 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 138: ...11 PROGRAM BRANCHING INSTRUCTIONS 11 14 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 178: ...13 PULSE INSTRUCTIONS 13 32 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 202: ...14 PID INSTRUCTION 14 24 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 206: ...15 DUAL TEACHING TIMER INSTRUCTIONS 15 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 214: ...16 INTELLIGENT MODULE ACCESS INSTRUCTIONS 16 8 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 248: ...21 COMPUTER LINK COMMUNICATION 21 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 272: ...23 MODBUS TCP COMMUNICATION 23 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 332: ...25 EXPANSION RS232C RS485 COMMUNICATION 25 16 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 341: ...NOTE FC5A MICROSMART USER S MANUAL FC9Y B1273 1 ...
Страница 342: ...NOTE 2 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...