- Posts: 44
- Thank you received: 8
Running config without 7i92
- daiman444
- Offline
- Senior Member
-
Less
More
4 years 2 months ago #249944
by daiman444
Running config without 7i92 was created by daiman444
I salute you. I wanted to know if it is possible to run the linuxcnc config for 7i92 without the board itself?
The goal is to edit the config and its settings on a virtual machine or on another PC, but the 7i92 config won't run without a fee.
Option 1: create a clone of the config but for lpt.
Option 2 to comment out all calls to hostmot and hm2_7i92.
But both of these options entail obvious problems when porting to a working machine: renaming pins for hm2_7i92 and so on.
I'm not good at English and most likely that's why I couldn't find a topic with similar questions by searching.
I will be glad for any useful information
The goal is to edit the config and its settings on a virtual machine or on another PC, but the 7i92 config won't run without a fee.
Option 1: create a clone of the config but for lpt.
Option 2 to comment out all calls to hostmot and hm2_7i92.
But both of these options entail obvious problems when porting to a working machine: renaming pins for hm2_7i92 and so on.
I'm not good at English and most likely that's why I couldn't find a topic with similar questions by searching.
I will be glad for any useful information
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
4 years 2 months ago #250912
by tommylight
Replied by tommylight on topic Running config without 7i92
If you want to test the gcode and check if it runs properly, then yes, just run any of the included configs in the "sim" section of the LinuxCNC config picker (the thing that opens when you start LinuxCNC).
Making a hardware sim is not very useful as the pins would need changing to simulated ones, that entails editing the hal file back and forth any time you want to test on real hardware.
It might work by pointing the ini file to different hal files, but that again is not the same as the changes made to the sim hal would have to be done in the hardware hal file.
Sorry but having a hard time finding any valid reason for running a hardware sim. You do need the hardware attached when testing changes, so .....
Making a hardware sim is not very useful as the pins would need changing to simulated ones, that entails editing the hal file back and forth any time you want to test on real hardware.
It might work by pointing the ini file to different hal files, but that again is not the same as the changes made to the sim hal would have to be done in the hardware hal file.
Sorry but having a hard time finding any valid reason for running a hardware sim. You do need the hardware attached when testing changes, so .....
The following user(s) said Thank You: daiman444
Please Log in or Create an account to join the conversation.
- daiman444
- Offline
- Senior Member
-
Less
More
- Posts: 44
- Thank you received: 8
4 years 4 weeks ago #253350
by daiman444
Replied by daiman444 on topic Running config without 7i92
Thank you for your reply.
During working hours, for example, it is not possible to make any changes to the configuration of the machine and the interface. But at home on a virtual machine, you can easily do this: for example, adjust the glade panel, or completely draw it, or something similar from tasks. In the current state of affairs, you have to write everything on sim or for lpt, as a result of which the integration hung for almost a month, because during working hours the machine works and there is no way to stand rewriting in the machine. In configs with lpt, after all, this is possible: just ctrl + c, ctrl + v with some minor debugging on the go
During working hours, for example, it is not possible to make any changes to the configuration of the machine and the interface. But at home on a virtual machine, you can easily do this: for example, adjust the glade panel, or completely draw it, or something similar from tasks. In the current state of affairs, you have to write everything on sim or for lpt, as a result of which the integration hung for almost a month, because during working hours the machine works and there is no way to stand rewriting in the machine. In configs with lpt, after all, this is possible: just ctrl + c, ctrl + v with some minor debugging on the go
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4793
- Thank you received: 1480
4 years 4 weeks ago #253351
by Todd Zuercher
Replied by Todd Zuercher on topic Running config without 7i92
Developing a user interface or other software away from a real machine can be tricky (but not impossible.) There can be so many safety and hardware inputs and outputs that you must simulate or subvert in someway to do the testing away from the real hardware, that it can be difficult or impossible to be sure that your changes will work correctly at the real machine.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- eslavko
- Offline
- Senior Member
-
Less
More
- Posts: 67
- Thank you received: 1
4 years 3 weeks ago #253659
by eslavko
Replied by eslavko on topic Running config without 7i92
I have similar situation.
The hardware (will be) on remote location.
I need specific GUI to make learn/reply motion (the G code is self written on learn phase and then replyed at run phase) and at hardware location is cold, loud, and 1km away from office.
So after 1st build and bench test I will have no hardware in office, but updates will be needed.
So I need to simulate 4 servos and just few switches.
Is it possible to fake mesa card with some python code? I can catch UDP ethernet frames with python so I assume it's possible to have fake hardware.
The hardware (will be) on remote location.
I need specific GUI to make learn/reply motion (the G code is self written on learn phase and then replyed at run phase) and at hardware location is cold, loud, and 1km away from office.
So after 1st build and bench test I will have no hardware in office, but updates will be needed.
So I need to simulate 4 servos and just few switches.
Is it possible to fake mesa card with some python code? I can catch UDP ethernet frames with python so I assume it's possible to have fake hardware.
The following user(s) said Thank You: daiman444
Please Log in or Create an account to join the conversation.
- eslavko
- Offline
- Senior Member
-
Less
More
- Posts: 67
- Thank you received: 1
4 years 3 weeks ago #253660
by eslavko
Replied by eslavko on topic Running config without 7i92
Is there some information how ethernet communication is done? Capturing frames should be easy but decoding them is not.
Please Log in or Create an account to join the conversation.
Time to create page: 2.652 seconds