FC shutdown during MIAC and Servo Simulation

For MIAC users to discuss projects, applications, and any other issues related to the MIAC unit.

Moderators: Benj, Mods

Post Reply
User avatar
Jay Dee
Posts: 398
Joined: Tue Aug 18, 2009 6:42 pm
Has thanked: 121 times
Been thanked: 154 times
Contact:

FC shutdown during MIAC and Servo Simulation

Post 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 384 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.

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: FC shutdown during MIAC and Servo Simulation

Post 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.

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: FC shutdown during MIAC and Servo Simulation

Post 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

User avatar
Jay Dee
Posts: 398
Joined: Tue Aug 18, 2009 6:42 pm
Has thanked: 121 times
Been thanked: 154 times
Contact:

Re: FC shutdown during MIAC and Servo Simulation

Post by Jay Dee »

Thanks guys,
I've migrated to my ECIO 40 setup for the time being so no stress from this end.
John.

User avatar
Steve
Matrix Staff
Posts: 3424
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: FC shutdown during MIAC and Servo Simulation

Post 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.

User avatar
Jay Dee
Posts: 398
Joined: Tue Aug 18, 2009 6:42 pm
Has thanked: 121 times
Been thanked: 154 times
Contact:

Re: FC shutdown during MIAC and Servo Simulation

Post by Jay Dee »

Ooops, my bad. :)
Thanks Steve.
John

Post Reply