EasyManua.ls Logo

Omron SYSMAC FH Series

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
Loading...
WWW.NNC.IR
Macro Reference
539
8
Appendices
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&
ReadPlcMemory (Reference: X Details (p.649)) SetPlcData (Reference: X Details (p.709))
WritePlcMemory (Reference: X Details (p.807))

Table of Contents

Other manuals for Omron SYSMAC FH Series

Related product manuals