conection between I/O and classic ladder

More
09 May 2011 03:27 #9670 by andradela
Hello guys.

How do I conect de I/O signals to use in the classic ladder?

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

More
09 May 2011 16:45 #9678 by BigJohnT
You do that in your postgui hal file, if you used stepconf it will be custom_postgui.hal.

Take a look at the examples in the Integrators Manual.

John

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

More
10 May 2011 00:11 - 10 May 2011 00:22 #9687 by andradela
Thanks John

I have another question.

net oil-pump classicladder.0.out-00 => paraport.0.9.out

This is a M7 or M8 command right?

How I change it, instead of using pin-09-out, I use %B0 from classic ladder

Maybe like this:

net oil-pump classicladder.0.bit-00 => classicladder.0.0.bit (boolean)

This is possible?

If is not correct how is would?

Thanks.
Last edit: 10 May 2011 00:22 by andradela.

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

More
10 May 2011 00:42 #9688 by BigJohnT
No, it is just part of my oiler system.

Classicladder bits are numbered like so

classicladder.0.bit-00
classicladder.0.bit-01
classicladder.0.bit-02

John

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

More
10 May 2011 00:53 #9689 by cmorley
%B variable are just for internal memory. you must use %I for external inputs and %Q for external outputs.

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

More
10 May 2011 03:15 #9690 by andradela
Ok so will it works?

#!bin/bash
halcmd setp classicladder.0.bit-00 TRUE
exit 0

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

More
29 May 2011 02:14 #10139 by cmorley
sorry i didn't get back to you.
No that is not right.
The classicladder pin name would be :
classicldder.0.in-00 for inputs (%I0)

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

More
30 May 2011 13:55 - 30 May 2011 14:08 #10184 by andradela
I would like to connect classic ladder with emc using %B that's possible?
Last edit: 30 May 2011 14:08 by andradela.

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

More
30 May 2011 19:42 #10191 by BigJohnT
No that is an internal bit used by classicladder, you have to use the I/O only.

John

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

More
30 May 2011 20:43 #10195 by andradela
Ok, how do I create a M101 using classic ladder?

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

Time to create page: 0.083 seconds
Powered by Kunena Forum