Click or drag to resize

IComputeInputsComputeInputs Method

Called to compute PLC inputs immediately after new data is received from the low level emulator.

Namespace:  Demo3D.PLC.Rockwell.Emulator.ModuleEmulators
Assembly:  PLC (in PLC.dll) Version: 18.03.00
Syntax
C#
void ComputeInputs()
Remarks

Called when the lower level emulation changes a tag value in order to compute PLC inputs. Will only be called after at least one Assembly ForwardOpen is received (see Configured). Where there are multiple instances of this interface, the order of execution of events is strictly defined. See ExecutionOrderAttribute for details.

May be called in any thread, but guaranteed to be called in the 'model thread' when called due to an update from the model. Occasions where this method may not be called from the 'model thread' include the first call triggered by an Assembly ForwardOpen, or a direct call by the user script.

See Also