12/20/2021 10:21 AM | |
Joined: 11/4/2011 Last visit: 2/14/2025 Posts: 256 Rating:
|
With TO version V6.0 you cannot assign DB_Any to the Cam input of a MC-function anymore, see here in seciton "Using DB_ANY in the cam technology object": https://support.industry.siemens.com/cs/ww/de/view/109781848/138794212363?dl=en I guess that since TO version V6.0 now also contains a TO Cam10k, the MC-function just cannot blindly map DB_Any to type TO_Cam anymore, but also cannot find out which type it is during runtime. Example with pseudo-code: IF TypeOfDB(<myDbAny>) is TO_CAM THEN //call an FB/FC with input of type TO_CAM and connect the <myDbAny> to this; inside this FB/FC call the MC-function then and connect this input to it //call an FB/FC with input of type TO_CAM10k and connect the <myDbAny> to this; inside this FB/FC call the MC-function then and connect this input to it ..... Regards, |
Last edited by: daviso at: 12/20/2021 10:21:21Last edited by: daviso at: 12/20/2021 10:22:07 |
|
This contribution was helpful to
1 thankful Users |
Follow us on