Post by lostcontrol on Bool turning on in case stament in wrong state?
CODESYS Forge
talk
(Post)
are you sure it is not used anywhere else.? does it have an address that could be duplicated perhaps? nothing external writing to it?
Last updated: 2023-12-16
Post by ton on How to create a stopwatch?
CODESYS Forge
talk
(Post)
If you use LTIME() you will be very accurate and be able to have a normal task cycle time.
Last updated: 2023-12-16
Bool turning on in case stament in wrong state?
CODESYS Forge
talk
(Thread)
Bool turning on in case stament in wrong state?
Last updated: 2023-12-16
How to create a stopwatch?
CODESYS Forge
talk
(Thread)
How to create a stopwatch?
Last updated: 2023-12-16
Post by nz-dave on Bool turning on in case stament in wrong state?
CODESYS Forge
talk
(Post)
I had the FB called via a for loop to call a few instances of my FB I have removed it the for loop and just called them 1 by 1. Seems to have sorted the problem. tho, i have other FB's and for loops doing the same thing but they are all fine. below is basically what was happening. var: mVibrator : ARRAY[1..GVL_Settings.Number_Of_Products] OF Main_Vibrator; end_var Controller(PRG) call: FOR v := 1 TO GVL_Settings.Number_Of_Products BY 1 DO; mVibrator[v] (); END_FOR So at state 30: the mVibrator[1].start was turning on 30: Main_Mixer.Start := TRUE; Process_State := 2; IF Main_mixer.Done THEN Main_Mixer.Start := FALSE; Control_State := 40; END_IF but its not till state 50: that it is actual in the code. 50: Main_Suction_valve.Open_Input := TRUE; mVibrator[1].Start := TRUE; Process_State := 4; IF GVL_Weigh_hopper.LoadCell_Weight = 0 THEN Main_Suction_valve.Open_Input := FALSE; mVibrator1.Start := FALSE; Control_State := 60; END_IF Thanks for your input.
Last updated: 2023-12-16
Post by smartcoco on Recipe Manager - RecipeManCommands, load & write wrong values, Bug?
CODESYS Forge
talk
(Post)
I have also been troubled by this issue for a long time, to the extent that I have to implement a recipe management library myself. Codesys version used: 3.5.19.40
Last updated: 2023-12-16
Post by lostcontrol on Bool turning on in case stament in wrong state?
CODESYS Forge
talk
(Post)
i would be looking at what the case variable is doing then.. sounds like there might be a logic race going on
Last updated: 2023-12-16
wiki Discussion
simover
wiki
(Discussion)
Forum for wiki comments
Last updated: 2023-12-16
blog Discussion
simover
blog
(Discussion)
Forum for blog comments
Last updated: 2023-12-16
blog Discussion
denni
blog
(Discussion)
Forum for blog comments
Last updated: 2023-12-16
(no subject)
simover
wiki
(Thread)
Last updated: 2023-12-16
Home
simover
wiki
(WikiPage)
Project Members: simover (admin)
Last updated: 2023-12-16
Home (version 1) discussion
turicum80
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-12-17
Home (version 1) discussion
eriksn
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-12-16
wiki Discussion
denni
wiki
(Discussion)
Forum for wiki comments
Last updated: 2023-12-16
(no subject)
denni
wiki
(Thread)
Last updated: 2023-12-16
Home
denni
wiki
(WikiPage)
Project Members: denni (admin)
Last updated: 2023-12-16
Home (version 1) discussion
git_test
home
(Thread)
Home (version 1) discussion
Last updated: 2023-12-18
Home (version 1) discussion
dmeconsult
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-12-18
wiki Discussion
bobo
wiki
(Discussion)
Forum for wiki comments
Last updated: 2023-12-17
blog Discussion
bobo
blog
(Discussion)
Forum for blog comments
Last updated: 2023-12-17
(no subject)
bobo
wiki
(Thread)
Last updated: 2023-12-17
Home
bobo
wiki
(WikiPage)
Project Members: bobo (admin)
Last updated: 2023-12-17
SM3 motion project
CODESYS Forge
talk
(Thread)
SM3 motion project
Last updated: 2023-12-18
wiki Discussion
chafre
wiki
(Discussion)
Forum for wiki comments
Last updated: 2023-12-18