Classicladder variable assignment error

More
10 years 6 months ago #72972 by Henk
Hi.
Im trying to assign a float variable in a ladder program but i get a "bad var coding (err=0)" message when entering the assignment expression. Anyone come across this before. Dont seem to be much info on the forum. Maybe im doing something stupid.....any help would be apreceated. Thanks

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #72973 by BigJohnT
The docs would be the first place to start. Can't guess till you tell us what your doing exactly including the syntax your using.

JT

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #73004 by Henk
Hi John
Thanks for the reply.
I'm replacing the old Dialog 11 controller on a 1988 Deckel FP4NC and using a 5i25+7i77+7i70 combination. Nearly all of the aux equipment is working now, including the spindle. I am using ladder to hijack the spindle velocity command and scaling it in ladder to account for the gear change (hi and lo) based on limit switch inputs into ladder to indicate what gear its in.

i found that i made a typo in the assignment which gave me a weird error. I don't know how i missed it ....pls accept my apologies.

Henk

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #73005 by BigJohnT
No problem, have you looked at the gear change component?

JT

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #73007 by Henk
Hi
Yes, i have looked at it and it will do what i want but have not tried it out yet.
I will try it out and let you know...
thanks
Henk
The following user(s) said Thank You: sinusvag

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #80623 by sinusvag
Hello Henk!

Interesting to read about your conversion. I am a new owner of a FP2NC and I have been contemplating doing the same as you in the future.

Would you happen to have a build blog or the like? I am reading the orange book as evening literature, and it would really be inspiring to see someone actually pulling this off! You already know how many say this is a feat that cannot be pulled off (even though it has been made many times by pros in the business)

Cheers from Sweden, Hans

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum