Autonomous Classic Ladder?
29 Dec 2021 02:46 #230192
by Nitram
Autonomous Classic Ladder? was created 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.
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 or Create an account to join the conversation.
29 Dec 2021 05:54 #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
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 or Create an account to join the conversation.
08 Jan 2022 22:08 #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/
github.com/cz172638/classicladder-1
sourceforge.net/projects/classicladder/
The following user(s) said Thank You: hoffb77
Please Log in or Create an account to join the conversation.
09 Jan 2022 03:22 #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 or Create an account to join the conversation.
11 Jan 2022 22:05 #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
In rhese way you can build a stand alone gui for classic ladder only.
regards bkt
Please Log in or Create an account to join the conversation.
12 Jan 2022 02:04 #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.
You can run classicladders's GUI all by it's self.
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
12 Jan 2022 07:37 - 12 Jan 2022 07:38 #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 ...
Never do these first so ask to real expert ...
Last edit: 12 Jan 2022 07:38 by bkt.
Please Log in or Create an account to join the conversation.
12 Jan 2022 10:20 #231553
by Grotius
Replied by Grotius on topic Autonomous Classic Ladder?
Hi,
For the gui, what is your favorite gui builder?
For the gui, what is your favorite gui builder?
Please Log in or Create an account to join the conversation.
13 Jan 2022 06:46 #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.
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 or Create an account to join the conversation.
13 Jan 2022 09:00 #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.
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.
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
Time to create page: 0.094 seconds