AsIecCon.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* Automation Studio generated header file */
  2. /* Do not edit ! */
  3. #ifndef _ASIECCON_
  4. #define _ASIECCON_
  5. #ifdef __cplusplus
  6. extern "C"
  7. {
  8. #endif
  9. #include <bur/plctypes.h>
  10. #ifndef _BUR_PUBLIC
  11. #define _BUR_PUBLIC
  12. #endif
  13. /* Prototyping of functions and function blocks */
  14. _BUR_PUBLIC signed short H_TO_NINT(signed short IN);
  15. _BUR_PUBLIC unsigned short H_TO_NUINT(unsigned short IN);
  16. _BUR_PUBLIC signed long H_TO_NDINT(signed long IN);
  17. _BUR_PUBLIC unsigned long H_TO_NUDINT(unsigned long IN);
  18. _BUR_PUBLIC float H_TO_NREAL(float IN);
  19. _BUR_PUBLIC double H_TO_NLREAL(double IN);
  20. _BUR_PUBLIC plctime H_TO_NTIME(plctime IN);
  21. _BUR_PUBLIC DATE_AND_TIME H_TO_NDT(DATE_AND_TIME IN);
  22. _BUR_PUBLIC DATE H_TO_NDATE(DATE IN);
  23. _BUR_PUBLIC TOD H_TO_NTOD(TOD IN);
  24. _BUR_PUBLIC signed short N_TO_HINT(signed short IN);
  25. _BUR_PUBLIC unsigned short N_TO_HUINT(unsigned short IN);
  26. _BUR_PUBLIC signed long N_TO_HDINT(signed long IN);
  27. _BUR_PUBLIC unsigned long N_TO_HUDINT(unsigned long IN);
  28. _BUR_PUBLIC float N_TO_HREAL(float IN);
  29. _BUR_PUBLIC double N_TO_HLREAL(double IN);
  30. _BUR_PUBLIC plctime N_TO_HTIME(plctime IN);
  31. _BUR_PUBLIC DATE_AND_TIME N_TO_HDT(DATE_AND_TIME IN);
  32. _BUR_PUBLIC DATE N_TO_HDATE(DATE IN);
  33. _BUR_PUBLIC TOD N_TO_HTOD(TOD IN);
  34. _BUR_PUBLIC signed short swapINT(signed short IN);
  35. _BUR_PUBLIC unsigned short swapUINT(unsigned short IN);
  36. _BUR_PUBLIC WORD swapWORD(WORD IN);
  37. _BUR_PUBLIC signed long swapDINT(signed long IN);
  38. _BUR_PUBLIC unsigned long swapUDINT(unsigned long IN);
  39. _BUR_PUBLIC DWORD swapDWORD(DWORD IN);
  40. _BUR_PUBLIC TIME swapTIME(TIME IN);
  41. _BUR_PUBLIC DATE_AND_TIME swapDT(DATE_AND_TIME IN);
  42. _BUR_PUBLIC DATE swapDATE(DATE IN);
  43. _BUR_PUBLIC TOD swapTOD(TOD IN);
  44. _BUR_PUBLIC float swapREAL(float IN);
  45. _BUR_PUBLIC double swapLREAL(double IN);
  46. /* The interface declarations of the AsIecCon functions are not included here
  47. * because they are inline in IEC languages. The x_TO_STRING and the
  48. * STRING_TO_x functions are not available for C programms. */
  49. #ifdef __cplusplus
  50. };
  51. #endif
  52. #endif /* _ASIECCON_ */