Dynomotion

Group: DynoMotion Message: 9343 From: rjreese29@ymail.com Date: 3/22/2014
Subject: Saving io assignments
Hi all, I am just getting started with the kflop. My io have been selected as either I or O, but inconsistently it will forget its assignments. I've been through the manual, but can't find the solution there/missing it. What are my possible modes of failure at me not being able to keep these io assignments? They are just not staying. Thank you!! Rob
Group: DynoMotion Message: 9344 From: Tom Kerekes Date: 3/22/2014
Subject: Re: Saving io assignments
Hi Rob,

The IO directions should not "Stay" you will need to set them every time after a power up.

Regards
TK


Group: DynoMotion Message: 9348 From: Rjreese29 Date: 3/22/2014
Subject: Re: Saving io assignments
Thanks Tom,

On a launch/initialization,after a bit more reading, I was thinking that I could have the io configured specifically as I or o. I am going to give it a try tonight by writing setbitdirection<n>=m in my initialization for each io in the initialization thread.

Do you think this would be ok?

My issue is io0 keeps switching to an output when I want it an input. I have seen it work several times as I functionally want it to, but it is very inconsistent and my estop stops working on the kflop digital io screen. Io0 is unfortunately my estop right now, and I just read in the manual where this is a possible dilemma where io0 may be conflictive due to ...encoder config...or something. I'll have to go back and read that again. 

Thanks, hope a great weekend for all!

Rob

On Mar 22, 2014, at 10:07 AM, Tom Kerekes <tk@...> wrote:

 

Hi Rob,

The IO directions should not "Stay" you will need to set them every time after a power up.

Regards
TK


Group: DynoMotion Message: 9351 From: Tom Kerekes Date: 3/23/2014
Subject: Re: Saving io assignments
Hi Rob,

IO should default to Input and only change to Output if something explicitly changes it to an output.

The format for C Programs is different than Console Script.  o set the IO mode in a C Program you would code:

    SetBitDirection(0,0);  // set IO 0 to be an input

Regards
TK