Iol_Readobj - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions

IOL_ReadObj

The IOL_ReadObj instruction reads data from IO-Link device objects.
Instruction
Name
Read IO-Link
IOL_ReadObj
Device Object
Version Information
A CPU Unit with unit version 1.12 or later and Sysmac Studio version 1.16 or higher are required
to use this instruction.
Variables
Meaning
DevicePort
Device port
IO-Link
device
DeviceObj
object
parameter
Execution
RetryCfg
retry setting
ReadDat
Read data
ErrorType
Error type
Read data
ReadSize
size
2-970
FB/
Graphic expression
FUN
IOL_ReadObj_instance
Execute
DevicePort
FB
DeviceObj
RetryCfg
ReadDat
I/O
Description
Object that represents a
device port
Specification for the IO-Link
Input
device object
Setting for the instruction
execution retry
Data read from IO-Link
In-out
device
Error code that is returned
by IO-Link device is stored
when ErrorID is 4800 hex.
Output
Size of data stored in
ReadDat
IOL_ReadObj
Done
Busy
Error
ErrorID
ErrorType
ReadSize
Valid range
---
---
---
Depends on data type.
16#0000 to 16#FFFF
10#1 to 10#232
NY-series Instructions Reference Manual (W560)
ST expression
IOL_ReadObj_instance(
Execute,
DevicePort,
DeviceObj,
RetryCfg,
ReadDat,
Done,
Busy,
Error,
ErrorID,
ErrorType,
ReadSize);
Unit
Default
---
---
---
---
---
---
---
0
---
---
Bytes
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents