I've just tried in with CODESYS V3.5 SP7.
It works as expected - the value of HMIInverter... will be copied to MyInverterSpeedCommand if InverterCycling ist FALSE. May be the code in networks (or in other POUs) changes the InverterCycling somehow?
Regards,
Roman
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2015-08-24
Originally created by: ph0010421
Hello Roman
Thanks for the reply.
You are right...I changed the compiler to 3.5.7.0 the EXECUTE block works as expected.
My controller's RTE is 3.5.1.40 and this doesn't work (in the simulator anyway).
It's a shame as this is very useful.
Regards
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Originally created by: ph0010421
Hello
What am I missing with the EXECUTE block?
I've put a box in the ladder, but the code inside doesn't execute.
Thanks
Paul
Hello Paul,
I've just tried in with CODESYS V3.5 SP7.
It works as expected - the value of HMIInverter... will be copied to MyInverterSpeedCommand if InverterCycling ist FALSE. May be the code in networks (or in other POUs) changes the InverterCycling somehow?
Regards,
Roman
Originally created by: ph0010421
Hello Roman
Thanks for the reply.
You are right...I changed the compiler to 3.5.7.0 the EXECUTE block works as expected.
My controller's RTE is 3.5.1.40 and this doesn't work (in the simulator anyway).
It's a shame as this is very useful.
Regards
Paul