INGEAR.NET.ABLink

 

Controller.CPUType Property

Sets/Returns the current Controller CPU.Type

[Visual Basic]
Public Property CPUType As CPU
[C#]
public Controller.CPU CPUType {get; set;}

Property Value

One of the Controller.CPUenumerations

Remarks

Can be one of the enumerated CPU Types:

Allen-Bradley PLC

CPUType

DriverType

PLC-5E Series (Direct Ethernet)

CPU.PLC

Driver.ENET

PLC-5 w/ 1785 Side Car

CPU.PLC

Driver.ENETIP

PLC-5 (CH 0) via 1761-NET ENI (Series B or later)

CPU.PLC

Driver.ENETIP

PLC-5 (CH 0) via 1761-NET ENI (Series A or later)

CPU.PLC

Driver.NETENI

SLC 5/05 (Direct Ethernet)

CPU.SLC

Driver.ENET

SLC 5/0x (CH 0) via 1761 NET ENI (Series B)

CPU.SLC

Driver.ENETIP

SLC 5/0x (CH 0) via 1761 NET ENI (Series A)

CPU.SLC

Driver.NETENI

MicroLogix 1100  FRN 4.0 or Later (Direct Ethernet) MicroLogix 11400

CPU.MLC

Driver.ENETIP

 

MicroLogix 1100  FRN 3.0 or Earlier (Direct Ethernet)

CPU.MLC1100

Driver.ENETIP

MicoLogix 1000, 1100, 1200, 1400, 1500 (CH 0) via 1761 NET ENI (Series B or later)

CPU.MLC

Driver.ENETIP

MicoLogix 1000, 1100, 1200, 1400, 1500 (CH 0) via 1761 NET ENI (Series A or later)

CPU.MLC

Driver.NETENI

 

Example

VB
' *************************************
' * initialize controller class
Dim MyPLC as New ABLink.Controller()
' *************************************
' * set the IP Address
MyPLC.IPAddress = "192.168.1.39"
' *************************************
' * set the driver type
MyPLC.DriverType = Driver.ENETIP
' *************************************
' * set the PLC Type
MyPLC.CPUType = CPU.ML1100


 
C# /////////////////////////////////////// // initialize controller class ABLink.Controller MyPLC = new ABLink.Controller(); /////////////////////////////////////// // set the IP Address MyPLC.IPAdress = "192.168.1.39"; ////////////////////////////////////// // set the driver type MyPLC.DriverType = Driver.ENETIP; ////////////////////////////////////// // set the CPU type MyPLC.CPU = CPU.ML1100;

See Also

Controller Class | ABLink Namespace | IPAddress | DriverType | Path