![IDEC OpenNet series Скачать руководство пользователя страница 335](http://html.mh-extra.com/html/idec/opennet-series/opennet-series_user-manual_617384335.webp)
24: R
EMOTE
I/O S
YSTEM
24-14
O
PEN
N
ET
C
ONTROLLER
U
SER
’
S
M
ANUAL
Example 1: Reading and Writing I/O Data in Remote I/O System
This example demonstrates a program to receive input data from the input slave module at node 0 and to send input data to
the output slave module at node 1 in the remote I/O system shown below:
Nodes are numbered 0, 1, 2, and so forth starting with the node nearest to the remote I/O master module. In this example,
the 16-point input module is allocated node 0 and the 16-point output module is allocated node 1. Consequently, I/O data
of each slave station is stored in link registers shown below:
Example 2: Loading Bit Operand in Remote I/O System
One point of input or output can be loaded or outputted in the remote I/O system. This example demonstrates a program to
load an input status at the slave station of node 0 and to send the status to output Q3 at the master station.
AB
G
RS485
COM
A
B
Z
HSC
OUT
+24V
0V
POWER
RUN
ERROR
HSC OUT
V.24 Interface
REMOTE OUT
idec
REMOTE OUT
REMOTE IN
REMOTE OUT
REMOTE IN
UL
RC
BA
ER
RD
SX5S
INTERBUS
REMOTE OUT
REMOTE IN
REMOTE OUT
REMOTE IN
UL
RC
BA
ER
RD
SX5S
INTERBUS
Remote I/O Master Module
FC3A-SX5SM1
Remote I/O Master Station
INTERBUS Cable
Node 0
SX5S-SBN16S (16 inputs)
Node 1
SX5S-SBT16K (16 outputs)
Remote I/O Slave Stations
Node
Input Operand
Output Operand
Node 0
L1000-L1003
L1004-L1007
L1000:
Input data of the 16-point input module at node 0
Node 1
L1010-L1013
L1014-L1017
L1014:
Output data of the 16-point output module at node 1
Node 2
L1020-L1023
L1024-L1027
Node 3
L1030-L1033
L1034-L1037
M8125 is the in-operation output special internal relay.
MOV instruction stores data of 16 inputs at the slave station of node 0 to
16 outputs Q0 through Q17 at the master station
MOV instruction stores data of 16 inputs I0 through I17 at the master sta-
tion to 16 outputs at the slave station of node 1.
M8125
REP
S1 –
L1000
D1 –
Q0
MOV(W)
M8125
REP
S1 –
I0
D1 –
L1014
MOV(W)
L1000.3
When the input at the slave station of node 0 is turned on, output Q3 at
the master station is turned on.
Q3
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]