Click or drag to resize

DeviceDefinitionIsSafety Method (IOEntry, ConnectionInfo, AccessRights)

Determine whether the module is a safety module, and which safety 'direction' (producer/consumer) this connection services.

Namespace:  Demo3D.PLC.Rockwell.Emulator.DeviceEmulators
Assembly:  PLC (in PLC.dll) Version: 18.04.00
Syntax
C#
public virtual bool IsSafety(
	IOEntry moduleEntry,
	ConnectionInfo? connection,
	out AccessRights safetyDirection
)

Parameters

moduleEntry
Type: Demo3D.PLC.Rockwell.Comms.CIPIOEntry
The module IOEntry.
connection
Type: Demo3D.PLC.Rockwell.Comms.CIPConnectionInfo
The connection.
safetyDirection
Type: Demo3D.PLC.CommsAccessRights
Safety direction.

Return Value

Type: Boolean
False to use default. Return true with safetyDirection set to Unknown for a non-safety device.
See Also