PuddingProgrammer
Just tried putting together a Function Block for a basic blinker with the onboard LED
 
The IEC compiler to C spits out this error, but I am not sure what this code means: -1073741819
 
For reference below is the Block I have built and how it is called
 
[203128%2F8175895%2Fmceclip0]
 
 
[203128%2F8175897%2Fmceclip0]
 
I am trying to work out how all the piececs of this come together to run within the software so have multiple items and ways of accessing the info to see what works. I have had this working outside of the FB, but not with Arrays and not direct addressing of variables to Counter functions. ie First_Counter_CV := Counter.CV
 
Reply 0 0
thiagoralves
Hard to debug without the full project.
Reply 0 0
PuddingProgrammer
I'll zip the folder and forward it as a reply later on today
Reply 0 0
PuddingProgrammer
Please find attached project as stated above
Reply 0 0
Reply