Hello Guest it is March 28, 2024, 04:55:49 PM

Author Topic: PoKeys Plugin Latest version get it here!!!!  (Read 18573 times)

0 Members and 1 Guest are viewing this topic.

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
PoKeys Plugin Latest version get it here!!!!
« on: July 29, 2009, 11:02:22 PM »
Pokeys plugin Update with Mods.

Update: (29July2009)

PoKeys Plugin version 4.0

Added LCD support!!!  You can have a: 1/2/4 Row(line) by 8/16/20 Column(Character) Display.
You have One "User Label" per Row/line that your LCD supports.

You have TWO options to write to the LCD:
1). You can write the the User Labels that you choose in the PoKeys config dialog, from VB in Mach3.
2). The other Option for those who dont want to code in VB is, you can choose to check the "Quick Pick" check
box. You will also have to Choose a "Trigger" User LED number, and Put in the "Message" you want displayed when
the LED that you Picked goes to "ON". When that LED is OFF it clears that Line.

NOTE1: If you want, you can format the DROS into the UserLabels in VB (like in the Macropump), to display
X, Y, Z or what ever DRO you want to display in "Live Time" on the LCD. (i.e. Pendants).

NOTE2: You no longer need to unplug the PoKeys before you configure it with the dialog. I moved ALL
the configuration stuff to its OWN Dialog Screen. It appears below the menu option of "PoKeys Diag.."
it is called: "PoKeys Cfg.."

NOTE3: there is "Error" cheaking in your Message lengths, if you try and put a message that has more
Characters than the LCD supports on a line, then you will get an Error message, on the PoKeys LCD, and
in Machs Error status line, and in the "UserLabel" that you where trying to fill.

NOTE4: there is "Cutouts" of the pins that the LCD uses, both in the Ports/Pins selections, and User LED selections.
the LCD uses pins: 23-26, and 28-30, Pin 43 also becomes "Used" if you turn on Analog Spindle output.

Thanks goes out again to Ed Bryson, who helped me figure out from the pokeys docs, that if you use extended functions, that you have to run both an 8 byte, and 64 byte check sum.........  I mean, "Who-Would-a-Thunk-it........"

attached:  "PoKeys Plugin4-0.zip"

Scott
« Last Edit: September 15, 2009, 07:23:43 PM by poppabear »
fun times

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: PoKeys Plugin Latest version Get it Here!!!!
« Reply #1 on: September 14, 2009, 07:41:03 PM »
Here is an UPDATE, to the LCD plugin:

a time out was added to the LCD writer to remove flicker on larger LCDs (i.e. 4x20's).
an error was found on the PoKeys screen set, by a user and I cant remember the guys name right this second.
but at any rate a new PoKeys screen set is in the Zip file as well. It also contains a "Matrix Keypad" diagnostic page, for when
the Matrix PoKeys is done.......

Currently, I am upgrading the Encoders to 32 bit, like the current 2.0.5 firmware for pokeys allows, but for it to work in Mach 3, through the plugin "Boris" is going to have his programmer change the way the input reports are done to have 4 bytes per encoder.

this will restrict the maximum encoders that you can bring in, to 6 (32 bit or 4 byte) encoders.

I suspect most dont really use more than 1-2 MPGs anyway.

scott
« Last Edit: September 15, 2009, 07:24:40 PM by poppabear »
fun times

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: PoKeys Plugin Latest version get it here!!!!
« Reply #2 on: September 15, 2009, 08:17:54 PM »
UPDATE/UPGRADE:

NOTE!!!!!!:  You must have at least PoKeys Firmware Upgrade version 2.0.5 for the encoders upgrade below to WORK right with your PoKeys/Mach3.

    Version 4.12, this one supports 32 bit Encoders now (and they are FAST!!!). You have all 7, but I added "Encoder Mapping"
for your convienance on the PoKeys Cfg page of the plugin dialog.

For instance you set up "Encoder1" in pokeys software, but you want to map that encoder to MPG1 (which is encoder [4] in mach tecnicallly). On the Cfg dialog
page you will see the check box to "User Encoder1 from PoKeys" and a edit box to the right of that, you would put in this case the # 4 in that box. The number 4
represents the MPG1 in Mach3. (Note: you would still need to set up the Port10, and A and B pins to match the Encoder1 A and B pins on your Pokeys in machs Ports and Pins->Encoders/MPGs.  

Note if your using Multiple encoders in the pokeys and are mapping them to encoders/mpgs in mach 3, then each encoder has to go to its own UNIQUE map. In other words, you can't send encoders1 and 2 from pokeys BOTH mapped to "4" (MPG1), it NO-Worky.

A slight timeout was added to the LCD write, so that it has time to refreash and stabilize, so you don't have "flicker" especially noticeable on larger LCDs (4x20 for example).

WARNING!!!!!:  This installs a  "Blank"  PoKeys/XML meaing that you had better write down your OLD settings for pins and Uleds/Dros etc. prior to installing this one!!
This one when you go to the "PoKeys Cfg.." dialog will come up with Everything turned OFF, and "default" values on some of the boxes.

Remember set up your PoKeys the way you want it, with the PoKeys soft ware (i.e. pick your encoders and thier pins) and write it to your PoKeys. Then start Mach3, and match your "PoKeys Cfg.." to your choices with the PoKeys.  NOTE: Mach uses TRUE indexing on the Digital IO, meaning PoKeys labels pin 1, as Pin1, but mach calls Pin1, 0.  So in mach3 PoKeys Cfg, Pin 0 = pokeys pin1, Pin 1 = pokeys pin2, etc.

also remember on the digital IO, the inputs have to be in a continous range, and the outputs have to be in a continous range, no skips in the range. Since Pin 13 of Pokeys doesnt work, you could do 4 digital inputs, and 4 digital outputs like (on the pokeys inputs Pin 9-12, in mach that would be 8-11, skip Pokeys pin 13, then pokeys outputs Pn 14-17, in mach would be Pins 13-16).

Attached is the "LCDPokeys32Enc4-12.zip" unzip it to your desktop. NOTE: READ the readme file that is in the zip!!
Also:  If you have already installed previous versions of the MSI installed PoKeys, you will need to uninstall it first before you can install this one.

>>>>>>> EDIT >>>>>>>>>>>>
The above about the XML over write, is ONLY if you are running the Old "PoKeys.XML" profile from previous PoKeys MSI's installers from me.
if your running your own profile, then the only thing you would need to do is possibly "re-enable" you pokeys plugin, since the version numbers
on it change, it will disable it self on install.  
If you runniing your own XML, but want to use the PoKeys.set just load it from the: "View->Load Screens" menu.

scott
« Last Edit: September 17, 2009, 10:18:33 AM by poppabear »
fun times

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: PoKeys Plugin Latest version get it here!!!!
« Reply #3 on: October 28, 2009, 06:19:17 PM »
28OCT2009

New PoKeys Plugin version 7.0, you will need PoKeys Software Version of at least 2.0.7 to take advantage
of all the currently supported functions.

Added PWM spindle control.

PWM is configured from the PoKeys Cfg. dialog
screen, NOT the Ports/Pins under spindle. PWM will come out of Pin 22 on the pokeys.
You will need to use the PoKeys Software to configure PWM to Pin 22, and set the freq.
to 25 us (25 Micro Seconds), and enable Pin 22.
If you choose to use PWM, you will need to check the "Use PWM" check box on the PoKeys
plugin dialog config page. 25us = 0-40,000 hrtz from the pokeys.

Currently the plugiin now supports:
1). PWM Spindle control
2). 8x8 Matrix Keyboard
3). 32 bit Encoder support and Encoder mapping
4). LCD
5). Analog Spindle out
6). IO mapping to UserLEDs

Scott
http://www.machsupport.com/forum/index.php/topic,11114.new.html#new
 Reply #8
fun times

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: PoKeys Plugin Latest version get it here!!!!
« Reply #4 on: November 02, 2009, 10:10:36 PM »
Update/Upgrade:

    PoKeys plugin version 7.5

You will need to uninstall any previous versions if you used the MSI installer in the past.

Added:

1). There is now 2 ranges of  Mapping pokeys inputs to user leds.
2). There is now 2 ranges of Mapping user leds to outputs pokeys.
3). There is 2 extra/optional PWM outputs, one for controlling LCD backlight LED brightness, and the other for controlling Text contrast.
4). Preconfigured Pendant controls, for the: 4 axis, and 6  axis pendants sold by, CNC4PC, and Boris of PoScope, also a option on a preconfigured PoPendant when Boris finally gets his "PoPendant" out.

Screen shot of PoKeys Config page.
Screen shot of LCD PWM control page.
Installer zip is attached.

Scott
« Last Edit: November 02, 2009, 10:16:45 PM by poppabear »
fun times

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: PoKeys Plugin Latest version get it here!!!!
« Reply #5 on: November 02, 2009, 10:24:04 PM »
screen shots for the above post.

scott
fun times

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Plugin for MULITPLE PoKeys now available!!!
« Reply #6 on: November 05, 2009, 05:12:36 PM »
   You can now run 4 simultaneous PoKeys with Mach3!!
   
If you run all 4, the Potiential IO would be depending
on your configuration:

1). Up to 440 Digital IO.
2). Up to 16 Analogs (10 bit) (you can use one of the analogs.
    per pokeys for analog spindle out).
3). Up to 4 LCDs (each with optional PWM Text contrast and LED backlight control).
4). Up to 4 Matrix Keyboards 8x8 (256 extra Keys!!).
5). Optional PWM spindle out x4.
6). Way more than 7 encoders.

The plugins are called: PoKeys0.dll, PoKeys1.dll, PoKeys2.dll, PoKeys3.dll.
the PoKeys0 is the usual standard PoKeys ID "0", if you add more pokeys
make thier ID's: 1, 2, and 3 (after your initial 0 pokeys).

NOTE: If you are currently using any PoKeys, previous to this version.
you will need to goto:  C:\Mach3\PlugIns\
and delete the "PoKeys.dll"  (it also connects to PoKeys ID "0", which
would conflict with the new PoKeys0.dll).

This installer installs the standard:
1). PoKeys.XML
but this profile has ALL 4 PoKeys plugins disabled, you will need to enable
the ones you want to use.
You will need to use the PoKeys software to set the IDs of PoKeys0-3.
Then open Mach3, and enable the PoKeys that correspond to the ID numbers
of the 0-3 pokeys you configured.

NOTE: the dialogs are labeled 0-3, so you can tell what pokeys they go to.
The dialogs and monitors are the same, other than the ID number on the dialogs.
ALSO: Since there are MORE than ONE pokeys possible, make sure you dont have
two pokeys talking to the same IO point!!! in Mach. i.e if 2 or more  are mapped
to User LED 2000 that would be an issue if one it turning it on, and the other is
trying to turn it off.


VERY SPECIAL THANKS to "Ed Bryson" for his most excellent help Figuring out the USB
mess. With out his help in digging through the USB code, to find a point where a
PoKeys ID could be identified, the Multi-Pokey would not have been do-able.
Again, Thanks Ed!!!!

Custom PoKeys/Mach3 Plugins available for IDs 0-255, for OEMs or customizers
available, contact me for pricing.

Scott
fun times

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: PoKeys Plugin Latest version get it here!!!!
« Reply #7 on: April 19, 2010, 03:58:16 AM »
PoKeys installer for Version 10.0 is out, (non-beta), it is on Boris's webiste under the pokeys section.
you will need to uninstall any previous versions of the .msi installed pokeys if you installed one of my previous ones.
Added: Auxillary data bus, for upto 80 MORE outputs on an expansion board. other fixes, and minor upgrades.
see full thread under the Pokeys thread under 3rd party software.

scott
fun times