Map Descriptor Example 2 – Io Write - FieldServer Omron FINS FS-8704-16 Driver Manual

Fieldserver technologies computer driver instruction manual
Table of Contents

Advertisement

FS-8704-16 Omron FINS Manual
4.1.5.
Map Descriptor Example 2 – IO Write
This example is used to write a value(s) to the PLC. The write is done when the contents of the Data Array are updated
(written to by a remote device.). In the previous example, it was shown how a 'read' Map Descriptor can also be used to
write by using FIeldServer's Write-Through technology.
Map_Descriptor_Name,
Data_Array_Name,
CMD_CIOw,
DA_CIOw,
One of the Data
Driver will
Arrays declared in
fetch
the Data_Array
consecutive 20
section (See section
(Length)
1.05)
elements
The Data in this
starting from
Data Array will be
this offset to be
written at Node
written to the PLC1.
PLC1
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldserver.com
Data_Array_Offset,
Function,
Node_name
0,
WRBX,
PLC1,
Forcing the Driver to issue a
write request upon updating
this dedicated portion of Data
Array. In this case first 20
elements comes under
dedicated portion for this map
descriptor.
Note : If WRBC , It will Force
the Driver to issue a write
request for each Scan_Interval
In this particular case Driver
will write this portion of CIO
memory area for each second.
Page 12 of 37
Address,
Length,
Data_type,
0,
20,
CIO-WORD,
Specify the
Specifies the type
number of
of target memory
elements
at PLC.
(number of
Also this
Words in this
parameter can be
case) to read
replaced with
Memory_Code
from PLC.
parameter.
See Appendix A
to for memory
codes read CIO
Word area.
Command_Name,
Unit_Number
MEMORY AREA WRITE,
0
Command Name
specifies the
Unit
Main and Sub
number at
request codes to
PLC
make a request to
(Keep
write this
mostly
memory from
zero, or
PLC.
undefined
Assigning Direct
keep it
MRC and SRC
zero)
parameters can
replace this
parameter.
See Appendix A
to know valid
MRC –SRC
values to read
this CIO memory
area.

Advertisement

Table of Contents
loading

Table of Contents