Click or drag to resize

ModuleEmulatorInstall Method

Installs a ModuleEmulator for a specified EDSInfo and connection point.

Namespace:  Demo3D.PLC.Rockwell.Emulator
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
public static IDisposable Install(
	Type moduleEmulatorType,
	EDSInfo edsInfo,
	EDSMask edsMask,
	uint configAssemblyId = 0,
	uint outputAssemblyId = 0,
	uint inputAssemblyId = 0,
	uint statusAssemblyId = 0,
	long configId = -1,
	ModuleEmulatorSymbolParameters? parameters = null,
	Action<ModuleEmulatorAssociator, IComponentLogger?>? onAssociate = null
)

Parameters

moduleEmulatorType
Type: SystemType
The type of the module emulator.
edsInfo
Type: Demo3D.PLC.Comms.CPFEDSInfo
The EDSInfo of the module.
edsMask
Type: Demo3D.PLC.Comms.CPFEDSMask
The EDSInfo mask.
configAssemblyId (Optional)
Type: SystemUInt32
Config assembly id (or 0 for wildcard).
outputAssemblyId (Optional)
Type: SystemUInt32
Output assembly id / consumer connection point (or 0 for wildcard).
inputAssemblyId (Optional)
Type: SystemUInt32
Input assembly id / producer connection point (or 0 for wildcard).
statusAssemblyId (Optional)
Type: SystemUInt32
Status assembly id (or 0 for wildcard).
configId (Optional)
Type: SystemInt64
The configuration id.
parameters (Optional)
Type: Demo3D.PLC.Rockwell.EmulatorModuleEmulatorSymbolParameters
Optional additional parameters.
onAssociate (Optional)
Type: SystemActionModuleEmulatorAssociator, IComponentLogger
If not null, overrides the default behaviour, which is to call AddAutoSymbols(ModuleEmulatorSymbolParameters, IComponentLogger).

Return Value

Type: IDisposable
The module emulator uninstaller.
Remarks
Dispose to uninstall.
See Also