Home
HEC-P5XXX Harsh Environment Controller
Contents
1. Revision 4 Now Supports J1939 8 NMEA 2000 Networking HEC P5XXX Harsh Environment Controller Covered Models T11 Jivelbiss CORPORATION LEAD FREE HEC P5000 HEC P5100 b RoHS COMPLIANT Toll Free 1 800 245 2327 Web http www divelbiss com Divelbiss Corporation 9778 Mt Gilead Road Fredericktown Ohio 43019 Email sales divelbiss com 2012006 4 Manual Contents Getting Started How to Use this Manual occocccncccnncnnncncncnoncnnnnononononcnonannnnonononononnnonos 3 The HEC P5xxx Controller Overview eee 4 Configuring the HEC P5xxx Target in EZ LADDER Toolkit 4 Loading the HEC P5xxx Kernel esee nn 6 Getting to Know the HEC P5XXX ccccescceeccesceeseeecteeseeseeesteeseeeeeeeeesss 8 Assembling Dis Assembling the HEC P5Xxx eer 10 HEC P5xxx Internal Field Configuration Jumpers and Switches 11 HEC P5xxx Features A e A 14 Status STS LED PPP II 15 Power PWR LED scent cenesees PEPERIT ED MUPI AAT VEDI AUDIRET PO UHR EUH VEKOPE CE RISE 15 Programmable LEDs I1 12 eeseseeeee nnn 15 APOC POW ES mput Power MODICO enanas sterbre hisce rbd crias de ceca 16 MOUNUDE cere circ eo cece m 16 Distta WOES resarcirse ovasscuceesaaniessacnasueseeuesaccnstaencace 16 Hei ao A eo II E E EE E 19 Ousdrdture INP atasca erronea da caia caia 22 Dra O Sido EI
2. Click OK The PWM Properties window will open r ad PLCHIP PXX Devices ad PWM Properties Devices j Name Description PWM Channels CANO CAN 0 CAN1 CAN 1 Name Ethemet Ethemet Modbus Master Modbus Master PWM Modbus Slave Modbus Slave OptiCAN Divelbiss OptiCAN PLCHIP_Pxx_eeprom Intemal PLCHIP PXX 4K EEProm PLCHIP Pxx qei Intemal Quadrature Encoder Interface PLCHIP Pxx rtc Intemal PLCHIP PXX Real Time Clock PWM Pulse Width Modulator SD CARD SD Card Serial Print Serial Print TimerCounter Hardware Timer Counter UART2 UART2 UART3 UART3 Min Frequency gt 0 0Hz L Max Frequency 10Mhz PWM Frequency 0 5 500 PWM Frequency 5 11 Figure 2 16 Install PWM Device Figure 2 17 Add Channels amp Set Frequency HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 25 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com HEC P5XXX Features In the PWM Properties Window using the ADD or REMOVE buttons add the channels of the Outputs that you desire to operate as PWM Each PWM channel is the same as each DOT channel DOTO is the same as PWMO etc Enter the desired base frequency for the PWM output group if used The frequency must be greater than O and not more than 10MHz This frequency is set per each group of 6 PWM outputs See Figure 2 17 Once all the desired channels are added an
3. Digital Input 15 Pin 5 DIN Group A Common Pin 5 DOT Group A Power Source Pin6 DIN Group A Digital Input 6 Pin6 DOT Group A Digital Output O PWM 0 Pin7 DIN Group A Digital Input 7 Pin7 DOT Group A Digital Output 1 PWM 1 Pin8 DIN Group A Digital Input 8 Pin8 DOT Group A Digital Output 2 PWM 2 Pin9 DIN Group A Digital Input 9 Pin9 DOT Group A Digital Output 3 PWM 3 Pin 10 DIN Group A Digital Input 10 Pin 10 DOT Group B Power Source Pin 11 DIN Group B Common Pin 11 DOT Group B Digital Output 4 PWM 4 Pin 12 DIN Group B Digital Input 11 Pin 12 DOT Group B Digital Output 5 PWM 5 HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 9of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com Getting Started Assembling Dis Assembling the HEC P5xxx To dis assemble the HEC Controller you will need a flat head screwdriver 1 Place the screwdriver as shown press in on the locking latch of the connector assembly and push forward gently simultaneously to slide the locking latch out of the enclosure 2 Repeat this for the second side and slide the entire connector assembly with the printed circuit board out of the enclosure Push at Angle shown Push Latches each side with screwdriver amp Slide Out Detail of Locking Latch Flat End Screwdriver A Push Latch Push at Angle shown Figure 1 7 Disassembly of the HEC P5000 Controller To a
4. from the computer to the HEC P5xxx See Programming Port in the HEC P5xxx Features sec tion 3 Create a small one rung program with a normally open direct contact and an output tied together You may also open a pre existing program for the HEC EZ LADDER version 1 0 4 4 and later includes a sub directory EZ LADDER Kernel Install Start Pro grams which has starter programs for each target to load the kernel Choose GetStarted HEC P5xxx dld XXX Model Number C 4 Click the Compile button 5 Click the xe Monitor button to change from the Edit to Monitor Mode m e 6 Click the T Connect button to connect to the target A dialog will appear automatically when no kernel is loaded If this dialog does not appear click PROJECT then BOOTLOADER 7 Click the BROWSE button and select the target s kernel by partnumber located by default at C Program Files EZ Ladder Kernel Refer to Figure 1 3 The following are kernel names and descriptions File Name Description To be Used on Partnumber HEC P5000 dat Kernel for HEC P5xxx HEC P5000 HEC P5100 8 Click the OPEN button to finish the kernel selection Make sure the correct kernel is chosen 9 Click the UPDATE TARGET button to install the kernel Refer to Figure 1 4 10 A dialog box will appear to show the status of the kernel installation This could take a couple of minutes to install 11 When the dialog windows close the installation is complete The HEC is re
5. output address DOTO DOT15 from the provided drop down menu Pulse Width Modulation Outputs As previously noted the HEC P5xxx provides 16 digital outputs of which 12 may be configured individually and exclusively as either digital outputs or pulse width modulation outputs therefore each output may only be used once as either digital output or PWM output As the DOT and PWM outputs are one and the same refer to Figure 2 15 for typical PWM DOT output connections PWM while group 2 consists of the base frequency for DOT6 DOT11 PWM6 to PWM11 This allows two frequencies to be used The PWM channels frequency control is divided into two groups Group 1 consists of the base frequency for DOTO DOT5 PWMO to as the base frequency for PWM outputs Before Pulse Width Modulation outputs may be used in the ladder diagram the Pulse Width Modulation Properties must be config ured in EZ LADDER Toolkit To Configure Pulse Width Modulation PWM Outputs in EZ LADDER Toolkit In EZ LADDER from the File Menu at the top click PROJECT then SETTINGS This will open the Project Settings Window The HEC P5000 was previously selected Click the PROPERTIES button The HEC P5000 Properties Window will open Under the Devices Internal section if the Pulse Width Modulator were installed it would be listed Click the ADD DEVICE button This will open the PLCHIP PXX Devices window Select PWM Pulse Width Modulator from the Devices pane See Figure 2 16
6. Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com Getting Started The HEC P5xxx Controller Overview The HEC P5XXX Harsh Environment Controller is a power upgrade to the Harsh Environment Controller product line The HEC P5XXX is based on the new P Series PLC on a Chip This new P Series PLC on a Chip combines the easy to use functionality of the original P Series PLC on a Chip with new exciting features and possibilities The HEC P5XXX boasts the following capabilities e 8to 32VDC Operation e 40 C to 80 C Operating Temperature Range e 16 Digital Inputs Sinking or Sourcing in groups e 3 Digital Inputs may be used as High Speed Counter Inputs with Software De bounce Control e 3 Digital Inputs may be used as a Quadrature Inputs with Software De bounce Control e 16 Digital Outputs rated 2 Amps DC 12 Support Pulse Width Modulation PWM e 6 Outputs Support Analog Current Feedback Monitoring e Dual Serial Port Capability RS232 RS485 e Ethernet Communications via Modbus TCP or Ethernet Port as Programming Port e Supports Multiple Modbus Ports e Internal Micro SD Card e Dual CAN Ports Support Divelbiss OptiCAN e 2 Analog Inputs Configured as 0 5VDC 0 10VDC or 0 20mADC 12 Bit Resolution e Two Programmable LEDs Power Monitor LED and Status Watchdog LED e Real Time Clock e Retentive Memory and EEPROM Storage e Input Power Monitor Some of the
7. NOTE 2 Program Language Ladder Logic Structured Text using Divelbiss EZ LADDER Toolkit Dimensions 6 3 Wide x 7 92 Length x 2 15 Tall Mounting Panel Mount using screws Type Enclosed Sealed Plastic Housing Storage Temp 40 85 C NOTE 1 2 Amps Total per point up to 55 C 8 Amps per output group See Figure 2 39 for maximum output current per output channel based on ambient temperature NOTE2 Operating Temperature is 40 80 C temperature rating for models without optional serial port and Ethernet port HEC P5100 For models with optional serial port and Ethernet port the standard operating temperature is 25 80 C Full temperature range is available for serial port and Ethernet port models consult factory for delivery and price Max Current Per Output Pair vs Temperature es Max Current Current Amps 0 20 40 Ambient Temperature C Figure 2 39 Maximum Current for Outputs based on Temperature HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 40 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com
8. Oje RANZ f PI1 Oj R Temp Fe Pl Oje InpuV AinScale f P2 MaxScalet P2 Figure 2 4 Example Power Monitor Program for AN7 Note Analog input 7 may be optionally configured to either be the input voltage to the controller power monitor or the load cur rent feedback from digital output 9 DOT9 PWMO9 The actual configuration is dependent upon how SW3 3 and SW3 4 are set The HEC P5xxx controller is designed to be panel mounted directly into most environments The HEC P5xxx mounts using 4 screws up to 1 4 in diameter Even though the HEC P5xxx can be submerged up to 3 meters in water ideally when mounting the HEC P5xxx controller the end with the connectors should be mounted downward as to promote moisture flow away from the connec tions Figure 2 5 illustrates the HEC P5xxx mounting hole locations and unit dimensions Digital Inputs The HEC P5xxx includes up to 16 on board digital inputs They are identified in EZ LADDER Toolkit and this manual as DINO through DIN15 The digital inputs are divided into four groups Each digital input will operate from 8VDC to 32VDC DINO DIN2 variables DINO DIN2 These three 3 inputs may be used individually as digital inputs or as high speed counter inputs These inputs may be config ured as NPN or PNP inputs based on the configuration switches of SW1 1 SW1 2 and SW1 3 When configured as NPN these inputs are pulled to the input power voltage HEC P5XXX User s Manua
9. com HEC P5XXX Features The power connected to the main logic power input of pins 1 and 2 on connector A may be monitored in the ladder diagram program This input power is optionally connected to analog input 7 AN7 The configuration switches SW3 3 must be set to ON and SW3 4 must be set to OFF for the power monitor to function Refer to the HEC P5xxx Internal Field Configuration Jumpers and Switches section of this manual for switch locations Input Power Monitor When configured as the power monitor the actual voltage is measured and is available in the ladder diagram program using variable AN7 AN7 is represented as an integer number and some logic must be added to the ladder diagram program to actually convert this raw analog value into volts Figure 2 4 is an example ladder diagram program to convert AN7 into volts AN7 Power Monitor Analog Input Integer Automatically created R AN2 X Variable used to store converted value of AN7 as a real variable type This is required for calculations R Temp Variable used to temporarily store values real variable type during calculations AinScale Variable used to store maximum analog input scale value real variable type The default value 4095 0 MaxScale Variable used to store the maximum input voltage scale real variable type The default value 40 0 InputV Scaled analog input representing Input Voltage real variable type HEAL DIY MULT EN EN EN AN fP
10. features listed above are based on the HEC P5XXX model purchased To gain the use of some features other features may become unusable Refer to the individual feature sections in this manual for details Configuring the HEC P5xxx Target in EZ LADDER Toolkit Before you can program and use the HEC P5XXX Controller it must be configured as a target within the EZ LADDER Toolkit For help with installing or using EZ LADDER please refer to the P Series EZ LADDER User s Manual 1 In EZ LADDER from the File Menu at the top click PROJECT then SETTINGS This will open the Project Settings Window Select HEC P5000 as the target from the choices Refer to Figure 1 1 Verify the correct COM Port is selected 2 Click the PROPERTIES button to the right side of the window The HEC P5000 Properties Window will open 3 Using the Drop down Part Number select box select the model of the HEC P5XXX Refer to Figure 1 2 With the model se lected the Devices pane will update with the currently selected features for the HEC P5XXX The ADD DEVICE button is used to install and configure additional features from those shown above such as Ports Real Time Clock etc For this example we will not add additional features at this time These features may be installed and configured by re visiting this window 4 Click OK This will close the HEC P5000 Properties window and save the model selected 5 Click OK This will close the Project Settings Window saving the
11. input the type is PNP When the switch is in the ON position for the counter timer the type is NPN Refer to the HEC P5xxx Internal Field Configuration Jumpers and Switches section of this manual for switch locations Figure 2 12 represents the timer counter input diagrams and dip switch settings for PNP current sinking and NPN open collector input devices DINO DINS EXAMPLE INPUT CIRCUIT Pulled up to Power In Open for of HEC P5XXX PNP Device Closed for NPN Device Dpto lsolation a d O Z NPN A Device Sinking Figure 2 12 DINO DIN5 Example Input Circuit Each of the DINO DIN1 and DIN2 inputs have software enabled de bounce circuitry This circuitry typically should be enabled when these inputs are being used as digital inputs When configured as counter timer inputs the de bounce should typically be disabled HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 21 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com l HEC P5XXX Features The de bounce circuits for each input DINO DIN2 are enabled and disabled by adding the variables coils named DINO_DEB DIN1_DEB and DIN2_DEB respectively When the variable coil is true the de bounce circuit is enabled and when the coil is false the de bounce circuit is disabled The variables DINO_DEB DIN1_DEB and DIN2 DEB are automatically created by EZ LADDER when the HEC P5000 targ
12. out Cable HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 14 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com HEC P5XXX Features Q The operating status of the HEC P5xxx can be determined the by Status LED When the Status LED is flashing at a slow rate ap proximately once per second then there is no ladder program executing When the Status LED is flashing at a fast rate several times per second a program has been loaded and it is executing If the Status LED appears to be flickering at a very fast rate the Kernel is not running Either the kernel needs to be installed or the controller reset to restart the kernel if it is installed Should the Status LED not flash at all first check the input power If the input power is correct and there is still no Status LED contact Divelbiss Technical Services Power PWR LED The HEC P5xxx provides a power green status LED that can be seen from the front of the unit When this LED is illuminated the in put power should be sufficient for the HEC P5xxx to operate If the LED is not illuminated the input power is too low for operation Programmable LEDs 11 12 The HEC P5xxx includes two user programmable LED indicators labeled I1 and 12 These indicators are controlled in the ladder diagram program by the variables PLED1 and PLED2 respectively These indicators may be used to identify any number o
13. 0000 AQOQOOQOO 000000 ETHERNET PORT AA Figure 2 31 Ethernet D CODED M12 Cable FRONT VIEW D CODED ETHERNET M12 ie ETHERNET d TX ETHERNET RX ETHERNET TX Figure 2 32 Ethernet D CODED M12 Cable Pin Out To Access the Bootloader 1 Verify the target has been configured see Configuring the HEC P5xxx Target in EZ LADDER Toolkit 2 Connect the Programming cable s from the computer to the HEC P5xxx See Programming Port in the HEC P5xxx Features sec tion 3 Create a small one rung program with a normally open direct contact and an output tied together You may also open a pre existing program for the HEC EZ LADDER version 1 0 4 4 and later includes a sub directory EZ LADDER Kernel Install Start Pro grams which has starter programs for each target to load the kernel Choose GetStarted_HEC 5xxx dld 4 Click the Compile button MON 5 Click the Monitor button to change from the Edit to Monitor Mode E m 6 Click the Connect button to connect to the target HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 36 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com HEC P5XXX Features 7 Using the menu click PROJECT then BOOTLOADER You may see a window momentarily while EZ LADDER connects to the HEC P5xxx s bootloader The Bootloader window will open See Figure 2 33 8 Click the TA
14. 2006 4 pdf PAGE 7 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com Getting Started Getting to Know the HEC P5xxx The HEC P5xxx Controller is designed to provide powerful programmable features in a tough harsh environment resistant package The main features of the HEC P5xxx are accessed via four 4 sealed Deutsch connectors that will be referred to as the A connector which is grey the B connector which is black the C connector which is green and the D connector which is brown Figure 1 5 illustrates the HEC P5xxx controller and it s standard features HARSH ENVIRONMENT MODULE HEC P5000 SERIAL Jivelbiss CORPORATION Fredericktown Ohio STS 12 11 PWR 0000 PLC Embedded Patent 7 299 099 WWW DIVELBISS COMI Figure 1 2 HEC P5xxx Illustration Each HEC connector is a Deutsch sealed connector with 12 connections each The mating connectors for the HEC P5000 are sold separately Connectors may be purchased as kits or cable assemblies may be purchased with the mating connectors pre wired with flying leads on one end In addition to connectors and kits for standard wiring programming break out cable assemblies may be purchased Refer to Figure 1 6 for the HEC P5xxx connectors A B C and D front view Pin Assignments HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 8 of 40 Divelbiss Corporation e
15. 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com Getting Started O O O O O O y OOOOOCO OOOOOCO OOOOOCO OOOOOCO OOOOOCO OOOOOCO OOOOOCO Figure 1 6 HEC P5xxx Connectors Front View A B C and D Connector Pin Functions CONNECTOR A GRAY CONNECTOR B BLACK Pind Input Power 8 32VDC Pini X DOT Group B Digital Output 6 PWM 6 Pin2 Power In Gnd Pin2 DOT Group B Digital Output 7 PWM 7 Pin3 Programming Port TX Pin3 DOT Group C Digital Output 8 PWM 8 Pin4 Programming Port RX Pin4 DOT Group C Digital Output 9 PWM 9 PinS CAN Port O Low PinS DOT Group C Digital Output 10 PWM 10 Pin6 CAN Port 0 High Pin6 DOT Group C Digital Output 11 PWM 11 Pin 7 CAN Port 1 Low Pin 7 DOT Group C Power Source Pin8 CAN Port 1 High Pin8 DOT Group D Digital Output 12 Pin9 Analog Input O Signal Pin9 DOT Group D Digital Output 13 Pin 10 Analog Input 1 Signal Pin 10 DOT Group D Digital Output 14 Pin 11 Digital Input O Counter Input O Pin 11 DOT Group D Digital Output 15 Pin 12 Digital Input 1 Counter Input 1 Pin 12 DOT Group D Power Source CONNECTOR C GREEN CONNECTOR D BROWN Pin1 Digital Input 2 Counter Input 2 Pin 1 DIN Group B Digital Input 12 Pin2 Digital Input 3 Quad Input A Pin2 DIN Group B Digital Input 13 Pin 3 Digital Input 4 Quad Input B Pin 3 DIN Group B Digital Input 14 Pin4 Digital Input 5 Quad Input Index Pin4 DIN Group B
16. Drop down Counter Mode select box Refer to Figure 2 10 The Pin should be set to the appropriate input TMR_CAPO O for DINO TMR CAP1 0 for DIN1 and TMR CAP2 0 for DIN2 If the number of input pulses exceeds the counter s upper counting limit it will wrap negative and begin counting towards zero This can be avoided by resetting the counter using the function block Timer When configured as a timer frequency or period may be measured of the signal to the input This signal is referenced to a 24MHz clock internally The operation is dependent on the configuration of the Timer Mode Select the Timer Mode using the provided Drop down Timer Mode select box Selecting Frequency will configure for mea suring the frequency of the signal on the input while selecting Period will configure for measuring period Refer to Figure 2 11 Click OK the number of times necessary to close and save all the configurations You should return to the EZ LADDER Tool kit s Edit workspace by clicking OK the number of times required Remember to Save your ladder diagram using the menu FILE and SAVE or SAVE AS To use DINO DIN3 in a ladder diagram you must use the TIMERCOUNTER function block This block when placed in the ladder diagram will provide a drop down menu to select which counter to use Refer to the P 13 EZ LADDER Toolkit User s Manual for details on the TIMERCOUNTER and other function blocks TmrCntr 0 is DINO TmrCntr1 is DIN1and TmrCntr2 is DIN2 H
17. EC P5XXX User s Manual Document 2012006 4 pdf INCL 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com HEC P5XXX Features mJ TmrCntrl Properties j Timer Mode Measure Frequency Pin Measure Period TMR_CAP1 0 Figure 2 11 Timer Counter Timer only EZ LADDER will allow the placement of contacts and or TIMERCOUNTER function in any program Therefore you can place and use the contacts and the TIMERCOUNTER function block in the same program with the same digital input selected This can be useful in some programs based on the application but it is important to know that input contacts will only operate at a fraction of the frequency that the TIMERCOUNTER function block can accurately read Q Please note Individually the DINO DIN2 inputs are designed to be used as a digital input only or high speed counter timer input Each high speed counter timer input can be field selected as either PNP current sinking or NPN to accept signals from open Y collector output devices The type of device is selected by internal dip switch settings on the HEC P5xxx To gain access to these dip switches the HEC P5xxx must be dis assembled See the Assembling Dis assembling the HEC P5XXX section of this manual The switches SW1 1 SW1 2 and SW1 3 configures the counter timer type of input for DINO to DIN2 respectively When the switch is in the OFF position for the counter timer
18. ER Um 23 Pulse Width Modulation OULU Sweciscesccsesncanyatsiocdnevesscsvasciscsasvesaciedenae 25 PWM Channel Load Current Feedback eese 26 O ee o IIA 27 Real Time Clock Model HEC P5000 eene 28 General Purpose Serial Ports Model HEC P5000 28 CAN Networking POTTS nata uni qi aset ru aud PROPERAT Pa doo due did Ta iade PESE 30 EEPROM Retentive Memory eeeeeeeee e eee emnes 33 SI Ca MEMON Tm 34 Ethernet Communications Model HEC P5000 35 Other HEC P5xxx Target Settings ccccsessseccseceesecscteeeeneeeeseesseeeeees 39 Structured Text SUDDODE anses irte LES FRE S ERE 39 Hardware Specifications areas trote 39 HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 1 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com Getting Started This section explains how to read this manual and understand the symbols and information that it contains To begin using your HEC P5XXX Controller you will need to follow these steps e Install EZ LADDER Toolkit if not already installed not included e Configure the HEC P5XXX Controller in the EZ LADDER Toolkit Project Settings e Using purchased or self made cables connect the Input Power and Programming Port e Write a ladder diagram program e Install the HEC P5XXX s Kernel if this is a new unit fro
19. HEC P5xxx Bootloader Figure 2 34 HEC P5xxx ETHERNET OPTIONS With the Ethernet Bootloader configuration complete to use Modbus as a master or slave the Ethernet Device and Modbus Mas ter Slave must be installed in the EZ LADDER diagram project and configured In EZ LADDER from the File Menu at the top click PROJECT then SETTINGS This will open the Project Settings Window The HEC P5000 was previously selected Click the PROPERTIES button The HEC P5000 Properties Window will open Under the Devices Internal section if the Ethernet port was installed it would be listed Click the ADD DEVICE button This will open the PLCHIP PXX Devices window Select Ethernet from the Devices pane See Figure 2 35 With Ethernet selected click OK The PLCHIP PXX Devices window will close and now the Ethernet port will be listed in the Devices Internal section For Modbus Click the ADD DEVICE button This will open the PLCHIP PXX Devices window again Select either Modbus Master or Modbus Slave from the Devices pane See Figure 2 36 Click OK The Modbus Slave or Modbus Master Properties window will open depending on the type of Modbus port you selected See Figure 2 37 Click the ADD button to open the Add Interface window See Figure 2 38 Select Ethernet from the Interface Drop down select box For Modbus Slave Set the Number of TCP Sockets The default is 1 For Modbus Master set the Response Timeout ms Click OK the number of times required to
20. M10 No Current Feedback DOT11 PWM11 No Current Feedback Output Group C Y Note Analog input 7 AN7 may be optionally configured to either be the input voltage to the controller power monitor or the load current feedback from digital output 9 DOT9 PWMO9 The actual configuration is dependent upon how SW3 3 and SW3 4 are set The configuration switches SW3 3 must be set to OFF and SW3 4 must be set to ON for load current feedback to be available on AN7 Refer to the HEC P5xxx Internal Field Configuration Jumpers and Switches section of this manual for switch locations The load current feedback read at analog inputs AN2 through AN7 are scaled to provide an approximate reading of 1000 per each 1 Amp of output load current This is approximate as values will vary channel to channel and controller to controller Reading Approximate Load Current 1000 1 Amp 2000 2 Amps 3000 3 Amps 4000 4 Amps Protection diodes are provided internally on the HEC P5xxx No additional external diodes are required for protection under normal application installations HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 26 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com HEC P5XXX Features The HEC P5xxx provides 2 on board 12 bit resolution analog inputs Each analog input will accept an input of 0 5VDC 0 10VDC or Y 0 20mADC The analog input ranges and types are configured
21. R is connected to an actual HEC P5xxx controller The kernel will only update from the SD Card when the kernel name dat matches the unit to update and the version of the kernel on the SD CARD is newer The ladder diagram program will only update from the SD Card when the name hex matches the program installed on the unit to update the kernel version is new enough to support the version the program was compiled with and the ladder diagrams version and build numbers are different This allows a program either newer or older to be installed updated from the SD Card if the con ditions set here are met To Access the Bootloader 1 Verify the target has been configured see Configuring the HEC P5xxx Target in EZ LADDER Toolkit 2 Connect the Programming cable s from the computer to the HEC P5xxx See Programming Port in the HEC P5xxx Features sec tion 3 Create a small one rung program with a normally open direct contact and an output tied together You may also open a pre existing program for the HEC EZ LADDER version 1 0 4 4 and later includes a sub directory EZ LADDER Kernel Install Start Pro grams which has starter programs for each target to load the kernel Choose GetStarted_HEC 5xxx dld 4 Click the Compile button MON 5 Click the Monitor button to change from the Edit to Monitor Mode a m da 6 Click the Connect button to connect to the target 7 Using the menu click PROJECT then BOO
22. RGET OPTIONS button The Target Options window will open There will be three tabs in this window Click the ETH ERNET OPTIONS tab See Figure 2 34 9 To enable the Ethernet click the Ethernet Enabled check box 10 Enter a Host Name for this HEC P5000 Controller in the Host Name box This name is used to identify this controller on an Ethernet network 11 It is recommended that the DHCP Enabled and IP v4 auto Config check boxes be left in their default condition checked This al lows the HEC P5000 to get its IP Internet Protocol from the network DHCP server If you require a static IP address un check both boxes and enter the static IP information in the Static IP Options section 12 When all the Ethernet Options are configured click OK to save the settings of the Ethernet and close the Target Options win dow Click the RESTART TARGET button to exit the bootloader and restart the HEC P5xxx urations by changing the COM serial port in the Target Settings to Eth xxxxxx To use the Ethernet Port for Modbus TCP additional Y The HEC P5000 s Ethernet Port is now enabled It can be now used to communicate to EZ LADDER Toolkit without additional config configuration is required ad Bootloader a Target Options Ethemet Options USB Options SD Card Options MAC 00 50 C2 E2 00 8F V Ethemet Enabled V DHCP Enabled Host Name PS5proto V IP v4 Auto Config Figure 2 33
23. TLOADER You may see a window momentarily while EZ LADDER connects to the HEC P5xxx s bootloader The Bootloader window will open See Figure 2 29 8 Click the TARGET OPTIONS button The Target Options window will open There will be three tabs in this window Click the SD CARD OPTIONS tab See Figure 2 30 9 Check boxes are provided to configure the SD Card features Check the boxes that apply to your needs SD Card Enabled This enables the SD Card functionality This box must be checked if the SD Card features are to be implemented HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 34 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com HEC P5XXX Features Allow Kernel Updates When selected this box will cause the kernel to be updated to the kernel on the SD card if present This only occurs on the HEC P5xxx power up Allow LD Updates When selected this box will cause the compiled Ladder Diagram Project to be updated to the Ladder Diagram Project on the SD card if present This only occurs on the HEC P5xxx power up 10 When all the SD Card features are configured click OK to save the settings of the SD Card and close the Target Options window Click the RESTART TARGET button to exit the bootloader and restart the HEC P5xxx Curent Target Settings Target Bootloader Version Kemel Version Serial Number Upload File Filename Ta
24. Width Modulator SD Card Serial Print Hardware Timer Counter UART2 UART3 ad PLCHIP Pxx qei Properties Quadrature Mode Flags Non quadrature A DIR B CLK C Invert Direction x2 E Invert Index e x4 E Index Resets Position Counter Index Gating Pass the index when PHA 1 and PHB 0 otherwise block index Pass the index when PHA 1 and PHB 1 otherwise block index Pass the index when PHA 0 and PHB 1 otherwise block index Pass the index when PHA 0 and PHB 0 otherwise block index Maximum Position Variable Names PHA Digital Filter Name GEI IDX QEI PHA QEI PHB PHB Digital Filter INA Digital Filter Figure 2 13 Installing Quadrature Encoder Interface Figure 2 14 Quadrature Encoder Properties The switches SW1 4 SW1 5 and SW2 1 configures the type of input for DIN3 to DIN5 respectively When the switch is in the OFF position the type is PNP When the switch is in the ON position the type is NPN Refer to the HEC P5xxx Internal Field Configuration Jumpers and Switches section of this manual for switch locations Figure 2 12 represents the timer counter input diagrams and dip switch settings for PNP current sinking and NPN open collector input devices Digital Outputs The HEC P5xxx provides 16 on board digital outputs They are identified in the EZ LADDER Toolkit and this manual as DOTO DOT15 All HEC P5xxx outputs are sourcing Twelve 12 of the out
25. X Features The HEC P5xxx is programmed using its Programming Port COM 0 This RS232 serial port is only to be used for programming using Divelbiss EZ LADDER Toolkit software This is not a general purpose port and may not be used in any other capacity than pro gramming the controller itself The baud rate is factory set and cannot be changed between the HEC P5xxx and EZ LADDER Toolkit The HEC P5xxx Programming Port is wired through the A Connector using pins 2 3 and 4 The Programming Port requires a NULL MODEM cable or connection to the computer to establish communications between EZ LADDER Toolkit and the HEC Controller Figure 2 1 represents a direct wiring connection from the PC to the HEC P5xxx controller This connection may be made by manufacturing your own programming cable The mating connector for the HEC P5xxx Program ming Port may be purchased as a kits Requires special Crimp Tool or a complete pre wired assembly for the A Connector HEC P100 A break out cable set is available to allow in line connections to the HEC P5xxx s programming port while still connecting I O devices wired with an HEC P100 Figure 2 1 shows the use of a break out cable CONNECT TO PC SERIAL PORT Y na TX AND RX MUST BE E AS SWAPPED TO PC PORT TX RX COMMO Ni BO wjojloj d 9 Figure 2 1 Programming Port Direct Connection a SERIAL PORT BREAK OUT CABLE TO CONTROL DEVICES Figure 2 2 Programming Port Break
26. a 3 kK O Or OO Figure 2 15 Typical Digital Output Connections HEC P5XXX User s Manual Document 2012006 4 pdf Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com PAGE 24 of 40 HEC P5XXX Features Each output can drive a load up to maximum current rating listed in the specifications section resistive and includes an automatic over current shutdown safety In the event an over current condition exists the output will shut down This shut down condition is reset when the output is turned off set to false in the ladder diagram Each output requires a minimum load to operate correctly Depending upon the device connected to an output a minimum load resistor may be required If the output is ON or true regardless of the ladder diagram program connect a 470Q to 1KQ load from the output to input power common 12 of the digital outputs may be configured and used as a digital output or as a Pulse Width Modulation PWM Each output may only be used as either digital output or PWM output only For information on using digital outputs as PWM outputs refer to the Pulse Width Modulation Outputs Section of this manual To control a digital output in a ladder diagram place and connect the appropriate coil for your needs The DIRECT COIL and INVERT ED COIL functions are used to control digital outputs in the ladder diagram When placing the coil verify you select the correct
27. ady to use and may be connected to and programs may be downloaded HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 6 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 1 800 245 2327 e www divelbiss com Getting Started Current Target Settings Target Bootloader Version Kemel Version Serial Number Upload File me Filename ie v Divelbiss Corporation EZ Ladder Auto Kernel F Search P My Organize aaa Views fi New Folder Name Date modified Type Size amp 9 EnhancedBabyBear 128k dat amp 9 EnhancedBabyBear 256k dat amp 9 HEC 1000 dat amp 9 HEC 1100 dat amp 9 HEC 1200 dat amp 9 HEC 1500 dat amp 9 HEC 2000 dat amp 9 HEC 4000 dat Di Computer amp 9 HEC HML dat 9 HEC P5000 dat Pictures amp CM MB 100 dat Pcs 1XX dat E Music B pcs 2XX dat amp 9 pLCHIP M2 1280X dat jj Recently Changed EP pLCHIP M2 2560X dat GP pLCHIP M2 2562X dat E Searches G9 pPLCHIP M2 2563X dat G9 PLCHIP_M2_5123X dat Public 9 PLCHIP P13 5122X dat E solves IT 5I 100 dat solves IT SI 110 dat amp 9 vB 1000 dat Favorite Links E Documents BE Desktop w Recent Places Folders A File name HEC P5000 dat Kemel Update Files dat Figure 1 3 Selecting the Kernel File HEC_P5000 1 1 0 6 0 0 0 18 10028534 Browse Figure 1 4 Updating the Kernel Target HEC P5XXX User s Manual Document 201
28. analog input In addition when configur Y ing for 0O 20mADC current the voltage selector dip switch 0 5V or 0 10V should be set for 0 5VDC or OFF Failure to configure prior to connecting or improper configuration may result in incorrect readings or even damage to the HEC P5xxx controller ANO AN1 0 01uF 100K Close for 0 10V INPUT 100K Open for Voltage 49 SW2 2 or Close for 0 20mA SW2 4 A To PLC on a Chip 1K Analog Input O or 1 249 100K ie s Y 5 e O e Wr V Figure 2 18 Typical Analog Input Circuit HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 27 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com HEC P5XXX Features Real Time Clock Model HEC P5000 The HEC P5000 includes a Real Time Clock The real time clock after being set provides the Month Day Day of the Week Year Hour Minute and Second The real time clock maintains time when power is off as long as the internal lithium battery is good The real time clock device is automatically installed and enabled when the HEC P5000 target is selected The battery for the real time clock generally has years of life before replacement is needed Should the battery need to be replaced replace the battery with the same type and size as the original Contact product support for information about changing the bat tery To use the Real Time Clock functi
29. d frequencies set click OK the number of times required to close each of the open windows until you have returned to the main EDIT workspace Remember to Save your ladder diagram using the menu FILE and SAVE or SAVE AS Due to limitations of hardware the Desired Frequency and Actual Frequency may vary The Actual Frequency will be the closest attainable frequency to the entered Desired Frequency To operate PWM outputs use the PWM and PWM FREQ function blocks For details on using function blocks refer to the P Series EZ LADDER User s Manual PWM Channel Load Current Feedback For each of the three groups of outputs that support Pulse Width Modulation PWM two of the four outputs have load current feedback capability This capability is provided through analog inputs AN2 through AN7 Since only two outputs per group are cur rent feedback capable I O assignments should be planned to allow for any current readings required Output Group A DOTO PWMO Current Feedback using AN2 variable DOTO IFEED DOT1 PWM1 Current Feedback using AN3 variable DOT1 IFEED DOT2 PWM2 No Current Feedback DOT3 PWMS3 No Current Feedback Output Group B DOT4 PWM4 Current Feedback using ANA variable DOTA IFEED DOTS PWMS5_ Current Feedback using AN5 variable DOT5 IFEED DOT6 PWM6 No Current Feedback DOT7 PWM7 No Current Feedback DOT8 PWM8 Current Feedback using AN6 variable DOT8 IFEED DOT9 PWM9 Current Feedback using AN7 variable AN7 DOT10 PW
30. erial Print Serial Print Hardware Timer Counter TimerCounter Hardware Timer Counter UART2 UART2 UART2 UART3 UART3 UART3 Figure 2 26 Install CAN Port Device Figure 2 27 Install OptiCAN HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 32 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com HEC P5XXX Features The HEC P5xxx utilizes the FM24CLO4 FRAM integrated circuit FRAM technology to provide non volatile memory This memory is used to store values using the EEPROM READ and EEPROM WRITE function blocks to memory and also is where variables config ured as retentive are stored on loss of power Retentive memory is where values of variables that are marked as retentive are automatically saved when loss of power to the HEC P5xxx is detected When power is restored these variables are reloaded with the value that was stored automatically memory The amount of retentive memory may be configured in the Project Settings menu for the project All FRAM memory not configured as retentive will be configured as user memory The default configuration for a new EZ LADDER project for the HEC P5xxx is 100 bytes of retentive memory and 380 bytes of user memory The HEC P5xxx supports 480 bytes of non volatile memory This memory is split between the retentive memory and the user To configure the amount of retentive memory In EZ LADDER fr
31. et is selected Deleting the de bounce variables from the program will cause the de bounce circuit to be enabled This will reduce the frequency the input can read resulting in inputs not operating properly depending upon the application Quadrature Input As was noted in the Digital Inputs Section three of the digital inputs DIN3 DIN4 DINS may be utilized together as a quadrature input that can accept signals from a quadrature encoder When configured as quadrature inputs DIN3 DIN4 and DIN5 as CHA CHB and INDEX respectively can accept frequencies up to 100KHz Each input is optically isolated to promote noise immunity Each of the DIN2 DIN3 and DIN4 inputs have software enabled de bounce circuitry This circuitry typically should be enabled when these inputs are being used as digital inputs When configured as quadrature inputs the de bounce should typically be disabled The de bounce circuits for each input DIN3 DIN5 are enabled and disabled by adding the variables coils named DIN3_DEB DIN4_DEB and DIN5_DEB respectively When the variable coil is true the de bounce circuit is enabled and when the coil is false the de bounce circuit is disabled The variables DIN3_DEB DIN4_DEB and DIN5_DEB are automatically created by EZ LADDER when the HEC P5000 target is selected O Deleting the de bounce variables from the program will cause the de bounce circuit to be enabled resulting in inputs not operating properly Prior to using
32. evices SW5 OFF CAN 1 Figure 2 25 CAN Port Terminations and Switches To use the CAN ports in an EZ LADDER diagram project the actual CAN port Device must be installed In EZ LADDER from the File Menu at the top click PROJECT then SETTINGS This will open the Project Settings Window The HEC P5000 was previously selected Click the PROPERTIES button The HEC P5000 Properties Window will open Under the Devices Bus section if any CAN ports are installed they would be listed Click the ADD DEVICE button This will open the PLCHIP PXX Devices window Select either CANO or CAN 1 from the Devices pane See Figure 2 26 When the required CAN port has been selected click OK the number of times required to close the windows and return to the EDIT workspace Remember to Save your ladder diagram using the menu FILE and SAVE or SAVE AS If using OptiCAN for CAN communications It must be installed also using the same technique as the CAN port but by selecting OptiCAN See Figure 2 27 ud PLCHIP PXX Devices ud PLCHIP PXX Devices CAN 0 CAN1 CAN 1 Ethemet Modbus Master Modbus Master Modbus Slave Modbus Slave CAN Divelbiss OptiCAN OptiCAN Divelbiss OptiCAN Pai Intemal PLCHIP PXX 4K EEProm PLCHIP Pxx eeprom Intemal PLCHIP PXX 4K EEProm Pxx gei Intemal Quadrature Encoder Interface PLCHIP Pxx aei Intemal Quadrature Encoder Interface d SD Card SD CARD SD Card ial Pri Serial Print S
33. f condi tions of the HEC P5xxx controller or application Input Power The HEC P5xxx may be powered using 8 32VDC The power is connected on the A Grey connector using pins 1 V and 2 V Common The power connected to these pins should be of sufficient current to source power for the controller logic communica tion ports analog and counter inputs A typical input power wiring diagram is shown in Figure 2 3 Source power for the inputs is divided into two groups of five 5 inputs Each group may be configured for sinking or sourcing and thus each group has an individual common pin that must be connected separately from the main controller power Source power for the outputs is divided into four groups of four 4 outputs Each output group has an individual power source pin that must be connected separately from the main controller power While all the output power pins are separate from the main controller power the output common ground for all connected loads must be tied to the same common ground connected to pin 2 of the main controller power Failure to do this could result in unwanted operation or even damage the HEC P5xxx controller CONTROLLER MAIN LOGIC POWER INPUT 8VDC to 32VDC Figure 2 3 Input Power Connections Main Logic HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 15 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 1 800 245 2327 e www divelbiss
34. has been set click OK the number of times required to close the windows and return to the EDIT workspace Remember to Save your ladder diagram using the menu FILE and SAVE or SAVE AS HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 33 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 1 800 245 2327 e www divelbiss com l HEC P5XXX Features The HEC P5xxx can accept a Micro SD Flash card This card currently may be used to install update the HEC P5000 kernel that you installed earlier see the Loading the HEC P5xxx Kernel section of this manual The user ladder diagram compiled project can also be installed and updated using the SD Card Installation update of Kernel and Ladder Diagram project will only occur on power up of the HEC P5xxx when the SD Card is configured to do so For SD Card updates to work the SD card must have a directory named update In this update directory the kernel dat and the ladder diagram compiled programs hex must be placed for the SD card to update the HEC P5xxx Future expansion of SD Card features will included data logging to the SD Card This will be detailed in the P Series EZ LADDER User s Manual Before the SD Card may be used to install or update the kernel or EZ LADDER compiled project to the HEC P5xxx it must be config ured to do so This configuration must be done in the Bootloader screen The Bootloader screen will only operate if EZ LADDE
35. ion for this particular counter timer input The choices are Free Running Timer The input when configured as a Free Running Timer actually has no input functionality external to the HEC P5xxx The counter timer channel on the PLC on a Chip uses an internal 1MHz reference clock and will count up at a 1 micro second resolution The TimerCounter function block in EZ LADDER provides additional controls for the timer counter functional ity When the Free Running Timer mode is selected no other configuration is required Refer to Figure 2 9 HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 19 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 1 800 245 2327 e www divelbiss com HEC P5XXX Features Y When the free running timer reaches it s upper counting limit it will wrap negative and begin counting toward zero This can be avoided by resetting the timer using the function block ud TmrCntr Properties j al TmrCntr2 Properties Free Running Timer Mode Counter Mode 1 MHz reference clock Rising Edge Figure 2 9 Timer Counter as Free Running Timer Figure 2 10 Timer Counter as Counter Counter When configured as a counter this input will count in the up direction The Counter Mode can be configured for Rising Edge Falling Edge or Both Edges The number of counts per pulse on the input depends on the Counter Mode configura tion Select the Counter Mode using the provided
36. l CAN Port Connections HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 31 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com l HEC P5XXX Features As shown in Figure 2 22 when devices are at the end of the communications lines 120 ohm terminating resistors are required for correct functionality The HEC P5xxx includes optionally enabled terminating resistors for each CAN port 0 and 1 The enable for each terminating resistor is found on the internal switches SW4 and SW5 for CAN port O and 1 respectively To gain access to switches the HEC P5xxx must be dis assembled See the Assembling Dis assembling the HEC P5xxx section of this manual nating resistor for CAN 1 set SW5 to ON turning it off disables the terminating resistor Refer to Figure 2 25 Refer to the HEC To enable the terminating resistor for CAN O set SW4 to ON turning it off disables the terminating resistor To enable the termi P5xxx Internal Field Configuration Jumpers and Switches section of this manual for switch and jumper locations TF cee A E NE ze DAME CAN CHANNEL 0 CAN CHANNEL 1 INTERNAL to HEC P5xxx INTERNAL to HEC 150x E R SWA SW5 SW4 ON CAN 0 120 Ohm ENABLED SW5 ON CAN 1 120 Ohm ENABLED SWA OFF CANO 120 Ohm DISABLED 120 Ohm DISABLED 120 Ohm 120 Ohm To Other CAN Devices To Other CAN D
37. l Document 2012006 4 pdf PAGE 16 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 1 800 245 2327 e www divelbiss com HEC P5XXX Features 2 16 a ATTA SSS Y 5 67 Figure 2 5 HEC P5xxx Mounting amp Dimensions DIN3 DINS variables DIN3 DIN5 These three 3 inputs may be used individually as digital inputs or together as a quadrature input These inputs may be configured as NPN or PNP inputs based on the configuration switches of SW1 4 SW1 5 and SW2 1 When configured as NPN these inputs are pulled to the input power voltage DIN6 DIN10 variables DIN6 DIN10 These five 5 inputs are dedicated as digital inputs only This group has it s own common pin allowing this entire group to be configured as sinking or sourcing based on the wiring DIN11 DIN15 variables DIN11 DIN15 These five 5 inputs are dedicated as digital inputs only This group has it s own common pin allowing this entire group to be configured as sinking or sourcing based on the wiring As digital input groups DIN6 DIN10 and DIN11 DIN15 are separate groups with individual common pins these two groups can operate at different voltage between 8VDC and 32VDC To read a digital input status in a ladder diagram place and connect the appropriate contact for your needs The DIRECT CONTACT and INVERTED CONTACT functions are used to read digital inputs in the ladder diagram When placing the con
38. l port The serial port is configured here Structured Text Support The HEC P5xxx controller with most P Series based PLC on a Chip products supports the use of Structured Text in EZ LADDER Tool kit As Structured Text has its own unique language and rules refer to the P Series EZ LADDER User s Manual for details on language and implementation of structured text in an EZ LADDER project Hardware Specifications Processor Memory SD Card Serial Ports Networking Digital Inputs Timers Counters Quadrature Counter Digital Outputs Real Time Clock LED Indicators HEC P5XXX User s Manual P Series PLC on a Chip 256K Flash 32K RAM For User Programs 480 Bytes FRAM for User Variable Storage and Retentive features 4000 bytes PLC on a Chip Internal EEPROM storage Supports standard SD or SDHC cards Currently only for kernel program updates 1 Programming Port Auto Baud Rate Detection 2 Multipurpose Ports Field Selectable as RS232 or RS485 HEC P5000 only 2 CAN Ports support J1939 NMEA 2000 and OptiCAN 1 Ethernet Port HEC P5000 only Supports Modbus Master Slave and Modbus TCP Ethernet Serial only 16 Digital Inputs optically isolated Divided into 1 group of 6 2 groups of 5 8 32VDC Operation 6 Inputs may operate as timers or counters Selectable as NPN or PNP Selectable De bounce 10 Remaining Inputs 2 groups of 5 Selectable as Sink or Source 3 Channels Count Up Frequency Peri
39. led cable with an industry standard M12 connector Figure 2 19 illustrates the general purpose serial port cabling For cable pin assignments refer to Figure 2 20 For jumper configura tions see Figure 2 21 Based on the need of RS232 or RS485 the 5 pin M12 cable assembly will differ Follow the pin outs for the type of interface re quired Next using the jumper assignments configure the jumpers for either RS232 or RS485 for each port The only remaining item is setting the type in EZ LADDER Mobus or Serial Printing settings M GENERAL PURPOSE SERIAL PORT CABLE ETHERNET PORT Figure 2 19 General Purpose Serial Ports Cable HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 28 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com V HEC P5XXX User s Manual Document 2012006 4 pdf HEC P5XXX Features To configure the jumpers it will be necessary to dis assemble the HEC P5000 controller See the Assembling Dis assembling the HEC P5xxx section of this manual When using RS485 internal terminating resistors my be used by configuring the switches SW3 1 and SW3 2 for Serial Port A and Se rial Port B respectively When SW3 1 or SW3 2 are ON the terminating resistor s are enabled When SW3 1 or SW3 2 are OFF the terminating resistor s are disabled Refer to the HEC P5xxx Internal Field Configuration Jumpers and Switches section of thi
40. m the factory e Download and run the program on the Controller Refer to the appropriate sections of this manual for details on the above items WARNING The HEC P5XXX Controller as with other programmable controllers must not be used alone in applications which could be hazardous to personnel in the event of failure of this device Precautions must be taken by the user to provide mechanical and or electrical safeguards external to this device This device is NOT APPROVED for domestic or human medical use Getting Started In this manual the following conventions are used to distinguish elements of text BOLD Denotes labeling commands and literal portions of syntax that must appear exactly as shown italic Used for variables and placeholders that represent the type of text to be entered by the user SMALL CAPS Used to show key sequences or actual buttons such as OK where the user clicks the OK button In addition the following symbols appear periodically in the left margin to call the readers attention to specific details in the text Y Warns the reader of a potential danger or hazard associated with certain actions Y Appears when the text contains a tip that is especially useful Indicates the text contains information to which the reader should pay particularly close attention All Specifications and Information Subject to Change without Notice HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 3 of 40
41. n See Figure 2 23 The RTS GPIO Pin is only used for RS485 If using RS485 click the drop down and select the only pin listed This is used for RS485 tranmsit control The Enable ST Buffers check box identifies to enable the structured text UART buffers This should only be used when using struc tured text for communications When enabled the buffer size must be completed When complete click OK the number of times required to close the windows and return to the EDIT workspace The serial port is now ready to be used Remember to Save your ladder diagram using the menu FILE and SAVE or SAVE AS a PLCHIP PXX Devices ad UART2 Properties Parity Modbus Master Data Bits Modbus Slave OptiCAN Divelbiss OptiCAN Stop Bits PLCHIP_Pxx_eeprom Intemal PLCHIP PXX 4K EEProm PLCHIP Pxx qei Intemal Quadrature Encoder Interface SD CARD SD Card Baud Rate Serial Print Serial Print TimerCounter Hardware Timer Counter es ai tL UART3 UART3 RTS GPIO Pin Enable ST Buffers Figure 2 22 Add UART Serial Port Device Figure 2 23 UART Serial Port Properties To use Modbus with the Serial Port UART as either master or slave the Modbus feature must be installed similarly as the actual UART was just installed As modbus is a software protocol it is not covered in detail in this hardware manual For details on using Modbus networking refer to the P Series EZ LADDER User s Manual Additional serial functi
42. number is selected in the Drop down Part Number select box Under the Devices Internal section if the counter timer were installed it would be listed To install the counter timer click the ADD DEVICE button From the available devices select TimerCounter and click OK Refer to Figure 2 7 r a PLCHIP PXX Devices a Timer Counter Properties Devices Name Description CAN1 CAN 1 Ethemet Ethemet Modbus Master Modbus Master Modbus Slave Modbus Slave OptiCAN Divelbiss OptiCAN PLCHIP_Pxx_eeprom Intemal PLCHIP PXX 4K EEProm PLCHIP Pxx gei Intemal Quadrature Encoder Interface PLCHIP Pxx rtc Intemal PLCHIP PXX Real Time Clock PWM Pulse Width Modulator SD CARD SD Card Serial Print Serial Print UART2 UART2 UART3 UART3 Mame Mode ui Select Timer Counter Channel Name TmrCntr1 TmrCntr2 Variable Names Name Figure 2 7 Installing Timer Counter Device Figure 2 8 Selecting Counter Timer Channel The Timer Counter Properties window will now appear From this window the actual counter timer channel hardware will be installed Click the ADD button The Select Timer Counter Channel window will appear From the list provided select the counter timer channel to use Refer to Figure 2 8 When selected click OK 1 TmrCntrO is DINO 2 TmrCntri is DIN1 3 TmrCntr2 is DIN2 The Tmr Cntr Channel properties window will now open Using the Drop down Mode select box select the type of operat
43. o9 as 229 um C z z ul 3 CO a zo oF gt Ez gt ld no 3 O O O a c zo O Q gt st CN OLO O OQ c5 cz S OOO oa x Ss og 210 e age 52 zzoan aa Zo v za No nO zZ On a Oo V 7 12VDC Figure 2 6 Typical Digital Input Connections HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 18 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com HEC P5XXX Features As was noted in the Digital Inputs Section three of the digital inputs DINO DIN1 DIN2 may be utilized as high speed counters These counters may be configured in EZ LADDER to operate as an up counters free running timers and triggered timers These inputs will accept a maximum frequency of 100KHz and are optically isolated to promote noise immunity These inputs are ideal to anywhere that high speed counting is required such as calculating RPM batch counting and more Prior to using the high speed counter timer inputs in the ladder diagram the counter timer functionality must be installed and configured in the ladder diagram s Project Settings The first step to installing the counter timer functionality is to install the TimerCounter feature Using menu click PROJECT then SETTINGS to open the Project Settings window With the target HEC P5000 selected still click the PROPERTIES button The HEC P5000 Properties Window will open Verify the proper actual part
44. od 100KHz Max DINO DIN2 X1 X4 Up Down 3 Inputs Channels A B and Index 100KHz Max DIN3 DIN5 16 Digital Outputs Divided into 4 groups of 4 Sourcing 8 32VDC Operation Over current Protected All outputs rated up to 2 Amps Maximum 9 7 8 Amps Max per group Pulse Width Modulation 12 Outputs 1Hz to 1KHZ operating range Each group has independent power source pin Output Voltage of group Voltage on this pin Group A DOTO DOT3 On Off or PWM 2 Outputs have load current feedback Group B DOT4 DOT7 On Off or PWM 2 Outputs have load current feedback Group C DOT8 DOT11 On Off or PWM 2 Outputs have load current feedback Group D DOT12 DOT15 On Off Only Time of Day Day Month Year amp Day of Week Field selectable battery enable disable 1 Power OK 1 Status 2 User Programmable Document 2012006 4 pdf PAGE 39 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com l HEC P5XXX Features Analog Inputs Total 8 Channels 12 bit Resolution 2 External Channels field selectable as 0 20mADC 0 5VDC or 0 10VDC 5 Internal Channels dedicated output load current feedback 1 Internal field selectable as load output current feedback or power monitor Input Voltage 8 32VDC with internal input power monitor using AN7 based on configuration Input Current 12VDC Input 85mA no communications enabled Operating Temp 40 80 C SFE
45. om the File Menu at the top click PROJECT then SETTINGS This will open the Project Settings Window The HEC P5000 was previously selected Click the PROPERTIES button The HEC P5000 Properties Window will open Under the Devices Bus section highlight by clicking the FM24XXX device it may be necessary to expand the I2C and I2CO items to find the FM24XXX Click the PROPERTIES button This will open the Ramtron FM24xxx Properties window The following items are preset for the HEC P5xxx and should not be changed Changing these items will result in loss of FRAM func tionality including EEPROM and retentive See Figure 2 28 e Thel2C drop down select box is preset for I2CO Do not change this setting e The Part Number drop down select box is preset for FM24CL04 for the FRAM device Do not change this setting e The Device Select box is preset for 0 Do not change this setting The Size shown is the total number of bytes on the FRAM device Some memory is used by the HEC P5xxx internally and is not usable by the user memory or retentive To set the number of Retentive bytes type in a new number in the Num Retentive Bytes box As this number changes the Num User Bytes automatically recalculates and is updated The maximum amount of all memory is 480 bytes AC Port Part Number Device Select A2 AD Size Num Retentive Bytes Num User Bytes OK Figure 2 28 Configure Retentive Memory When the amount of retentive bytes
46. on blocks are used with the Mod bus TCP Ethernet port in the ladder diagram project More on Modbus and the required function blocks is detailed in the P Series EZ LADDER User s Manual PAGE 38 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com HEC P5XXX Features Other HEC P5xxx Target Settings In addition to the features and options already identified there are additional features and function blocks available to the HEC P5xxx controllers Some of these features require additional installations of devices in the Project Settings similar to many of the devices already discussed The following are items that must be configured in the HEC P5xxx Project Settings Properties Dialog OptiCAN PLCHIP_Pxx_eeprom Serial Print Properties This is where OptiCAN Communications is enabled and configured Refer to the OptiCAN section of the P Series EZ LADDER Manual In addition to the FRAM EEPROM user memory additional EEPROM memory is available on the P Series PLC on a Chip itself This is where the device for the on board EEPROM is loaded and configured The on board chip EEPROM provides 4000 bytes of storage The EEPROM READ and EEPROM WRITE function blocks provide a drop down selection box to select which EEPROM storage to use This is used if the Serial Print function block is to be used to transmit data to an external device using a General Purpose Seria
47. onality in a ladder diagram several function blocks are available To read current Time or Date use the GETTIME and GETDATE function blocks To set the current Time or Date use the SETTIME and SETDATE function blocks For details on using function blocks refer to the P Series EZ LADDER User s Manual able the battery by configuring the battery switch SW3 5 to ON located on dip switch block SW3 To gain access to these dip switches the HEC P5xxx must be dis assembled See the Assembling Dis assembling the HEC P5xxx section of this manual Refer to the HEC P5xxx Internal Field Configuration Jumpers and Switches section of this manual for switch locations Q The HEC P5xxx ships from the factory with the real time clock battery disabled SW3 5 OFF to conserve battery life You must en Failure to enable the battery will result in loss of actual date and time when unit is not powered General Purpose Serial Ports Model HEC P5000 The HEC P5000 includes two factory installed field selectable RS232 RS485 serial ports These serial ports are general purpose se rial ports that supports serial printing RS232 only This port may also be used to communicate using Modbus as a master or slave RS232 or RS485 To read a serial port input other than Modbus Structured Text must be used For details on using Structured Text refer to the P Series EZ LADDER User s Manual The general purpose serial ports connections are achieved by a factory instal
48. onality is available when using Structured Text or details on using Structured Text refer to the P Series EZ LADDER User s Manual CAN Networking Ports The HEC P5xxx provides two on board CAN bus interface ports These CAN ports may be used for additional communications and networking using J1939 NMEA 2000 and OptiCAN Networking For details on using and implementing these networks refer to the P Series EZ LADDER User s Manual HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 30 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 1 800 245 2327 e www divelbiss com HEC P5XXX Features The on board CAN ports are CANO and CAN1 To use the HEC P5xxx s CAN ports for OptiCAN it will be necessary to install the CAN Port s needed and configure certain parameters nections Ideally it is best to use the wiring requirements and practices for as needed for OptiCAN communications For details on The CAN ports should be wired according to established practices for CAN networks Figure 2 24 illustrates typical CAN Port con requirements for OptiCAN networking refer to the P Series EZ LADDER User s Manual Tm A fs Jed paysimy papjaiys eq pinoys ajqeo C1 CONTROLLER 2 CONTROLLER 3 00Agau ay JO pue ay je JI euinbai jou SBOP XxxxG d D3H pug yoe3 je Jojsisoy Burjeuruua esn O JO SISAJ euJajul aney jou saop 3IN3P UBYM paljeysul aq juo pinoys Figure 2 24 Typica
49. puts will operate as either ON OFF or as Pulse Width Modulation PWM outputs The HEC P5xxx outputs are divided into four groups of four outputs each Three groups may operate as PWM or ON OFF outputs while the fourth group operates only as ON OFF outputs They are divided as follows Group A DOTO DOT3 ON OFF or PWM variables DOTO DOT3 Group B DOT4 DOT7 ON OFF or PWM variables DOT4 DOT7 Group C DOT8 DOT11 ON OFF or PWM variables DOT8 DOT11 Group D DOT12 DOT15 ON OFF ONLY variables DOT12 DOT15 Each group of outputs have their own designated power source pin This allows each output group to operate individually on differ ent voltages Though each output group has a different power source pin the loads connected to all HEC P5xxx outputs must be connected to O the same ground as the HEC P5xxx s input power on the A connector Failure to connect all the outputs to the same ground may result in undesired operation or may even damage the HEC P5xxx controller Refer to Figure 2 15 for typical connections for the HEC P5xxx outputs Protection diodes are provided internally on the HEC P5xxx No additional external diodes are required for protection under normal application installations PAGE 23 of 40 Document 2012006 4 pdf HEC P5XXX User s Manual Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com c o a D LO C
50. return to the EZ LADDER Toolkit s Edit workspace by clicking OK the number of times required Remember to Save your ladder diagram using the menu FILE and SAVE or SAVE AS To use DINO DIN3 in a ladder diagram as a quadrature encoder interface you must use the CNTR_PXX_QEI CNTR_PXX_QEI_CMP or CNTR_PXX_QEI_VEL function blocks Each block has a specific function and relationship to the quadrature encoder interface inputs Refer to the P 13 EZ LADDER Toolkit User s Manual for details on each of these function blocks Each high quadrature encoder interface input can be field selected as either PNP current sinking or NPN to accept signals from open collector output devices The type of device is selected by internal dip switch settings on the HEC P5xxx To gain access to these dip switches the HEC P5xxx must be dis assembled See the Assembling Dis assembling the HEC P5XXX section of this manual HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 22 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com HEC P5XXX Features gt ad PLCHIP PXX Devices Devices Name CAN1 Ethemet Modbus Master Modbus Slave OptiCAN PLCHIP Pxx eeprom PLCHIP Pxx qei PLCHIP Pxx rtc PWM SD CARD Serial Print TimerCounter UART2 UART3 Divelbiss OptiCAN Intemal PLCHIP PXX 4K EEProm Intemal Quadrature Encoder Interface Intemal PLCHIP PXX Real Time Clock Pulse
51. rget Kemel Version Figure 2 29 HEC P5xxx Bootloader a Target Options USB Options SD Card Options 5D Card Enabled Allow Kemel Updates El Allow LD Updates Figure 2 30 HEC P5xxx SD CARD OPTIONS Ethernet Communications Model HEC P5000 The HEC P5000 supports Ethernet communications using an on board Ethernet port This port when enabled provides Modbus TCP master or slave communications The Ethernet port will operate whether the cable is wired as a patch cable or a cross over cable When enabled the Ethernet port may also be used as the programming port to connect EZ LADDER to the HEC P5000 target moni Y tor and download programs access the bootloader etc The Ethernet Port is accessed via the provided Ethernet cable See Figure 2 31 This cable connection is an industry standard D CODED M12 connector 4 pins The Pin out for the D CODED Ethernet cable can be found in Figure 2 32 The Ethernet Port for the HEC P5000 must be enabled prior to it being used in any capacity It is enabled in the Bootloader screen The Bootloader screen will only operate if EZ LADDER is connected to an actual HEC P5xxx controller HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 35 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 1 800 245 2327 e www divelbiss com HEC P5XXX Features it GENERAL PURPOSE SERIAL PORT CABLE J Y N L J OOOOOO 00
52. s manual for switch and jumper locations FRONT VIEW Port ARS232 TXD Port A RS485 TXA Port A RS232 RXD Port A RS485 TXB GND Port B RS232 RXD Port B RS232 TXD Port B RS485 TXB Port B RS485 TXA Figure 2 20 General Purpose Serial Ports Pin Out Serial Port o Lo 5 Cable Wire Holes BHHBBH OO Oi oO P12 P11 P17 PORT A RS232 PORT B RS232 P12 P11 P17 P12 P11 P17 PORT A RS485 PORT B RS485 P12 P11 P17 Figure 2 21 General Purpose Serial Ports Jumpers PAGE 29 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com HEC P5XXX Features With the wiring and configuration complete to use one or more serial ports they must be installed in the EZ LADDER diagram proj ect and configured In EZ LADDER from the File Menu at the top click PROJECT then SETTINGS This will open the Project Settings Window The HEC P5000 was previously selected Click the PROPERTIES button The HEC P5000 Properties Window will open Under the Devices Bus section if any UART ports are installed they would be listed Click the ADD DEVICE button This will open the PLCHIP PXX Devices window Select either UART2 or UART3 for Port A or Port B respectively from the Devices pane See Figure 2 22 When the required UART port has been selected click OK The UART Properties Window will open Configure the Serial Port UART as required for your applicatio
53. save the settings of the Modbus Settings and return to the EDIT workspace Remember to Save your ladder diagram using the menu FILE and SAVE or SAVE AS HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 37 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com ud PLCHIP PXX Devices Modbus Slave OptiCAN PLCHIP_Pxx_eeprom PLCHIP_Pxx_qgei PWM SD_CARD Serial Print TimerCounter UART2 ud Modbus Slave Properties l HEC P5XXX Features Modbus Master Modbus Slave Divelbiss OptiCAN Intemal PLCHIP PXX 4K EEProm Intemal Quadrature Encoder Interface Pulse Width Modulator SD Card Serial Print Hardware Timer Counter UART2 CH ups me Figure 2 37 Modbus Properties HEC P5XXX User s Manual Modbus Slave OptiCAN PLCHIP_Pxx_eeprom PLCHIP Pxx qei PWM Document 2012006 4 pdf Figure 2 38 Select Modbus Interface CAN 0 CAN 1 Modbus Master Modbus Slave Intemal PLCHIP PXX 4K EEProm Intemal Quadrature Encoder Interface Pulse Width Modulator SD Card Serial Print Hardware Timer Counter UART2 UART3 The general purpose serial ports may be used for Modbus communications also It should be selected as the Modbus interface in place of Ethernet The serial port must be installed before it can be selected as the Modbus Interface Modbus TCP over Ethernet is now ready to be used on the HEC P5000 Several additional functi
54. ssemble the HEC Controller 1 Align the connector assembly with printed circuit board into the enclosure The printed circuit board will align with the slots in the enclosure 2 Slide the assembly completely into the enclosure until the locking latches are secure Please note If the HEC controller has an optional serial port make sure the serial board wires do not interfere or get caught on the enclosure s LED pipes clear plastic tubes HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 10 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 1 800 245 2327 e www divelbiss com Getting Started HEC P5xxx Internal Field Configuration Jumpers and Switches To gain the most value of the many features included in the HEC P5xxx controller there are many options that may be configured in the field for actual needs These options are configured using the internal configuration dip switches and jumpers To configure these switches and jumpers the HEC P5xxx must be dis assembled There are three 5 position slide switch blocks identified as SW1 SW3 Each block contains 5 individual switches that are used to configure options When the switch is in the ON position it is closed In addition to the 5 position slide switch blocks 2 additional single switches are included SW4 and SW5 3 Position jumper blocks are also provided for configurations Figure 1 8 shows the locations of the switches and j
55. tact verify you select the correct input address DINO DIN15 from the provided drop down menu Refer to Figure 2 6 for typical input connections Figure 2 6 illustrates the different voltages that may be used as well as sinking and sourcing for digital input groups DIN6 DIN10 and DIN11 DIN15 HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 17 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com HEC P5XXX Features Each of the DINO DIN1 and DIN2 inputs have software enabled de bounce circuitry This circuitry typically should be enabled when these inputs are being used as digital inputs When configured as counter timer inputs the de bounce should typically be disabled The de bounce circuits for each input DINO DIN2 are enabled and disabled by adding the variables coils named DINO DEB DIN1 DEB and DIN2 DEB respectively When the variable coil is true the de bounce circuit is enabled and when the coil is false the de bounce circuit is disabled The variables DINO DEB DIN1 DEB and DIN2 DEB are automatically created by EZ LADDER when the HEC P5000 target is selected Y Deleting the de bounce variables from the program will cause the de bounce circuit to be enabled This will reduce the frequency the input can read resulting in inputs not operating properly depending upon the application tS ON NO FINITO Bali S 95 x be za 5 0
56. target and installed features for this ladder diagram project Note Any features not shown when clicking ADD DEVICE are already installed when the target is selected HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 4 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com Getting Started EZ Project Settings EZ HEC P5000 Properties Part Number Devices HEC P5000 HEC P5100 GPIO Add Device Properties Remove Figure 1 2 HEC P5000 Properties Window HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 5 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com Getting Started Loading the HEC P5xxx Kernel THE HEC P5xxx WILL NOT FUNCTION UNLESS THIS STEP KERNEL LOADING IS COMPLETED The kernel is the firmware for the controller and to provide greater flexibility and reliability HEC Controller shipments are factory shipped without a kernel If this is a new unit from the factory it will be necessary to load the kernel before a ladder program can be downloaded If the kernel is already loaded this step is not required To upgrade a kernel see the P Series EZ LADDER User s Manual To install the HEC P5xxx s kernel 1 Verify the target has been configured see Configuring the HEC P5xxx Target in EZ LADDER Toolkit 2 Connect the Programming cable s
57. the quadrature inputs in the ladder diagram the Quadrature Encoder Interface functionality must be installed and configured in the ladder diagram s Project Settings The first step to installing the quadrature encoder interface is to install the PLCHIP_Pxx_qei Internal Quadrature Encoder Interface feature Using menu click PROJECT then SETTINGS to open the Project Settings window With the target HEC P5000 selected still click the PROPERTIES button The HEC P5000 Properties Window will open Verify the proper actual part number is selected in the Drop down Part Number select box Under the Devices Internal section if the quadrature encoder interface were installed it would be listed To install the Quadrature Encoder Interface click the ADD DEVICE button From the available devices select PLCHIP_Pxx_qei and click OK Refer to Figure 2 13 The PLCHIP_Pxx_qei Properties window will now open See Figure 2 14 The PLCHIP_Pxx_qei Properties window is used to configure the quadrature encoder interface for DIN3 DIN4 and DIN5 Some of the common and simple settings such as Quadrature Mode and Flags are set in this window Other additional settings are available for configuration Refer to the P 13 EZ LADDER Toolkit User s Manual for details on the Quadrature Encoder Interface configura tions Select the Quadrature Mode and any other required settings Click OK the number of times necessary to close and save all the con figurations You should
58. umpers when the HEC P5xxx has been opened Figure 1 9 shows the different switch and jumper configurations Single Switches x 2 5 Position Switch Blocks x3 P12 P11 P17 Configuration Jumpers Figure 1 8 HEC P5xxx Configuration Switch and Jumper Locations HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 11 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 e 1 800 245 2327 e www divelbiss com Getting Started Switch Function OFF SW1 1 CNTR Channel 0 Type SW1 2 CNTR Channel 1 Type SW1 5 Quadrature Channel B Type Sw2 1 SW2 2 Analog Input Voltage Analog Input Current SW3 4 Analog Input Channel 7 DOT9 Feedback SW3 5 Real Time Clock Battery Enable CAN Port O Termination Resistor Disabled Enabled CAN Port 1 Termination Resistor Disabled Enabled Only one of SW3 3 or SW3 4 should be set to ON at a time SW1 3 2 Serial Port boo Cable Wire Holes BHHBEUH OO 00 00 P12 P11 P17 PORT A RS232 PORT B RS232 Figure 1 9 HEC P5xxx Configuration Switch and Jumper Settings HEC P5XXX User s Manual Document 2012006 4 pdf PAGE 12 of 40 Divelbiss Corporation e 9778 Mt Gilead Road e Fredericktown Ohio 43019 1 800 245 2327 e www divelbiss com HEC P5xxx Features This section explains the Harsh Environment Controller HEC P5xxx hardware features options and information regarding EZ LADDER Toolkit for basic operation HEC P5XX
59. using internal dip switches These dip switches should be configured for the correct inputs prior to actually connecting the analog inputs To gain access to these dip switches the HEC P5xxx must be dis assembled See the Assembling Dis assembling the HEC P5xxx section of this manual Below are the configuration switch settings for the HEC P5xxx controller Refer to the HEC P5xxx Internal Field Configuration Jump ers and Switches section of this manual for switch locations Switch Function OFF ON SW2 2 Analog Input Channel 0 V I Select Analog Input Voltage Analog Input Current SW2 3 Analog Input Channel O Voltage Range 0 5VDC 0 10VDC SW2 4 Analog Channel 1 V I Select Analog Input Voltage Analog Input Current SW2 5 Analog Input Channel 1 Voltage Range 0 5VDC 0 10VDC Each analog input is represented in the EZ LADDER Toolkit ladder diagram using variables labeled ANO and AN1 respectively Both variable were created automatically when the HEC P5000 target was selected in the Project Settings Window Q Each variable ANO and AN1 will represent the actual voltage or current reading on the input based on the range and type as an integer number 0 4095 To use the analog input reading place the appropriate analog input variable as an input to function blocks Figure 2 18 represents the internal analog input circuits and dip switches It is recommended that analog input switch settings be configured prior to connecting the
Download Pdf Manuals
Related Search
Related Contents
RD8000 Operation Manual TC G-Major 2 Manual EN EDITED.qxd Smart Sight micro-touch STEPPING GAUGE 吸気温計 取扱説明書 Intel RS25FB044 RAID controller Axton Technologies AT-180X-S Kingston Technology HyperX 2GB 800MHz DDR2 Viewsonic CDP4235 Copyright © All rights reserved.
Failed to retrieve file