24:
AS
‐
I
NTERFACE
M
ASTER
C
OMMUNICATION
FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
24
‐
33
WindLDR
Program
to
Access
AS
‐
Interface
Objects
for
AS
‐
Interface
Master
Module
2
The
following
example
demonstrates
to
assign
AS
‐
Interface
objects
to
internal
relays
using
the
RUNA
instruction.
Digital
inputs
(IDI),
digital
outputs
(ODI),
and
status
information
are
read
to
and
written
from
internal
relays.
Although
not
included
in
the
sample
program,
analog
inputs
and
analog
outputs
can
also
be
assigned
to
data
registers
using
RUNA
or
STPA
instructions.
Like
AS
‐
Interface
master
module
1,
other
AS
‐
Interface
objects
can
be
accessed
using
the
Configure
AS
‐
Interface
Master
dialog
box
on
WindLDR
,
such
as
the
list
of
active
slaves
(LAS),
list
of
detected
slaves
(LDS),
list
of
peripheral
fault
slaves
(LPF),
list
of
projected
slaves
(LPS),
configuration
data
image
(CDI),
permanent
configuration
data
(PCD),
parameter
image
(PI),
and
permanent
parameter
(PP).
Programming
Procedure
1.
Determine
the
AS
‐
Interface
objects
to
access
and
the
MicroSmart
devices
to
assign
the
AS
‐
Interface
objects.
2.
Confirm
the
slot
number
where
AS
‐
Interface
module
2
is
mounted.
For
the
system
setup
of
this
sample
program,
see
Slots
are
numbered
from
1,
in
the
order
of
increasing
distance
from
the
CPU
module.
All
expansion
modules
are
included
in
numbering
the
slots,
such
as
digital
I/O
modules,
analog
I/O
modules,
and
AS
‐
Interface
modules.
The
RUNA
WRITE
instruction
on
the
second
line
is
programmed
as
shown
below.
AS
‐
Interface
Master
Module
2
Read/Write
MicroSmart
Device
AS
‐
Interface
Master
Module
EEPROM
Device
Address
Data
Size
(bytes)
AS
‐
Interface
Object
0
32
R
M200
to
M517
Digital
input
(IDI)
3
32
W
M520
to
M837
Digital
output
(ODI)
2
6
R
M840
to
M897
Status
information
When
I0
is
turned
on,
RUNA
instructions
are
exe
‐
cuted
to
read
and
write
the
designated
data.
I0
DATA
‐
M200
SLOT
2
STATUS
D300
BYTE
32
ADDRESS
0
READ
RUNA(W)
DATA
R
M520
SLOT
2
STATUS
D301
BYTE
32
ADDRESS
3
WRITE
RUNA(W)
DATA
‐
M840
SLOT
2
STATUS
D302
BYTE
6
ADDRESS
2
READ
RUNA(W)
Summary of Contents for MICROSmart FC5A Series
Page 1: ...FC5A SERIES FC9Y B1273 1 User s Manual Advanced Volume ...
Page 2: ......
Page 8: ...Preface 6 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 14: ...TABLE OF CONTENTS vi FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 52: ...4 DATA COMPARISON INSTRUCTIONS 4 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 72: ...5 Binary Arithmetic Instructions 5 20 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 88: ...7 SHIFT ROTATE INSTRUCTIONS 7 12 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 112: ...8 DATA CONVERSION INSTRUCTIONS 8 24 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 138: ...11 PROGRAM BRANCHING INSTRUCTIONS 11 14 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 178: ...13 PULSE INSTRUCTIONS 13 32 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 202: ...14 PID INSTRUCTION 14 24 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 206: ...15 DUAL TEACHING TIMER INSTRUCTIONS 15 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 214: ...16 INTELLIGENT MODULE ACCESS INSTRUCTIONS 16 8 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 248: ...21 COMPUTER LINK COMMUNICATION 21 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 272: ...23 MODBUS TCP COMMUNICATION 23 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 332: ...25 EXPANSION RS232C RS485 COMMUNICATION 25 16 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 341: ...NOTE FC5A MICROSMART USER S MANUAL FC9Y B1273 1 ...
Page 342: ...NOTE 2 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...