Home

PoKeys57CNC User`s manual

image

Contents

1. 40 www poscope com PoKeys user manual 7 10 PoExtBus PoExtBus bus support enables user to add additional ten 8 bit shift registers to add up to 80 additional digital outputs to PoKeys device Byte 1 Figure 17 PoExtBus outputs chaining PoKeys configuration software usage To set up and test PoExtBus open Peripherals gt PoExtBus The dialog below Figure 18 appears By using mouse left and right clicks user can turn on or off each of the outputs Enable PoExtBus E Use PoExtBus on pins 35 36 37 PoBdt Bus host start of PoBt Bus chain 8 amp 8 Device 6 Device 7 Device 8 Device 9 LI LI LI um E um E i LJ E Device 10 end of PoExtBus chain E Send on change Figure 18 PoExtBus setup dialog PoExtBus connector type Female wire side connector Molex 22 01 2055 Cable contacts 08 50 0032 5 pcs needed Prepared cables 88941 0700 5 pcs needed 41 www poscope com PoKeys user manual 7 11 PONET PoKeys57CNC device supports PONET devices such as kb48CNC CNC keyboard Multiple PONET and PoExtBus devices can be linked together While the PONET devices and PoExtBus devices share the same PoExtBus PoNET connector user should pay attention in connecting devices of both types together see the schematics below All PoNET devices must be connected in parallel to each other and dir
2. PoKeys57CNC User s manual Version 23 4 2015 LI gt o Dal en YA sY STT one sert NO e KI wo pt 10 11 12 13 14 15 16 17 PoKeys user manual Please read the following notes All information included in this document is current as of the date this document is issued Such information however is subject to change without any prior notice PoLabs does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of PoLabs products or technical information described in this document No license express implied or otherwise is granted hereby under any patents copyrights or other intellectual property rights of PoLabs or others PoLabs claims the copyright of and retains the rights to all material software documents etc contained in this release You may copy and distribute the entire release in its original state but must not copy individual items within the release other than for backup purposes Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of the products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment PoLabs assumes no responsibility for any losses incurred by you or third parties arising from the use of these circu
3. 5V 5V output power supply to SSR relay 3 OCSSR SSR1 output The solid state relays should be connected between 5V output and corresponding SSR output pin Note all 5V output pins on the board share the same power supply and the current is distributed to all loads Relays connector Pin Type Function 1 REL Relay 2 NO 2 REL Relay 2 common 3 REL Relay 1 NO 4 REL Relay 1 common 9 www poscope com PoKeys user manual Galvanically isolated I Os This connector contains special I O signals that are galvanically isolated from the rest of the board Signals on pins 2 and 3 should only be referenced to GNDi points available on pins 1 and 4 Pin Type Label Function 5 EE Open collector output 4 6 OCOC Oc4 P P ee Open collector output 3 8 OCOC OG3 P P 9 OCOC OC2 10 OCOC OC2 11 OCOC OC1 12 OCOC OC1 Open collector output 2 Open collector output 1 LCD connector Pin Type Label Function 1 GND GND Ground 2 5V 5V 5V power supply for LCD 3 DIO33 RST LCD contrast voltage also used as PoKeys pin 18 with PWM and reset pin see Device recovery mode for more details 6 DIO33 E LCD Enable signal also used as PoKeys pin 20 9 not connected LED Open collector output max 100 mA also used as PoKeys pin 22 with PWM Pendant connector Pin Type Label Function 5 V power supply to pendant used for encoder MPG power 1 5V 5V 3 GND GND Ground 4 DI33P E stop E stop signal input
4. also used as PoKeys pin 52 connect E stop switch i Digital counter functionality can be enabled for this pin 10 www poscope com PoKeys user manual between pins 4 and 6 see notes below DIO33 FastEncA Encoder channel A also used as PoKeys pin 1 GND E E Stop E stop switch GND see notes below 7 DIO33 FastEncB Encoder channel B also used as PoKeys pin 27 9 5V LED 5 V power supply for pendant LED DI33P Ax B Axis B selection signal also used as PoKeys pin 3 11 OC LED Open collector output max 100 mA also used as PoKeys pin 21 with PWM 12 DI33P Ax C ule C SEH signa also used as PoKeys pin 4 23 DI33P Stepx10 Step x10 selection signal also used as PoKeys pin 15 GND GND Ground DI33P Stepx100 Step x100 selection signal also used as PoKeys pin 16 26 GND GND Ground Note E stop switch can be connected either to dedicated E stop connector red 4 pin connector or to pendant connector a combination of both is also allowed since both are wired in series a E stop switch is connected to dedicated 4 pin E stop connector between pins 2 and 3 Jumper NeST must be removed and inserted into the pendant connector between pins 4 and 6 b E stop switch is connected to pendant connector between pins 4 and 6 Jumper NeST must be present c Two E stop switches are connected one to dedicated 4 pin E stop connector betwen pins 2 and 3 and one to pendant connector between pins 4 and 6 Digital counter function
5. and connect them with a standard USB cable Step 2 Connect the PoKeys57CNC board to an appropriate power supply 3 Step 3 Install PoKeys software Step 4 Open PoKeys application connect to your PoKeys57CNC device and enable Fast USB interface go to Settings gt Enable Fast USB interface wD 3 Step 5 Remove the USB cable from PoKeys57CNC device and insert it again The computer will find a new device and search for drivers See FAQ section of the manual if driver installation fails D 6 2 Using Ethernet direct connection between PoKeys57CNC and computer Network firewalls must allow all traffic on TCP UDP port 20055 between PoKeys57CNC device and PoKeys related software running on a computer Step 1 Locate ethernet ports on your computer 1 and PoKeys57CNC board 2 and connect them with RJ 45 cable standard network cable Step 2 Connect the PoKeys57CNC board to an appropriate power supply 3 Step 3 Configure your computer s network card with a static IP address in the 192 168 x x range Step 4 Install PoKeys software wy Step 5 Start PoKeys software select the PoKeys57CNC device in the list and click on eee Confiugre button Select the unique IP address i da mf for the PoKeys57CNC device in the same range as 1 the computer s network card ous NNN VN a i D 2 1 www poscope com PoKeys user manual 6 3 Using Ethernet PoKeys57CNC connected to a network with DHCP server Netw
6. 0 to 1275 ms possible PoKeys configuration software usage There is graphical representation for configuration of each PoKeys device s pin on left and right side of main window To change pin function click on pin name and change its function in central Pin settings frame PN Pokey configuration v3 152c device 45000 v 1 13 22 CH Fle Perpherats ettings Device Pulse engee Connected to PoKeysS7ONC 0 Ser 45000 As Modo Figure 1 PoKeys configuration window The maximum repeat rate depends on the user s system 23 www poscope com PoKeys user manual There are 6 main pin functions possible inactive digital input triggered digital input digital output analog input depending on the capabilities of each pin Inactive Any pin except those fixly mapped to an activated peripheral can be set as inactive Inactive pin is put in high Z state with internal pull up resistors enabled Digital input Any free pin can be configured as digital input by selecting Digital input option box If the pin polarity is wished to be inverted check the Invert pin box There are several additional possibilities for digital input pin functions Direct key mapping only if connected over USB Digital input set up for direct key mapping acts like a keyboard key When there is a high state on pin on low state when using inverted option PoKeys device sends a key associated with this pin Select a keyboard key f
7. 1 1 Host api xively com User Agent MyCustomDeviceAgent Content Type text csv MyData Note use double new line characters to split HTTP header and data header Ey ee POST mySeript php HTTP 1 1 The HTTP header without Connection and Host api xively com Content length tags must be provided by the User Agent MyCustomDeviceAgent Gear Content Type text csv Content Length 010 Connection close The Connection and Content length tags are automatically inserted by PoKeys device MyData Test1234 15000 00 The above example must be specified as POST myGcript pnp BTTP 1 1 Host api xively com User Agent MyCustomDeviceAgent Content Type text csv My Data Again an extra new line character in fifth line is essential Total length of final header and data is limited to 350 bytes Setup for Xively web service Xively web service is an on line database service allowing users to connect sensor derived data eg energy and environment data from objects to the Web and to build their own applications based on that data PoKeys57CNC devices feature a direct support for the Xively web service To configure PoKeys device for Xively follow these steps 1 Sign up for a free account at http xively com Navigate to Develop and create a new private device 3 Under the created device information you can find Feed ID and API key for your newly created device as shown in the fi
8. Enable output control at start this will deactivate all outputs Set output with left click reset with right click Figure 2 Input and output status dialog 24 WWW poscope com PoKeys user manual There are 55 pins represented as colored squares in the dialog organized in the rows of 8 pins Each square contains a pin index number in the lower left corner while the lower right corner is used to indicate a digital output small black triangle is displayed on pins configured as digital outputs The color of the square resembles the current state of the pin green for the activated HIGH state and white for the unactivated LOW state To change the digital output state first enable Enable output control option then either left or right click with mouse on the square representing the digital output to activate or deactivate this output 7 2 Digital counters Selected pins of the PoKeys device can be setup to count the number of signal transitions on those pins Pin digital counter can be setup to be incremented decremented on rising falling or rising and falling edges of the input signal If needed additional pin can be selected to toggle between incrementing and decrementing mode Digital counters are implemented using interrupts and can therefore detect short signal pulses even shorter than 1 microsecond If switches are used in the combination with digital counters external debouncing circuit must be installed to keep
9. LCD module Cursor can be set up to move either right normally or left after each character displayed If Display shift is enabled whole display shifts with every new character displayed Settings are processed after user clicks button Ser Entry mode and work only in unbuffered mode described above Display on off settings User can set on off switches for whole display cursor and cursor blinking Settings are processed after user clicks button Set LCD on off work only in unbuffered mode described above Custom characters Simple interface enables to draw up to 8 custom characters These characters can then be used on display Selecting Live edit mode will transfer the character each time a change is made to any of the pixels Character can be previewed via button Print which puts current custom character on the LCD display The Copy code button can be used to export the character data in a form of C style array as shown in the table below 3 9 WWW poscope com PoKeys user manual LCD custom character editor Produced code unsigned char uCustomChar 8 Ox10 Ox1C 0x04 0x04 0x04 0x04 0x07 0x01 Move cursor This section enabled user to move cursor to any position on the screen works only in unbuffered mode described above Print text Sends entered text to display module If advanced characters are needed enter character code in lower text box and press Print character
10. Title Data source Display type 00 Test gem Digital input 0 On Off display 01 Sensor value Sensor 0 Value display Dashboard items list Web users Dashboard item configuration configuration and selection Figure 35 Web interface settings Dashboard configuration The dialog presents the following three options in the upper left corner Disable web interface check this field to disable web interface Allow anonymous access to dashboard and I O status if this field is checked users can access web interface directly without entering user name and password 55 www poscope com PoKeys user manual Allow toggling outputs via web interface if this field is checked users can toggle the pins that are setup as outputs If this field is unchecked users are only presented with the status of each pin Dashboard items configuration Up to 100 dashboard items can be configured In order to add a new item click on Add new and enter the item information in the fields below Selected item settings Selected item S Access rights double click to edit fem caption Sensor value p User name Data source Sensor ad Sensor 1 n dl Admin Display type Value display Value only 7 Empty dl Empty MW Server reports Data unit 3 Min value Figure 36 Dashboard item configuration The following se
11. Ze Encoder Disabled v Enable soft limit F Limit ti Multiplier 0 Maximum position Minimum position F Invert axis enabled 0008 eNO BDN X XE 0 0 0 0 0 0 0 0 a kl sl kill Ei el el el elelelele el el elelelelele SG amp g Figure 5 Pulse engine status control dialog www poscope com PoKeys user manual Pulse engine status control dialog parts 1 30 Main Pulse engine settings a Enable pulse engine main switch to enable or disable Pulse engine functionality b Lock when Lock is enabled the main Pulse engine settings and Pulse generator settings are disabled c Enable safety charge pump output this option is not available on PoKeys57CNC d Invert emergency input polarity PoKeys expects NC normally closed switch to be used as emergency switch and HIGH signal state on emergency input indicates an emergency If NO switch is used the polarity of the signal must be inverted by selecting this option Pulse generator options PoKeys57CNC contains an external pulse generator on board thus external pulse generator option with Extended IO must be selected Up to 8 axes can be enabled Axis configuration see next page Pulse engine state display and control this panel displays current PoKeys Pulse engine state and allows the user to change between the states a STOP stopped mode the Pulse engine is deactivated momentarily and produces no pulses Transition to STOP mo
12. go to File gt Save menu and select a new filename To reload a saved configuration from a file go to File gt Open menu and select the appropriate file To transfer new settings to the device click on the Save to device button 7 18 PoIL core functionality PoKeys57CNC contains Poll core that is fully compatible with other PoKeys devices Read the separate Poll core documentation for more information Due to the omission of the 3V lithium backup battery PoKeysS7CNC does not support value retention in case of power failure 67 www poscope com PoKeys user manual 8 Device recovery mode If configuration editor cannot be used to reconfigure the device use the following steps to start the device in the recovery mode Recovery mode can be used to clear the configuration or update the firmware 1 Disconnect PoKeys57CNC device from USB and remove power supply 2 Locate LCD connector on the PoKeys57CNC device and short the pins 1 and 3 as shown below 3 Reconnect the PoKeys device to USB or reconnect power Green status light should start flashing rapidly and PoKeys device will connect in recovery mode 5 Open PoKeys configuration application 6 PokKeys configuration application should detect PoKeys57CNC device in recovery mode a To reset the device configuration use the option Clear settings By clicking this button and confirming your decision on the next dialog settings will be erased b To rec
13. supplied by DO33 pin 4 mA Voossiow Voltage of LOW state no current 0 V Vooaauen Voltage of HIGH state no current 3 3 V Pin used as digital input Vos Man maximum voltage applied to DI5 pin 5 0 V Vos Low applied voltage for LOW state 0 8 V Vos oe applied voltage for HIGH state 2 0 V Type OCOC opto coupled open collector output rr from MCU open collector output IOC Symbol Parameter Min Max Unit lococ max maximum output current 50 mA Vococorr maximum voltage applied between OC and OC 50 V Vococ iso isolation voltage AC for 1min R H 40 60 3000 Vams 16 www poscope com PoKeys user manual Type OCSSR open collector output for SSR Solid State Relay Symbol Parameter Min Max Unit locssrmax Maximum current sunk by OCSSR pin 500 mA Uocssrmax Maximum voltage applied to OCSSR pin 50 V Type REL relay output from MCU Symbol Parameter Min Max Unit IREL 28VDC maximum current switching at 28 VDC 10 A IREL 125VAC maximum current switching at 125 VAC 10 A IREL 240VAC maximum current switching at 240 VAC 7 A Type AN33 3 3 V analog input Symbol Parameter Min Max Unit Via analog input voltage on ADC related pins 0 5 33 V 17 www poscope com PoKeys user manual Type AN33F 3 3 V analog input with low pass filter Symbol Parameter Min Via analog input voltage on ADC related pins 0 5 fip cut off frequency of the analog low pass filter 1 6 3 3 Status LEDs o TB
14. 0 Pot 80 O UDP mode O ively web service 0 Standard HTTP request Si Custom Update every 30 seconds Sensors CSV one entry per li Last result 0 PUT v2feeds 62592 csv HTTP 1 1 Host api xively com X Apikey CAb3XXb34daSAKxZc 3MOM3NNWVZVTOg User Agent PoKeys56E Content Type ted csv Note use double new line characters to split HTTP header and data header Send to device no save PUT v2 feeds 62592 csv HTTP 1 1 The HTTP header without Connection and a Content length tags must be provided by the Apikey CAb3XX 6 3 4daSAKxZc3M0M3I1NWVZVTOg Sek User Agent PoKeys56E Content Type text csv The Connection and Content length tags are Content Length 010 automatically inserted by the PoKeys device Connection close Test1234 15000 00 Data is inserted at the end of the packet The above example is specified as PUT v2 feeds 62592 csv HTTP 1 1 Host apil xively com X ApiKey CAb3XX634daSAKxZc3M0M3I1NWVZVTO0gG User Agent PoKeys56E Content Type text csv The extra new line at the end is essential 6 1 www poscope com PoKeys user manual More customized header E Ga Report server configuration Reports server type Destination data RAW no HTTP request header Server IP _ 216 052 233 120 Pot 80 UDP mode Xively web service Standard HTTP request o Custom Update every 30 A seconds Sensors CSV one entry per li Last result 0 POST myScript php HTTP
15. 33 11 1 8050 for example 192 168 0 100 192 168 0 100 5000 Figure 32 Additional network settings IP address of the device can be entered in the text box on the right and added to the list by clicking the button Add The list of additional devices is saved on application exit 53 www poscope com PoKeys user manual Security Due to exposed nature of a network device an authentication mechanism was implemented in network PoKeys that allows three levels of access rights Full access default the device is fully accessible from the network Read only access unauthorized users are allowed only to fetch a limited set of data from the device while an authenticated users can acccess all functions of the device Full lock unauthorised users can not neither read or write to the device A user password is required to unlock access The security is set up in PoKeys configuration software on the Device menu click Set device security The password can contain any character and can be up to 32 characters long Set device security settings New password Password Retype password Default security setting O Fully unlocked 0 Read only until authenticated Fully locked Figure 33 Device security settings window 54 www poscope com PoKeys user manual Web interface dashboard Network PoKeys devices can be monitored through the simple web interface that is already enabled by default File Peripheral
16. 5 Channel A x 41A mB gt 16 Channel BD F amp ees el I 38 tr gt s gt 20 E PES gs pb EE 2 E ie toi Mie beet Li 26 30 DU a TE UL 28 Copyright PoLabs 2015 http www poscope com Device load status mmm OK Figure 3 Encoder settings in PoKeys application PoKeys configuration software usage To enable encoder input on the selected pin define the pin as digital input switch to Encoders Counters tab select encoder index with numerical up down selector and select appropriate encoder channel The last step is to check the box Encoder 2 6 www poscope com PoKeys user manual To assign a key combination associated with the encoder use the same procedure as described in the Digital inputs and ouputs section Enabling fast encoders To enable fast encoders go to menu Peripherals gt Fast encoders settings then check Enable fast encoders option There are additional options for inverting the encoders directions disabling 4x step multiplication and enabling the index signal on pins 9 11 and 27 If index signal input is enabled encoder value is automatically reset on low to high index signal transition Fast encoders inputs are fixed to pins 1 2 for fast encoder 1 pins 5 6 for fast encoder 2 and pins 15 16 for fast encoder 3 Enabling ultra fast encoders To enable ultra fast encoders go to m
17. CNC device can be connected to Ethernet 10 100 network with standard RJ 45 cable By default the device is set to use the DHCP functionality of the network router User can later turn on or off the DHCP support If DHCP is not required or available fixed IP address must be defined for the device To set the network settings of the device go to Device menu and click Network device settings Em Network device settings 6 Retieve IP address automatically DHCP enabled Use fixed IP address IP address 192 168 001 138 Subnet mask 255 255 255 000 Gateway IP 192 168 001 001 Connection timeout 3 Figure 31 Device network settings The device communicates using TCP and UDP port of 20055 Please ensure the firewall settings allow communication with this port Also please make sure that your network card which you have connected the PoKeys device to has an IP address assigned with the subnet mask 255 255 255 0 check it in IPv4 settings in your system By default PoKeys device is configured to close the connection with the host after 3 seconds of inactivity This connection timeout value can be set in the dialog shown in Figure 31 Device discovery Unless PoKeys device is configured with a fixed IP address or static DHCP lease option is enabled on the router user has no direct display of what IP the PoKeys device is configured or assigned with Therefore PoKeys device feature an automatic discovery mechanism that uses discove
18. D 18 Max Unit 3 3 V 2 2 kHz www poscope com PoKeys user manual Requirements 6 26 V power supply with 2 5 W or more one available USB 1 1 or USB 2 0 port Ethernet connection between host computer and PoKeys57CNC device USB HID device driver enabled operating system Windows 98 SE ME 2000 XP Vista Linux Mac OS included software requires Windows XP Vista 7 8 8 1 with NET framework 3 5 installed 19 www poscope com PoKeys user manual 5 Technical specifications 5 1 PoKeys57CNC dimensions Measurements are in mm jiileeee WS ee 1 gm 200000 ee il mam paa Heeee ee Canain mim mim ee e kr mm E JE z lia 00000 00000 mmeeee 7 Weeee 9 inoin3 0 MTT ee Be ev 00000 ii 200000 ee Hooo KXXX ee Es en E de ee ee EH me O dl e A 00 ee ag ee e ee za ee lt gt oe i ef eo ee sii OG o sl HH ee asma ee e La en e 00 ii ee o e 00 1 ee o su ee ii oo 00 eo OG ee ii ee e ee van ee im o en 5 2 Environment specifications Parameter Min Typ Max Unit Power supply range 6 26 V Operating temperature 0 60 C Storage temperature 40 85 C Humidity 5 95 non condensing RH 20 www poscope com PoKeys user manual 6 Installation 6 1 Using USB PoKeys57CNC is a USB 1 1 2 0 compliant device Step 1 Locate a free USB 2 0 port on your computer 1 and PoKeys57CNC board 2
19. Me State Relay CO UNCC CON E 9 RR de mmmmm wwwwwwwvwwvwvwwwvwvvvvvwvwvwwwwvwwvwwvwwwvvwvvwvvvwwwewwwvvwvuwvvvvvvvvvwvvvvvv 9 NENNE 10 ebe eiweg REE ENE NN E 10 Pendant e ue ee eeire mmmmi iiiimmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmHmm imme 10 ERCOQEIS ONN TO EEE nbde ea dg 12 DENN 12 MOLO ae ola te Le ES o EE ra 13 MENNENE 13 Additional imit SWITCIIES EE eon pym 13 SSO CON CO eet 14 3 2 Pin types and SPECIFICATIONS rrrrnnnrrnnnnnnrnnnnnrrnnnnnnrnnnnnnernnnnnernnnnnesnnnnnnennnnnnennnrnnesennnnsenennnneeene 15 Type DISP Digital input with filtering ds EE Ee 15 Type EE INN i ewwvwvwwvwvvevwuvevuvvvvvvvmwuvwuwwvwvvwwwvwvwwvvvv 15 Type DOS D 5 V digital output without resistor cc eeccccessccceeesececeeeceeeeeeceeeeueceeeeneceeseeeeeetes 15 Type DIO33 3 3 V digital input OF OUTPUT serenronnrrrnnnnerrnnnnerrnrnnnernnnnnerrnrnneernnnnneennnnneeenrnneeennnnneeene 16 Type OCOC opto coupled open collector output rrnrnnrrnrnnrnnnnnrnrnnnrnnnnnrnnnnnnnrnnennvnnnnnnunennnnenenneee 16 Type OCSSR open collector output for SSR Solid State Rel v srs 17 Type REL NNN 17 Type AN33 3 3 V Ne 17 Type AN33F 3 3 V analog input with low pass filter 18 E LEDE ra A eee er ne ere 18 A e II Le EC 19 De FeChAICAIS ig ere EE onah slag niamh aigh dE DSR ni ade 20 EL PS SNE 20 5 2 Environment SPECIFICATIONS rrrnrnnrrrnnnnnrrnnnnnrrnnnnnnrrnrnnnernnnnnernnnnnennnnnnnennnnnneennnnnesennnneenennnneenee 20 JG SE O s
20. OCOIS here 46 Keel 46 www poscope com PoKeys user manual e E 47 7 14 ENN 48 EasySensors configuration dialog E 48 Sec 10 EO asa 48 TT NNN 49 Add DHTxx ENEE 49 MAN NN 49 List Of SUpp riea EE TC 51 7 15 Network device functionality rrrnrrnnrrnnnnnnrrnrnnnrrnnnnnrrnnrnnnrrnrnnnerrnnnnsvnnnnnssnnnnnnsvnnnnnesennnneee 52 BEN ee CONE EE EE E RREO 52 EISEN SE Connecting todeviceinothbernetwork see serreeeneerereaerreaaacereaaaeeenaaarereaaasrerananeea SE SS CU EE SE EE EE ER EE 54 selg Te 96 EA 910 10 EE cieuat dewwenadoceeaewacceuteasiaubacse dares 55 MOT rd E 58 Reporting data to network server with PoKeysS7CNC device rarnnnnunnnnnnrnnnnnnnnnnnnnnnnnrnnnnvrnnnnsnnnnnee 61 7 16 Gr a User T Ba a6 TEE 67 7 17 Saving current configuration tofle eeeerereerereeea rrenan rerenaareeaaanreenaaso 67 7 18 Pen 67 S Devier DN 68 5 Peena E e E EK 10 Errata NOR E e TEE 70 PoKeys device resets when external power supply is applied or removed rrrrranrrrnrnnrrrnrnnvrrrnnen 70 11 EN lh OF NCENSE EEE EE ENE NE ENE NE NE anon wecees 71 5 www poscope com PoKeys user manual 1 Introduction PoKeys products line consists of simple easy to use USB and network devices with the extended list of features making them powerful input output devices PoKeys57CNC features both USB and Ethernet connectivity giving user an option to select the preferred connection for the application The device is highly adjustable and as such
21. Pin numbers were assigned according to the available functions of each pin in order to keep the device back compatible with 3 party software Although primarily targetted for CNC applications PoKeys57CNC shares the same virtual USB keyboard and joystick capability of PoKeys USB series of devices Digital pins can be mapped to virtual keyboard keys or virtual joystick buttons On activation PoKeys device sends a USB message with the key code and modifier associated with this pin Moreover PoKeys57CNC device can also simulate a series of key presses what is called a macro sequence Up to 64 different macro sequences can be setup with the combined total length of 3584 characters with each macro sequence shorter than 128 keys All macros can be labelled with a 7 character name An extension to the USB keyboard mapping described above PoKeys supports also triggered mapping of inputs to USB keyboard keys In triggered mapping mode only pin state transitions low to high or high to low trigger a USB key press with different key combinations for each transition Type matic like repeat and delay is an additional extension to the triggered key mapping Instead of relying on the user s system to trigger key repeat events PoKeys can be configured to simulate repeated key presses at the predefined rate period between two key presses is adjustable in 5 ms cycles 0 78 to 200 repeats possible after a predefined delay adjustable in steps of 5 ms
22. ality can be enabled for this pin 1 1 www poscope com PoKeys user manual Encoders connector Label Function 1 5V 5V Axis enable signal inverted GND GND Ground GND GND Ground DIO33 uFEB Ultra fast encoder B channel signal input also used as PoKeys pin 12 GND GND Ground DIO33 uFEI Ultra fast encoder index signal input also used as PoKeys pin 13 GND GND Ground ADC connector Pin Type Label Function 8 AN33F PK44 PoKeys pin 44 9 AN33 DIO33 PK45 PoKeys pin 45 10 GND GND Ground i Digital counter functionality can be enabled for this pin 12 www poscope com PoKeys user manual Motor connectors 1 8 Label Function 1 DO5 AXEn Axis enable signal inverted GND GND Ground DO5 DIR Direction signal GND GND Ground DO5 STEP Step signal GND GND Ground DI5P ERRORin Error input signal from stepper driver to PoKeys GND GND Ground 5V 5V 5V output to stepper driver 10 GND GND Ground As 3 lt ke om N 3 4 5 NIO de Axis switches connector Label Function AX6 Axis 6 C limit switch AX6 H Axis 6 C home switch AX5 Axis 5 B limit switch AX5 H Axis 5 B home switch AX1 H Axis 1 X home switch GND GND Ground GND Ground AX1 Axis 1 X limit switch AX2 Axis 2 Y limit switch AX5 Axis 5 B limit switch AX6 Axis 6 C limit switch AX7 Axis 7 limit switch 13 www poscope com PoKeys user manual 9 DI5P AX8 Axis 8 limit switch 10 GND GND Gro
23. apping to matrix keyboard PoEBkb device test LED test mode LED test mode 2 random E Backlight test LED intensity 10 Lernen toh id Figure 20 PoNET settings dialog with a successfully configured device www poscope com 43 PoKeys user manual PONET kb48CNC keyboard DO iing ggg opooonp gagot ogag popon poop The device can be virually mapped to PoKeys matrix keyboard Third party software can set the status of LEDs under the keys read the light sensor that measure the amount of light in the environment and set the intensity of the LEDs To map the PONET keyboard to PoKeys matrix keyboard initialize the PONET bus as described above in Adding new devices select the keyboard in the device list and check the checkbox Enable mapping to matrix keyboard 44 WWW poscope com PoKeys user manual 7 12 Failsafe settings PoKeys devices support the configuration of the failsafe state for the digital outputs PWM outputs PoExtBus devices and PoKeys Pulse engine When the communication with the device is interrupted for longer than a period defined in the failsafe configuration peripherals listed above enter the failsafe mode which can be setup in Failsafe settings dialog Peripherals gt Failsafe settings Peripheral Failsafe setting Pulse engine No setting Pulse engine enters emergency mode on failsafe activation Em Failsafe settings 4 Enable failsafe mode Failsafe time
24. c A limes Ultra Fast enc ED KS E GD CD E EE CD ED ia E ED serie s6 Hone we Analog inputs connector EZE Ha End switch ed EIN OD B End switch X ss End switch Y el End switch B g d _ B eg RA Em DW D Axis enable X Q www poscope com PoKeys user manual 3 1 PoKeys57CNC connector pinout Pin types Type code Description DI5P 5 V digital input with input filtering DI33P 3 3 V digital input with input filtering DIO33 3 3 V digital input or output without filtering OCOC Opto coupled open collector output OCSSR Open collector outputs for SSR REL Relay output AN33 3 3 Vanalog input without filtering AN33F 3 3 V analog input with 1 9 kHz low pass filtering DO5 D 5 Vdigital output without series resistor DO5 5 Vdigital output See chapter 3 2 Pin types for details on the listed pin types Power supply Pin Type Function 1 Supply input Positive power supply 6 26V marked with 2 Supply input Negative power supply ground PoKeys57CNC requires external 6 26V power supply to be connected to the board in order for the device to operate correctly device may not operate according to the specifications if the external power supply is not present The device uses switching power converter to scale down the input power supply to 5V The power supply should be capable of providing at least 2 5W SSR Solid State Relay connector Pin Type Function 1 OCSSR SSR2 output 2
25. d in the list On the right side reading type and refresh rate of the selected sensor can be configured To add the sensor to the EasySensors list check the checkbox of the sensor in the list and click Finish P Add 1 Wire sensor o oo gt I Select pin to scan for 1 Wire devices PoKeyspin8 v Scan Status complete Detected devices select devies to add to EasySensors list ID Sensor type Reading Fal 28 63 4F EE 02000011 DS18B20 Temperature Device type DS18B20 Reading Temperature Retesh te Selected device Hide configured devices Figure 26 Scanning for CC sensors Add DHTxx 1 Wire sensor Three types of DHTxx 1 Wire sensors are supported by PoKeys device sensors differ in temperature and humidity resolution and accuracy Any of the available PoKeys pins can be selected as DHTxx 1 Wire bus but only one sensor can be connected per pin Add 1 Wire sensor DHT sensor Peso Devicetype DHT11 e Reading Temperature v enee Figure 27 Adding the DHTxx 1 Wire sensor Add analog sensor EasySensors feature supports reading of simple analog sensors connected to PoKeys analog inputs A linear transformation is applied to analog input reading to produce the sensor value There are two possible ways to set up the sensor 49 www poscope com PoKeys user manual a Using gain and offset specify the gain and offset characteristics o
26. de is instantaneous if there is any motion being executed the pulse generation will cease immediately after switching to STOP mode b ERR error mode if PoKeys detects any event that results in error emergency stop limit stop etc this mode will automatically be activated As STOP mode the transition is instantaneous c Homing in this mode PoKeys is executing the homing procedure The selected axes are referenced in regards to the position of Home Ref switch PoKeys executes homing procedure in two steps in first step course position of the switch is located using faster motion in the negative direction of the axes unless Homing direction is inverted in the settings When the switch is located the fine position of the reference position is located using slower motion in the positive direction of the axis again if not inverted in the settings until the Home Ref switch is released d Running normal operating mode e Jogging jogging mode in this mode PoKeys Pulse engine can use the values from the encoders to directly jog the configured axes Enable axis power these options select when the axis enable signal is activated besides in normal operating modes Save configuration button after the settings are changes this button must be clicked to send the settings to device and save them to the on board non volatile memory Since this operation may produce interruptions in the motion it is suggested to stop any motion before comme
27. e inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive Position ES ged ES GE 0 gt inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive ps i inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive inactive Figure 4 Encoders RAW values www poscope com PoKeys user manual 7 4 Pulse engine PoKeys57CNC is a hybrid device between a USB PoKeys Ethernet PoKeys nad PoKeysCNCaddon As Such it contains an external pulse generator on board which is capable of driving of up to 8 axes controlled by STEP DIR signals with maximum pulse frequency of 125 kHz The pulse engine is fully configurable in terms of See the 29 Axis switches configuration each switch Limit Limit and Home Ref can be independently enabled inverted and positioned either on dedicated pins pin value of 0 or standard PoKeys pins that are listed in the device pinout Axis motion control config
28. e units are displayed on a dashboard in a web browser HTML code for the unit can be entered allowing different text formatting 5 6 www poscope com PoKeys user manual Pe Custom unit Short description TestUnit HTML code lt b gt Teb gt gt e lt gt st lt sup gt 2 lt 5up gt Preview Test Figure 37 Custom unit editor Managing the web user accounts The dashboard configuration dialog contains a list of available users To edit the user double click on the entry in the list a User account dialog will pop up allowing the changes to user name and password By default PoKeys contains a user named Admin with password set to root Both the username and password of this user can also be changed Usernames and passwords can be configured for up to 4 users with the length of each limited to 8 ASCII characters 3 source Display type Unit Users al input 0 On Off display no unit Admin 7 Ser sor 0 Value display T Admin 7 7 7 5 EM User account Username Testlser Password n display Value only Maxvalue 0 E Server reports Figure 38 Editing user account Accessing the dashboard items data The information on dashboard items data and their values can be accessed by fetching the following files from the device devStat xml contains values of all digital inputs and outputs encoder values analog inputs sensors Poll shared data value
29. ectly to the PoExtBus PoNET connector while the PoExtBus devices should be connected in series after the PoNET devices as described below PoNET devices must be connected in parallel to each other PoExtBus devices must be connected in series There should be no PoExtBus device between PoKeys device and PoNET devices PoExtBus device PoExtBus device PoNET device PoNET device PoNET device PoExtBus device PoExtBus device PoNET device PoNET device 42 www poscope com PoKeys user manual Adding new devices After connecting new PONET device go to Peripherals gt PoNET The following dialog will appear PoNET devices Unconfigured device Device type PoNET keyboard v1 0 i Number of inputs 48 Unconfigured device double Number of outputs 48 click to add Assigned 2C address 1 Device options Var Enable mapping to matrix keyboard PoEBkb device test LED test mode Backlight test Figure 19 PoNET settings dialog with an unconfigured device In order to register new device double click on the Unconfigured device icon In the next 10 seconds press any key on the device that is about to be added If the process is successful status LED on the device will stop blinking and will be constantly lit The device will also be listed as in the dialog below Configured devices PoNET keyboard v2 at 1 Enable m
30. ed fast encoders logically replace the normal encoders 1 2 and 3 Ultra fast encoder support is available on pins 8 12 with the optional index signal input on pin 13 This feature uses hardware specialized hardware decoder and can handle even higher frequencies up to 5 MHz with digital filtering disabled but only x2 and x4 step multiplication factors are available Samilarly as simple digital inputs encoders can be assigned to direct key mapping or keyboard macro only with USB devices This is possible for both directions CW and CCW separately the keyboard mapping of pin A is activated on positive change of the encoder value while the keyboard mapping of pin B is activated on negative change of the encoder value Except for ultra fast encoders the encoder value can be multiplied by 1x one tick 2x or 4x The 4x mode increments encoder value on every signal edge and increases the resolution of the encoder for a factor of 4 Gig PoKeys configuration v3 1 52c device 45000 v4 1 13 File Peripherals Settings Device Pulse engine Mode ee Connected to PoKeys57CNC 0 Ser 45000 Mode arai gt 4 pi I Send to device ERES 3 Pin 13 digital input ERES 4 Inactive Digital input 52 lt in mA 5 Invert pin Digital output MME 6 Triggeredinput 0 i e ne EE E 444 aa 14 ee E EN Sampling Ces Ce wm A gt 15 Encoder 1 1
31. ending Receiving Ges Data GA Add Length 0 ENE Figure 22 rc protocol test dialog 46 www poscope com PoKeys user manual 1 wire 1 Wire is a device communications bus system designed by Dallas Semiconductor Corp that provides low speed data signaling and power over a single signal wire 1 Wire is similar in concept to I C but with lower data rates and longer range It is typically used to communicate with small inexpensive devices such as digital thermometers and weather instruments PoKeys devices support communication with 1 Wire slave devices without parasitic power supply connected to the pin 55 with external pull up resistor of approximately 5 kO Protocol can be tested via PoKeys configuration software Click on Peripherals gt 1 Wire bus test The following dialog appears 1 wire protocol pm Connect your 1 wire device to pin 55 as described in the manual Data KI L Length 8 Dallas D51820 sensors 11 00 00 02 EE 4F 63 28 Figure 23 1 Wire protocol test dialog 47 www poscope com PoKeys user manual 7 14 EasySensors PoKeys57 series devices implement a feature called EasySensors It is an improvement of the original support for various sensors in PoKeys56 series devices EasySensors feature allows the user to setup up to 100 sensors on various communication buses including TC 1 wire DHTxx 1 wire and analog inputs The feature is accessible in Peripherals gt EasySensors menu Ea
32. enu Peripherals gt Fast encoders settings then check Enable ultra fast encoders option There are additional options to enable 4x step multiplication and inverting the encoder direction Digital filter sampling delay slider enables setting the digital filter delay parameter leftmost position equates to no digital filtering rightmost position equates to digital filtering with filter delay constant set to 1000 sampling frequency reduced to less than 25 kHz Fast encoders settings E vV Enable fast encoders Enable ultra fast encoders Select fast encoders configuration Enable 4x sampling Invert direction o Pins 1 2 5 6 15 16 Digital filter sampling delay Invert direction p Encoder 1 Encoder 2 Encoder 3 Disable 4x sampling Enable reset on index signals on pins 9 11 and 27 Close Displaying encoder raw values To open encoder raw values dialog go to Peripherals menu and select Encoder RAW values The following dialog below appears It simply shows the list of all encoders and their current values In additional column current encoder speed is displayed Status of the fast encoders is displayed in green while the status of an ordinary encoder is displayed in light grey Inactive encoders are displayed as dark grey boxes At the bottom of the window there is a command button that can be used to reset the encoders values 27 www poscope com PoKeys user manual 28 f i inactiv
33. eys user manual 11 Grant of license The material contained in this release is licensed not sold PoLabs grants a license to the person who installs this software subject to the conditions listed below Access The licensee agrees to allow access to this software only to persons who have been informed of and agree to abide by these conditions Usage The software in this release is for use only with PoLabs products or with data collected using PoLabs products Copyright PoLabs claims the copyright of and retains the rights to all material software documents etc contained in this release You may copy and distribute the entire release in its original state but must not copy individual items within the release other than for backup purposes Liability PoLabs and its agents shall not be liable for any loss or damage howsoever caused related to the use of PoLabs equipment or software unless excluded by statute Fitness for purpose No two applications are the same so PoLabs cannot guarantee that its equipment or software is suitable for a given application It is therefore the user s responsibility to ensure that the product is suitable for the user s application Mission Critical applications Because the software runs on a computer that may be running other software products and may be subject to interference from these other products this license specifically excludes usage in mission critical applications for example life s
34. f 4x20 4 rows 20 columns The selection of the module is limited by support for HD44780 or compatible chipset Usually these displays come in various sizes 1 2 4 line with 8 16 20 characters and colors black letters on green background white letters on blue background PoKeys57CNC device has a dedicated connector for such LCD displays see the pinout section of the manual for connector pinout description abodet 951 Ak 1 mnor re Bhi t LT aS LY Figure 15 Typical 2x16 character LCD LCD display can be used to display various data A third party application or a script can execute all supported operations including LCD initializing clearing moving cursor setting display shifting mode custom character defining and displaying text PoKeys57CNC devices by default function in buffered LCD mode In this mode any LCD related command that is sent to PoKeys device is first buffered and when possible PoKeys device executes the LCD refresh on its own In this mode some LCD operations are not operational cursor movement is controlled by the PoKeys device and cursor move or display commands may not work as expected If this low level control is desirable buffered mode must be deactivated first In other cases it is advisable to use buffered mode in order to allow better load balancing in PoKeys devices and in the end obtain greater communication speed Before LCD initialization the LCD module size number of rows and columns m
35. f the sensor The gain specifies the number of sensor units per 1 V of analog voltage while the offset specifies the sensor value of analog voltage input of zero r Add analog sensor Analog sensor poke on Refresh rate 1 05 v o Gain offset setup C Mapping setup Gain WV Voltage Value Offset 0 00 0 00 gt 0 00 Gain setting 1650 3 30 5 16 50 Offset setting 0 Figure 28 Analog sensor setup with gain offset option b Using two point mapping in this mode two sensor values with corresponding analog voltage must be entered into the fields provided Gain and offset of the sensor are automatically calculated r Add analog sensor Analog sensor Poke pe Retesh ate gt Gain offset setup O Mapping setup Gain 5 000 UN voltage ko Offset 0 000 e oe Gain setting 1650 an o Offset setting O Figure 29 Analog sensor setup with mapping Analog sensors use the following formula to convert the analog input voltage into sensor reading Again u ADyaqi 4096 A of fset where AD_val is a measurement of the analog to digital converter a value between O and 4095 Again IS gain 32 bit integer number and Ag ser is result offset 32 bit integer number The value of u is a integer number that gets divised by 100 for the display the temperature of 15 58 C is represented by u 1558 A gain of 330 therefore gives the true voltage on the analog input pin The analog sensor dialog sho
36. g production however the user is responsible for virus checking the software once it is installed Upgrades we provide upgrades free of charge from our web site at www poscope com We reserve the right to charge for updates or replacements sent out on physical media Please contact a PoLabs support for details as to environmental matters such as the environmental compatibility of each PoLabs product Please use PoLabs products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive PoLabs assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations Please contact a PoLabs support at support poscope com if you have any questions regarding the information contained in this document or PoLabs products or if you have any other inquiries The licensee agrees to allow access to this software only to persons who have been informed of and agree to abide by these conditions Trademarks Windows is a registered trademark of Microsoft Corporation PoKeys PoKeys55 PoKeys56U PoKeys56E PoScope PoLabs and others are internationally registered trademarks www poscope com PoKeys user manual Contents EAN 6 EE 7 3 ere Ee Ted UO ME 8 3 1 PoKeysS7CNC connector pDipnout cce eeee crer ceeeceee ren ren rena rer crer reeneenn o 9 leie 9 PENN passos Assada SAS PRESO 9 See
37. gure below 62 www poscope com PoKeys user manual Cosm is now Xively xively DEVELOP MANAGE DEVELOPER CENTER Q n Activated Deactivate Private Device ed ID https xively com feqils 1505645137 t https api xively com v2 feeds 1505645137 rial Numbe Learn about the Develop stage Channels 11 minutes ago Request Log HE Pause Add Channels to your Device Add Channel API Keys Location Auto generated Test device device key for feed il Add location Metadata f Tags Description Add Key Created 1 TI 15014327 4 Open Device gt Server reports configuration Check Xively web service option Ss Enter your Xively API key and Feed ID created in step 3 leave other fields with default values Em Report server configuration Reports server type Destination data RAW no HTTP request header Server IP 216 052 233 120 Port 80 UDP mode ively web service O Standard HTTP request O Custom Update every 30 seconds source Sensors CSV one entry per li Last result 0 Xively API key Your API key lt Your Xively API key Xively Feed ID f Your Feed ID Your Xively Feed ID Send to device no save Figure 40 Reports server settings for Xively service Select the update rate on the right Click Send to device button If you wish to save the settings to non volatile memory click Send to device on main PoKeys screen Go back to Device gt Web i
38. ick settings The dialog on Figure 12 appears Each axis can be assigned an analog input In addition analog to digital mapping option can be enabled This allows user to connect an analog joystick to a PoKeys devices and simulate key presses for each direction of the joystick To do so first check Map to key option Then set the dead band when input value will be between lower and upper dead band margins no keys will be activated using sliders In the lower part of the window select the mapping options 3 5 www poscope com PoKeys user manual For simple direct mapping pin input status is directly reflected in joystick button status use the Direct mapping option and select pin number to be associated with selected joystick button If more advanced behavior is needed joystick button is pressed for a short time only on transitions of pin status user should select Triggered mapping option to select one pin that triggers selected joystick button on off to on transition Down Event and one pin that triggers this joystick button on on to off transition Up Event If joystick button mapping is to be used in connection with encoder inputs use Triggered mapping option encoder s values cannot be directly translated into direct mapping and select a pin with the appropriate encoder channel For example pins 5 and 6 are set up as digital inputs with encoder channel A on pin 5 and channel B on pin 6 When pin 5 i
39. in the form of either relay outputs or open collector outputs It can also be used to connect various additional peripherals e g PoKeysKBD48CNC pendant and UC sensors Third party application developers that are adding the support for PoKeys devices are encouraged to use the supplied communication DLL that can be simply used in the different NET framework based applications and various other programming languages that provide support for ActiveX interface There is even an open source cross platform C library available at https bitbucket org mbosnak pokeyslib To aid developers that are communicating with PoKeys devices on the low level the extensive documentation on device communication protocol can be downloaded free of charge from the product webpage 6 www poscope com PoKeys user manual 2 Features Compatible with USB 1 1 2 0 HID standard standard English USB keyboard simulation with triggering support for up down keys standard USB joystick simulation 6 axes 32 buttons with triggering support Ethernet 10 100 with DHCP client or fixed IP support TCP or UDP connection with the device Modbus TCP support access to digital IO analog inputs encoder values digital counters values PWM outputs LCD display PoExtBus devices matrix keyboard status web interface with newly designed dashboard and I O status display with multiple user accounts 28 digital inputs or outputs software configurable with p
40. its software or information PoLabs has used reasonable care in preparing the information included in this document but PoLabs does not warrant that such information is error free PoLabs assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein PoLabs devices may be used in equipment that does not impose a threat to human life in case of the malfunctioning such as computer interfaces office equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots Measures such as fail safe function and redundant design should be taken to ensure reliability and safety when PoLabs devices are used for or in connection with equipment that requires higher reliability for example traffic control systems anti disaster systems anticrime systems safety equipment medical equipment not specifically designed for life support and other similar applications PoLabs devices shall not be used for or in connection with equipment that requires an extremely high level of reliability and safety as for example aircraft systems aerospace equipment nuclear reactor control systems medical equipment or systems for life support e g artificial life support devices or systems and any other applications or purposes that pose a direct threat to human life You shou
41. ld use the PoLabs products described in this document within the range specified by PoLabs especially with respect to the maximum rating operating supply voltage range and other product characteristics PoLabs shall have no liability for malfunctions or damages arising out of the use of PoLabs products beyond such specified ranges Although PoLabs endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions Further PoLabs products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a PoLabs product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Usage the software in this release is for use only with PoLabs products or with data collected using PoLabs products Fitness for purpose no two applications are the same so PoLabs cannot guarantee that its equipment or software is suitable for a given application It is therefore the user s responsibility to ensure that the product is suitable for the user s application Viruses this software was continuously monitored for viruses durin
42. lear the LCD Number of rows lower byte and number of columns upper byte of the LCD module Not used Clear LCD both bytes OxAA Tick counter lower 16 bit Digital encoder values 32 bit values LSB first any write to these registers causes the reset of the encoder value to 0 Digital counter values 32 bit values LSB first Poll shared data 32 bit LSB first 300 seen eee E JE Device 10 Device 9 301 302 a eC e e Device6 Devices 59 www poscope com PoKeys user manual Devices Devices 304 AalBlc D E F G H A B c D E F c H De E where RR SEENDE TT PoExtBus device bit munm Device 10 Device 9 vi E E S O 0O O K Figure 39 Modbus configuration 60 www poscope com PoKeys user manual Reporting data to network server with PoKeys57CNC device PoKeys57CNC devices can automatically report sensor values to various network servers using the HTTP POST HTTP PUT or text only protocols To use this reporting feature user must specify reports type RAW UDP Xively Standard HTTP POST PUT or custom server IP server port number and update rate Custom report type The request header is constructed of two parts HTML header and data header divided by double new line character n Example header Xively com web service EM Report server configuration mmm s Reports server type Destination data O RAW no HTTP request header ServerP 216 052 233 12
43. mRH 422 PL feed 422 PUT fee 422 pur fee 64 WWW poscope com PoKeys user manual 12 Open your Xively feed by clicking the Feed URL you should see the recorded data Test device Pla ixively com v2 feeds 1505645137 Channels ed 4 minutes ago AN Graphs RoomRH 64 86 a minutes ago lt Os RoomT 22 76 minutes ago lt Os Location Metadata Email Figure 42 Xively feed overview page Setup for standard HTTP POST or PUT data upload Let s assume that the user wants to send sensor data to his server script that accepts POST method for data upload The user s server script is available at the address www userdomain com PoKeysDataUpload asp The user also wants that the data in the POST stream to have the HTTP type of text plain and preceded with the string MyData The data should be transferred every 10 minutes The settings are displayed in Figure 43 To setup PoKeys to use these settings the following steps must be taken enter text without quotes Open Device gt Server reports configuration Select Standard HTTP request and check HTTP POST option Enter www userdomain com PoKeysDataUpload asp in the Destination field Enter text plain in the Content type field Enter MyData in the Data header field Enter the server s IP address and port number in the fields below Enter 600 in the update time field Click Close and click Send to device button o o eg Ta ba Eo Go to Device g
44. ncing configuration save Pulse engine testing panel Auxilary outputs these can be used to test the on board auxilary outputs a Relays 0 and 1 control the SSR outputs b Relays 2 and 3 control the on board relays c OC outputs control the galvanically isolated open collector outputs www poscope com PoKeys user manual Axis configuration panel This panel contains settings for each axis Switch configuration Motion par E Invert axis direction D E Mask enable intemal motion controller activated Home Ref switch disabled i 7 on pin Note pin 0 equ o extemal VO Maximum speed pulsess 1 Axis enable output n pin 0 Maximum acceleration pulses s 2 Y 5000 MPG jog setup Maxdmum deceleration 25000 i Encoder Enable soft limit Multiplier Maximum position Minimum position Figure 6 Axis configuration panel 1 Limit switch configuration individual limit switch on axis positive and negative ends can be individually enabled and inverted in NO switches are used Since PoKeys57CNC uses external pulse generator with extended IO 0 should be selected as pin number 2 Home Ref switch configuration this switch can be configured as a separate switch or shared with either Limit or Limit switches 3 Axis enabled output pin O should be selected in dedicated signal pin on motor connector is to be used The state of the signal can be inverted if motor drivers require it 4 Motion configuration axi
45. nterface settings to edit the dashboard items Define entries as described in the Web interface chapter of this manual To enable uploading of the 63 www poscope com PoKeys user manual dashboard item to the Xively service select Server reports as the user The Item caption field is used to identify the datastream in the selected Xively feed Make sure that item caption does not contain any invalid characters for Xively channel name _ letters and numbers are allowed D Dashboard configuration E General settings E Disable web interface open in web browser Allow anonymous access to dashboard and 1 0 status Send to device without saving Allow toggling outputs via web interface Display type i Users Value display Admin Server re Access rights double click to edit Figure 41 Item configuration for the Xively service 9 Save the settings again by clicking Send to device button 10 Make sure the PoKeys device has properly configured network settings and that it is connected to the internet 11 After a update interval check the status of the Xively updates in the Xively Develop page xively DEVELOP MANAGE Test device 4 Private Device Feed If Product Feed URL https xively com feeds 1505645137 Product Secret a ma CEA 3 Channels 3 minutes ago sraphs Request Log 200 pur fee Roo
46. og signal noise move the value for the filter to the right towards label slow signals and then press Set button File Peripherals Settings Device Pulse engine Mode K t Connected to PoKeys 0 Ser 45000 KC t Maude V Input 41 2 12v V Input 42 212V Baba 2 38 a 29 N BO e Eh Copyright PoLabs 2015 http www poscope com Device load status TE OK I gt Figure 11 Analog inputs and outputs dialog 7 7 Joystick mapping Each axis of the PoKeys virtual joystick can be assigned an analog input source In addition analog to digital mapping option can be enabled which allows user to connect an analog joystick to a PoKeys devices and simulate key presses for each direction of the joystick User can freely select dead band and saturation ranges Besides mapping the analog inputs to virtual joystick axes digital inputs or encoder switching events can be mapped to any of the 32 virtual joystick buttons either directly or triggered or 4 way POV hat selector The triggered mapping to joystick buttons enables used to select different pins that triggers selected joystick button on off to on transition Down Event and on on to off transition Up Event PoKeys configuration software usage Joystick axis and buttons mapping can be setup via Joystick mapping dialog Go to Peripherals and select Joyst
47. ork firewalls must allow all traffic on TCP UDP port 20055 between PoKeys57CNC device and PoKeys related software running on a computer a LI TI FRE JP Step 1 Locate ethernet ports on your router 1 and PoKeys57CNC board 2 and connect them with RJ 45 cable standard network cable se Step 2 Connect the PoKeys57CNC board to an appropriate power supply 3 Step 3 Install PoKeys software 6 1 Using USB and Ethernet PoKeys57CNC device can also be connected to computer by using both the USB and Ethernet connection In this case applications will detect two instances of PoKeys57CNC devices and USB connection will be selected by default by third party applications Follow the above instructions on connecting the PoKeys57CNC device over Ethernet and USB 6 2 Motor drivers and peripherals installation Connect motor drivers to dedicated 10 pin axis motor connectors marked as MOTOR1 MOTOR2 MOTORS Connect pendant to the dedicated pendant connector 2 2 www poscope com PoKeys user manual 7 PoKeys configuration options 7 1 Digital inputs and outputs Unlike generic PoKeys devices PoKeysS7CNC doesn t have generic pin headers with fully customizable pin functions Certain pins of the dedicated connectors on PoKeys57CNC can be reused for other purposes if not used by the specific peripheral device See the connector pinout diagram to discover which pins can be reused as digital inputs or digital outputs
48. out 10 x100ms Failsafe peripherals Digital outputs 4 PoExtBus outputs Module 1 Output C 1 Module 1 Output D 0 Module 1 Output E O Module 1 Output F 0 double click to change state PWM outputs enter duty cycles in from Oto 100 Fin 17 0 Pin 18 0 Fin 19 0 Pin 20 D Fin 21 0 Fin 22 D sile AQ aE a a a E Pulse engine Figure 21 Failsafe settings dialog 45 www poscope com PoKeys user manual 7 13 Peripheral communication protocols EC protocol The I2C bus was designed by Philips in the early 80s to allow easy communication between components which reside on the same circuit board Philips Semiconductors migrated to NXP in 2006 The name 12C translates into Inter IC Sometimes the bus is called IIC or I2C bus PoKeys devices support communication with TC slave devices connected to the PoExtBus PoNET connector As IC PONET and PoExtBus use the same connector PoExtBus PONET and I C functions are automatically switched by the PoKeys device Marking the pin closer to the edge of the PoKeys57CNC board as pin 1 the I C devices should be connected as follows Pin 1 Power supply 5V Pin 2 Ground Pin 3 Serial data Pin 4 Pin 5 Serial clock Protocol can be tested via PoKeys configuration software Click on Peripherals gt 12C bus test The following dialog appears Connect your L device to PoBdBus port as described in the manual Device address CN el Dto ka S
49. over from bad firmware update click Recover 7 After completing the operation unplug PoKeys device and remove the short from the LCD connector 8 If resetting the configuration ensure the device is properly cleared replug PoKeys57CNC device connect to it and execute Device gt Clear settings in device 68 www poscope com PoKeys user manual 9 Frequently asked questions What software must be installed to operate the device On first use or when reconfiguring the device the supplied software must be installed If USB connection is to be used device driver must be used that should be automatically installed by the setup package Can I use both USB and Ethernet connections Yes both USB and Ethernet connections can be connected at the same time but USB connection will have a priority over Ethernet Windows can not find drivers for PoKeys57CNC device The drivers should automatically be installed by PoKeys setup package If this is not the case and Windows reports unknown device install the drivers manually by instructing the Windows device setup wizard to look for drivers in PoKeys installation folder C Program Files PoLabs PoKeys by default I misconfigured the device and device no longer responds What can I do If you misconfigured the device in such a way that configuration utility cannot be used to repair the configuration see the section Quick resetting the device configuration in this manual There is
50. populated with detected 1 C devices and sensor type suggestions Sensor type reading and refresh rate can be changed using the selections on the right part of the diagram In order to add the configuration of I2C sensor check the corresponding item in the detected 1 C devices list and click on Finish Add FC sensor Detected IX devices select devies to add to EasySensors list Address Sensor type Reading E ba E Deen Device type MCP3425 E 0x40 SHT21 Humidity a V 0x48 LM75 Temperature Reading A D 2x gain amp 4C MMA7660 Acceleration X EE amp 4C MMA7660 Acceleration Y Ce MMA7660 Acceleration Z Selected device x68 MCP3425 A D 1x gain Ox68 MCP3425 A D 2 gain E 0x68 MCP3425 A D 4x gain F 68 MCP3425 A D amp gain V Hide configured devices Figure 25 Scanning for CC sensors 4g WWW poscope com PoKeys user manual Scan for 1 wire sensors The command opens the Add 1 Wire sensor dialog that allows the user to select PoKeys pin where the 1 Wire bus is connected to By clicking Scan PoKeys device scans the 1 Wire bus for devices The EasySensors 1 wire bus implementation can detect multiple 1 Wire devices on the bus at once and thus simplifying the configuration process The list of available devices is then shown in the Detected devices list if Hide configured devices option is selected already configured 1 Wire devices are not displaye
51. press is detected with a periodic scanning of each of the rows and columns PoKeys devices use digital outputs for setting the voltage levels on rows and read column voltage levels using digital inputs that already have internal pull up resistors so no external circuitry is needed PoKeys devices support matrix keyboards of up to 16x8 in size simpler 3x3 4x3 4x4 and others are of course fully supported Similarly to simple digital inputs keys of the matrix keyboard connected to the PoKeys device can be configured as USB keyboard keys Direct mapping mapping to macro sequence and triggered mapping are all supported Additional alternate function can be used to assign two different keyboard keys to each of the matrix keyboard buttons If additional and freely selectable from the list of digital inputs Fn input pin is inactive the default function key is used If the Fn key input pin is activated an alternate function key is used instead of the default On all devices the status of key presses of the matrix keyboard can be read using the PoKeys library commands without the need to setup the mapping described above B Columns Rows Figure 7 Standard 4x3 matrix keyboard Figure 8 4x4 matrix keyboard internal structure PoKeys configuration software usage Before any matrix keyboard configuration can be done go to Peripherals gt Matrix keyboard check the Enable matrix keyboard option and select the numbe
52. put 0x05 Write single coil OxOF Write multiple coils Address 0 based Access R Read W Write Description 0 54 R W 55 pin inputs outputs 100 126 100 149 on R Sensor OK statuses PoKeys57 series 200 263 R W Poll shared data binary data overlapped with 32 bit Poll shared data at 1000 1127 16 bit 1000 1127 R Matrix keyboard inputs 1400 1527 W I2C Matrix keyboard LED 1600 1727 R W LED matrix 2000 2079 R W PoExtBus 2000 Device 10 Output H 2001 Device 10 Output G 2079 Device 1 Output A 58 www poscope com PoKeys user manual Registers Supported operations 0x03 Read holding register 0x04 Read input register 0x06 Write single register 0x10 Write multiple registers Address 0 based Access R Read W Write 0 1 R 10 16 R 20 45 RW 100 154 RW 200 213 RW 200 201 202 203 212 213 300 304 RW 400 453 400 499 on R PoKeys57 series 500 579 RW 590 W 591 W 592 W 593 W 600 R 700 751 R W 800 909 RW 1000 1127 RW PoExtBus channel mapping Address 0 based Register description Description Serial number of the device PoKeys57 only Analog inputs Encoder counter values lower 16 bit Digital counter values PWM PWM period MSB first PWM duty1 MSB first pin 22 PWM duty6 MSB first pin 17 PoExtBus Sensors 32 bit values LSB first LCD buffer LCD configuration O disabled 1 primary or 2 secondary writing to this register will re init and c
53. r of rows and columns Close the dialog and continue by selecting column and row pins 3 2 www poscope com PoKeys user manual E PoKeys configuration v3 1 52c device 45000 v4 1 13 File Peripherals Settings Device Pulse engine Mode area Connected to PoKeys5 CNC 0 Ser 45000 Atomer Mode Send to device Inactive V Matrix keyboard Column C v Direct key mapping Key down og 4 Cl og C ctr 41A 28 83 16 O aO tor DOW OD atO atgr LUA TE a DR Repeat key if held down 38 mn om 37 nr 3 4 20 48 ms ga 35 m ES A a Keyboard macro repeat macro SM E 3 5 i L As peter om E e am 201 om 30 DUT Copyright PoLabs 2015 http www poscope com Device load status OK LE 28 Figure 9 Assigning row and column pins Matrix keyboard column selection Each free digital input pin can be assigned as matrix keyboard column input Make sure the selected pin is configured as digital input then check the Matrix keyboard option for the pin and select the appropriate column letter from the list Matrix keyboard row selection Each free digital output pin can be assigned as matrix keyboard row output Make sure the selected pin is configured as digital output then check the Matrix keyboard option for the pin and select the appropria
54. requires no complex knowledge on device programming PoKeys57CNC is a blend between general purpose PoKeys device and motor controller The device is targeted primarily for controlling up to 8 STEP DIR signal driven motors stepper motors servo drives etc in various applications with the addition of powerful PoKeys device features Device contains dedicated connectors for connections with motor drivers pendants HD44780 compatible LCD module etc In addition 5 analog inputs with 12 bit resolution are available The device also features four galvanically isolated open collector outputs and 0 to 10 V analog output The device runs the Poll core and is fully compatible with PoBlocks graphical programming software bringing Programmable Logic Controller to a motor controller board PoBlocks can be used to simply automate different peripherals and interchange data with other software applications that are using PoKeys57CNC device PoKeys USB products integrate support for virtual USB keyboard and USB joystick which can be used to emulate a standard USB keyboard and joystick Digital input pins can be mapped to virtual keyboard and joystick keys while analog inputs can be mapped to virtual joystick axes Configuration is simple by using our intuitive graphical PoKeys configuration application where each function can also be tested A dedicated PoExtBus PoNET connector can be used to extend the number of digital outputs for additional 80 outputs
55. rom drop down box and check appropriate key modifiers Shift Ctrl Triggered digital input Triggered digital input function is activated by selecting Triggered input option box This pin mode enables user to select a key that is pressed only when a transition in a signal occurs Different keys can be selected for LOW to HIGH or Key up event and for HIGH to LOW or Key down event Selecting the keys is similar to Direct key mapping described above Digital output Most of the available pins check the pin capabilities in device pinout section of this manual can be configured as digital output by selecting Digital output option box If the polarity of the pin is wished to be inverted check the Invert pin box On startup all pins although optionally configured as digital output are by default initialized in high Z state behaving like inputs To use the outputs SetPinData should be called before attempting to set the output state However there is an option to disable this behaviour use the Settings gt Initialize outputs on startup option to either enable or disable output activation on PoKeys startup View status of digital inputs and outputs Go to Peripherals gt Digital inputs and outputs to display the status dialog as shown below IO status e CERLE EE Ven E vem men ES Digital input active Digital output inactive Digital output active Analog input
56. rs 21 www poscope com PoKeys user manual LVF NEE 21 6 2 Using Ethernet direct connection between PoKeys57CNC and computer 21 6 3 Using Ethernet PoKeys57CNC connected to a network with DHCP server 22 d VE USB TEN EE 22 6 2 Motor drivers and peripherals installation rrrrrrnrnnnrrrnnnnrrnnnnnrrrnrnnnernnnnnernnnnnnrrnnnnnsrnnnnneeene 22 PoKeys configuration ee de E 23 TG PN 23 PoKeys configuration software Usage 23 12 BETOUNTEN Ds ad operada aos ca doses nora sae babe an A Si o ice 25 PoKeys configuration software Usage 25 Loa 160 EC 26 PoKeys configuration software Usage 26 PRE 29 Pulse engine status control dialog parts 30 Axis configuration panel ser eeeerreeaerrenearrenanarereaaarerana serrana nr eraaaacreraaa serrana Ea 31 De Ee o 5100 RE 32 PoKeys configuration software Usage 32 RO SEN 34 PoKeys configuration software usage ic ccdecssciccseesscncsvancctsssenccedusvacdsnavoocssedvonasucesbasstvencssdsccnosasecoens 34 TONN 35 PoKeys configuration software usage Lavere 35 7 8 MT ae a E N E E E E E a nen ueatoamoncauns 36 PoKeys configuration software Usage 37 T ep GE 38 PoKeys configuration software Usage 38 7 10 FP 41 PoKeyvs configuration software USADO EE 41 aigle NNN 41 7 11 Bei TE RE 42 ANd NEN CONC mm ww wwvwwwwwvvvvmvvvwwwvwvwv w wevwvwwvvwvwvwvvevwvvvvwwwwwwvmvv 43 PONET PEN Eh 44 7 12 FASEN 45 7 13 Peripheral communication PFOT
57. ry packets sent from software looking for PoKeys device and discovery response packets that PoKeys device constructs as an answer to a discovery The discovery response packet contains vital PoKeys device information that can be used to identify and find the PoKeys device in the network In case the DHCP server is not available in the network or if discovery packet was received from different subnet than the one used by PoKeys device the device will change to a temporary IP address from the same subnet defaulting to 255 255 255 0 subnet mask that the request was sent from This temporary address can be recognized by ending in 250 and should only be used to find a misconfigured device and setup it with proper network configuration The discovery process can be disabled under Device gt Network device settings by clicking Advanced button More information on this mechanism can be found in the Protocol specification document 5 2 www poscope com PoKeys user manual Default network settings DHCP enabled Port 20055 Security Full access Connecting to device in other network When the device is not detected automatically either there is a firewall blocking the UDP broadcast messages or the device is not in the same network as a computer custom IP address of the device can be entered by clicking on the Network settings button on the Connect to device dialog The following dialog appears Tee is Enter IP address 35
58. s Settings Device Pulse engine Mode SC peido re pe pn PoLabs PoKeys57E Dashboard nput Output status Settings Homepage 1 Send to device Test item Sensor value zi E L E Dashboard configuration SE dt a settings A E Disable web interface open in web browser Allow anonymous access to dashboard and 1 0 status Send to device without saving Allow toggling outputs via web interface Open report server configuration Dashboard items All rights reserved O 2014 PoLabs ID Tile Data source Display type Unit Users DO Testitem Digital input O On Off display no unit Admin S Value display Admin 2 2 S Addnew Remove Selected item Access rights double click to edit ltem caption Sensor value User name Data source Sensor Sensor 1 ES Display type Value display Value only 7 Data unit T v Maxvalue 0 Figure 34 PoKeys device web interface The interface can be disabled or configured in dialog accessible via menu Device gt Web interface configuration The following dialog appears Ga Dashboard configuration d BECHER j General setti General settings NEE Allow anonymous access to dashboard and 1 0 status Send to device without saving Allow toggling outputs via web interface Open report server configuration ID
59. s and digital counters 57 www poscope com PoKeys user manual devData xml information on the PoKeys device network configuration and some other device data sensorList xml contains information on dashboard items configuration and value sensorList json same as above but in json format setS html is used to change the sensor value setDO html is used to change digital output value The setS html and setDO htmi have the following syntax http lt IP address gt setDO html Pin lt Pin ID gt amp State lt 0 1 T gt http lt IP address gt setS html Sensor lt Item ID gt amp State lt Value gt The lt Pin ID gt is 1 based PoKeys pin index same as indicated on the device while lt Item ID gt is 0 based dashboard item index of the current user Modbus PoKeys57CNC device supports slave server operation of Modbus TCP communication protocol Modbus TCP compatible devices on the network can read the values from the device and set the outputs To elevate the security user can define which peripherals are accessible via Modbus TCP Modbus TCP uses TCP protocol on port 502 default which can be changed in Modbus settings accessible from the menu Device Modbus configuration The Modbus TCP connection is disconnected after 3 seconds of inactivity this default value can be changed in the Modbus settings Discrete inputs outputs Supported operations 0x01 Read coils 0x02 Read discrete in
60. s direction can be inverted here Optionally internal motion controller can be activated allowing PoKeys device to produce the motion signals based on position or speed reference setup The Mask enable option is for testing purposes and enables third party software to enable individual axes independently 5 Homing configuration use these settings to invert homing direction and set the speed of the motion during homing procedure 6 Motion parameters use these fields in case that Internal motion controller is enabled to setup the maximum speed acceleration and deceleration values When the value is entered into the fields confirm the value by pressing Enter Return key the field will change color from red to white 7 Soft limits configuration optionally soft limits can be configured for each axis When internal motion controller detects the current position has gone out of these limits the motion is softly stopped and only motion in the out of limit direction is allowed 8 MPG jog setup select encoder and multiplier factor to setup direct MPG jogging that is active in Jogging operating mode 9 Copy to all axes all settings are copied to all other axes by clicking on this button 3 1 www poscope com PoKeys user manual 7 5 Matrix keyboard Matrix keyboard is a set of buttons connected into a mesh All buttons in a row share one contact same goes for each of the buttons in the column If a button is pressed a key
61. s selected as Down event pin for joystick Button 2 and pin 6 is selected as Down event pin for joystick Button 3 rotating the encoder in positive direction will trigger joystick Button 2 on each detent Similarly rotating the encoder in negative direction joystick Button 3 will be triggered on each detent Up Event pin option cannot be used in connection with encoders oy mapping EE Joystick analog axes mapping Button 1 disabled a Select axis Button 2 i lisabled Axis mapping Pin 44 analog disabled Set activation zones Map to keys Butt disabled Button 8 disabled mm mm Fin 3 eger Button 10 disabled Low Center High Button 11 disabled Button 12 disabled Low part mapping High part mapping Button 13 disabled Ver EN Button 14 disabled direct key mapping direct key mapping Direct mapping Key Key Select pin BW ur Det 090 at UA Key repeat options Repeat key if held down for more than s repeat after ms Up Event pin 5 Okps Increase speed with value minimal repeat time We 66 0 kps Triggered mapping Down Event pin O macro mapping Spe macro mapping macro macro Figure 12 Joystick mapping settings 7 8 PWM outputs PoKeys57CNC device supports PWM output function on 4 pins pins 18 20 21 and 22 Different duty cycles can be assigned to each PWM output however all outputs share the same PWM period PWM outputs can be easily amplified u
62. se analog inputs can also be freely mapped to any of the 6 joystick axis X Y Z rotation X rotation Y and throttle Analog inputs have a resolution of 12 bits and are sampled at a fixed rate of 10 kHz then fed through adjustable digital low pass filter with the following equation filter 1 y k y k 1 tulk filter 1 filter 1 where y k is the output analog value u k is a new A D sample and filter is a user adjustable constant For proper operation of the digital filter an analog low pass filter with a cut off frequency of 5 kHz must be used on each analog input The following equation gives the relation between value of filter and filter s cut off frequency 10 kHz 21 x filter c Sample u k is produced according to the following equation u k S 4095 where U k in Volts is a voltage present on the selected analog input pin PoKeys configuration software usage To open analog inputs dialog go to Peripherals menu and select Analog inputs and outputs Dialog below appears To enable display of analog input channel check the appropriate check box It is enabled only when the input is set up as analog input The progress bar displays the current voltage at the pin with the maximum at 3 3V Below the input selection boxes user can set low pass filtering for analog inputs When analog input signal appears to 34 www poscope com PoKeys user manual be flickering or jumping due to anal
63. sing an external transistor and used for control of loads with 3 6 www poscope com PoKeys user manual increased current demand pins with such function embedded are marked as OC open collector in the pinout diagram PoKeys PWM outputs can also be used to drive various R C servo motors that accept PWM signal with 50 Hz frequency 20 ms PWM period and duty cycles between 5 and 10 1 to 2 ms PoKeys devices have an in built PWM module that operates at a fixed clock frequency 25 MHz Both the PWM period and the PWM duty cycles must be expressed as number of module clock cycles i e 20 ms PWM period equates to 0 020 x 25 000 000 500 000 PWM period duty cycle 3 33 V average OV t Figure 13 PWM output PoKeys configuration software usage PoKeys device s PWM pulse width modulation module can be setup via Peripherals gt PWM outputs PWM settings Lx PWM period PWM frequency 20 00 kHz Set values Send to device on change Figure 14 PWM outputs settings In this window user can enter PWM period and set PWM duties for each channel Channels can be independently enabled or disabled After a change is made user must click Set values button or check Send to device on change checkbox Left position of a slider means 0 and right position 100 respectively 3 7 www poscope com PoKeys user manual 7 9 LCD PoKeys devices support connecting one alphanumeric LCD module up to a size o
64. spontaneous triggering of some of the pins What is wrong Although the device implements basic noise filtering on the digital inputs long wires between PoKeys device and switches can cause spontaneous triggering if those wires are located near high power electrical wiring Use twisted pair wires shielding and try to route the signal wires away from power supply wires The connection with the PoKeys device cannot be established with 10BASE T router Please check that you are using proper cable that is supported by 10BASE T standard The following diagram shows the correct wiring for different connection standards 112 36 cross connection specifications Applicable standard EEE802 3 2002 Transmission method 10BASE T 100BASE TX 2 Full cross connection specifications Applicable standard IEEE802 3 2002 Transmission method 1000BASE T 3 Full cross cross specifications in 45 78 pairs Applicable standard ANSI TIA EIA 854 Transmission method 1000BASE TX Note The color applies to the case of the TIAS68A arrangement source http www okidensen co jp en prod cable lan img cate6 n fig05 gif 69 www poscope com PoKeys user manual 10 Errata information This section describes special limitations of the device PoKeys device resets when external power supply is applied or removed If PoKeys device is connected to USB the device resets when external power supply is either applied or removed 70 www poscope com PoK
65. sySensors configuration dialog The main EasySensors configuration dialog contains a list of all configured sensors with corresponding sensor information Here the sensory type reading and refresh rate can be changed Le Gg EasySensors setup Sensors r 1 Selected sensor ID Sensor type Bus Reading Value ID LM75 FC at Ox48 1 Sensortype LM75 x MS IT at 0x68 A D 2 gain Du Feadha T Retesh rate 4 5 6 Sensor info 7 8 Sensor bus IX 9 Address 48 Resolution 0 5 C remove configuration of the selected sensor Send to devi sends configuration to PoKeys device without saving Scan for IX sensors Scan for Dallas 1 wire sensors Add analog sensor retrieves current sensor values Add DH Tax 1 wire sensor gt IER Figure 24 EasySensors configuration dialog The changed sensor entries are marked with red color in order for the changes to take effect click on Send to device button which transfers the EasySensors configuration to device note that this action does not save the settings to device s non volatile memory and Send to device on main PoKeys configuration window must be clicked to do that There are 4 types of sensors supported and each type of sensor can be added by clicking a corresponding button at the bottom of the dialog Scan for PC sensors This command opens the Add I C sensor dialog which is automatically
66. t Web interface settings and define entries as described in the Web interface chapter of this manual To enable uploading of the dashboard item to the web server select Server reports as the user The Item caption field is used to identify the datastream 10 Save the settings again by clicking Send to device button 11 Make sure the PoKeys device has properly configured network settings and that it is connected to the internet 65 www poscope com PoKeys user manual Destination data Server IP 216 052 233 120 Port 80 Update every seconds Data source Sensors Data format CSV one entry per li e Data header MyData ez Cu La tom Ca Af bf i E HTTP POST amp HTTP PUT Figure 43 Example of HTTP POST service setup www poscope com 66 PoKeys user manual 7 16 Changing User ID number Users can freely assign their own User ID number that represents a specific PoKeys device enables distinguishing between different PoKeys devices in case there is more than one connected to a single host PC To change the User ID number go to Device gt Change user ID menu Simply enter any number between 0 and 255 and click the Change user ID button Device user ID User ID 1 Number in range from Oto 255 identifying this PoKeys55 device Figure 44 Device user ID dialog 7 17 Saving current configuration to file To save the current configuration to a file
67. t illustration Pin 14 am a Spindle error input 0C1 E ppa W opyrig oLabs MOTOR4 e X lt EAIAIAIAIAIAIAIOAIA IA IAI Te a is MOTORS TERRE MOTOR3 EEE MOTOR connectors TTTWIIIIIIE 2 4 6 8 10 GND 1 AXenable 3 DIR i 5 STEP TITT 7 ERROR EN 9 5V a X TOLL E 1H WINNI is MOTOR7 MOTOR2 Relay 2 NO Sa Relay 2 NO mms MOTOR1 om HIT Relay 1 NO ms Relay 1 NO mm JR CH di III HIT HIT T WWW poscope c PoKeys57CNC w d D gt SSR2 output oe SSR1 output a SSR1 GA De ee EEE Esso bass Zen rr bese sees wuss BOVE VEO Oe HIE III TITTET Power supply WII GND PENDANT External 6 28V connector 0 GND External GND 3v3 4 7 8 9 ADCin D 2 b A connect 5 6 8 9 AL Ethernet 10 100 Motor connectors 1 8 LCD connector Pendant connector Pin 22 OC HEERE Pin 23 Pin 15 g Fast enc A 3 Fas CD Pin 25 Pin6 a Fastenc B2 Axis switch HEHE ae I Pin 11 Pin 10 Pin 9 Pin 4 D GEN 7 JERRORIN Ri GND GND ED ED ED Pin 28 GID Ais C switch CEB Avis B switch 4 ED e 5 i po 2 enc B 1 5 STEP E stop switch Pin 1 a Fastenc A 1 E stop switch ED E Encoders connector ED 5V sv i Test IO connector wm Axis switches connector l i a JH Ultra Fast enc B l ir MH Ultra Fast en
68. te row number from the list Keyboard mapping configuration Open the Peripherals gt Matrix keyboard menu for configuration of the keyboard mapping Matrix keyboard is schematically drawn in the dialog below On the right key mapping settings can be selected To setup mapping click on one of the keys in the matrix keyboard drawing and select appropriate key mapping options on the right To test the matrix keyboard first make sure that the settings have been saved to device close the Matrix keyboard dialog and click on Send to device button The matrix keyboard dialog can then be used to test the matrix keyboard just press any key on your matrix keyboard and the appropriate button in the matrix keyboard drawing will be highlighted To setup different key presses for key press and key release events check Triggered mapping option and select different settings for Down key key press event and Up key key release event 3 3 www poscope com PoKeys user manual Em Matrix keyboard settings y x o Please select matrix keyboard size Enable matrix keyboard Number of rows Number of columns 3 Er Selected key settings e Triggered mapping ee ef AMO ie Zeen Modifiers C Gi C At II Shit O Win Figure 10 Matrix keyboard configuration for a 4x3 matrix keyboard 7 6 Analog inputs Analog input function is only available on pins 41 to 45 The
69. the digital counters from counting additional pulses due to switch contact bouncing on making or braking the contact Check PoKeys device pinout section to discover which pins are compatible with digital counter option PoKeys configuration software usage To setup digital counter inputs first set the selected pin as Digital input and if digital counter is available on the selected pin the Enable counter option will be enabled Check this option and check rising and or falling edge counting option To enable selection between incrementing or decrementing counter modes a direction pin can be selected in the Direction pin drop down menu If no pin is selected the counter mode defaults to incrementing mode Digital counters values status page menu Peripherals gt Digital counters values can be used to check the proper working of the configured digital counters 2 5 www poscope com PoKeys user manual 7 3 Encoders PoKeys devices can handle decoding of up to 26 pairs of quadrature encoder signals A and B signals of 25 normal encoders can be connected to any digital input and are intended for hand driven rotational encoder switches with the quadrature signal frequencies up to 1 kHz Three fast encoders input pairs are available only on selected input pins pins 1 2 as encoder 1 pins 5 6 as encoder 2 pins 15 16 as encoder 3 and can handle quadrature signal frequencies to about 100 kHz When activat
70. ttings are available for each item Item caption a string of up to 13 characters describing the item note some web services have limitations on what characters can be used the software will provide you with a warning if incorrect characters are used Data source select the data source from available sources digital inputs or outputs PoExtBus outputs Sensors digital counters Poll shared slot data with respective index of the item from the second list Display type there are different display type options available based on the data source type The digital signals can be represented by ON OFF value with optional On Off or On Off Toggle buttons The analog value signals can be represented by numeric value display with optional bar graph The numeric value can be mad editable double click on the displayed value shows an editor box that allows the user to enter a new value which is sent back to device for use with Poll shared data values Data unit the PoKeys device comes preconfigured with a variety of data units If the desired unit is missing from the list up to 20 custom units can be configured Min max value use the minimum and maximum value boxes to set the values for the bar graph boundaries Access rights select users from the list that should have access to the selected item Custom unit editing PoKeys device contains 20 custom units that allow the user to setup additional units if needed Since th
71. ull up resistors and available as virtual USB keyboard keys There are additional 4 dedicated digital outputs 5 analog inputs 12 bit with digital low pass filtering 4 analog inputs also include analog low pass filter with 1 9 kHz cut off frequency multiple encoder pair inputs with three additional dedicated high speed encoder and one ultra high speed encoder inputs digital counters on specific digital input pins high performance 8 axis 125 kHz pulse engine with dedicated motor connectors up to 16x8 matrix keyboard with triggered keys alternate function support up to 4 high speed fully configurable PWM outputs 25MHz PWM timer two of them with open collector transistor outputs dedicated connector for HD44780 based character LCD up to 4x20 characters dedicated connector for PoPendant1 PoExtBus support for adding up to 10 external shift registers e g PoExtBusOC16 PoExtBusRE etc PONET devices support 48 key CNC keyboard fail safe support in case of communication interruption support for up to 100 sensors that can be connected to I C bus 1 wire bus or on the general purpose analog inputs intuitive and user friendly software third party support via communication DLL library and extensive protocol specification document that allows porting to other systems 7 www poscope com PoKeys user manual 3 Device hardware description Ea Ge PoKeys57CNC Gen GE CoS pinou
72. und 11 GND GND Ground 12 DI5P Probe Probe input Test IO connector Although the pinout is compatible with LPT based stepper drivers the physical pin numbering sequence in PoKeys57CNC v1 1 differs from that of a real DB 25 connector Pin Type Label Function 11 wDI5P AX5 Axis 5 B limit switch 13 DI5P AX1 Axis 1 X limit switch 18 GND GND Ground DIO NIMU RV N 14 www poscope com PoKeys user manual 3 2 Pin types and specifications Type DI5P Digital input with filtering Symbol Parameter Min Max Unit Vosp MAN maximum voltage applied to DI5P pin 5 5 V Vosp LOW applied voltage for LOW state 0 2 V Vosp weu applied voltage for HIGH state 1 6 V Type DOS 5 V digital output Symbol Parameter Min Max Unit Ibos Max maximum current supplied by DOS pin 8 mA Moos Low voltage of LOW state no current 0 1 V Vpos HIGH voltage of HIGH state no current 4 9 V Rpos HIGH internal resistance of the digital output 100 TBD Ohm Type DOS D 5 V digital output without resistor Symbol Parameter Min Max Unit loos pmax Maximum current supplied by DOS pin 50 mA Voos pow Voltage of LOW state no current 0 1 V Voos pueu Voltage of HIGH state no current 4 9 V 15 WWW poscope com PoKeys user manual Type DIO33 3 3 V digital input or output Digital pin directly connected to MCU Symbol Parameter Min Max Unit P pull up current O v gt 33v 100 UA Pin used as digital output Ipo33 max maximum current
73. upport systems Viruses This software was continuously monitored for viruses during production however the user is responsible for virus checking the software once it is installed Support No software is ever error free but if you are unsatisfied with the performance of this software please contact our technical support staff who will try to fix the problem within a reasonable time Upgrades We provide upgrades free of charge from our web site at www poscope com We reserve the right to charge for updates or replacements sent out on physical media Trademarks Windows is a registered trademark of Microsoft Corporation PoKeys PoKeys55 PoKeys56U PoKeys56E PoScope PoLabs and others are internationally registered trademarks support www poscope com 7 1 www poscope com
74. uration each axis can be configured to optionally use an internal motion controller in either position or speed mode Homing referencing procedure motion of the reference position search can be inverted if home ref switch is positioned in the positive end of the axis travel The speed of the homing procedure can be configured in percents of the maximum axis speed Internal motion controller parameters such as maximum speed acceleration and deceleration can be individually configured for each axis Integrated MPG jog mode where PoKeys can handle the MPG jogging directly encoder index and step multiplier can be individually configured Other axis settings axis enable signals direction inversion soft limits etc description of the Pulse engine status control dialog on the next page Ex Pulse engine status control DM 0 Enable pulse engine T Lock Enable safety chard pump output on pin 53 3ch integrated O etemal 8 s V Extended IO di In i i amp a op Motion parameters Invert axis direction Mask enable Intemal motion controller activated Home Ref switch Homing o disabled onpin 0 Invert homing direction Speed 0 of full 3 Retum speed 0 Note pin 0 equals to extemal VO Maximum speed 125000 pulses s Axis enable output on pin 0 Maximum acceleration 25000 pulses s 2 5 of homing MPG jog setup Maximum deceleration pulses s 2 Enable charge pumi SE u Press Return to
75. ust be specified and appropriate pin assignment primary or secondary see the table above must be selected Secondary pins must be selected in case of matrix LED display 2 in use PoKeys configuration software usage Functions of this interface can be tested through PoKeys settings application Just open Peripherals gt Test LCD and dialog below will appear 38 www poscope com PoKeys user manual Character LCD testing LCD settings Number of rows 2 Number of columns 16 l Primary pins Enable LCD support i E Live edit LCD operations Pa L Coycode Entry mode Cursor moves left Set Entry mode Move cursor l Row 1 Column z im Cursor moves right Display on off settings Display on off Set LCD on off C Cursor on off Character code Buffered mode Waming Cursor blinking display entry mode and display shift are not operational in buffered mode Figure 16 Character LCD testing dialog LCD settings In this part user can set number of rows and columns in the LCD used Support for LCD can be enabled or disabled also LCD operations Before user can start using the LCD LCD module must be initialized This is done via Initialize LCD button Button Clear LCD clears LCD display and moves cursor to home position LCD module is initialized automatically by PoKeys device on device startup if Enable LCD support option is enabled User can also set entry mode settings of
76. ws the gain and offset settings in the bottom left corner of the dialog and should not be confused with Gain and Offset setup parameters 50 www poscope com PoKeys user manual List of supported sensors LM75 temperature sensor for the temperature range 55 C to 125 C with the resolution of 0 5 C The sensor has configurable address and up to 8 sensors can be connected SHT21 temperature and humidity sensor for the temperature range 40 C to 125 C with the resolution of 0 01 C and air relative humidity in range 0 to 100 MCP3425 A D converter with selectable gain MMA7660 3 axis accelerometer BH1750 light sensor ADS1115 16 bit 4 channel A D converter with selectable gain up to 16x DS18B20 temperature sensor for the temperature range of 55 C to 125 C with the resolution of 0 0625 C As each sensor has its own unique sequence ID up to 10 sensors can be connected to PoKeys DS18S20 temperature sensor DHT11 DHT21 and DHT22 AM2302 temperature and humidity sensors ri Sp4 24 5 ff Sp2 50 0 I Figure 30 Thermal image of a temperature sensor being connected directly to a circuit board The thermal conductivity of the sensor s leads causes the sensor to register higher temperature than the ambient real temperature Use properly 51 longer connections between sensor and sensor host board for the accurate readings www poscope com PoKeys user manual 7 15 Network device functionality PoKeys57

Download Pdf Manuals

image

Related Search

Related Contents

Manuale PC CAR - Croce Rossa Italiana Comitato Locale di Sassuolo    Samsung SIM contacts manual  RESUMEN DE LAS CARACTERÍSTICAS DEL  ASUS B451JA DU9582 User's Manual  `édito L - Ville de Champagnole  Istruzioni per l`uso  (manual completo php 5xx - Instalación - 2012-10-08)  

Copyright © All rights reserved.
Failed to retrieve file