Click or drag to resize

MotionDeviceAccessAddControlCommanded Method

Add a handler for the ControlCommanded event.

Namespace:  Demo3D.PLC.Comms.CIP.Nodes.Motion
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
public void AddControlCommanded(
	Action<AxisControlResponse> handler,
	CallbackContext callbackContext
)

Parameters

handler
Type: SystemActionAxisControlResponse
Handler for ControlCommanded events to add.
callbackContext
Type: Demo3D.NetCallbackContext
Defines the context in which the callback should be called.
Remarks
If callbackContext is CallerContext then handler is Demo3D thread safe. It's called in the same thread (synchronization context) as the caller to this method.
See Also