AsIOLink.typ 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. TYPE
  2. ioLinkState_t :
  3. (
  4. READY,
  5. WORK,
  6. DONE
  7. );
  8. ioLinkInternalAccess_t : STRUCT (*internal data*)
  9. state : ioLinkState_t;
  10. idCount : UDINT;
  11. drvInstHandle : UDINT;
  12. error : UINT;
  13. done : UDINT;
  14. serviceResponse : UDINT;
  15. datatype : USINT;
  16. buffer : UDINT;
  17. bufferSize : UDINT;
  18. bufferFeatures : ARRAY[0..15]OF USINT;
  19. END_STRUCT;
  20. ioLinkInternalEvent_t : STRUCT (*internal data*)
  21. state : ioLinkState_t;
  22. drvInstHandle : UDINT;
  23. eventQualifier : USINT;
  24. eventData : UINT;
  25. eventLost : BOOL;
  26. eventPending : BOOL;
  27. error : UINT;
  28. bufferFeatures : ARRAY[0..7]OF USINT;
  29. END_STRUCT;
  30. ioLinkInternalSetMode_t : STRUCT (*internal data*)
  31. state : ioLinkState_t;
  32. error : UINT;
  33. deviceName : STRING[128];
  34. channelName : STRING[32];
  35. accWrite : AsIOAccWrite;
  36. bufferFeatures : ARRAY[0..7]OF USINT;
  37. END_STRUCT;
  38. ioLinkInternalParDownload_t : STRUCT (*internal data*)
  39. state : ioLinkState_t;
  40. drvInstHandle : UDINT;
  41. error : UINT;
  42. bufferFeatures : ARRAY[0..7]OF USINT;
  43. END_STRUCT;
  44. END_TYPE