Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: Mauri on August 08, 2017, 07:58:59 PM
-
Hi,
I am trying to test Mach4 V3468 however it will not show my Controller Plugin and will remove all my settings in the Input and Output Signals.
Does anyone else have this issue, if not what could I be doing wrong?
I can see the new plugin in the directory, however it can not be seen or added by this version of Mach4.
Any assistance would be appreciated.
Regards,
Mauri.
-
Hi,
The problem is with my new Plugin.
Thanks,
Mauri.
-
I wanted to ask you as possible mach4 Hobby, configure the inputs:
Cycle Start
STOP
FEED HOLD
REF ALL HOME
GOTO ZERO
The Mach3 version was easy to do with OEM buttons. But Mach4 is not understandable to me.
-
Igors Belajevs,
Inputs and Outputs in Mach4 Configuration work in conjunction with your Controller and are mapped to your controller card connection inputs and outputs.
Each Controller card manufacture I am sure has provided manuals showing the connections and in some case also provided a Profile.
Send an email to your card manufacture or look at what they have on there website for examples and documentation.
Also read the Mach4 Documentation.
If you are trying to connect Buttons that are on your Controller equipment to act the same as the ones in Mach4 Screen, then these apart from Mach4 Input/Output also require Signal Scripts to make them work.
If this is the case then you must read and understand Mach4 documentation on how to program in Lua and write the code in the Signal Script of the Mach4 Screen.
An example is provided in the documentation.
Always disconnect motors from controller when program testing.
Normally all those 5 items you have listed is controlled by the Mach4 Screen and should not require any action on your part.
Regards,
Mauri.
-
One could also use the PMC for connecting panel button inputs to these functions as well. The PMC is ladder logic and doesn't require LUA programming knowledge. But you do need to be familiar with ladder logic. Damned if you do and damned if you don't, right? :)
-
I read Mach4 for writing lua scripts, but it's hard for me as a simple user to understand how to write it correctly so that syntaxes are correct.
Maybe someone could help me to write scripts? I'm ready to pay!
-
Hi,
I found this to be very useful:
https://www.lua.org/pil/contents.html (https://www.lua.org/pil/contents.html)
Note that it covers LUA, not the Mach API nor does it cover wxLUA but it's a damn good start.
Craig
-
Thank you! I will look .
-
The thing is when I started to repair an old metal cnc milling machine and bought a cslab ip a, moution controller, I chose Mach3 as a software, which I also bought and also bought mach4, because it is a newer program. As the dealer promises to be faster and better, I can not configure the external input keypad signals. From the scripts I do not understand anything, the manufacturer is still silent! I'm disappointed.
maybe somebody could help me! sorry for my English.
-
Contact Tech support they will assist you. They know how to help you :)