Map descriptor example 2 – io write – FieldServer Omron FINS FS-8704-16 User Manual
Page 14

FS-8704-16 Omron FINS Manual Page 14 of 38
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: [email protected]
4.5.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 ,Data_Array_Offset ,Function ,Node_name ,Address ,Length ,Data_type ,Command_Name ,Unit_Number
CMD_CIOw
,DA_CIOw
,0
,WRBX
,PLC1
,0
,20
,CIO-
WORD 
,MEMORY AREA 
WRITE 
,0
One of the Data 
Arrays declared in 
the Data_Array 
section (See section 
4.1) 
The Data in this 
Data Array will be 
written to the PLC1.
Driver will fetch 
consecutive 20 
(Length) 
elements 
starting from 
this offset to be 
written at Node 
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. 
Specify the number 
of elements 
(number of Words 
in this case) to read 
from PLC. 
Specifies the 
type of target 
memory at PLC. 
Also this 
parameter can 
be replaced with 
Memory_Code 
parameter. 
See Appendix A 
to for memory 
codes read CIO 
Word area. 
Command Name 
specifies the Main and 
Sub request codes to 
make a request to 
write this memory 
from PLC. 
Assigning Direct MRC 
and SRC parameters 
can replace this 
parameter. 
See Appendix A to 
know valid MRC –SRC 
values to read this CIO 
memory area. 
Unit number 
at PLC 
(Keep mostly 
zero, or 
undefined 
keep it zero) 
