4
Using
Tool
FZ4 User's Manual
Using Custom Command
311
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
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
Gateway address
10.5.5.110
dns
DNS server address
10.5.5.1
destIpAddress
Destination IP address to send data
0.0.0.0
portNo
Port number to receive commands
9600
portNo2
Port number to send data
-1
(*) 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
○
Input terminal a point input (p.214)
PutPort
○
Output terminal a point output (p.250)
BusyOut
×
-
JudgeOut
×
-
RunOut
×
-
GetAll
○
Input terminal all point input (p.210)
PutAll
○
Output terminal all point output (p.249)
Acesst 1.0 6251194
Summary of Contents for FZ4 Series
Page 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Page 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Page 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Page 566: ......
Page 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Page 654: ...652 FZ4 User s Manual...
Page 655: ......