Als pdf oder txt herunterladen
Als pdf oder txt herunterladen
Sie sind auf Seite 1von 1

T_CP56Time2a

Pgina 1 de 1

TwinCAT PLC Library: IEC 60870-5-101 Common Data Types

TYPE T_CP56Time2a
Binres 7 byte Zeitformat. TYPE T_CP56Time2a : STRUCT Milliseconds IVResMinute SURes2Hour DOWDay Res3Month Res4Year END_STRUCT END_TYPE

: : : : : :

WORD; BYTE; BYTE; BYTE; BYTE; BYTE;

(* (* (* (* (* (*

0..59.999ms = 60sec = 1min *) Bit 7 = IV (invalid time), Bit 6 = Res (spare bit), Bit 0..5 = Bit 7 = SU (1=summer time, 0=normal time), Bits 5..6 = Res2, B Bits 5..7 = Day of week (1..7, not used 0 !!!), Bits 0..4 = Da Bits 4..7 = Res3 (spare bits), Bits 0..3 = Month (1..12) *) Bit 7 = Res4, Bits 0..6 = Year (0..99) *)

Wochentag (DOW): 1 = Montag, 7 = Sonntag, 0 = wird nicht benutzt; Sommerzeit (SU): 1 = Sommerzeit, 0 = Normalzeit; Entwicklungsumgebung TwinCAT v2.9.0 Build >= 1030 TwinCAT v2.10.0 Build >= 1301 Zielplattform PC oder CX (x86) CX (ARM) Einzubindende SPS Bibliotheken TcIEC870_5_101.Lib ( Standard.Lib; TcBase.Lib; TcSystem.Lib; TcUtilities.Lib; werden automatisch eingebunden )

http://infosys.beckhoff.de/content/1031/tcplclibiec870_5_101/html/tcplclibiec870_5_...

02/02/2013

Das könnte Ihnen auch gefallen