Hello Guest it is April 18, 2024, 09:42:53 PM

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.


Topics - JORATORCA

Pages: 1
1
PoKeys / PROBLEM WITH MPG IN POKEYS57
« on: April 11, 2018, 02:40:58 PM »
Hello everyone.
I am finishing my pendant to control my CNC milling machine manually. It is developed from a Pokeys 57 device. It has a tactile keyboard that controls all functions, a 4x20 character LCD and an MPG.
Everything works well with a macropump except the MPG. It has a very strange behavior, since I am only able to make it work if I set the MPG1 and MPG3 in Ports and Pins and in the Pokeys mapping, I encode the Fast Encoder 1 that I have connected in pins 1 and 2, so that I can manage the DRO103: MPG3 count DRO. In this way, if I move the encoder, I see the pulse count in the Pokeys IO Status and in the Settings tab of Mach3.
The problem is that the axis selector that I have written in the macropump logically does not work and to select the axis that controls the MPG I have to do it through the button of the interface of Mach3 or by pressing ALT + C on the keyboard.
My version of Mach3 is R3.043.066 and the Pokeys plugin is verison 3.15 of 2/28/2018.
If I only select MPG1 in Ports and Pins the axes move alone without control.

I have read and reread all the forum posts related to PoKeys and MPG and I have not found anything similar.

Can you help me?

Sorry for my bad english ...

2
VB and the development of wizards / HOW TO DETECT THAT MACH3 IS CLOSING?
« on: December 09, 2016, 02:57:46 AM »
Hello everyone,

Does anyone know any way to detect through macropump at what time the button is pressed to close the application (red cross top right)?

I need to send a confirmation signal to a device to inform you that Mach3 is going to close.

It would be best to know at what time "Yes" is pressed in the window that I show in the attached image.

Thank you

3
PoKeys / HOW TO DETECT THAT IS RUNNING MACH3 IN POKEYS57CNC
« on: October 30, 2016, 11:14:39 AM »
Hello everyone,
I am developing a device to manually control my CNC router through a PoKeys57CNC programmed with PoBlocks. This device can generate pulses through its internal pulse generator to operate autonomously without being connected to a PC. I can move the axes with several MPG, enter coordinates, or enter a distance to travel for each axis. This works very well. The problem occurs when the pulse generator has Mach3 takes control and the program generated with PoBlocks is not aware that Mach3 took control. I need to be able to say PoKeys57CNC program, which is Mach3 which has control. For this I thinking about two systems:
1. Capture Charge Pump signal generated by Mach3: I can not do this by setting some of the I / O PoKeys57CNC as input to detect the pulse of 12.5 kHz. I do not know if it is possible.
2. Through macropump: I set PoKeys57CNC plugin for Mach3 communicates through UserDRO range 1100 to 1127 (see attached image). It works well, for example, pressing the button that activates the active Mist UserDRO 1100. With other events that occur during operation of Mach3 I can activate and deactivate other UserDRO. The problem is that I do not get any events that tells me that Mach3 is working (properly). I have tried to detect through the VB-script when the Alt + F4 keys (closed session) are pressed, so that, before closing the session Mach3 the macropump change the status of the selected UserDRO, but neither I succeeded.
I thank you in advance for your help.

4
PoKeys / Problems reading and writing the PoKeys57U virtual pins
« on: December 07, 2015, 03:37:20 PM »
To build my pendant I need to control some of the 100 I / O virtual pins that  PoKeys57U offers through a Mach3 VB script to signal me by lighting an LED, a particular state. The order is executed, by pressing in a matrix keyboard input through the "Mach IO pin 0" with the following routine:
'Rutina para leer el estado del botón shift y enclavarlo
Sub LeerShift()
  OutputNumber = 30   
  If GetIODevInput(0, 0) =1 Then      'Si pulso el botón Shift
       If SHIFT Then
            SetIODevOutput(0,OutputNumber,0)
            SHIFT = False
       Else
             SetIODevOutput(DevID,OutputNumber,1)
            SHIFT = True
    End If
  End If     
End Sub

 This works well and I am able to recognize touch on the keyboard, but to send the order by the corresponding output ("IO pin Mach 30") Mach3 show me this message:

 When I press "OK" and the window closes, the order is executed and the LED lights.
I tried to use the instructions for the command of the virtual pin contained in the handbook PoKeys57U but do not work (GetInput, SetOutput).


Can you help me solve this problem?

5
PoKeys / Help with flicker and shift characters LCD with PoKeys57U
« on: November 22, 2015, 06:02:01 AM »
This is my first post, although I have much time consulting the valuable contributions of the forum members. I am currently in the design phase of a control pendant for my milling machine. I bought a PoKeys57U of which I am very pleased with the potential that it presents.
I'm from a few days trying to get in the LCD display the axis positions ago. I set up the lines of LCD using the plugin and the values ​​are displayed on the LCD. The problem is that the value of the first row moves to the right and is truncated. In the other rows flicker seen in the numbers (reduced a little by changing the value of Communication rate to slow, but not disappear. Occasionally values ​​disappear. I am using the demo version of Mach3 R3.043.066.
I've also tried to make a checkbox Map to User Label and write the following script:

SetUserLabel(100,"coord X " & Format(GetDRO(0), "+0.0000;-0.0000"))
SetUserLabel(101,"coord Y " & Format(GetDRO(1), "+0.0000;-0.0000"))
SetUserLabel(102,"coord Z " & Format(GetDRO(2), "+0.0000;-0.0000"))

The problem with this solution is that the values ​​are not refreshed. To update I have to press RUN on the VB Script Editor.

Thanks for your help

Pages: 1