Changelog
#########

Release version 0.2.1 (latest)
******************************
**Release date**: 2023-02-13

**Changed:**

* Profinet data access has been largely reworked throughout the code. Instead of relying on UDTs to move data around, we now use GetDataBySlotNum/SetDataBySlotNum along with TypeTarget to access the process data directly. This replaces the original pack/unpack FCs. See the "design" section in the manual for more details.
* All code now supports the S7-1200 series of PLCs. This required removing all STL code from the program, since STL is not supported in S7-1200.
* Migrated all code from TIA Portal V12 to V17.
* TypePd2kStatus has been restructured to group data for each mix unit together.
* TypePd2kStatus now uses more appropriate numeric data types for members (was DWORD for everything)
* TypePd2kStatus now includes additional flags for enumerated values. StatusToUDT is used to populate these values.
* Reworked all state codes to be more consistent with other SDKs. See "design" section in manual for more details.
* Much of the internal logic has been reworked and improved for better readability.
* Manual has been completely re-written. Content has been updated to reflect latest SDK improvements. Formatting has also been improved.
* The PD2K GSDML file has been updated to schema V2.2.

**Added:**

* PumpControl FB
* StatusToUDT FC - similar to original UnpackStatus FC but outputs to a TypePd2kStatus UDT instead of the full TypePD2K.
* Types EnableCmdState, ExecuteCmdState, and FunctionCmdState - replaces TypeCmdState
* TypeDcsAckFlags
* TypePumpControls - used with PumpControl FB
* Various FCs for working with strings and datetimes - DecodeDateTime, DecodeEventCode, DecodeUserID, EncodeUserID.
* GetDataBySlotNum and SetDataBySlotNum.
* In addition to the PDF manual, an interactive manual has also been included which can be viewed in a web browser.

**Removed:**

* Removing support for S7-300. Managing both versions of code required a lot of extra development time, and since the vast majority of customers are using S7-1200/1500 PLCs in their installs, the S7-300 compatibility was not adding much value.
* RecipeChange FB - merged into PumpControl
* Manual is no longer provided in .docx format.


Release version 0.1.1
*********************
**Release date**: 2020-10-23

This is the first release of the SDK.

* Initial release for GracoPd2kDual global library
* Initial release for GracoPd2kDual example program
* Initial release for GracoPd2kDual manual
* Initial release for PackControl FC
* Initial release for PackControlAdvanced FC
* Initial release for UnpackControl FC
* Initial release for UnpackControlAdvanced FC
* Initial release for UnpackStatus FC
* Initial release for UnpackStatusAdvanced FC
* Initial release for ReadAlarmInfo FB
* Initial release for ReadEventInfo FB
* Initial release for ReadFlushSeq FB
* Initial release for ReadGrandTotals FB
* Initial release for ReadJobInfo FB
* Initial release for ReadRecipe FB
* Initial release for ReadUserID FB
* Initial release for RecipeChange FB
* Initial release for SendDCS FB
* Initial release for WriteFlushSeq FB
* Initial release for WriteMaterialReadyFlag FB
* Initial release for WriteRecipe FB
* Initial release for WriteUserID FB