Page 1 of 1

FC shutdown during MIAC and Servo Simulation

Posted: Wed Feb 29, 2012 8:33 pm
by Jay Dee
Hi,
I am playing with a MIAC and digital servo, When Itry to simulate the program shuts down without warning.
I've checked through the settings and I think they are good. Also change the pin that controls the servo, same prob.
does not seem to work in hardware either but only done a very quick hardware check and my actual flowcode could be wrong and not FC itself.
See attached FC5 Prog.
Servo_wire_chopper.fcf
Servo test with MIAC
(9 KiB) Downloaded 423 times
The simulation works fine if the device is set to an ECIO 40.
Not sure if this is me having put in some dumb settings or bug.

Using FC5 v5.1.0.0
Cheers,
John.

Re: FC shutdown during MIAC and Servo Simulation

Posted: Thu Mar 01, 2012 12:29 pm
by DavidA
Hi John,

we can repeat the problem here, we will have a look into it and hopefully be able to offer a solution soon.

Re: FC shutdown during MIAC and Servo Simulation

Posted: Thu Mar 01, 2012 12:41 pm
by JonnyW
Hi. The problem is in the Servo EnableServo(). This is definitely a bug - the program should never crash regardless of what settings you add!

We will take a look at this component and see what can be done. This should only affect simulation.

Jonny

Re: FC shutdown during MIAC and Servo Simulation

Posted: Thu Mar 01, 2012 6:45 pm
by Jay Dee
Thanks guys,
I've migrated to my ECIO 40 setup for the time being so no stress from this end.
John.

Re: FC shutdown during MIAC and Servo Simulation

Posted: Fri Mar 02, 2012 10:23 am
by Steve
Hello John,

It looks like you have targeted a "MIAC System", which is for a future set of products which will be released in the next few months. We are aware of a few simulation issues which we will fix before the release of the products themselves.

Instead, please use a "MIAC" as your target and then change the component connection of the servo appropriately. Your program should now simulate without crashing.

Re: FC shutdown during MIAC and Servo Simulation

Posted: Mon Mar 05, 2012 12:43 pm
by Jay Dee
Ooops, my bad. :)
Thanks Steve.
John