Click or drag to resize

DeviceDefinitionConfigureDevice Method

Optionally configure the IO device.

Namespace:  Demo3D.PLC.Rockwell.Emulator.DeviceEmulators
Assembly:  PLC (in PLC.dll) Version: 18.04.00
Syntax
C#
public virtual void ConfigureDevice(
	MessageRouter module,
	List<BusConfiguration> nodes,
	DNEConfiguration? dneConfig,
	IComponentLogger? logger
)

Parameters

module
Type: Demo3D.PLC.Comms.CIP.NodesMessageRouter
The module message router.
nodes
Type: System.Collections.GenericListBusConfiguration
The bus configuration for each node in the IO tree.
dneConfig
Type: Demo3D.PLC.Rockwell.Emulator.DeviceEmulatorsDNEConfiguration
Device network emulation configuration.
logger
Type: Demo3D.CommonIComponentLogger
Component logger.
Remarks

An IO device is any EtherNet/IP device directly connected to the PLC. A rack device, such as a 5069-AENTR, that's directly connected to the PLC would be an IO device. Modules in the AENTR rack are not. Nor are bridged devices accessed through a bridge, such as a 1756-EN2T.

This method allows more advanced configuration, and is called as the final step in configuring the device. It gives access to the IPC and memory allocation used to communicate with the IO process. It also gives access to the entire IO tree beneath this device.

See Also