FieldServer FS-8704-16 instruction manual Map Descriptor Example 4 Clock Write

Page 16

FS-8704-16 Omron FINS Manual

Page 13 of 37

4.1.6.Map Descriptor Example 3: Clock Read:

This Map Descriptor reads the PLC clock and stores the information in a Data Array DA_CLK. For detail on how the Driver stores clock information see Appendix B.1.

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_Name,

Length,

Command_Name,

Unit_Number

CMD_CLKr,

DA_CLKr,

0,

RDBC,

PLC1,

7,

CLOCK READ,

0

4.1.7.Map Descriptor Example 4: Clock Write:

Write-thru is not possible for Clock write. A dedicated Map Descriptor is required to overwrite the PLC clock. This Map Descriptor overwrites the clock whenever an upstream device updates the DA_CLKw Data Array. See Appendix B.1 for details.

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_Name,

Length,

Command_Name,

Unit_Number

CMD_CLKw,

DA_CLKw,

0,

WRBX,

PLC1,

7,

CLOCK WRITE,

0

Note: All elements must be updated in DA_CLKw to set the clock as expected. Whenever any element updates, the Driver will write all seven values to the PLC along with the one updated value. If all elements are updated by the upstream device in a single operation then the Driver will also set the all elements at the PLC in a single operation.

4.1.8.Map Descriptor Example 5: Read CPU Cycle Times:

This Map Descriptor reads the CPU cycle time at the PLC and stores the data in a Data Array DA_CYCT. Average, maximum and minimum cycle times will be stored in three consecutive locations starting with the location indicated by the Data_Array_Offset parameter. See Appendix B.1

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_Name,

Length,

Command_Name,

Unit_Number

CMD_CYCT,

DA_CYCT,

0,

RDBC,

PLC1,

3,

CLOCK READ,

0s

The Driver stores these values as it gets them from the PLC. Scaling can provided to determine the unit in which the value is stored. Default is 10 times milliseconds.

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 16
Contents FS-8704-16 Omron Fins Effective for all systems manufactured after May 1Table of Contents Appendix B Driver Notes Appendix C Troubleshooting tipsAppendix D Revision History Max Nodes Supported FieldServer Mode Comments FS-8704-16 Omron Fins Manual Omron Fins DescriptionRequired 3rd Party Configuration FS-8704-16 Omron Fins Manual Driver Scope of SupplyFieldServer Technologies Description Required 3rd Party HardwareFS-8704-16 Omron Fins Manual Hardware Connections Setting the Local IP Address Setting the Node NumberFS-8704-16 Omron Fins Manual FS-8704-16 Omron Fins Manual Section Title Column Title Function Legal ValuesFS-8704-16 Omron Fins Manual Example PLC Driver Related Map Descriptor Parameters WordUnitNumber Unit number of CPU at Cmdcio Dacio Rdbc PLC1 CIO-WORD Memory Area Read MRC -SRC Map Descriptor Example 4 Clock Write Map Descriptor Example 5 Read CPU Cycle TimesMap 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 Clock Information Element Contents CPU Cycle Time Element ContentsPLC Mode Stored Value FS-8704-16 Omron Fins Manual Appendix B. Driver NotesElement Contents Description Number Stat Stats Description Number Error Message Description and Action Required FinsnowrthuPage Appendix C.1. Connection Tips & Hints FS-8704-16 Omron Fins Manual Comment Ver Rev PMC