OUTPUT_REF
Der Datentyp OUTPUT_REF enthält Daten zur Beschreibung des Zustandes eines digitalen Ausgangs. Neben dem Schaltzustand werden Zeitstempel für Zustandswechsel mitgeführt.
TYPE OUTPUT_REF :
STRUCT
Level : BOOL; (* current level of the digital output *)
NextStateChangeValid : BOOL; (* time value NextStateChange is valid *)
NextStateChange : T_DCTIME32; (* time of next state change - current level will be inverted *)
NextOnTimeValid : BOOL; (* time value NextOnTime is valid *)
NextOnTime : T_DCTIME32; (* time when the digital output is turned ON next time *)
NextOffTimeValid : BOOL; (* time value NextOffTime is valid *)
NextOffTime : T_DCTIME32; (* time when the digital output is turned OFF next time *)
END_STRUCT
END_TYPE
Name | Typ | Beschreibung |
---|---|---|
Level | BOOL | Aktueller Schaltzustand des digitalen Ausgangs |
NextStateChangeValid | BOOL | NextStateChangeValid ist TRUE, wenn der Zeitstempel NextStateChange gültig ist. |
NextStateChange | T_DCTIME32 | Zeitpunkt des nächsten Zustandswechsels (Distributed Clock TimeStamp) |
NextOnTimeValid | BOOL | NextOnTimeValid ist TRUE, wenn der Zeitstempel NextOnTime gültig ist. |
NextOnTime | T_DCTIME32 | Zeitpunkt der nächsten positiven Schaltflanke (Distributed Clock TimeStamp) |
NextOffTimeValid | BOOL | NextOffTimeValid ist TRUE, wenn der Zeitstempel NextOffTime gültig ist. |
NextOffTime | T_DCTIME32 | Zeitpunkt der nächsten negativen Schaltflanke (Distributed Clock TimeStamp) |