Omron FZ4 Series User Manual page 313

Vision sensor
Table of Contents

Advertisement

Dim data&(256)
Dim ipaddr&(4)
'Set the IP address of the destination.
ipaddr&(0) = 10
ipaddr&(1) = 1
ipaddr&(2) = 1
ipaddr&(3) = 101
'Transmit the five data.
SendData "TcpNormal", data&(), 4*5, ipaddr&(), 4*4
UdpNormal
TCP Non-procedure communication
IoModule identification name
UdpNormal
UdpNormal2 (Fxxx series method)
Overview
This is a module is for sending and receiving commands and data by Ethernet UDP protocol.
System data
Identification
enableDhcp
ipAddress
subnetMask
defaultGateway
dns
destIpAddress
portNo
portNo2
(*) If the input port number and the output port number are the same setting, set the output port number
to -1.
Supported functions
IoInitialize
GetPort
PutPort
BusyOut
JudgeOut
RunOut
GetAll
PutAll
FZ4 User's Manual
Meaning
Enable DHCP
0:Disabled
1:Enabled
IP address of the system
Subnet mask
Gateway address
DNS server address
Destination IP address to send data
Port number to receive commands
Port number to send data
×
×
×
Reference:
Input terminal a point input (p.214)
Reference:
Output terminal a point output (p.250)
Reference:
Input terminal all point input (p.210)
Reference:
Output terminal all point output (p.249)
Using Custom Command
Initial value
0
10.5.5.100
255.255.255.0
10.5.5.110
10.5.5.1
0.0.0.0
9600
-1
311
4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents