![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686354.webp)
WWW.NNC.IR
Macro Reference
352
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Receive data.
Set an IP address and parameter size (*4 integer type domain) in a parameter to use an Ethernet.
Send data
Set an IP address and parameter size (*4 integer type domain) in a parameter to use an Ethernet.
TcpNormal
TCP Normal communication
IoModule identification name
TcpNormal
Overview
This is a module is for sending and receiving commands and data by Ethernet TCP protocol.
System data
Dim data&(256)
Dim ipaddr&(4)
'Set the IP address of the destination.
ipaddr&(0) = 10
ipaddr&(1) = 5
ipaddr&(2) = 5
ipaddr&(3) = 101
'Gets the five data.
ReceiveData "TcpClient", data&(), 4*5, size&, ipaddr&(), 4*4
Dim data&(256)
Dim ipaddr&(4)
'Set the IP address of the destination.
ipaddr&(0) = 10
ipaddr&(1) = 5
ipaddr&(2) = 5
ipaddr&(3) = 101
'Transmit the five data.
SendData "TcpClient", data&(), 4*5, ipaddr&(), 4*4
Identification
Meaning
Initial value
enableDhcp
Enable DHCP
0: Disabled
1: Enabled
0
ipAddress
IP address of the system
10.5.5.100
subnetMask
Subnet mask
255.255.255.0
defaultGateway
Default gateway
10.5.5.110
dns
DNS server address
10.5.5.1
portNo
Port number to receive commands
9600
Содержание fh-1 series
Страница 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Страница 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 132: ...WWW NNC IR Useful Functions for Operation 130 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 172: ...WWW NNC IR Saving Scene Groups in External Memory 170 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 254: ...WWW NNC IR Basic Knowledge For Macro Customize Functions 252 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 650: ...WWW NNC IR Macro Reference 648 Vision System FH FZ5 Series User s Manual Z340 Related Items None...
Страница 881: ...WWW NNC IR...