Omron FZ4 Series User Manual page 319

Vision sensor
Table of Contents

Advertisement

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
enableDhcp
ipAddress
subnetMask
defaultGateway
dns
destIpAddress
portNo
PLC Link data
commandArea
commandMemoryAddress
responseArea
responseMemoryAddress
outputArea
outputMemoryAddress
handshake
responseTimeout
FZ4 User's Manual
Meaning
Enable DHCP
0:Disabled
1:Enabled
IP address of the system
Subnet mask
Gateway address
DNS server address
Output IP address
Input port No
Command area Area
Command area Address
Response area Area
Response area Address
Data Output area Area
Data Output area Address
handshaking
Retry interval [ms]
Initial value
0
10.5.5.100
255.255.255.0
10.5.5.110
10.5.5.1
0.0.0.0
9600
Data register
0
Data register
100
CIO Area (CIO)
200
1
10000
Using Custom Command
4
317

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents