Class TcoDi
Generic component for monitoring of an input. (e.g. DigitalSensor).
Inherited Members
Namespace: PlcDocu.TcoElements
Assembly: TcoElementsConnector.dll
Syntax
public abstract class TcoDi : TcoComponent
Constructors
| Improve this Doc View SourceTcoDi()
Prevents creating instance of this class via public constructor
Declaration
public TcoDi()
Fields
| Improve this Doc View Source_config
Declaration
public TcoDiConfig _config
Field Value
Type | Description |
---|---|
TcoDiConfig |
_isFalseTask
Declaration
public TcoTask _isFalseTask
Field Value
Type | Description |
---|---|
TcoTask |
_isFalseTimeOutTimers
Declaration
public object _isFalseTimeOutTimers
Field Value
Type | Description |
---|---|
System.Object |
_isTrueTask
Declaration
public TcoTask _isTrueTask
Field Value
Type | Description |
---|---|
TcoTask |
_isTrueTimeOutTimers
Declaration
public object _isTrueTimeOutTimers
Field Value
Type | Description |
---|---|
System.Object |
_signal
Backing variable for signal; this variable is used directly by the component. It updates inoSingal
in FB body call.
Declaration
public object _signal
Field Value
Type | Description |
---|---|
System.Object |
_signalInfo
Declaration
public TcoSignalInfo _signalInfo
Field Value
Type | Description |
---|---|
TcoSignalInfo |
inoSignal
Input signal. Typically an %I*
variable.
Declaration
public object inoSignal
Field Value
Type | Description |
---|---|
System.Object |
Properties
| Improve this Doc View SourceIsFalse
Gets 'true' when monitor signal is 'off/false/logical 0'. Generates message when the returning 'false'.
Declaration
[IgnoreReflection]
public dynamic IsFalse { get; }
Property Value
Type | Description |
---|---|
System.Object | Plc type BOOL; Twin type: Vortex.Connector.ValueTypes.OnlinerBool |
IsTrue
Gets 'true' when monitor signal is 'on/true/logical 1'. Generates message when the returning 'false'.
Declaration
[IgnoreReflection]
public dynamic IsTrue { get; }
Property Value
Type | Description |
---|---|
System.Object | Plc type BOOL; Twin type: Vortex.Connector.ValueTypes.OnlinerBool |
Methods
| Improve this Doc View SourceRestore()
Restores this instance to the Ready state. Can be called explicitly or from within one of the restore mechanisms.
Declaration
[IgnoreReflection]
public dynamic Restore()
Returns
Type | Description |
---|---|
System.Object | Plc type ITcoRestorable; Twin type: |
ServiceMode()
Custom service (manual, maintenance) logic. This method must be implemented in derived class.
Declaration
[IgnoreReflection]
protected void ServiceMode()