HEISCH AT

Standard Software
for the
Industrial Automation

see also:
Engineering
and
Services
Home News Products Know How Download
Customers Xforms etc. Links Who we are Prices Contact
Products: Linux/Windows: Convert_Lib

Convert_Lib

Convert_Lib

DOWNLOAD:

Filename convert_lib_2.7_Manual_S7_20180510.pdf
Filesize ca. 201 KB
Content Convert_Lib dated 2018/05/10; documentation.
Requires  
Remarks  
Ordering Information: Convert_Lib

Convert_Lib Info:

Convert_Lib is a C library to convert Simatic S5/S7 data (KT, KZ, KF,... and FLOAT!) into ANSI representation and vice versa. We deliver this library as source.
Convert_Lib was developed and tested under Linux. Nevertheless it can be used under Windows, only a few #includes must be adjusted for this.

Supported Datatypes for
   Simatic S7 300/400/1500:
Supported Datatypes for
   Simatic S5:
  • BYTE CHAR USINT SINT
  • WORD UINT INT
  • DWORD UDINT DINT
  • LWORD ULINT LINT
  • REAL
  • LREAL
  • S5TIME
  • COUNTER
  • s7STRING
  • TIME_AND_DATE
  • IEC_DATE
  • IEC_TIME TOD
  • IEC_DATE_AND_TIME ( alternativ zu TIME_AND_DATE)
  • LTIME
  • LDT DTL

In addition, the library contains a special time and date format ( computer side) to support the input and output of time and date formats as strings.
Also included: functions for conversation between different time and date formats.
  • DL left byte in 16-bit data word
  • DR right byte in 16-bit data word
  • KH word hexadecimal unsigned 16-bit
  • KF 16-bit integer
  • KT timer
  • KZ counter
  • KD 32-Bit hexadecimal or 32 bit-Integer
  • KG floating point number ( real )
  • special: Realtime clock format of S5 95U and S5 115U

The realtime clock format includes correction of time zone and summer-/winter time (DST). Refer to the manual.

Top   Home  

© 2000 ... 2023 Werner Heisch
Edition Date of this page (MET) : 2023-04-23 16:43:12