Home
PCAN-MicroMod - User Manual
Contents
1. eus CU Bie Configuration Windows p ezBsgP aamnmeo es analog ipo Pi Frequency Output B Constant Vale teste Data 7x amp amp Message Ces 8 CET p Frequency Output FA Analog input folate al aeu ERN nut PA 1 oud ea mos 7 ga eds tantes 58585 E TM al eio Go 2 sues Enel 7000 100 Cletended ANID Hed 10 Extended m jon oes cano mono 7 sees 1 re 100 Clee sro TEE tpestion Tmecutvd Brtepositin v Offset n Len 5 8 ponenp 7 Tiles 10 m Defined CAN IDs addio Defined CAND Etlength w ie Gd OMdwde F Beo Die Bytes mi Intel Gorda soed rssa20 7654321076542210 76543210 76543210 Ne Frog EIER ees toas rote 0 trp aie E IN zl rable F mo ER J X oe GE wee EE pe en EF Analog Hysteresis E ges t Hysteresis 0 00952 us b X Analog In Channel Ain Digtal out Channeli none 7 TII Enable 7 a canm peo X starup V
2. Logic operations for digital inputs Adaptation of analog quantities through characteristic curves Direct transfer of analog quantities onto CAN IDs Direct support of rotary encoders up to 100 Hz e g rotary switch for manual operation 4 PWM outputs 8 bit 32 Hz 100 Hz and 4 10 kHz or 2 PWM outputs 16 bit 1 Hz 10 kHz from firmware 2 5 01 2 frequency outputs 1 Hz 10 kHz 1 2 Scope of Supply PCAN MicroMod Configuration software for Windows 7 Vista XP 32 64 bit Manual in PDF format PCAN MicroMod User Manual System 1 3 Prerequisites for Operation Board with socket strips for holding the PCAN MicroMod Evaluation Board motherboard by PEAK System or proprietary development For creating and transferring configurations computer with Windows 7 Vista XP and CAN interface from the PCAN series PCAN MicroMod User Manual a System 2 Hardware Settings 2 1 Setting the Module Number On its upper side the PCAN MicroMod has five positions for solder jumpers indicated by the labels 0 to 4 for setups of different func tions depending on the used firmware Using the standard firmware the solder jumpers are determining the module number This is described in the following With the optional CANopen firmware other functions are assigned to the individual positions see user manual for the CANopen firmware The module number is used for the identification of a single Micro Mo
3. 15 90 not condensing 25 PCAN MicroMod User Manual System Appendix Freguency Resolution Resolution Diagram Frequency Hz 1 10 100 1 000 10 000 0 001 17 0 002 N 101 0 003 401 0 003 0 010 1 0 013 100 0 010 400 0 010 0 100 16 0 205 1 000 Figure 5 Frequency dependent resolution PWM 16 bit mode 26 PCAN MicroMod User Manual a System Appendix B Dimension Drawing 32 0 mm 35 0 mm 1 olu OO OOOOOOOOOOOOO 9 F 5 mm 12 6 mm 6 6 Figure 6 Top view and side view PCAN MicroMod
4. Manual m System 1 Introduction The PCAN MicroMod is designed for guick and easy access to distri buted VO systems Its kernel is the microcontroller MB90F497 by Fujitsu With an integrated CAN bus controller and the analog and digital inputs and outputs it is an inexpensive solution for small intelligent nodes At delivery the MicroMod has a standard firmware The configura tion is done by a Windows program transferring the configuration data to the module via CAN It is also possible to use an alternative firmware e g for the opera tion under CANopen or to create own programs for the integrated microcontroller O Note The functionality described in this manual refers to the standard firmware available with delivery For the operation with an alternative firmware please study the corresponding documentation See also chapter 6 Vew A ternative Firmware on page 18 1 1 Properties at a Glance PCAN Mi croMod Strips for piggyback connection 8 digital inputs CMOS levels 8 digital outputs CMOS levels 8 analog inputs 10 bit reference 5 V 4 frequency PWM outputs depending on firmware 4 inputs for frequency measurement PCAN MicroMod User Manual CAN connection with NXP 82C251 transceiver Extended operating temperature range of 40 to 85 C 40 to 185 F Standard firmware Up to 32 MicroMods configurable on a single CAN bus Transmission of CAN messages periodically or at level change of a digital input
5. 3 stay open 2 2 Disconnecting the High speed CAN Transceiver If you want to use another mode of CAN transmission but High speed CAN ISO 11898 2 the CAN signals CAN RxD and CAN TxD from the microcontroller or the MicroMod respectively can directly be lead to the desired CAN transceiver The High speed CAN tran sceiver on the MicroMod must be disconnected from the data trans fer in this case This is done by interrupting the RxD line between the microcontroller and the CAN transceiver For this you must unsolder the 0 Ohm resistor on the MicroMod below and right to the label 4 PCAN MicroMod User Manual LEIK System LI LA eo ele 20 gi so XJ E O16 38188 Figure 2 Position of the 0 resistor RxD line to the High speed CAN transceiver If you want to use the High speed CAN transceiver on the MicroMod later on set a solder jumper at the mentioned position PCAN MicroMod User Manual System 3 Connectors The PCAN MicroMod has two double strips J1 J2 each with 26 pins first column in the following table Thus the MicroMod can be plugged onto boards with matching socket strips 100 mil 2 54 mm grid see also dimension drawing in Appendix B on page 27 For better orientation at the plug in process the MicroMod has a white marker on the upper left corner pin J2 2 Figure 3 Positions of the connection strips and the positioning marker upper left In t
6. PCAN M1croMod Universal 1 0 Module with CAN Interface User Manual v2 0 2 PEAK System PCAN MicroMod User Manual m System Products taken into account Product Name Part number Model PCAN MicroMod IPEH 002080 with firmware 2 12 CANopen and CiA are registered community trade marks of CAN in Automation e V other product names mentioned in this document may be the trademarks or registered trademarks of their respective companies They are not explicitly marked by 7 and 2011 PEAK System Technik GmbH PEAK System Technik GmbH Otto Roehm Strasse 69 64293 Darmstadt Germany Phone 49 0 6151 8173 20 Fax 449 0 6151 8173 29 www peak system com info peak system com Document version 2 0 2 2011 11 28 PCAN MicroMod User Manual System Contents 1 Introduction 4 1 1 Properties at a Glance 4 1 2 Scope of Supply 5 1 3 Prerequisites for Operation 6 2 Hardware Settings 7 2 1 Setting the Module Number 7 2 2 Disconnecting the High speed CAN Transceiver 8 3 Connectors 10 4 Installing the Configuration Program 13 5 Operation 15 5 1 Status LED 15 5 2 Reserved CAN ID 7 7 15 5 3 Overview of Existing Services 16 6 New Alternative Firmware 18 6 1 CANopen Support 18 6 2 Creating Own Firmware 18 6 3 Uploading Firmware to the MicroMod 19 7 Technical Specifications 24 Appendix A Frequency Resolution Diagram 26 Appendix B Dimension Drawing 27 PCAN MicroMod User
7. Target Microcontroller MB90F497 G Crystal Freguency 4 MHz Use the Open button behind the Hex File field to select the firmware file that shall be used for upload Start the transfer seguence by clicking on Full Operation D E B P R The process takes approximately one minute At its end a message is shown that confirms the proper seguence Full Operation Downloading PCAN MicroMod User Manual o PEAK System Full Operation Erasing Full Operation Programming 12 Disconnect the power from the motherboard 13 Setup the normal operation mode Run mode for the MicroMod before applying power again The upload procedure is finished and you can use the MicroMod normally now 22 PCAN MicroMod User Manual System LED Status After Updating the Standard Firmware If after an update the LED on the MicroMod is blinking fast 2 Hz in normal operation mode the current configuration is not compatible to the new firmware version In this case transfer the configuration to the MicroMod again with adaptation if needed If the LED stays off after the update the firmware does not work Repeat the upload procedure in this case or use another version of the standard firmware 23 PCAN MicroMod User Manual System 7 Technical Specifications Power supply Supply voltage Current consumption Connectors Connection strips Grid Control and communication Micro
8. alue 20 ction amp analog value is between the ardue eso N Rene m E EE data IM m 2020202 l 5 Cue mein 0 12 17 2003 bus load CAN Ouf 43 Trigger Event pos Edge nag Stpostion 9 Threshold Lew 300 Threshold High 700 1023 Figure 4 Configuration program PCAN MicroMod Configuration for Windows For transmission the program needs access to a CAN network For this purpose the computer must have a CAN interface of the PCAN series e g PCAN USB However you can create and edit a configu ration with the program on a computer without PCAN environment and transfer it with another computer to the corresponding Micro Mod in a CAN network later 13 PCAN MicroMod User Manual System Do the following to setup the software 1 Windows XP only Make sure that you are logged in as user with administrator privileges not needed for normal use of the software later on 2 Insert the supplied CD into the appropriate drive of the com puter Usually a navigation program appears a few mo ments later If not start the file Intro exe from the root directory of the CD 3 the page English gt Tools at the PCAN MicroMod Configuration entry click on Install 4 Follow the instructions of the setup program You can find further
9. controller Standard firmware CAN Specification Transceiver Termination Inputs outputs Digital inputs Frequency inputs Analog inputs Digital outputs Frequency PWM outputs 5 V DC max 160 mA 2 double strips each with 26 pins 100 mil 2 54 mm Fujitsu MB90F497G Configuration via reserved CAN ID 0x7e7 ISO 11898 2 High speed CAN up to 1 Mbit s 2 0A standard format 2 0B extended format from firmware 2 0 NXP PCA82C251 disconnectable for use of an alternative transceiver on the motherboard none 8 CMOS 4 CMOS 8 resolution 10 bits reference voltage 5 V input impedance 3 2 8 CMOS 4 depending on firmware 24 PCAN MicroMod User Manual a System Properties with standard firmware Frequency inputs Frequency PWM outputs Measures Size Weight Environment Operating temperature Temperature for storage and transport Relative humidity Measuring range 1 Hz 10 kHz maximum depends on work load min 4 kHz 4 PWM 8 bit mode 32 100 Hz 4 10 kHz frequency dependent resolution 1 3 1 0 or 2 PWM 16 bit mode from firmware 2 5 1 Hz 10 kHz frequency dependent resolution 0 205 0 005 see also diagram in Appendix A on page 26 2 frequency 1 Hz 10 kHz minimum step width 1 Hz 32 x 3b x 13 mm Wx Lx H See also dimension drawing Appendix B on page 27 99 40 85 40 185 F 40 100 C 40 212 F
10. d at the CAN bus when configurations are sent and received The MicroMod does not use the module number for the reception or transmission of data during normal operation At delivery status the MicroMod has the module number 0 no solder jumper set Figure 1 Soldering positions for module number Each MicroMod connected to the CAN bus must have a unique mo dule number for configuring otherwise unpredictable results could occur when configuring those MicroMods As well it isn t possible to send a configuration to several MicroMods at the same time The module number is put together as follows Each solder jumper position represents a bit of a binary number position closed by solder jumper bit set Position 019 the LSB and position 4 the PCAN MicroMod User Manual System MSB of this number Because there are 5 bits module numbers between 0 and 31 be set Solder jumper O LSB 1 2 3 4 MSB position Binary digit 00001 00010 00100 01000 10000 Decimal equivalent 1 2 4 8 16 Example Solder jumpers are on positions 0 1 and 3 The corresponding bi nary number is 01011b reversed order of positions being equiva lent to decimal 11 the module number To do it the other way around If you like to assign the module num ber 22 to a MicroMod you would do following steps 1 22 1 16 0 8 1 4 1 2 0 1 101106 2 MSB position 4 gt 10110 lt LSB position 0 3 Solder jumpers to be set 1 2 4 0 and
11. e Workbench available separately you can create own firmware for the PCAN MicroMod Website Fujitsu microcontrollers mcu emea fujitsu com 18 PCAN MicroMod User Manual System 6 3 Uploading Firmware to the MicroMod The standard firmware can change regarding functionality and error correction so that an update can be necessary On the other hand perhaps you would like to use an alternative firmware for the Micro Mod In both cases you must transmit the desired firmware to the MicroMod via a serial RS 232 port upload For a firmware upload you need a motherboard for the MicroMod with the following features e anRS 232 connector with a driver connected ahead MicroMod Name Function pin J1 17 TxD Serial transmit TTL levels J1 18 RxD Serial receive TTL levels e a switch or jumper to set the MicroMod to programming mode MicroMod Name Programming mode Normal operation pin mode J1 23 MO 0 5 V internal pull up 41 24 2 5 V internal pull up 0 V e pushbutton to reset the MicroMod MicroMod Name Status for reset pin J1 21 Reset In OV e the possibility to set the digital inputs 0 and 1 to Low state MicroMod Name Status for pin firmware upload 32 25 011 OV 32 26 DIO OV 19 PCAN MicroMod User Manual a System lt Io Tip An easy way to do a firmware upload is using the PCAN 2 Evaluation Board optionally available It has the necessary c
12. he second column of the table the corresponding pin of the MB90F497 microcontroller is listed if a direct connection to the MicroMod pin exists Pin Pin uC Name Function MicroMod J1 1 4 AIN 1 Input analog 10 bit 0 Vref J1 2 3 AIN 0 Input analog 10 bit 0 Vref J1 3 6 AIN 3 Input analog 10 bit 0 Vref J1 4 AIN 2 Input analog 10 bit 0 Vref J1 5 8 AIN 5 Input analog 10 bit 0 Vref J1 6 7 AIN 4 Input analog 10 bit 0 Vref J1 7 10 AIN 7 Input analog 10 bit 0 Vref J1 8 9 AIN 6 Input analog 10 bit 0 Vref J1 9 12 Vref Reference voltage analog 2 7 5 V 10 PCAN MicroMod User Manual a LI EAK System Pin Pin pC Name Function MicroMod J1 10 11 Avcc Supply voltage analog J1 11 24 49 GND Digital ground J1 12 13 AGND Analog ground J1 13 63 CAN TxD CAN transmit CMOS J1 14 64 CAN RxD CAN receive CMOS J1 15 CAN H High speed CAN signal CAN H J1 16 CAN L High speed CAN signal CAN L J1 17 62 TxD Serial transmit TTL levels J1 18 60 RxD Serial receive TTL levels J1 19 51 SCL SPI 01120 Serial clock function depending on firmware J1 20 50 SDO SPI or SDA Serial Data Out Serial Data PC J1 21 19 Reset In Reset Low active J1 22 52 SDI SPI Serial Data In J1 23 18 MO Run mode 5V internal pull up Prog mode OV J1 24 21 M2 Run mode OV Prog mode 5 V interna
13. information about the use of the program PCAN MicroMod Configuration in the help which you can invoke in the program 14 PCAN MicroMod User Manual 5 Operation 5 1 Status LED LED Blinking at 1 Hz Blinking at 2 Hz Blinking at 5 Hz Continuously on Continuously off Status Normal operation Invalid or no configuration Configuration mode Internal MicroMod error No voltage supply MicroMod in programming mode System Description This may be the case after a firmware update because the new firmware is possibly expecting another data format You can solve this problem by sending a new configuration Occurs during sending or receiving a configuration via CAN This may be the case after uploading a faulty or incompatible firmware Whether the MicroMod is in normal or in programming mode for the firmware upload is determined by the status of the MicroMod pins MO and M2 see table in chapter 3 on page 10 5 2 Reserved CAN ID Ox7E7 For configuring the MicroMod the CAN ID Ox7E7 is used The pro gram PCAN MicroMod Configuration exchanges the according data with the MicroMod via the CAN bus When designing your CAN network make sure not to use the CAN ID Ox7E7 in any way PCAN MicroMod 5 3 User Manual System Overview of Existing Services With the standard firmware the PCAN MicroMod provides various functions called services Service Message Settings Internal Variable
14. l pull up J1 25 56 Vcc Supply voltage 5 V J1 26 24 49 GND Digital ground J2 1 48 0097 Output digital CMOS J2 2 47 DO 6 Output digital CMOS J2 3 46 DO 5 Output digital CMOS J2 4 45 DO4 Output digital CMOS J2 5 44 Output digital CMOS J2 6 43 DO 2 Output digital CMOS J2 7 42 DO 1 Output digital CMOS J2 8 41 DOO Output digital CMOS J2 9 40 FO 3 Output frequency PWM J2 10 39 FO 2 Output frequency PWM J2 11 38 FO 1 Output frequency PWM J2 12 37 FO 0 Output frequency PWM 11 PCAN MicroMod User Manual LL System Pin Pin pC Name Function MicroMod J2 13 24 49 GND Digital ground J2 14 N C Not used J2 15 36 FI3 Input frequency CMOS J2 16 35 FI2 Input frequency CMOS J2 17 34 FI 1 Input frequency CMOS J2 18 33 FIO Input frequency CMOS J2 19 32 DI7 Input digital CMOS J2 20 31 DI6 Input digital CMOS J2 21 30 015 Input digital CMOS J2 22 29 DI 4 Input digital CMOS 32 23 28 013 Input digital CMOS J2 24 27 DI 2 Input digital CMOS J2 25 26 DI 1 Input digital CMOS 02 26 25 DIO Input digital CMOS 12 PCAN MicroMod User Manual 4 Installing the System Configuration Program With the enclosed configuration program PCAN MicroMod Configu ration for Windows you can create edit and then transfer configu rations to one or more MicroMods via CAN
15. ng analog to digital signals e g in order to avoid jitter 16 PCAN MicroMod User Manual a System Find more details about the functionality and the application of the services in the help of the configuration program PCAN MicroMod Configuration 17 PCAN MicroMod User Manual System 6 New Alternative Firmware With its integrated microcontroller the PCAN MicroMod is flexible at use because the functionality may be adapted or changed through suitable controlling software also called firmware This chapter describes possible alternatives and the procedure for a firmware update 6 1 CANopen Support As an alternative to the standard firmware we provide a CANopen firmware for the PCAN MicroMod free of charge With this the MicroMod falls into the category of off the shelf CANopen generic VO devices The whole CANopen software package implements the CANopen standard CiA 301 Application Layer and Communica tion Profile version 4 02 and specifically the device profile CiA 401 Device Profile for Generic I O Modules version 2 1 Therefore the correspondingly set up MicroMod can be directly used as standardized CANopen generic I O module The CANopen firmware incl documentation is on the supplied CD in the following directory Tools PCAN MicroMod CANopen Firmware 6 2 Creating Own Firmware The PCAN MicroMod contains the microcontroller MB90F497 by Fujitsu With the C development environment Softun
16. onnectors and switches a serial RS 232 port on a computer running Windows a serial 1 1 cable with male D Sub connectors the Windows software FUJITSU FLASH MCU Programmer You can download a setup program of the current version from the following web page mcu emea fujitsu com mcu tool detail FLASH PROGRAMMER 16LX htm the firmware file mhx B Do the following to upload a new firmware 1 Make sure that the motherboard with the MicroMod is switched off Connect the motherboard and the serial port of your compu ter with the serial cable Set the corresponding switch or jumper so that the Micro Mod will start in programming mode Apply power The LED on the MicroMod stays off Make sure that a Low level is applied to digital inputs 0 and 1 Reset the MicroMod Under Windows start the FUJITSU FLASH MCU Program mer FMC16LX 20 PCAN MicroMod User Manual m LI EAK 10 11 System os na NN Target Microcontroller MB90F497 G gt E Start Address FF D00H Crystal Frequency 4472 gt End Address i MicroModv2 11 mhx bis open Flash Memory Size 0100004 Command to COM1 r Option 4 Opereion Set Environment Help BE ME F MC 16LX co 011251 Select Set Environment in order to check that the indicated serial port is corresponding to the actually used one Confirm with OK Do the following settings
17. s Digital input Digital output Analog input Analog Output Frequency input PWM and frequency output Digital function Constant values statistical data Curve Rotary encoder Analog hysteresis Remark Internal variables are useful for communication between services in principle corresponds to CAN messages For the event controlled transmission of CAN messages it can be determined which kind of signal change is considered as trigger Power up and timeout values can be defined e g for problems with CAN communication The A D value can be adjusted with scale and offset Furthermore a software low pass can be activated This service is only available with the appropriate connection of a D A converter to the MicroMod e g with the motherboard Analog 2 Frequencies between 1 Hz and about 10 kHz can be measured By the incoming CAN messages either the pulse width is influenced at a predefined frequency or the frequency is influenced at a fixed pulse width 50 All digital inputs may be logically connected The result may either be passed on as a CAN message or to a digital output Constant values or statistical data generated by the MicroMod can be put into CAN messages Analog input data can be converted with the help of a curve The service interprets the signals from a manual rotary encoder standard quadrature with 2 bits connected to digital inputs Input frequency max 100 Hz For converti
Download Pdf Manuals
Related Search
Related Contents
Table à induction Induction cooker TI2005 Full User Manual 1)Right-angle Wall-mount Type Model: A22S3WN KIBER KVB-25 Teletronics EZPlatform™ AP/Hotspot/Repeater User Manual Copyright © All rights reserved.
Failed to retrieve file