Hello Guest it is April 29, 2024, 04:27:06 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - KentCNC

Pages: « 1 2 3 4 5 »
21
I am sure the problem is my description.

I am trying to double click the Xnew contact (see attachment) I have been able to do this before but not sure what could be keeping from doing it now.



22
Mach4 General Discussion / Double Click Not Workings in PMC for Contacts
« on: February 23, 2021, 12:00:12 PM »
I am starting a new PMC and I first insert a Core action. I can double click that to get to the dropdown of actions.  I then insert a Contact. However, nothing happens when I double click the contact to gain access to the drop down menu. I reloaded Mach4, restarted the computer and it still does not work.

23
Mach4 General Discussion / Re: How Are Encoders Configured in Mach4?
« on: February 23, 2021, 11:39:45 AM »
Perhaps the way I worded my question was confusing because I have to believe there is an easy answer to this. The base question is: How do I configure encoders in Mach 4 that are not going to be used as MPGs?

24
Mach4 General Discussion / Re: Where to Find LuaCall.txt File?
« on: February 22, 2021, 10:41:25 AM »
Got it...thank you!

25
Mach4 General Discussion / Re: Read DRO from Lua
« on: February 22, 2021, 10:40:51 AM »
Thank you for the replies. I have lots to learn, but slowly making progress.

26
Mach4 General Discussion / Where to Find LuaCall.txt File?
« on: February 21, 2021, 08:05:09 PM »
Where can I fond the LuaCalls.txt file. It is not in the docs folder.

27
Mach4 General Discussion / How Are Encoders Configured in Mach4?
« on: February 21, 2021, 06:55:37 PM »
How do I configure incremental encodes in Mach4? I have an encoder on each side of the gantry used for racking detection. In Mach3 I would configure them as encoders on the “Encoders/MPGs” tab. In Mach 4 the tab is labelled “MPGs”. If I configure them as encoders on that tab and enable them they cause problems when jogging. Can I get counts from the encoders without enabling them or am I configuring them in the wrong place? I have not figured out how to get the counts from encoders in Lua. If you know that answer as well I would appreciate it.

28
Mach4 General Discussion / What does .PlcCycle() Do?
« on: February 20, 2021, 07:44:02 PM »
I have some code for controlling a vfd. I am wondering what .PlcCycle() does at the end of the primary function. This is the first row of the function:

function VFD_Spindle_Controller.PlcCycle()

The code is to be placed in the PMC folder. Does the .PlcCycle() added to the end cause the function to be called on each cycle of the PLC using the specified PLC Interval.

29
Mach4 General Discussion / Read DRO from Lua
« on: February 20, 2021, 05:26:33 PM »
How do you read a DRO using Lua? Not sure how to reference the DRO?

30
Mach4 General Discussion / Re: Signal Number Definitions
« on: February 18, 2021, 05:12:00 PM »
Let me clarify my question. I know from looking at the ini file that signal 1142 is associated with Spindel_Fwd. Assuming that is true, can I replace this:

Read_Signal(1142)

with this:
Read_Signal(mc.MC_SPINDLE_FWD)

Or do I simply reference the signal state using "mc.MC_SPINDLE_FWD" and drop the Read_Signal portion?

Pages: « 1 2 3 4 5 »