MotionDeviceAccessAddControlCommanded Method |
Add a handler for the ControlCommanded event.
Namespace: Demo3D.PLC.Comms.CIP.Nodes.MotionAssembly: PLC (in PLC.dll) Version: 19.00.00
Syntaxpublic void AddControlCommanded(
Action<AxisControlResponse> handler,
CallbackContext callbackContext
)
Parameters
- handler ActionAxisControlResponse
- Handler for ControlCommanded events to add.
- callbackContext CallbackContext
- 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