CimDeviceList (object)

Contains an enumeration of devices.
Description: The CimDeviceList object is an enumeration of the devices in the project.

Examples

Dim project As CimProject
Dim portList As CimPortList
Set project = CreateObject("CimProject")
project.OpenLocalProject "d:\classes\classes.gef"
Dim dl As CimDeviceList
Dim d As cimDevice
Set dl = project.Devices
Set d = dl.New("PLC1", "MASTER_TCPIP1")
d.ResourceID = "$SYSTEM"
d.Model = "GE Fanuc Series 90-70"
d.ProtocolObject.IPAddress = "3.26.7.223"
dl.Save d, False
Properties: Count , Item
Methods: Delete , New , Save