Class: IOLinkMaster

IOLinkMaster

Provides methods and properties for using an IO-Link master device


Methods


createDevice(port)

Creates an IO-Link device object for a sensor/actuator that is physically connected to the IO-Link master

Parameters:
Name Type Description
port int

Port number of the IO-Link sensor/actuator device

Since:
  • 0.1 (WAT 2.4)
Returns:
Type
iolink.IOLinkDevice
Example
var master0 = iolink[0].master;
var device0 = master0.createDevice(0);
var device1 = master0.createDevice(1);