diff --git a/TwinCat/Mbc.Tc3.Pcs/Library/Mbc_Tc3_Pcs_v1.2.1.1.library b/TwinCat/Mbc.Tc3.Pcs/Library/Mbc_Tc3_Pcs_v1.2.1.1.library new file mode 100644 index 0000000..903e7ed Binary files /dev/null and b/TwinCat/Mbc.Tc3.Pcs/Library/Mbc_Tc3_Pcs_v1.2.1.1.library differ diff --git a/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Command/CommandBase.TcPOU b/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Command/CommandBase.TcPOU index 142fe0f..2067bc6 100644 --- a/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Command/CommandBase.TcPOU +++ b/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Command/CommandBase.TcPOU @@ -1,5 +1,5 @@  - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Command/ST_CommandBaseHandshake.TcDUT b/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Command/ST_CommandBaseHandshake.TcDUT index 03ec623..496f664 100644 --- a/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Command/ST_CommandBaseHandshake.TcDUT +++ b/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Command/ST_CommandBaseHandshake.TcDUT @@ -1,5 +1,5 @@  - + diff --git a/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Mbc_Tc3_Pcs.plcproj b/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Mbc_Tc3_Pcs.plcproj index 695613a..6e9189c 100644 --- a/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Mbc_Tc3_Pcs.plcproj +++ b/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Mbc_Tc3_Pcs.plcproj @@ -21,7 +21,7 @@ Mbc_Tc3_Pcs mbc engineering GmbH reStructuredText - 1.2.1.0 + 1.2.1.1 Copyright mbc engineering GmbH Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Version/Global_Version.TcGVL b/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Version/Global_Version.TcGVL index 41eb334..9ddedc4 100644 --- a/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Version/Global_Version.TcGVL +++ b/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/Version/Global_Version.TcGVL @@ -1,12 +1,13 @@  - + diff --git a/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/docs/Changelog.md b/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/docs/Changelog.md index 4cdb87e..c480caf 100644 --- a/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/docs/Changelog.md +++ b/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/docs/Changelog.md @@ -12,6 +12,10 @@ The following types of changes exist: - **Fixed** for any bug fixes. - **Security** in case of vulnerabilities. +## [1.2.1.1] - 28.05.2021 +### Added +- It is now possible to enable or disable commands with the `stHandshake.bEnabled` + ## [1.2.0] - 01.06.2018 ### Changed - The `CommandBase` Public Method `Abort` is renamed to Protected Method `Cancelled` diff --git a/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/docs/CommandBase.md b/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/docs/CommandBase.md index dbf2a6d..122ac92 100644 --- a/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/docs/CommandBase.md +++ b/TwinCat/Mbc.Tc3.Pcs/Mbc_Tc3_Pcs/docs/CommandBase.md @@ -44,6 +44,7 @@ In the structure `ST_CommandBaseHandshake` is used to communicate with the PCS. |---------------|----------|-----|-----|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `bExecute` | BOOL | RW | RW | Will be set to true from the PCS to start the command. When the operation is finished, the PLC will it set to false. On a long running Task, the PCS can reset to false for Abort the operation. The state will change to `Cancelled`. | | `bBusy` | BOOL | RW | R | Is True when the command is executing. | +| `bEnabled` | BOOL | RW | R | Will be set from PLC. Enables or disables a command. Variable will be initialized as True. To disable a command it explicit has to set False from PLC. | | `nResultCode` | UINT | RW | R | Shows the operation result code of the commando state. Default Values see `CommandResultCode` Enum Type. It is possible to set other codes! | | `nProgress` | BYTE | RW | R | Shows the optional calculated progress. The value is depend on the command implementation. (default can be 0..100%). Only necessary on long running operations. | | `nSubTask` | UINT | RW | R | Shows the optional state of long running Command Execution. It is possible to set it on own need. | diff --git a/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/Commands/TriggerCommand.TcPOU b/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/Commands/TriggerCommand.TcPOU index d40b188..7fb32cc 100644 --- a/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/Commands/TriggerCommand.TcPOU +++ b/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/Commands/TriggerCommand.TcPOU @@ -1,9 +1,10 @@  - + - @@ -42,19 +46,5 @@ Q := bInit; bInit := FALSE;]]> - - - - - - - - - - - - - - \ No newline at end of file diff --git a/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/POUs/MAIN.TcPOU b/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/POUs/MAIN.TcPOU index fa9d719..dd9fb09 100644 --- a/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/POUs/MAIN.TcPOU +++ b/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/POUs/MAIN.TcPOU @@ -1,5 +1,5 @@  - + - - - - - \ No newline at end of file diff --git a/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/beckhoff automation gmbh/tc2_standard/3.3.3.0/tc2_standard.compiled-library b/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/beckhoff automation gmbh/tc2_standard/3.3.3.0/tc2_standard.compiled-library new file mode 100644 index 0000000..4cb0bb4 Binary files /dev/null and b/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/beckhoff automation gmbh/tc2_standard/3.3.3.0/tc2_standard.compiled-library differ diff --git a/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/beckhoff automation gmbh/tc2_system/3.4.24.0/tc2_system.compiled-library b/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/beckhoff automation gmbh/tc2_system/3.4.24.0/tc2_system.compiled-library new file mode 100644 index 0000000..798b795 Binary files /dev/null and b/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/beckhoff automation gmbh/tc2_system/3.4.24.0/tc2_system.compiled-library differ diff --git a/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/beckhoff automation gmbh/tc3_module/3.3.21.0/tc3_module.compiled-library b/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/beckhoff automation gmbh/tc3_module/3.3.21.0/tc3_module.compiled-library new file mode 100644 index 0000000..96943d5 Binary files /dev/null and b/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/beckhoff automation gmbh/tc3_module/3.3.21.0/tc3_module.compiled-library differ diff --git a/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/mbc engineering gmbh/mbc tc3 pcs library/1.2.0.0/mbc_tc3_pcs.library b/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/mbc engineering gmbh/mbc tc3 pcs library/1.2.0.0/mbc_tc3_pcs.library new file mode 100644 index 0000000..b2588b4 Binary files /dev/null and b/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/mbc engineering gmbh/mbc tc3 pcs library/1.2.0.0/mbc_tc3_pcs.library differ diff --git a/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/mbc engineering gmbh/mbc tc3 pcs library/1.2.1.1/mbc_tc3_pcs_v1.2.1.1.library b/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/mbc engineering gmbh/mbc tc3 pcs library/1.2.1.1/mbc_tc3_pcs_v1.2.1.1.library new file mode 100644 index 0000000..903e7ed Binary files /dev/null and b/TwinCat/Samples/Mbc.Tc3.Pcs.Samples/SPS/_Libraries/mbc engineering gmbh/mbc tc3 pcs library/1.2.1.1/mbc_tc3_pcs_v1.2.1.1.library differ