EasyManuals Logo

Omron SYSMAC FH Series User Manual

Omron SYSMAC FH Series
882 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #652 background imageLoading...
Page #652 background image
WWW.NNC.IR
Macro Reference
650
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
In the communication command macro, reads multiple data from the PLC connected by PLC link.
Useable Modules
Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 4.20 or later
Related Items
IOMODULE$ = "UdpPlcLink"
Rem Get the settings of the output data area.
GetSystemData IOMODULE$, "outputArea", AREA&
GetSystemData IOMODULE$, "outputMemoryAddress", ADDRESS&
Rem Create the integer array variable to store the read data.
Dim DATA&(1)
Rem Load the data (4ch) from data output area.
ReadPlcMemory IOMODULE$, AREA&, ADDRESS&, 4, DATA&()
Get the values from the read data.
GetPlcData IOMODULE$, DATA&(), 0, 4, VALUE0&
GetPlcData IOMODULE$, DATA&(), 4, 4, VALUE1&
GetPlcData (Reference: X Details (p.538)) SetPlcData (Reference: X Details (p.709))
WritePlcMemory (Reference: X Details (p.807))

Table of Contents

Other manuals for Omron SYSMAC FH Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC FH Series and is the answer not in the manual?

Omron SYSMAC FH Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC FH Series
CategoryIndustrial Equipment
LanguageEnglish

Related product manuals