Autonomous Classic Ladder?

More
4 years 10 months ago #230192 by Nitram
Hello. 
Wondering whether CL can be run autonomously from outside LCNC? 
Can I have a standalone PC or Raspberry running a system as a PLC, for example as a controller for a pressure pump or a temp controller for a hardening/tempering oven for example without operating from within LCNC?
I think what I am asking is, is it possible to have a servo thread running a HAL file (a config) and running CL without the CNC layer on top?
And by extension, can I set up a PC such that say after a power failure it will reboot, then open CL and continue run the classic ladder file?
Thanks.

Please Log in to join the conversation.

More
4 years 10 months ago #230197 by cmorley
Replied by cmorley on topic Autonomous Classic Ladder?
Yes. CL is loaded using halcmd commands.

halcmd is the user program that controls HAL. It doesn't need linuxcnc to be running.
usually we type 'halrun' while in a terminal to manipulate HAL from the command line interactively, but it can be made to run a file instead.

linuxcnc.org/docs/devel/html/man/man1/halcmd.1.html
linuxcnc.org/docs/devel/html/man/man1/halrun.1.html

Please Log in to join the conversation.

More
4 years 9 months ago #231180 by Benb
Replied by Benb on topic Autonomous Classic Ladder?
Classic ladder is a separate application from linuxcnc it was integrated into linuxcnc few years ago and has not been upgraded since. If you would like the latest version streamlined for Raspberry check the following links:
github.com/cz172638/classicladder-1
sourceforge.net/projects/classicladder/

Please Log in to join the conversation.

More
4 years 9 months ago #231212 by cmorley
Replied by cmorley on topic Autonomous Classic Ladder?
Any newer version of classicladder will not have connections to HAL.

Please Log in to join the conversation.

More
4 years 9 months ago #231491 by bkt
Replied by bkt on topic Autonomous Classic Ladder?
but is possible start a gui like silverdragon and run only classic ladder without using axis? .... for example using sim parameters as motor?
In rhese way you can build a stand alone gui for classic ladder only.

regards bkt

Please Log in to join the conversation.

More
4 years 9 months ago #231513 by cmorley
Replied by cmorley on topic Autonomous Classic Ladder?
I don't understand.
You can run classicladders's GUI all by it's self.

Please Log in to join the conversation.

More
4 years 9 months ago #231534 by bkt
Replied by bkt on topic Autonomous Classic Ladder?
 I would like to create a gui to make the user decide some inputs of the classic ladder program ... in order to make choices about how the program should work. The machine is all pneumatic so it has no axes to drive.

Never do these first so ask to real expert ...

Please Log in to join the conversation.

More
4 years 9 months ago #231553 by Grotius
Replied by Grotius on topic Autonomous Classic Ladder?
Hi,

For the gui, what is your favorite gui builder?

 

Please Log in to join the conversation.

More
4 years 9 months ago #231632 by bkt
Replied by bkt on topic Autonomous Classic Ladder?
@Grotius ... I have several gui buil in Qtcreator/Qtdesigner ... 2 or 3 only in glade .... but problem was language .... c\c++ instead python .... not have time in these month to try your project for c++ use .... maybe in march.

Any how yesterday I have run a gui without motor and classic ladder .... I have use the trik to set only "X" axes and put it on SIM pin. all other work perfect. I/O become from EL1008/2008 .... and all work. Nice.

Your project was a best solution because we can run directly from program more than one master/slave modbus, canOpen ... and other line ... using all Lcnc function. But need time for customize and test .... and now not have it.

Please Log in to join the conversation.

More
4 years 9 months ago #231643 by Grotius
Replied by Grotius on topic Autonomous Classic Ladder?
Hi Btk,

Your project was a best solution because we can run directly from program more than one master/slave modbus, canOpen ... and other line ... using all Lcnc function. But need time for customize and test .... and now not have it.

Wtf, you mean hal-core?

I thought for a simple i/o application, you could use a c++ gui without a making a seperate hal component.
Just create a component and a few hal pins in the c++ gui and you are ready to go.

I could bring you some honey pots.   if you don't have the time.




 

Please Log in to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum