![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222311.webp)
4
Using
Tool
FZ4 User's Manual
Using Custom Command
309
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)
ReceiveData
○
SendData
○
SendString
○
ReadPlcMemory
×
-
WritePlcMemory
×
-
SetPlcData
×
-
GetPlcData
×
-
Example
Receive data.
Set an IP address and parameter size (*4 integer type domain) in a parameter to use an Ethernet.
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
'Gets the five data.
ReceiveData "TcpClient", data&(), 4*5, size&, ipaddr&(), 4*4
Send data
Set an IP address and parameter size (*4 integer type domain) in a parameter to use an Ethernet.
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 "TcpClient", data&(), 4*5, ipaddr&(), 4*4
TcpNormal
TCP Non-procedure communication
IoModule identification name
TcpNormal
Acesst 1.0 6251194
Содержание FZ4 Series
Страница 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Страница 12: ...1 Before Operation 10 Operation Flow FZ4 User s Manual Operation Flow Here describes the operation flow...
Страница 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Страница 112: ...3 Performing Test Measurement Starting Operation 110 Useful Functions for Operation FZ4 User s Manual...
Страница 326: ...4 Using Tool 324 Remotely Operating the Controller Remote Operation FZ4 User s Manual Enter the IP address...
Страница 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Страница 351: ...6 Changing the System Environment FZ4 User s Manual Setting the System Operation Environment 349 Communication...
Страница 566: ......
Страница 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Страница 654: ...652 FZ4 User s Manual...
Страница 655: ......