4
Using
Tool
FZ4 User's Manual
Using Custom Command
317
Dim writeData&(256)
'Set the data (123.45) of the real number type.
SetPlcData "UdpPlcLinkY", writeData&(), 0, 8, 123.45
'Set the data (20) of the integer type.
SetPlcData "UdpPlcLinkY", writeData&(), 32, 4, 20
'Set the data (OMRON) of the character type.
SetPlcData "UdpPlcLinkY", writeData&(), 36, 5, "OMRON"
'Write in data for 7ch from 10ch of the Data register area.
WritePlcMemory "UdpPlcLinkY", 176, 10, 7, writeData&()
UdpPlcLink
PLC Link (SYSMAC CS/CJ/CP/One) communication
IoModule identification name
UdpPlcLink
Overview
This is a module is for sending and receiving commands and data by Ethernet PLC Link 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
Output IP address
0.0.0.0
portNo
Input port No
9600
PLC Link data
commandArea
Command area Area
Data register
commandMemoryAddress
Command area Address
0
responseArea
Response area Area
Data register
responseMemoryAddress
Response area Address
100
outputArea
Data Output area Area
CIO Area (CIO)
outputMemoryAddress
Data Output area Address
200
handshake
handshaking
1
responseTimeout
Retry interval [ms]
10000
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: ......