FieldServer FS-8704-16 instruction manual Mrc -Src

Page 15

FS-8704-16 Omron FINS Manual

Page 12 of 37

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,

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

Driver will

Forcing the Driver to issue a

Arrays declared in

fetch

write request upon updating

the Data_Array

consecutive 20

this dedicated portion of Data

section (See section

(Length)

Array. In this case first 20

1.05)

elements

elements comes under

The Data in this

starting from

dedicated portion for this map

Data Array will be

this offset to be

descriptor.

written to the PLC1.

written at Node

Note : If WRBC , It will Force

 

PLC1

 

 

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.

 

 

Command Name

 

Specify the

Specifies the type

specifies the

Unit

number of

of target memory

Main and Sub

number at

elements

at PLC.

request codes to

PLC

(number of

Also this

make a request to

(Keep

Words in this

parameter can be

write this

mostly

case) to read

replaced with

memory from

zero, or

from PLC.

Memory_Code

PLC.

undefined

 

parameter.

Assigning Direct

keep it

 

See Appendix A

MRC and SRC

zero)

 

to for memory

parameters can

 

 

codes read CIO

replace this

 

 

Word area.

parameter.

 

 

 

See Appendix A

 

 

 

to know valid

 

 

 

MRC –SRC

 

 

 

values to read

 

 

 

this CIO memory

 

 

 

area.

 

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

Image 15
Contents Effective for all systems manufactured after May 1 FS-8704-16 Omron FinsTable of Contents Appendix C Troubleshooting tips Appendix B Driver NotesAppendix D Revision History FS-8704-16 Omron Fins Manual Omron Fins Description Max Nodes Supported FieldServer Mode CommentsRequired 3rd Party Hardware Required 3rd Party ConfigurationFS-8704-16 Omron Fins Manual Driver Scope of Supply FieldServer Technologies DescriptionFS-8704-16 Omron Fins Manual Hardware Connections Setting the Node Number Setting the Local IP AddressFS-8704-16 Omron Fins Manual FS-8704-16 Omron Fins Manual Column Title Function Legal Values Section TitleFS-8704-16 Omron Fins Manual Example PLC Word Driver Related Map Descriptor ParametersUnitNumber Unit number of CPU at Cmdcio Dacio Rdbc PLC1 CIO-WORD Memory Area Read MRC -SRC Map Descriptor Example 5 Read CPU Cycle Times Map Descriptor Example 4 Clock WriteMap Descriptor Example 7 Read CPU Status 010 Server Side Connection Descriptors 011 Server Side Node Descriptors CIO-WORD, WR-WORD Data Array Map Descriptor Example 5 CPU Cycle Times Map Descriptor Example 7 CPU Status FS-8704-16 Omron Fins Manual Appendix A. Advanced Topics DIP UM Appendix A.3 End Codes FS-8704-16 Omron Fins Manual FS-8704-16 Omron Fins Manual FS-8704-16 Omron Fins Manual FS-8704-16 Omron Fins Manual FS-8704-16 Omron Fins Manual FS-8704-16 Omron Fins Manual FS-8704-16 Omron Fins Manual Appendix B. Driver Notes Clock Information Element ContentsCPU Cycle Time Element Contents PLC Mode Stored ValueElement Contents Description Number Stat Stats Description Number Finsnowrthu Error Message Description and Action RequiredPage Appendix C.1. Connection Tips & Hints FS-8704-16 Omron Fins Manual PMC Comment Ver Rev