# API Documentation

This chapter provides a reference of all functions, function blocks, and UDTs defined in the SDK.

Note

All FBs/FCs/UDTs start with the prefix “GracoPd2kDual_” in the SDK project files. This helps prevent naming collisions if multiple SDKs are used in the same PLC program.

- GracoPd2kDual API
  - Functions (FC)
    - GetDataBySlotNum
    - SetDataBySlotNum
    - StatusToUDT
  - Function Blocks (FB)
    - PumpControl
    - ReadAlarmInfo
    - ReadEventInfo
    - ReadFlushSequence
    - ReadGrandTotals
    - ReadJobInfo
    - ReadRecipe
    - ReadUserID
    - SendDCS
    - WriteFlushSequence
    - WriteMaterialReadyFlag
    - WriteRecipe
    - WriteUserID
  - UDTs
    - TypeMixUnit
    - TypePd2kStatus
    - TypePump
    - TypePumpControls
    - TypePumpStatusFlags
    - TypeSystemModeFlags
    - TypeTarget