![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686360.webp)
WWW.NNC.IR
Macro Reference
358
Vision System FH/FZ5 Series
User’s Manual (Z340)
Set data to writeData().
Write in data for 7ch from 10ch of the DM area.
UdpPlcLinkY
PLC Link (JEPMC MP) communication
IoModule identification name
UdpPlcLinkY
Overview
This is a module is for sending and receiving commands and data by Ethernet PLC Link protocol.
PLC Link data
Dim readData&(256)
Dim data3$(21)
'Gets the data from PLC
ReadPlcMemory "UdpPlcLinkM", 168, 10, 7, readData&()
'Gets the data of the real number type
GetPlcData "UdpPlcLinkM", readData&(), 0, 8, data1#
'Gets the data of the integer type
GetPlcData "UdpPlcLinkM", readData&(), 8, 4, data2&
'Gets the data of the character type
GetPlcData "UdpPlcLinkM", readData&(), 12, 5, data2&
Dim writeData&(256)
'Set the data (123.45) of the real number type.
SetPlcData "UdpPlcLinkM", writeData&(), 0, 8, 123.45
'Set the data (20) of the integer type.
SetPlcData "UdpPlcLinkM", writeData&(), 32, 4, 20
'Set the data (OMRON) of the character type.
SetPlcData "UdpPlcLinkM", writeData&(), 36, 5, "OMRON"
'Write in data for 7ch from 10ch of the Data register area.
WritePlcMemory "UdpPlcLinkM", 168, 10, 7, writeData&()
Identification
Meaning
Initial value
enableDhcp
Enable DHCP
0: Disabled
1: Enabled
0
ipAddress
IP address
10.5.5.100
subnetMask
Subnet mask
255.255.255.0
defaultGateway
Gateway address
10.5.5.110
dns
DNS server address
10.5.5.1
delayCount
Output IP address
0.0.0.0
portNo
Input port number
9600
Summary of Contents for fh-1 series
Page 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Page 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 881: ...WWW NNC IR...