Home
        klockner moeller User manual MXpro V2.3.9
         Contents
1.       Startup   WARM          Startup     STOP                  PLC state   RUNNING     PLC state     PLC state   a  STOPPED      No program           Cold start            Reset cold          PLC state      STOPPED          A cold start is initiated on the first start after loading the PLC program on the controller or after each  reset cold  All variables of the PLC program are initialized with their startup values and the PLC    program is started     Warm start    With all further starts of the loaded PLC program or after each reset reset warm takes place a warm  start  The retentive  RETAIN  RETAIN PERSISITENT  variables keep their values  all remaining  variables are initialized with their startup values  Variables without explicit startup values are initialized    with their standard startup values     64    Technical specifications are subject to change  M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Operation          7 6 STOP BEHAVIOUR    The processing of the PLC program is stopped at the end of the program cycle  Subsequently  a  reset reset warm takes place     7 7 RESET BEHAVIOUR    Reset   Reset warm  Corresponds to the initialization of warm start     Reset cold    This command resets all variables  also the retentive  RETAIN  RETAIN PERSISTENT  variables to  the startup value     Reset original   This command resets all variables  also the retentive  RETAIN  RETAIN PER
2.    Synchronous actions IV        gt  In order to be able to open the Parameter Manager  it must be activated and defined  with correct index subindex ranges in the map    Network functionality    of the target  settings     fff PLC Configuration    g  Configuration    GAI Base settings   CAN settings f  Se       List of mappable objects    Mapping Parameter CAN Device  Objects  PDOs       Mapping Parameter CAN Device     Receive PDOs     Index 1643000  Sub 1  R    PDO 16 1400  Mainfrg Varln Index 16 3000  Sub 3     Index 16 3000  Sub 2  R Index 1643000  Sub 4  MainPrg xVarln  gt    PDO 1641401     Index 16 3000  Sub 3  W   PDO 1641402  MainPrg VarDut z PDO 16 1403  Index 1683000  Sub 4 w _ E oPeties      gt   Send PDOs  MainPrg xVarDut    PDO 16 1800  Index 1643000  Sub 1  Index 1643000  Sub 2  PDO 16 1801  PDO 1641802    PDO 16 1803       The Default PDO Mapping tab allows the entries which are defined in the Parameter Manager to be  assigned modified to the  Mapping  of the CAN Device     All  mappable  objects are located on the left side and can be added in the right side to the PDOs   Process Data Object  with button  gt  gt  or removed again with button Remove     Technical specifications are subject to change  M002382 02 37     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          The properties of the PDOs can be edited with button Properties  These can be changed afterwa
3.   1B2 Can Input Be a  Generic XN 16D0  Generic XN 32D0  Generic XN 1Al  Generic XN 24   Generic xN 1A0  Generic XN 240   Generic XN 1CNT  Generic XN 1SS1 Remove  Generic XN 1RS232 4ax    Generic  51       If the inserted CAN module has a modular design and if it supports the appropriate standards  DSP  301  V4 01 and DSP 306   then the tab CAN Module selection appears  The configuration of the  appropriate structure can be made by adding with Add button or removing with Remove button     Technical specifications are subject to change  M002382 02 29     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          PDO Mapping  Receive  Send     E PLC Configuration  Er Configuration        gay CanMaster SLOT   Eis 8 ErrorRegister    PDO 041800  Id   Nodeld 0x180     ExtentibleObject_3000    PDO 041801  Id   Nodeld 0x280   t ExtentibleO bject_3002    PDO 041802  Id   Nodeld 0x380   ExtentibleObject_3004    PDO 0x1803  Id   Nodeld 0 480     Base parameters   CAN parameters   CAN Module Selection   Receive PDO Mapping Send PDO Mapping   Service Data Objects               IBO Can Inpu   d XN GW CANopen  EDS   VAR  ExtentibleObject_3005       QB2 Can Output ExtentibleObject_3006      IB2 Can Input ExtentibleObject_3007  ExtentibleObject_3040    af  ExtentibleO bject_3042 Properties  ExtentibleObject_3044  ExtentibleObject_3045  ExtentibleObject_3046 Insert POO    ExtentibleObject_3047  Extentib
4.   Default   OK   Cancel         Technical specifications are subject to change  86 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Target system installation and firmware update          14 TARGET SYSTEM INSTALLATION AND FIRMWARE UPDATE    The target system installation or the firmware update is implemented by calling the   TargetFirmwareWinCE  program and is reached in the PLC programming tool via  lt PLC  configuration gt  in the  Other parameters  tab     MXpro   Demo pro   File Edit Project Insert Extras Online Window Help   Bau ST ole   FFE PLC Configuration   E Configuration naad   E 4N CanMaster SLOT  i  Settings   other parameters     Gg XN GW CANopen  EDS      QB0 Can Output    B   1B0 Can Input  B   9 XN GW CANopen  EDS    E   QB2 Can Output   1B2 Can Input Save configuration files in project     Automatic calculation of addresses     Check for overlapping addresses                        E  Pous   Data types  el Visualzations   25 Resources   gt   E Resources         ONLINE  OV  READ          Activate in the area  Update operating system  the button Start und select appropriate Firmware     Technical specifications are subject to change  M002382 02 87     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Target system installation and firmware update          The following installation types are avail
5.   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          Base parameters    DP parameters   Input Output   Module parameters    byte input con  0x91   IEC Output     a AT  QB0  BYTE  Module id  69230394    i H  AT  QB1  BYTE  Node id  DR  E   4 byte output con  0xA3   IEC Input     B    AT  IBO  BYTE  Input address    PI  H  AT  IB1  BYTE  Output address    QBO    HI AT  IB2  BYTE   E AT  IB3  BYTE        Comment          Node id    The node identification is defined by an entry in the configuration file or   if there is no entry   by the  position of the module in the configuration structure and is not editable  not to be confused with the  station address  which can be defined by user      Input address  Output address    This contains the IEC addresses  starting from which the inputs or outputs in the project can be  addressed  These addresses refer to the module  It depends on the general settings and the  definitions in the configuration file  which addresses are already predefined  which address mode is  valid and whether the addresses can still be edited here     Technical specifications are subject to change  M002382 02     by Micro Innovation    55       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          DP parameters    E PLC Configuration    Er Configuration SS  Ei Base parameters    Input Output   Module parameters    Info  Manufacturer  Mi
6.   PLCWinCE    Software       Install       3 INSTALL    The  MXpro  product is an independent software package  It consists of a software component  PLC  programming tool with appropriate PLC target systems  which is installed on any programming PC   and a software component which is installed on PLC target systems with Windows CE   gt  Chap  15   provided this has sufficient license points      gt  If you have any questions on license products  please contact your local Micro  Innovation sales distributor     3 1 SCOPE OF DELIVERY                                           Designation Version  Software  MXpro  incl  user manual 2 3 9  Consisting of   Designation Version  CoDeSys 2 3 9 5  CoDeSys Gateway 2 3 9 0  CoDeSys OPC Server   2 3 13 2  PLC target system PLC runtime system Operating system  OS   XV  MC2 4xx V2 3 9  gt  PLCWinCE V 2 4 4  xxx  Windows CE   Image Release  gt  2 20 3  xxx   XV  MK2 2xx V2 3 9  gt  PLCWinCE V 2 4 4  xxx  Windows CE   Image Release  gt  2 20 3  xxx   XVS  MS2 4xx V2 3 9  gt  PLCWinCE V 2 4 4  xxx  Windows CE   Image Release  gt  2 20 3  xxx   MA2 450 V2 3 9  gt  PLCWinCE V 2 4 4  xxx  Windows CE   Image Release  gt  2 20 3  xxx   XV 1xx V2 3 9  gt  PLCWinCE V 2 4 6  xxx  Windows CE    Image Release  gt  2 21 0  xxx           3 2 SYSTEM REQUIREMENTS       Operating system       Windows 2000  Windows NT  Windows XP  Windows Vista             1 Optional installation  no component of this documentation    8       Technical specifications are subj
7.  AG     Warning      No warranty claims will be recognized for faults arising from the improper handling of  any device     Devices and communication should not be used for the implementation of any safety  functions relating to the protection of personnel and machinery     No liability is accepted for claims for damages arising from a failure or functional  defect     All data specified in this document do not represent guaranteed specifications in the  legal sense     Technical specifications are subject to change  M002382 02 3     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter             User manual MXpro 2 3 9   PLCWinCE Software  Contents  Contents  Explanation Of Symbols    u naa a EENS ENEE 6  GENErAl nenne 7  2 1  GEELEN 7  2 2  Ee e En E 7  MNS AMM asta cnet a een sans dances 8  3 1  SCOP OF DIV GIy ae 8  32 System FEQUIPGMOING ss es cae cccctaaxcacertcnsuedcine ege NEE EEN 8  3 3 Install PLC programming Tool  9  34 Install PLC target systems    u    ee Zaun ea nenne 10  Kreesser eebe 11  4 1 Uninstall PLC programming Tool  11  42  Uninstall PLC target systems un  sea a net 11  Target E ul CN 12  5 1  Targa Platform ee 12  52  ue ee E 13  5 2 1 Overview memory layout    ueeessnseenessnnnnnnnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnnannennnann 14  53 ASIN E 15  5 4 Network functionality ees EENS 16  55  Visualizato eer 17  PLC SONG TE 18  6 1  Working in the PLC configuration ae 19  6 1 1 Project specific configuration files and devi
8.  Heartbeat settings  I Activate heartbeat generation    Heartbeat producer time  ms    I Activate heartbeat consumer    Heartbeat Consumer Time  ms Consumer ID   0    Emergency telegram  IV Emergency  COB ID   0x80 Nodeld             Node Id    The Node ID is the unique identification of the CAN Device  It corresponds to the number which is set  between 1 and 127 on the CAN Device itself  The Node Id must be entered as a decimal number  not  to be confused with the node number  which is used also inthe PLC configuration       gt  The Node ID can be overlaid by means of library functions in the PLC program   Thus it is possible to write a PLC program for several CAN Devices  without  changing the PLC configuration of the CAN Devices     Device type   The Device type  default value of object 0x1000  of the device is predefined with 0x191  standard IO  Device  and can be changed by the user    Baud rate   Baud rate for the transmission between CAN Master and CAN Device     Automatic startup    If the option Automatic startup is activated  the CAN bus will be automatically initialized and started  by PLC program start     Technical specifications are subject to change  M002382 02 35     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          Nodeguard settings    Parameterization of Guard COB ID  Communication Object Identifier   Guard Time in milliseconds  and Life Time Factor  These 
9.  Technical specifications are subject to change  62 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Operation          Run  Inthe operating state RUN the PLC program is executed cyclically   The operating state RUN is assumed     e After the power supply is switched on with defined  warm  start characteristics   gt  Chap  7 4   e Via the PLC programming tool on the PC    7 4 SWITCHING THE OPERATING STATE    The operating state is switched via the PLCWinCE window or via the PLC programming tool        PLCWinCE VW    State TcpIp Settings   Funne   Kaes Port 1200     Demo   Version          Project Info         Program Name  Demo  pro          It is also possible to define the startup behavior after power supply switch on by means of the file  MXproRTS reg in the directory PlcRts        MXproRTS reg   HKEY_LOCAL_MACHINE SOFTWARE Micro Innovation MXpro Runtimesystem         Startup   WARM        The following settings are possible   e Stop  Startup   STOP     e Warm start  Default setting   Startup   WARM       Technical specifications are subject to change  M002382 02     by Micro Innovation 63       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE    Software       Operation       7 5 START BEHAVIOUR    Procedure       Voltage on        Hardware    ok          PLC  program  present     No       Retentive  data ok      Start  Startup                
10.  addition event can be defined  with the Event Time  Enter here in milliseconds  ms  the interval between two transmissions     Technical specifications are subject to change  M002382 02 31       by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          Service Data Objects    The following is a list of all objects in the EDS or DCF file which are in the area of the Index 0x2000 to  Ox9FFF and which are marked as writable     The properties Index  Name  Value  Type and Default are displayed for every object  The value can  be changed  Mark the value and press the  lt Space bar gt   After making the change confirm the new  value with  lt Enter gt  or reject it with the  lt Escape gt  key     The set values are transmitted in the form of SDOs  Service Data Object  to the CAN modules at the  initialization of the CAN bus    fff PLC Configuration    Er  Configuration  E gy CanMaster SLOT  Base parameters   CAN parameters   CAN Module Selection   Receive PDO Mapping   Send PDO Mapping       H CM Index Name Value Type Default      amp    1B0 Can Input 2010su    HardResetModifier Unsign     d XN GW CANopen  EDS   VAR  2010su    SaveRefResetModifier Unsign       QB2 Can Output nee a EAN a a     su    XbiOutputByte_Generic XN BR  P    nsign     BE Can 3022su    XbiOutputWord_Generic XN BRI     Unsign     3024su    XbiOutputDword_Generic XN BR     Unsign     3025su    XbiOutputDword2_Generic X
11.  are also specified for the parameters in the GSD file  the option Symbolic names  can be activated  so that the values can be displayed with these names  The Length of user  parameters is also given above the table as information     E PLC Configuration    Ee  Configuration      ij DP Master DPM MC2 SLOT  Base parameters   DP parameters   Input Output    In TXN BR 24VDE D Length of user parameters in bytes  5 Symbolic names  ei   ee  Parameters Value Allowed     S XN 16DO 24VDC 0 5A P    outputs fieldbus error     output 0 BitArea      outputs module exchange error     output 0 BitArea      outputs module exchange     output 0 BitArea      integer data format    LSB first Bit  0  0     diagnostics from modules  activate Bit  1 0     gateway diagnostics     device related diagnostics Bit  5  0   station configuration     do not allow changes Bit  3 0     VOassistant F orce Mode  release Bit  4  0             Technical specifications are subject to change  50 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          Groups    E PLC Configuration PER     El  Configuration  Ei DP Master DPM MC2 SLOT  Base parameters   DP parameters   Input Output   User parameters    oe E    Freeze Mode IV  S  S XN 16DI 24VDC P Sync  Mode  I7  B    S XN 16D0 24VDC 0 5A P       Freeze Mode    x  x  x  x  x  x  x  x    Global Group Properties           gt  Freeze  and Sync Mode are not supp
12.  configuration for which the inputs or outputs are  not used in the PLC program are not updated by default in the process image     Technical specifications are subject to change  M002382 02 39     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE    Software       PLC configuration       6 5 1 CONFIGURATION OF PROFIBUS MASTER    The following Profibus Masters are implemented in the PLC configuration                       PLC target system Designation Description  XV  MC2 4xx V2 3 9 DP Master DPM MC2 Profibus Master DP V1 for   HIL_1662 GSD  Profibus DP   FMS and MPI  XV  MK2 2xx V2 3 9 DP Master CMM MPI Profibus Master DP V1 for   MPDP4D09 GSD  Profibus DP   FMS and MPI  XVS  MS2 4xx V2 3 9 DP Master CMM MPI Profibus Master DP V1 for   MPDP4D09 GSD  Profibus DP   FMS and MPI  MA2 450 V2 3 9 DP Master CMM MPI Profibus Master DP V1 for   MPDP4D09 GSD  Profibus DP   FMS and MPI  XV 1xx V2 3 9 DP Master CMM MPI Profibus Master DP V1 for     MPDP4D09 GSD     Profibus DP   FMS and MPI          40       Technical specifications are subject to change  M002382 02     by Micro Innovation    efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          Base parameters    DP parameters   Bus Parameters        BIN SW PBDP 1 5MBIVAR         T XN BR 24VDC D Module id  983083        XN 16DI 24VDC P Node id  KR    H  S XN 16D0 24VDC 0 5A P  Input address  eo      O
13.  gt  Please refer to detailed information in the CoDeSys V2 3 user manual or the  online help of the PLC programming tool     Technical specifications are subject to change  80 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC Browser          11 PLC BROWSER    The PLC Browser is a text based controller monitor  terminal   Commands for the request of specific  information from the controller are entered in an entry line and sent as string to the controller  The  returned response string is displayed in a result window of the browser  This functionality is used for  diagnostics and debugging tasks     The PLC Browser is reached via  lt PLC Browser gt  in  Resources  tab     MXpro   Demo pro        B Resources E PLC   Browser  B E Global Variables  B E library  B E Ibray  E library  B E library  ERSTEN  E ibrary  B E library  B E ibay  E ibrary  a library    ion  ON Sampling Trace     AR Target Settings   G Task configuration  Q  Watch  and Recipe Manager  3  Workspace                 3  POUs   3 Data types  ell Visualizations   2 Resources   gt        ONLINE  OV  READ       The available commands were divided into two groups   e Standard PLC Browser commands  e Target system specific PLC Browser commands    These commands are managed in a file and implemented accordingly in the PLC runtime system                    Command Description     Gets the list of implemented and available com
14.  have to be edited by the user    Highest station address   It corresponds to the highest station address existing on the Profibus  adjustable by user  or  calculated by PLC programming tool     Auto Clear Modus    Each Profibus Slave has a watchdog  which monitors whether the Profibus Slave is addressed  cyclically by the Profibus Master  If this is not the case  the Profibus Slave switches autonomously into  the safe operating state  If this means a high safety risk  the option Auto Clear Mode causes the  Profibus Master to switch automatically from operating state  operate  to operating state  clear   This  in turn causes all other Profibus Slave to be switched to the operating state  clear   Digital outputs are  set to 0 and analogue outputs are set to the configured substitute values  FailSafe      Automatic startup  If the option Automatic startup is activated  the Profibus will be automatically initialized and started      gt  Must be always selected  a manual start is not supported      Technical specifications are subject to change  2 M002382 02  4    by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          Groups    Group Properties    A  A  A  A  A  A  A  A        gt  Freeze  and Sync Mode are not supported     Note     The Groups button opens the  Group properties  dialog  The Group properties pertain to the slaves  assigned to the master  Up to eight groups can be set u
15.  installation of the PLC  programming tool  the target systems are installed in the demo mode     15 2 PLC RUNTIME SYSTEM    The PLC runtime system is license requiring and needs 100 license points on the PLC target      gt  If license points are missing with the start of the PLC runtime system  the  processing of the PLC program is not started  The PLC program starts in the  operating state  stop      The processing of the PLC program can be made afterwards in the PLC programming tool via menu  item  lt Online gt   lt Start gt      Technical specifications are subject to change  M002382 02 89     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Revision history          16 REVISION HISTORY    Date  Visum  Alteration  21 08 08   DL  09 05 09 DL   Changes due to the integration of the target system XV 1xx       Technical specifications are subject to change  90 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter             Software User manual MXpro 2 3 9   PLCWinCE  Notes   17 NOTES   Technical specifications are subject to change   M002382 02 91       by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software       Notes       Technical specifications are subject to change  92 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 
16.  module is detected as  not OK    The status of the CAN module will be stored in the CAN diagnostic system and could be checked in  the PLC program     If the option activate heartbeat consumer is activated  the CAN module expects heartbeat telegrams  of the CAN master with the given Guard COB ID  Communication Object Identifier  according to the  interval set by Heartbeat Master      gt  Heartbeat functionality serves as alternative to nodeguard functionality     Emergency telegram    A module sends an emergency message  with a unique COB ID  when there is an internal error   These messages  which vary from module to module  are stored in the diagnostic system and can be  checked in the PLC program     Info Button    The entries  Filelnfo  and  Devicelnfo  of the EDS or DCF file from the corresponding module  manufacturer are hidden behind the Info button     Technical specifications are subject to change  28 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          Module selection    EI PLC Configuration BAE     aa Configuration    E  G4 CanMaster SLOT  Base parameters   CAN parameters CAN Module Selection   Receive PDO Mapping   Send PDO Mapping   Service Data Objects      Available Modules  Selected Modules     Generic XN BR  PF  EB    IBO Can Input 5 Generic XN 16D0    E g XN GW CANopen  EDS   VAR  ic XN  Generic XN 1EDI        QB2 Can Output Generic XN 32D1  E  
17.  not active     Please note that the deletion of a channel is not reversible  It occurs at the moment that you press on  the button Remove      Save your PLC program with the new communication parameters  compile this  and afterwards log on the controller     Make sure that the IP addresses of the programming PC and the controller  belong to the same address family  Please refer to detailed information in the  documentation  Networks in brief              Technical specifications are subject to change  M002382 02     by Micro Innovation 79       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Parameter manager   Object directory          10 PARAMETER MANAGER   OBJECT DIRECTORY    If the option is activated  the entry Parameter Manager appears in the  Resources  tab  This makes it  possible to create an object directory for variables and parameters  which serve a purposeful active  data exchange with other controllers     MXpro   Demo pro    File Edit Project Insert Extras Online Window Help  Bee  Base    F Resources f   Parameter Manager  B  Global Variables     Ea Pu   GB PLC Configuration      BY Sampling Trace     A Target Settings   J Task configuration       Watch  and Recipe Manager   3  Workspace                 E  POUs   3 Data types  isualizations   gt   r       ONLINE  OV  READ                 gt  The object directory functionality is supported in connection with an inserted  CAN Device in the PLC configuration     
18.  points are to be checked     e Physical connection   e Communication parameters in the PLC programming tool   e TCP IP settings in the system settings on the programming PC  e TCP IP settings in the system settings on the control       7 9 1 CREATE BOOT PROJECT  A PLC program is only power failure protected  if before voltage failure a boot project is created online  and afterwards transferred to the controller      gt  Boot project can only be created  online      Technical specifications are subject to change  68 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Program execution and system time          8 PROGRAM EXECUTION AND SYSTEM TIME    8 1 PROGRAM EXECUTION    The operational sequence time of a PLC program is called a  task   In addition to the actual PLC  program  all relevant system activities are processed as well     For example  this includes the following system activities   e Communication with the PLC programming tool  e Online changes  e Processing of CANopen protocol stack  e Processing of process images  IO Update     Program execution without task configuration   The first program unit  which is created in a new PLC program  carries automatically the name  PLC_PRG  This starts program execution  The controller processes the PLC_PRG cyclically and free  running with a minimum interval of 10 ms     Program execution with task configuration    In addition to declaring 
19.  subject to change  60 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          Module selection    The configuration of the appropriate structure can be made then again by adding with the Add button  or removing with the Remove button     E PLC Configuration    Er  Configuration  ES  P Master DPM MC2 SLOT  Base parameters   DP parameters    Input Output   User parameters   Groups    EN E l Max  length of input data  200 Byte Length of input data     byte input con  0x91  Max  length of output data  200 Byte Length of output data   AT  IBO  BYTE  Max  length of in  output data  368 Byte Length of in  output data    AT  IB1  BYTE  Max  number of modules  24 Number of modules   D A byte output con  0xA3     Input Modules Selected Modules  d AT  QB0  BYTE     Output Modules 2 byte input con  0x91   AT  QB1  BYTE     In  Output Modules 4 byte output con  0x43     AT  QB2  BYTE   AT  QB3  BYTE           BESSER           gt  Please refer to the detailed information in the chapter  Configuration of Profibus   Slaves    gt  Chap  6 5 2      Base parameters  User parameters and Groups     gt  Please refer to the detailed information in the chapter  Configuration of Profibus   Slaves    gt  Chap  6 5 2      6 6 3 BUS DIAGNOSTIC  For configuring the bus diagnostics in the PLC program various function libraries are available      gt  Please refer to the detailed function descript
20. 0  min TSDR and slave specific parameters may be overwritten   e 1  Slave released to other masters   e 2  Slave locked to other masters  all parameters are accepted    e 3  Slave released to other masters    Technical specifications are subject to change  M002382 02     by Micro Innovation    47       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE    Software  PLC configuration          Watchdog    If the option watchdog control is activated  the defined watchdog time applies  If the Profibus Slave  has not been accessed by the Profibus Master within this time  it is reset to its initialization state      gt  The same watchdog control time must be set on all slaves     Technical specifications are subject to change  48 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          Module selection    If the inserted Profibus module has a modular design and if it supports the appropriate standards  then  the Input Output tab appears  The configuration of the appropriate structure can be made by adding  with the Add button or removing with the Remove button     fff PLC Configuration    ae  G gConfiguration  oe B DP Base parameters   DP parameters User parameters   Groups    E    Max  length of input data  176 Byte Length of input data   Max  length of output data  176 Byte Length of output data   H  S XN 16DI 24VDC P Max  length of i
21. 002382 02 53     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          6 6 CONFIGURATION AS PROFIBUS SLAVE    Micro Innovation devices  with PLC runtime system and Windows CE and programmed with the PLC  programming tool  MXpro   can appear and be used in a Profibus network as Profibus Slave  called in  the following Profibus Slave      In the following example  a Profibus Slave with station address 3 is configurated  The Profibus Slave  sends 2 Byte consistent input data to the Profibus Master and it receives 4 Byte consistent output data  from the Profibus Master     6 6 1 CONFIGURATION OF PROFIBUS SLAVE    The following Profibus Slave is implemented in the PLC configuration           PLC target system Designation Description  XV  MC2 4xx V2 3 9 DP Slave PDP TP Profibus Slave for Profibus   MPDP4D03 GSD  DP   FMS and MPI          After insert of Profibus Slave  PLC configuration makes the following options available     e Configuration of the process image  which is used for data exchange between Profibus Slave  and Profibus Master     e Configuration of station address and module parameters     Subsequently  the Profibus Slave must be inserted and configured in the PLC program of the  Profibus Master using the corresponding station address and module configuration     Technical specifications are subject to change  M002382 02  54    by Micro Innovation       efesotomasyon com 
22. 3 9   PLCWinCE       Notes       Technical specifications are subject to change  M002382 02     by Micro Innovation 93       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software       Notes       Technical specifications are subject to change  94 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE       Notes       Technical specifications are subject to change  M002382 02     by Micro Innovation 95       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software       Notes       Micro Innovation AG  Spinnereistr 8 14  CH 9008 St  Gallen    Switzerland   Tel     41  71 243 24 24   Fax     41  71 243 24 90   email   info microinnovation com    homepage  _http     www microinnovation com    Technical specifications are subject to change  96 M002382 02     by Micro Innovation       
23. 82 02 71     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Program execution and system time          8 3 MULTITASKING    The PLC runtime system is a multitask system  This means that several tasks are processed at the  same time  In a multitask system  individual tasks of different priority can interrupt each other     The consequence of this is that the consistency of the input output image is only ensured within the  task which accesses the input output image  If several tasks of different priority access the same  input outputs  consistency is only present with the task with the highest priority   gt  Chap  8 9      gt  Always avoid the access of the physical input outputs by several tasks in  order to ensure a clear controller process     8 4 TASK MONITORING   WATCHDOG TIMING    The task monitoring supervises the cyclic tasks of the PLC program  The task monitoring interrupts  program processing  if the task exceeds a defined time in a defined frequency  By default the outputs  of the controller are switched off when the watchdog time is triggered and the controller is switched  into the operating state  stop   Afterwards the PLC program must be set back with  Reset      The correct definition of a task monitoring consists of following parameters   e Watchdog on off  e Watchdog time  e Watchdog sensitivity     gt  If the watchdog for the appropriate task is deactivated in the task  configurati
24. AN  PROFIBUS      Input and output appear in the editor with the IEC address by which they can be accessed  Each input  and output can be tagged with a symbolic name which is located before IEC address     Technical specifications are subject to change  18 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          6 1 WORKING IN THE PLC CONFIGURATION    The PLC configuration editor is divided up in two parts  In the left window the configuration tree is  displayed  Structure and components of the tree result primarily  Standard configuration  from the  definitions found in the configuration file  In the right window the currently available configuration  dialogs are shown on one or several tabs    At the top of the configuration tree the entry of the  root  module is shown with a name which has  been defined in the configuration file   cfg  Below this are shown hierarchically indented the other  elements of the configuration  Modules of different types  CAN  PROFIBUS  I O   channels or bit  channels     Selecting elements    In order to select elements  click the mouse on the corresponding element  or use the arrow keys to  move the dotted rectangle onto the desired element     Elements that begin with a plus sign are organization elements and contain subelements  To open an  element  select the element and double click the plus sign or press  lt Enter gt   You can clos
25. Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE       PLC configuration       6 5 4 LEDS ON THE PROFIBUS COMMUNICATION MODULE DPM MC2    On the Profibus communication module the following LEDs with the following meaning are available   e STA yellow  e ERR red  e RUN green  e RDY yellow    Zustand   State Bedeutung   Meaning           Ein  On  Blinkt zyklisch   Flashing cyclic    Blinkt unregelm    ig  Flashing irregular    Aus   Off    CIF bereit   CIF is ready  Bootstraploader aktiv  Bootstraploader active  Hardware  bzw  Systemfehler   Hardware or system error       O G      Hardwaredefekt   Hardware defect    ERR        Ein On  Aus   OFF    PROFIBUS Fehler  PROFIBUS Error  Kein Fehler  No error    Example   RDY    O RUN Hardware Fehler RDY EI    RUN Kurzschlu   auf dem PROFIBUS  ERR O OSTA Hardware error ERR   OSTA Short circuit at the PROFIBUS  i Alle Slaves fehlen oder   RDY    O RUN a eee ee RDY be    RUN PROFIBUS nicht angeschlossen  ERR O OSTA _ Bootstraploader active ERR    STA AN Siaves are missing or   PROFIBUS not connected  RDY  amp   amp  RUN Keine oder fehlerhafte RDY  amp  on RUN Mindestens ein Slave fehlt    ERR    OSTA VT in configuration ERR    STA Atleast one slave is missing  RDY ERUN PC Applikation nicht bereit RDY    RUN Kommunikation l  uft fehlerfrei  ERR O  STA PC application not ready ERR     STA_ Communication is running faultless    Technical specifications are subject to change  M
26. N B    Unsign     3026su    XbiOutputDword3_Generic XN B    Unsign     3027su    XbiOutputDword4_Generic XN B    Unsign     3060su    XbiParamByte_Generic XN BR  P    Unsign     3062su    XbiParamWord_Generic XN BRV     Unsign     3064su    XbiParamDword_Generic XN BR     Unsign     3065su    XbiParamDword2_Generic XN B    Unsign     3066su    XbiParamDword3_Generic XN B    Unsign     3067su    XbiParamDword4_Generic XN B    Unsign     3080su    XbiReferenceModuleld_Generic X    Unsign     3081su    XbiReferenceModuleType_Generi    Unsign     3020su    XbiOutputByte_Generic XN 16D0    Unsign     3022su    XbiOutputWord_Generic XN 16D   Unsign     3024su    XbiOutputDword_Generic XN 16D    Unsign     3025su    XbiOutputDword2_Generic XN 16    Unsian     3026su    XbiOutputDword3_Generic XN 16    Unsign     3027su    XbiOutputDword4_Generic XN 16    Unsign     3060su    XbiParamByte_Generic XN 16DO    Unsign     3062su    XbiParamWord_Generic XN 16D    Unsign     3064su    XbiParamDword_Generic XN 16    Unsign     3065su    XbiParamDword2_Generic XN 16    Unsign     3066su    XbiParamDword3_Generic XN 16    Unsign     3067su    XbiParamDword4_Generic XN 16    Unsign     3080su    XbiReferenceModuleld_Generic X    Unsign       3081su    XbiReferenceModuleType_Generi   Unsign     ANNnen Writanutnut Rit Canerie YM AARN Det Ilneinn             6 3 3 BUS DIAGNOSTIC  Various function libraries are available for configuring the bus diagnostics in the PLC program      gt  Please refer 
27. PLC configuration      Write DCF   If the option write DCF is activated  a DCF file will be created in the defined directory for the compiled  files after an EDS file is inserted  The DCF file name is made up of the name of the EDS file and the  corresponding Node ld     Create all SDOs    If the option Create all SDOs is activated  all SDOs will be created and transferred to the CAN Node   Otherwise only SDOs are transferred which are different to the default value of the EDS file     Reset node    If the option Reset node is activated  then the CAN Slave will be reset before downloading the  configuration by SDO command    restore all default parameters     Index 16 1011 Sub Index 1 with  value  Load   16 23 11 10 01 6C 6F 61 64      Technical specifications are subject to change  M002382 02     by Micro Innovation    27       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          Optional device    If the option Optional device is activated  only in certain circumstances is the presence of the CAN  node on the CAN bus checked after the start of the PLC program     If the CAN node is not on the CAN bus  no node monitoring takes place  The node monitoring in the  CAN diagnostic system takes place without the optional CAN node     If the CAN node is connected on the CAN bus before the start of the PLC program  node monitoring is  activated and evaluated in the CAN diagnostic system     If the CAN node is c
28. Profibus Master and Profibus Slaves     Use defaults    If Use defaults is activated  a default parameter set is used for selected baud rate  If this option is not  activated  the parameters can be changed manually      gt  This option does not take the configured I Os into account  If optimized  parameters for the bus topology are needed  then these parameters must be  determined with an external Profibus configuration tool  e g  Sycon supplied   by Hilscher      Technical specifications are subject to change  44 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software    User manual MXpro 2 3 9   PLCWinCE       PLC configuration       Parameters    Name  value and unit are indicated for each object  The value can be changed  Mark the value and  press  lt Space gt   After any changes press  lt Return gt  to confirm or press  lt Escape gt  to reject the value                       Parameter Description   Slot Time Maximum time during which the master waits  after sending a request    TSL  message  for the receipt of the first character of the slave s reply message    Min  Station Delay Minimum response time  after which a Slave may reply     Min  TSDR    Max  Station Delay Maximum response time  within which a Slave must reply    Max  TSDR    Quiet Time Idie period which must be taken into account during conversion of NRZ    TQUI   Non Return to Zero  signals to other codings  switchover time for  repeater     Setup Time Time  wh
29. Rx PDOs are read at the beginning of the task and transferred to the input image     The used outputs or Tx PDOs are taken from the output image at the end of the task and written  afterwards      gt  If the same Rx  or Tx PDOs are used in different tasks  this can lead to cycle   inconsistent data     e With inputs it may occur that values are changed within a lower priority task  cycle  because the inputs are read again by a task with higher priority     e Outputs can be sent too soon by another task  because the outputs are  written again by a higher priority task    8 9 3 PROFIBUS    Profibus Master DPM MC2    The inputs and outputs are updated on the communications module  This takes place asynchronously  to the tasks of the PLC program     The used inputs are read from the communication module at the beginning of the task and transferred  to the input image     The used outputs are taken from the output image at the end of the task  transferred to the  communication module and written afterwards     Profibus Master CMM MPI   The inputs and outputs are updated in an additional cyclic system task  driver task   This takes place  asynchronously to the tasks of the PLC program    The used inputs are read from the driver task at the beginning of the task and transferred to the input  image    The used outputs are taken from the output image at the end of the task  transferred to the driver task  and written afterwards     Profibus Slave PDP TP   The inputs and outputs are up
30. SISTENT  variables to  the startup value and deletes the PLC program on the controller  The controller is set back to the  original state     Technical specifications are subject to change  M002382 02 65     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Operation          7 8 TEST AND STARTUP    The controller supports following test and startup possibilities   e Breakpoint Single step mode  e Single cycle mode  e Force mode  e Online change     gt  The power flow control is not implemented and is not supported     Breakpoint   Single step mode    Breakpoints can be set in the PLC program  During the execution of an instruction tagged with a  breakpoint  the PLC program is stopped task specific on the breakpoint  The subsequent instructions  can be executed in single step mode  In this case the watchdog timing is deactivated      gt  The PLC program stops only on breakpoints of the task  which is defined in  the task configuration as debug task     Single cycle mode   If single cycle mode is activated  only one task specific program cycle is executed  The outputs are  enabled during the program cycle  At the end of the program cycle the output image is deleted  At the  end of the program cycle the output image is deleted and the outputs are switched off  In this case the  watchdog timing is deactivated     Force mode  All variables of PLC program can be forced     Technical specifications are subje
31. See GmbH  E  S XN 16DI 24VDC P Revision  Ye    H  S XN 16D0 24VDC 0 5A P viata WIE  SW Release  V1 3    File name  XNO2B2EV25 gsd    Slave type  3 XI ON GSD file       Identification  Standard parameter  Station address   2 Identnumber  0x0282    Station name   XN Gw PBDP 1 5MB TSDR  TBit    11    Lock Unlock   2 v    Slave active in current configuration  Vv Watchdog          Activation    Watchdog Control  Iw    Time  ms   11000             Station address   The Station address is the unique identification of the Profibus module  It corresponds to the number  which is set between 0 and 126 on the Profibus module itself  The station address must be entered as  a decimal number    Activation   If the option Activation is deactivated  the configuration data is transferred to the Profibus Slave  during Download  but a data exchange does not occur    Standard parameter    The Identnumber is assigned by the PNO and is the unique identification number for this device type   It allows unambiguous reference between Profibus Slave and the corresponding GSD file     The parameter TDSR  Time Station Delay Responder  corresponds to the response time after which  the Profibus Slave may respond at the earliest to the Profibus Master  Time unit for the transmission  of a bit via Profibus  Reciprocal value of the data baud rate  e g  1 TBit at 12MBaud 1 12 000 000  Bit sec 83ns   The parameter Lock Unlock enables the Profibus Slave to be locked or released for other Profibus   Masters    e 
32. Symbolic names option is activated  the  symbolic names are then used     Module Properties    Name  2 byte input con  0x91    Config  0x91   Length input  Byte  2 Cancel  Length output  Byte   0    Symbolic names  Iw       Parameters Allowed Values       Technical specifications are subject to change  58 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          Module parameters    This tab lists various extended parameters of a Profibus Slave defined in the GSD file  The column  Parameters shows the name of the parameter  The parameter values entered in column Value can  be changed  The Value range is also specified    If symbolic names are also specified for the parameters in the GSD file  the option Symbolic names  can be activated  so that the values can be displayed with these names  The Length of user  parameters is also given above the table as information     fff PLC Configuration HER     Base parameters   DP parameters   Input Output H    byte input con  0x91   IEC Output     AT  QB0  BYTE  index   Name Value Default    6  AT  QB1  BYTE  1 UpdateTask Default Default  E   4 byte output con  0xA3   IEC Input   DAT  IBO  BYTE   J  AT  IB1  BYTE   GI AT  IB2  BYTE   E  AT  IB3  BYTE                    Name of update task  Name of the task  in which the Profibus Slave is called and the process images is updated   e Default  First task entry of the task configurati
33. able     fe  Setup   TargetFirmwareWinCE    Installation Type  Select Installation Type    Please specify the Installation Type  then click Next        FTP Installation     Installation to a removable drive     Installation to a local directory    www  microinnovation com       e FTP Installation   The installation of the directories PlcRts and PlcPrg is made by FTP     e Installation to a removable drive   The removable drive  e g  CompactFlash     must be  available on the programming PC by an adapter  e g  PC Card adapter   The installation of  the directories PlcRts and PlcePrg takes place directly on the removable drive     e Installation to a local directory   The installation of the directories PlcRts and PlePrg takes  place in a local directory on the programming PC  Subsequently  the directories PlcRts and    PicPrg must be copied manually into the root directory on removable drive  e g   CompactFlash          gt  The stored PLC program remains by firmware update    gt  The listings PlcRts and PIcPrg are not deleted with a target system installation  or firmware update  Existing files are only overwritten     Technical specifications are subject to change  88 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Licensing          15 LICENSING    15 1 PLC PROGRAMING TOOL    The PLC programming tool is subject to license      gt  If no series number or license key is available by the
34. ce Hles 20  62  Eed 21  63     Configuration as CAN Master  anna ana nennen ennnne 22  6 3 1 Configuration of CAN  Master 23  6 3 2 Configuration of CAN Nodes nn 26  6 3 3 BUS lee EE 32  6 4 Configuration as CAN Device AAA 33  6 4 1 Configuration of CAN Device nn 34  6 4 2 Configuration of CAN Device in CAN Master 38  6 5 Configuration as Profibus Master     nee 39  6 5 1 Configuration of Profbus Master 40  6 5 2 Configuration of Profibus Slaves            essssseesssesseesiesiesiesrersnnntntntnnnnnnnnrnnnrnnnen nnt 46  6 5 3 BUS  le le un Le 52  6 5 4 LEDs on the Profibus communication module DPM MC2                   een 53  6 6 Configuration as Profibus Slave a    a EEN EEN 54  6 6 1 Configuration of Profibus Slave nam 54  6 6 2 Configuration of Profibus Slave in Profbus Master    60  6 6 3 SE ue Le 61  0101 1 7 1 ON NDRBRPEFEPERRRENDEN BREREFEERENEEERURUREFEREFEREFERUEEHEEERERERFERRERENEEERNEERERTPERDREFERUECREEERHRERRR 62  7 1 Startup TE 62  7 2 Switch off behaviour Zessusesuensineecgeseane ee ea ee 62  7 3 Operating state of e E 62  7 4 Switching the operating State    63    Technical specifications are subject to change  M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter             Software User manual MXpro 2 3 9   PLCWinCE  Contents  Eege 64   7 6 ebe iaa p a a EEA EEE EN A EEEE EAEE 65   7 2 Reset behavi  ur nn  este EE 65   7 8 Nest and startup ce een 66   7 9 Program transfer nenne een 67  7 9 1 Create  boot proj Chis aise ns
35. cro Innovation AG  Revision  V2 0  HW Release  V1 0    AT  QB0  BYTE   HAT  QB1  BYTE     Bed byte output con  0xA3   IEC Input     AT  IBO  BYTE  SW Release  V3 0    AT  IB1  BYTE  File name  Mpdp4DO3 gsd     AT  IB2  BYTE  Scho H GSD file       l  AT  IB3  BYTE   Station address   3    ics ae css cl             Station address    The Station address is the unique identification of the Profibus Slave  It corresponds to the number  between 0 and 126 and must be entered as a decimal number      gt  The Station address can be overlaid by means of registry entry Thus it is possible  to write a PLC program for several Profibus Slaves  without changing the PLC  configuration of the Profibus Slaves     In the directory PlcRts  create the files MXproUser bat and MyName reg and then create the  following call in the file MXproUser bat        MXproUser bat       IF exist  StorageCard PicRts MyName reg CALL Regedit exe   StorageCard PIicRts MyName reg    Q        Technical specifications are subject to change  56 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE    PLC configuration          In the file MyName reg  define the following entry by using the desired station address        MyName reg   HKEY_LOCAL_MACHINE SOFTWARE Micro Innovation MXpro Runtimesystem PLC DP_SLAVE         BusAddress  dword 00000002       Module selection    The configuration of the appropriate structure can be made by add
36. ct to change  66 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Operation          7 9 PROGRAM TRANSFER    If the PLC program was compiled without errors in the PLC programming tool  PC   it can be  downloaded to the main memory of the controller and can be started afterwards   gt  Chap  9     Communication Parameters      Channels           localhost    via Tcp lp TTep lp  Level 2 Route     192 168 0 21  Name  Vale   Comment      Address 192 168 0 21 IP address or hostname  Port 1200   Targetld 0   Motorola byteorder No    Remove    Gateway                 During a program transfer from the PC to the controller  the program in the controller is compared with  the program on the PC  If they are not identical  a prompt asks whether the program to be overwritten  is  If this prompt is confirmed  then the controller is switched to the operating mode  stop  and the new  program is loaded to the main memory     The program has changed  Download the new program     Yes No Cancel Details  gt  gt   BEZ       Technical specifications are subject to change  M002382 02 67     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Operation          Communication error    OH Communication Error   0   Logout Performed    Ba    If no connection can be established between the PLC programming tool and the controller  the  following
37. ctory  C  Program Files Common  Files CAA Targets Micro Innovation V2 3 9  must then be removed manually     Technical specifications are subject to change  M002382 02 11     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Target settings          5 TARGET SETTINGS    This dialog opens automatically if a new project is created  Otherwise it is reached via  lt Target  settings gt  in the  Resources  tab     In the target settings  select the appropriate PLC type  This configuration selects optimum settings for  processor type and memory size  The entry  None  automatically activates Simulation mode      gt  Changes to the preset target settings can have an effect on the behavior of the  target system     If necessary the Default button resets the changed configuration to the standard configuration     5 1 TARGET PLATFORM    Target Settings    Configuration   KvM C2 4ux   2 3 9 v      Target Platform   Memory Layout   General   Network functionality   Visualization       ri       a i           R       Default   Cancel         Technical specifications are subject to change  12 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Target settings          5 2 MEMORY LAYOUT    Target Settings    Configuration  AN C2 444 V2 3 9 e      Target Platform Memory Layout   General   Network functionality   Visualization      Bas
38. dated cyclically on the communications module  This takes place  asynchronously to the tasks of the PLC program    The used inputs are read from the communication module at the beginning of the task and transferred  to the input image    The used outputs are taken from the output image at the end of the task  transferred to the  communication module and written afterwards     Technical specifications are subject to change  76 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Connection establishment programming PC   Controller          9 CONNECTION ESTABLISHMENT PROGRAMMING PC     CONTROLLER    9 1 CONNECTION ESTABLISHMENT WITH ETHERNET    Communication of the programming PC to the controller takes place with Ethernet and the TCP IP  protocol  For a direct connection  without Ethernet hub or switch  a crossed cable  Crossover  is to be  used  On the controller a standard RJ45 jack is attached        crossed RJ45 TwistedPair Cable    For a connection to the PLC via an Ethernet hub or switch a straight  uncrossed  cable should be  used        FL FIR FIR FREI III          Straight RJ45 TwistedPair Cable    Technical specifications are subject to change  M002382 02 77     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Connection establishment programming PC   Controller          Communication parameters    The  Com
39. do not support CoDeSys target system  visualization     Technical specifications are subject to change  M002382 02 17     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          6 PLC CONFIGURATION    The PLC configuration is found as an object on the  Resources  tab in the  Object Organizer      The PLC configuration enables inputs and outputs to be configured or bus compatible I O modules to  be connected  Configuration files    cfg  and device files  e g    gsd    eds  are used as the basis for  work in the PLC configuration     MXpro   Demo pro  File Edit Project Insert Extras Online Window Help    dee  Ss A    a  Resources ff PLC Configuration  ann E   Configuration 4  a     Gay CanMasterfSLOT  E Settings   Other parameters  ES 9 XN GW CANopen  EDS   QB0 Can Output  BO Can Input  E  9 XN GW CANopen  EDS    QB2 Can Output  B E library  1B2 Can Input Save configuration files in project   E E ibrary   E library  E E ibrary    Automatic calculation of addresses     Check for overlapping addresses       PLC     BY Sampling Trace     ee Tag  Tas                   el Visualizations   2 Resources               ONLINE  OV  READ    The PLC configuration is displayed in the editor in tree structure and can be edited using menu  commands and dialogs  The configuration contains input and or output elements and also  management elements which themselves also have subelements  for example  C
40. e IEC addresses starting from which the PDOs  Process Data Object  in the project  can be addressed  It depends on the general settings and the definitions in the configuration file   which addresses are already predefined  which address mode is valid and whether the addresses can  still be edited here     Technical specifications are subject to change  M002382 02 23     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          CAN parameters  In this dialog the global settings and monitoring parameters for the CAN bus are defined     fff PLC Configuration  E Configuration    Base parameters CAN parameters     CANopen      QB0 Can Output    i E    1IB0 Can Input Com  Cycle Period  usec    10000  El g XN GW CANopen  EDS   VAR   B   QB2 Can Output Sync  Window Lenght  usec    5000    B   IB2 Can Input       baud rate    500000       Sync  COB ID   128 activate  IV    Node ld   1    Support DSP301 V4 01 and DSP306       Heartbeat Master  ms            Baud rate  Baud rate for the transmission between CAN Master and CAN modules     Com  Cycle Period  Sync  Window Length  Sync  COB ID    PDOs  Process Data Object  are either for synchronous or asynchronous transmit modes  The  Communication Cycle Period  usec  is the time interval in microseconds  in which the synchronization  telegram with the unique number Sync  COB ID  Communication Object Identifier  is transmitted     This option mus
41. e Size    Code   fie io0000    Global    esoo per segment  Memory   beaomg    Input   sro    Output   jeooo    Retain   eR    Maximum number of POUs     Default OK   Cancel         Code size  Default 1024KB  16 100000  memory for program code  This memory is allocated automatically     Global size  Default 256KB  16 40000  memory for global data  This memory is allocated automatically     Maximum number of POUS    Each POU needs 12Byte memory automatically  Altogether 12KB memory is needed for the function  pointer table  1024 components   gt  12KB   This memory is added to the PLC data memory      gt  The calculation of the number of POUs used in the program includes all  functions and function blocks of inserted libraries     Technical specifications are subject to change  M002382 02 1     by Micro Innovation 3       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software    Target settings          5 2 1 OVERVIEW MEMORY LAYOUT    Default settings  With online change  Number of data segments   1  Size of data segment   256KB       32KB retentive data area       12KB Function pointer table  12KB In Output marker data          1   256KB global data area       1024KB program code   Online Change        1024KB program code              gt  During the standard compilation of the PLC program the PLC programming  tool displays the size of the data area to the user     The PLC Browser and the command  sysinfo  can be used to determine the  
42. e opened  elements  minus sign in front of the element  the same way     Inserting elements   lt Insert gt   lt Insert element gt    lt Insert gt   lt Append subelement gt     Depending on the definitions in the configuration file s  and on the available device files  which have  been read when the project was opened  a basic composition of elements is automatically positioned  in the configuration tree  If one of those elements is selected  further elements may be added if this is  allowed by the definitions in the configuration file and if the needed device files are available     e Menu item  lt Insert gt   lt Insert element gt   An element can be selected and inserted before the  element which is currently marked in the configuration tree   e Menu item  lt Insert gt   lt Append subelement gt   An element can be selected and inserted as    subelement of the element which is currently marked in the configuration tree  It will be  inserted at the last position     The most important commands are found in the context menu  right mouse button      Replacing switching elements   lt Extras gt   lt Replace element gt     Depending on the definition in the configuration file  the currently selected element can be replaced by  another  It is also possible to switch channels  which are set up in a way that they can be used as  input or as output elements  Use the menu item  lt Extras gt   lt Replace element gt      Recalculation of Module addresses   lt Extras gt   lt Calculate addr
43. ec einen 68   8 Program execution and system time           uuunnnssssnnnnnnunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 69  8 1 Program execution EE 69   8 2 TESK EORIHUANOR Seen 69   83 M  ltitaskin gissen a aa p ia ra E E ERTE E ARNA E aa aa ES Aa 72   8 4 Task monitoring   Watchdog timing          eesesssseeeseeeeeseeeirrrttteeerirrertrnesssstrnnnnnnnsnsnenn 72   8 5 e En e e EEN 74   8 6 Direct pheriphery acer near 74   8 7  ale    e Le EE 74   8 8 System libraries  function blocks and unchons nennen 75   8 9 Process image   lO Update AAA 75  8 9 1 Onboard e TEE 75   8 9 2 VAN BUS laser nee aE 76   8 9 3 PrOfib  s zen2 e ern eek 76   9 Connection establishment programming PC   Controller          uuuuuueesssnnnnnnn 77  9 1 Connection establishment with ethernet AA 77   10 Parameter manager   Object directorY             uuuuuuusnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 80  11 PLG  Brow SO 0 csisssisesancscceuencranantianasantssueissancnaiavancedssusdceasetandudcauensuasanentaanaweaeuecsaans 81  12 Blau  COMMGULAUON EE 82  13 Connecting to visualization   Generating of the symbol file                    00 83  13 1 Configure Symbole    see ae 83  132 Download symbol hr UE 86   14 Target system installation and firmware update        uussuunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 87  15 Licensing    ri 89  15 1 PLC Pr  gram  ing Elte 89  15 2  elt E 89   16 Revision History  naeh 90  17 Nels vcsceciseccescesacacecasasacectvesseetasesenentwaceuasavetecasiuaceceusuasavetiuatanessuauecetsiexane
44. ect interrupt processing is not supported     Technical specifications are subject to change  M002382 02     by Micro Innovation    74       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Program execution and system time          8 8 SYSTEM LIBRARIES  FUNCTION BLOCKS AND FUNCTIONS    For designing the PLC program various function libraries are available      gt  Please refer to the detailed function descriptions in the relevant  documentation of the function libraries     8 9 PROCESS IMAGE   IO UPDATE    During compilation of the PLC program the configuration of the inputs or outputs used in each task is  attached to them     Input image   An instruction  myVar     IX0 0  leads to an entry in the configuration file  which describes that the  value of the input  IX0 0 must be processed  If the byte  IBO is used at the same time  the whole  byte is processed instead of a bitwise access    This configuration is created for each task and attached to the relevant task  Based on this  configuration the inputs are read at the beginning of the task     Output image   An instruction   QX0 0    myVar  leads in the configuration file to an entry  which describes that the  value of the output  QX0 0 must be processed  If the byte  QB0 is used at the same time  the whole  byte is processed instead of a bitwise access    This configuration is created for each task and attached to the relevant task  Based on this  configuration the output
45. ect to change  M002382 02     by Micro Innovation    efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Install          3 3 INSTALL PLC PROGRAMMING TOOL    Insert the installation CD into your PC and start the setup with  Setup_MXpro_V2 3 9 exe       gt  If no series number or license key is available by the installation of the PLC  programming tool  the target systems are installed in the demo mode     The installation will create the following directories by default              Directory Description   C  Program Files Micro Innovation MXpro V2 3 9 PLC programming tool   C  Program Files Common Files CAA Targets Micro Target specific components such as  Innovation V2 3 9 libraries and configuration data incl     firmware for PLC target systems       Behavior in relation to installed PLC programming tool    Already installed versions of PLC programming tool MXpro and appropriate PLC target systems are  not affected     All PLC target systems appropriate for installation are assigned a new  designation or identification      gt  If you would like to update PLC projects  which are created with older version    of the PLC programming tool  then the PLC target system must be changed     After closing and renewed opening of the PLC project  the PLC project will  updated and the new libraries merged     Technical specifications are subject to change  M002382 02 9     by Micro Innovation       efesotomasyon com   Klockner Moeller   i
46. efesotomasyon com   Klockner Moeller   inverter    User manual  MXpro 2 3 9   PLCWinCE  Software                Document M002382 02  Edition 06 2009    MM  micro innovation    Innovation in Automation    efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Copyright          Copyright  Keep documentation for future use     This documentation is the intellectual property of Micro Innovation AG  which also has the exclusive  copyright  Any modification of the content  duplication or reprinting of this documentation  as well as  distribution to third parties can only be made with the express permission of Micro Innovation AG     Micro Innovation AG does not accept any liability for damages arising from the use of any incorrect  or incomplete information contained in this documentation or any information missing therefrom     Micro Innovation AG reserves the right to make complete or partial modification to this document     All brand and product names are trademarks or registered trademarks of the owner concerned     Technical specifications are subject to change  2 M002382 02 DOC     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Proper use          Proper use    Hardware  software  operating systems and drivers must only be used for the  applications specified in this description and only in conjunction with the components  recommended by Micro Innovation
47. er   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Program execution and system time          8 5 DATA RETENTION    The controller has a storage area for retentive data  RETAIN  RETAIN PERSISTENT   This data is  stored when switching the controller off     If in certain circumstances a voltage drop terminates program processing in the middle of the program  cycle  the data of the current program cycle will not be consistent     With the next startup the controller is initialized with the data which was still written correctly by  voltage drop     Variable behavior    Action VAR VAR RETAIN VAR PERSISTENT VAR RETAIN  PERSISTENT  After Stop  gt  Start Initialization value Value retained Initialization value Value retained    After warm start or    Initialization value Value retained Initialization value Value retained  reset   reset warm    After cold start or    Initialization value Initialization value Initialization value Initialization value  reset cold    After reset original Initialization value Initialization value Initialization value Initialization value    After  Clear all   and subsequent Initialization value   Initialization value Value retained Value retained  program download     gt  The variable behavior of global variables corresponds also to the variable  behavior of local variables     8 6 DIRECT PHERIPHERY ACCESS     gt  Direct periphery accesses  e g  process image  are implemented for each  specific target     8 7 INTERRUPT PROCESSING   gt  Dir
48. esses gt     If the option Calculate addresses is activated in the dialog  Settings  of the PLC configuration editor   then the command  Extras      Calculate addresses    will start to recalculate the addresses of the  modules  All modules starting with the one  which is currently selected in the configuration tree  will be  regarded     Return to standard configuration   lt Extras gt   lt Standard configuration gt     The command  Extras    Standard configuration    can be used to restore the original PLC configuration   which is defined by the configuration file   cfg of the target system     Technical specifications are subject to change  M002382 02 19     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software    PLC configuration          6 1 1 PROJECT SPECIFIC CONFIGURATION FILES AND DEVICE FILES    Customized directories for configuration file s  and device file s  can be defined project specific with  menu item  lt Project gt   lt Options gt   In the project specific library and configuration path  relative directory  paths to the project can be defined  e g    Libraries    PLCconf      Options    Category     Load  amp  Save   User Information  Editor   Desktop   Colors   Directories   Log   Build   Passwords   Source download  Symbol configuration  Database connection  Macros    Project  Libraries     Compile files     Configuration files     Visualization files     Target  Libraries     Configurat
49. f this address  If a  module is removed from the configuration  the addresses of the subsequent modules are adjusted  automatically  When the command  Extras    Calculate addresses  is executed  all addresses starting  at the selected node  module  will be recalculated     Check for overlapping addresses    If this option is activated  the project will be checked for overlapping addresses during compilation and  a corresponding message will be displayed    Save configuration files in project    If this option is activated  the information which is contained in the configuration file s  and the device  description files will be saved in the project     Technical specifications are subject to change    M002382 02     by Micro Innovation    21       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          6 3 CONFIGURATION AS CAN MASTER    The PLC programming tool supports a hardware configuration according to the CANopen Draft  Standard 301  This requires a configuration file  which allows CAN modules to be inserted     All EDS files  Electronic Data Sheet  and DCF files  Device Configuration File  which are stored in the  defined configuration files directory  can be integrated  edited and displayed in the PLC configuration   In the EDS file the configuration options of a CAN module are described  If you add a module which is  described in a DCF file  only the IEC addresses can be modified    The modules rece
50. ggered by event  r    Properties  Interval  e g  tH200ms    TH8ms       Watchdog       Activate watchdog    Timefe g  t 200ms        Sensitivity                    The correct definition of a task consists of following parameters   e Task name  e Task priority  e Task type or task condition  e Task monitoring   Watchdog    Task name  Unique task name  Task priority    In order to prioritize the tasks  different task priorities can be assigned  The task priorities can be  defined between 0 and 31  0 corresponds of the highest and 31 of the lowest priority      gt  Tasks with same priority do not interrupt themselves mutually     Technical specifications are subject to change  M002382 02     by Micro Innovation    70       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Program execution and system time          Task type or Task condition    The task condition can be either one time interval  after which the task is to be executed  cyclically   or  a global variable  which causes their execution in the case of a rising edge  event controlled     An event controlled task presupposes a cyclic task  which must be programmed in the program of the  cyclic task  Each rising edge of the event initiates afterwards the execution program of the event   controlled task     Task monitoring   Watchdog  Each task can be monitored with the help of the watchdog function   gt  Chap  8 4     Technical specifications are subject to change  M0023
51. ich may lapse between the receipt of a telegram and the following    TSET  reaction on the Slave        Target Rotation Time   TTR     Token cycle time setting  Projected time interval in which a master should  receive the token  Result of the sum of the token stop times of all masters  on the bus        Gap Update Factor   GAP     GAP update factor G  Number of bus cycles after which the master s GAP   address range from its own bus address to the address of the next active  station  searches for an additional  newly inserted active station        Max  Retry Limit    Maximum number of repeated request attempts by the master when it has  not received a valid response from the slave       Min  Slave Interval    Time between two bus cycles in which the slave can process a request  from the master  time basis 100us   The value entered here must be  checked against the respective specifications in the slave s GSD file        Poll Timeout    Maximum time after which the master s reply in a master master  communication must be retrieved by the requester  Class 2 DP master    time basis 1ms         Data Control Time    Time in which the master reports its status to the slaves assigned to it  At  the same time  the master monitors whether at least one data exchange  each has taken place with the slaves within this period  and updates the  Data_Transfer_List        Technical specifications are subject to change    M002382 02     by Micro Innovation    45       efesotomasyon com   Kloc
52. ing with the Add button or removing  with the Remove button     E PLC Configuration    B  Configuration    t  AT  QB0  BYTE   B    AT  QB1  BYTE     byte output con  0xA3   IEC Input       AT  IBO  BYTE     AT  IB1  BYTE     AT  IB2  BYTE     Base parameters   DP parameters    Max  length of input data  200 Byte  Max  length of output data  200 Byte  Max  length of in  output data 368 Byte  Max  number of modules  24          Input Modules     Output Modules     In  Output Modules    Module parameters      Length of input data   Lenath of output data   Length of in  output data   Number of modules        Selected Modules  2 byte input con  0x91   4 byte output con  0x43     B    AT  IB3  BYTE               gt  The Input Modules and Output Modules are from the point of view of the  Profibus Master     Technical specifications are subject to change  M002382 02 57     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          The Properties button opens the Module properties    dialog for the input or output module currently  selected in the left or the right list  It shows the name  the configuration  module description coding  according to PROFIBUS standard  and the input and output lengths of the module in bytes  If the  module description in the GSD file contains specific parameters in addition to the standard set  these  are listed here with their values and range of values  If the 
53. ion files     General  Libraries     Compile files     Upload files     Configuration files     Visualization files     Si  Si     St    C  Program Files Common Files CAA T argets Micro Innovation   2 3 9 Lib      C  Program Files Common Files C4A T argets Micro Innovation 2 3 31 Y     C  Program Files Common Files MXpro Compile     El  C  Program Files Common Files M gt pro Upload   Si    Cancel       The project must be closed after defining project specific directories for the  configuration file s  and device file s   After subsequent opening of project the  additional configuration file s  and device file s  are visible in the PLC  configuration and can be inserted     Technical specifications are subject to change  20 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software    User manual MXpro 2 3 9   PLCWinCE       PLC configuration       6 2 GENERAL SETTINGS    E PLC Configuration      GN CanMaster SLOT   a  g XN GW CANopen  EDS   VAR   B    QB0 Can Output  B    1B0 Can Input  f  XN GW CANopen  EDS   VAR    QB2 Can Output    E    1B2 Can Input    Settings   Other parameters       Automatic calculation of addresses     Check for overlapping addresses        Save configuration files in project              Automatic calculation of addresses    If this option is activated  each newly inserted module is automatically allocated with an address   which the result of the address of the module inserted beforehand plus the size o
54. ion the option Dump symbol entries must  be activated     Category   Load  amp  Save    User Information V Dump symbol entries    Editor       Dump XML symbol table Cancel      Configure symbol file        Database connection  Macros       The Configure symbol file button is used to define from which objects the variables are exported into  the symbol file      gt  It is recommended that only the variables needed for the variable exchange  with visualization are exported into the symbol file  Therefore the range of  these variables should be structured  This is done by defining global variable  sheets or by using of pragma instructions   Please refer to the detailed information in the CoDeSys V2 3 user manual or  the online help of the PLC programming tool     Technical specifications are subject to change  M002382 02 83     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Connecting to visualization   Generating of the symbol file          All objects are selected by default  When first opening this dialog therefore deactivate the  Export  variables of object  option for all objects     Set object attributes             port data entries  port structure components  array entries    CESS       Technical specifications are subject to change  84 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software    User manual MXpro 2 3 9   PLCWinCE       Connecting t
55. ions in the relevant  documentation of the function libraries     Technical specifications are subject to change  M002382 02 61     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE    Software  Operation          7 OPERATION    7 1 STARTUP BEHAVIOUR    After startup the controller executes a system test  If there is no error detected  the controller switches  to the operating state  stop  or  run   The system test contains the following tests   e Memory test    e PLC Program test    The result is visualized in the PLCWinCE window        PLCWinCE VW    State TcpIp Settings   Rumms   Ka Port 1200     Demo l Version          Project Info       Program Name  Demo  pro             In addition the operating state of the controller depends of defined startup characteristics   gt  Chap   7 4     7 2 SWITCH OFF BEHAVIOUR    With a voltage drop the program processing is immediately terminated and all necessary information  for the restart is stored  After renewed switching on the controller executes a restart     7 3 OPERATING STATE OF CONTROLLER    Stop   The operating state  stop  is characterized by the following characteristics   e A PLC program is located on the controller  e The PLC program is not executed    The operating state  stop  is assumed   e After voltage switch on with defined startup characteristics  stop     Chap  7 4   e Via the PLC programming tool on the PC  e After a cycle time timeout   watchdog   
56. is an FB which can be used by the  application     Dynamic changes of the PDO properties runtime properties    Technical specifications are subject to change  M002382 02 33     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          6 4 1 CONFIGURATION OF CAN DEVICE    Basic settings    E PLC Configuration    Ei Configuration a  Tan GANS Base settings   CAN settings   Default PDO mapping      Bus identifier  CANT  Name of updatetask  Ire   sl    EDS He generation  IV Generate EDS file  Name of EDS file      CAN Device EDS Browse        Template for EDS file       Browse              Bus identifier  Currently not used     Name of update task  Name of the task  in which the CAN Device is called     EDS file generation    If the option EDS file generation is activated  it will generate an EDS file with the Name of the EDS  file in order to be able to use the current configuration later in any master configuration     Technical specifications are subject to change  34 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          CAN settings    fff PLC Configuration HER     Base settings Default PDO mapping      Node id  2 Device Type   0x191    Baud rate  500000            M Automatic startup  Node guard  IV Nodequarding  Guard COB ID     Guard time  ms         Life time factor    
57. ive a configuration  which describes the timing and error behavior of the data  transmission  Furthermore  the mapping of the PDOs  Process Data Objects  is specified for each  module  which is used for sending and receiving  Receive PDO Mapping or Send PDO Mapping  dialogs   The values of the available SDOs  Service Data Objects  can be changed  Service Data  Objects dialog     Additional parameters of a CAN module or a CAN Master can be configured in the dialog parameter      gt  PDOs defined the PLC configuration which have inputs or outputs that are not  used in the PLC program  are not updated by default in the process image     Technical specifications are subject to change  22 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          6 3 1 CONFIGURATION OF CAN MASTER    Base parameters    E PLC Configuration  Ee Configuration    Base parameters   CAN parameters        QBO Can Output Module id  5     04  l   IBO Can Input Node id  BR  4 XN GW CANopen  EDS   VAR       QB2 Can Output Input address    IBO  BZ Car aa Output address    QBO    Comment        Node number    The node number is defined by an entry in the configuration file or   if there is no entry   by the position  of the module in the configuration structure and is not editable  not to be confused with the node ld   which can be defined by the user      Input address  Output address    This contains th
58. kner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          6 5 2 CONFIGURATION OF PROFIBUS SLAVES    Base parameters    E PLC Configuration    Ee Configuration  D fj DP Master DPM MC2 SLOT  DP parameters   Input Output   User parameters   Groups    ee Module id  69230394  S XN 16DI 24VDC P  Node id     S XN 16D0 24VDC 0 54 P  Input address  eo    Output address    OBO       Comment             Node id    The node identification is defined by an entry in the configuration file or   if there is no entry   by the  position of the module in the configuration structure and is not editable  not to be confused with the  station address  which can be defined by user      Input address  Output address    This contains the IEC addresses  starting from which the inputs or outputs in the project can be  addressed  These addresses refer to the module  It depends on the general settings and the  definitions in the configuration file  which addresses are already predefined  which address mode is  valid and whether the addresses can still be edited here     Technical specifications are subject to change  46 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          DP parameters    E PLC Configuration DAR     ae   Configuration   a  i  DP M Base parameters    i  Input Output   User parameters   Groups    S  E H Info  1  TXNBR24VDC_D       oam 
59. ld appears in  grey and cannot be edited if an option is not supported by the module or if the value cannot be  changed     COB ID    PDO properties   0x1800    COB ID    Nodeld 0x180    Inhibit Time 100ps    0 Cancel      Transmission Type  asynchronous   device profile specific e    Number of Syncs     Event time  10 ms       Each PDO message requires a unique COB ID  Communication Object Identifier    Inhibit Time  The Inhibit Time is the minimum time between two messages from this PDO  This is to prevent PDOs  which are sent when the value is changed from being sent too often     Transmission Type  Number of Sync   s  Event Time  Transmission Type offers you a selection of possible transmission modes for these PDOs     acyclic     synchronous   the PDO will be transmitted synchronously but not periodically   cyclic     synchronous   the PDO will be transmitted synchronously  whereby the Number of  Sync s specifies the number of synchronization messages between two transmissions of this  PDO    cyclic     RTR only   the PDO will be updated after each synchronization message but not  sent  It is only sent when there is an explicit request to do so  Remote Transmission Request    asynchronous     RTR only   the PDO will only be updated and transmitted when there is an  explicit request to do so  Remote Transmission Request     asynchronous     manufacturer specific and asynchronous     device profile specific   the  PDO will only be transmitted when specific events occur  An
60. leObject_6000 Delete  ExtentibleObject_6020  ExtentibleObject_6100  ExtentibleObject_6120  StandardD ataT ypes                      The tabs Receive PDO mapping and Send PDO mapping in the configuration dialog allow the   mapping  of the module described in the EDS file to be changed     All  mappable  objects in the EDS file are located on the left side and can be added to the right side to  the PDOs  Process Data Object  with  gt  gt  button or removed again with Remove button     The StandardDataTypes can be inserted to create empty spaces in the PDO     The Insert Element button can be used to create further PDOs and to add appropriate objects to  them  The allocation of inputs or outputs to the IEC addresses can be achieved via the inserted PDOs   The setting which has been made in the PLC configuration will become visible after the dialog is left   The individual objects can be defined there with symbolic names      gt  The communication channels send and receive are from the point of view of  the CAN module  This means that inputs configured in the PLC program are  from the point of view of the CAN module in the send channel and outputs are   in the receive channel     Technical specifications are subject to change  30 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE       PLC configuration       The standard set properties of the PDOs can be edited with Properties button  The fie
61. mands    gt  In order to use the PLC Browser functionality  you must be connected online  with the target system     Technical specifications are subject to change  M002382 02 81     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter    Software       User manual MXpro 2 3 9   PLCWinCE  Alarm configuration          12 ALARM CONFIGURATION    Controller types of the Micro Innovation do not support CoDeSys alarm     gt  configuration     Technical specifications are subject to change  M002382 02       by Micro Innovation    82       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Connecting to visualization   Generating of the symbol file          13 CONNECTING TO VISUALIZATION   GENERATING OF THE SYMBOL FILE    The symbol file provides a basis for communication between the controller and a possible used  visualization  The content of this symbol file is configured in the PLC programming tool  During  compilation this symbol file is generated and loaded with the subsequent program download to the  controller     13 1 CONFIGURE SYMBOL FILE    The content of the symbol file is configured in the symbol configuration  The symbol configuration is  reached by menu item  lt Project gt   lt Options gt       gt  If the simulation is activated in the  Online  menu item  the functionality   symbol configuration    does not appear in the  Options  dialog     In order for the symbol file to be generated during compilat
62. munication parameters  dialog is reached in the PLC programming tool via menu item   lt Online gt   lt Communication parameters gt   In this dialog the parameters are defined  which are valid for  the communication between the programming PC and the controller     All already created communication routes are listed in the  Communication parameters  dialog under   Channels   Select now one of the channels  by clicking an entry with the mouse  The appropriate  parameters are then indicated in the table  For a connection via Ethernet a channel of the type Tcp Ip   level 2 route  should be used  The parameter address specifies the IP address of the controller which  is used to communicate by this channel     Communication Parameters    Channels          localhost    via Tcp lp Topp  Level 2 Route         192 168 0 21  Cancel    192 168 0 21 IP address or hostname  1200  0 New       Motorola byteorder No    Remove    Gateway              Setting a new channel  Click the button New  The  Communication parameters  New channel dialog appears     Communication Parameters  New Channel    Nee 192 168 0 22  Device Cancel      EHEN 35 Tcp lp Level 2 Router Driver       Technical specifications are subject to change  73 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Connection establishment programming PC   Controller          The input field Name automatically contains the name used for the last e
63. n  output data  352 Byte Length of in  output data     Pl S XN 16D0 24VDC 0 5A P Max  number of modules  128 Number of modules              Input Modules Selected Modules     Output Modules T XN BR 24VDC D      In  Output Modules S XN 16D1 24VDC P       Empty Modules S XN 16D0 24VDC 0 54 P    Ee           The Properties button opens the Module properties    dialog for the input or output module currently  selected in the left or the right list  It shows the name  the configuration  module description coding  according to PROFIBUS standard  and the input and output lengths of the module in bytes  If the  module description in the GSD file contains specific parameters in addition to the standard set  these  are listed here with their values and range of values  If the Symbolic names option is activated  the  symbolic names are then used     Module Properties    Name    XN 16D1 24VDC P  Config  0x11   Length input  Byte   2  Length output  Byte   0  Symbolic names  Vv    Allowed Values       Technical specifications are subject to change  M002382 02 49     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          User parameters   This tab lists various extended parameters of a Profibus Slave defined in the GSD file  The column  Parameters shows the name of the parameter  The parameter values entered in column Value can  be changed  The Value range is also specified    If symbolic names
64. ng the  particular attention of the reader     The individual    Information    pictograms have the following meaning      gt  Indicates important and instructional information     Technical specifications are subject to change  6 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  General          2 GENERAL    2 1 DOCUMENT PURPOSE    This document describes the use of the PLC programming tool  MXpro  and the PLC runtime system  for Micro Innovation devices with Windows CE  This document serves as addition of the user manual  PLC Programming tool CoDeSys V2 3 ofthe company 3S Smart Software Solutions GmbH      gt  All dialogs and examples in this document refer to the controller type MICRO  PANEL XV  MC2 Axx     Depending on selection of the controller type therefore dialogs can differ     2 2 BIBLIOGRAPHY                   Document Doc Number   1  Installation instructions General wiring instructions M000778   2  System description Windows CE M000174   3  System description Networks in brief M000138   4    Documentations concerning PLC function libraries Various        5  System description CA Draft Standard DSP301          6    User manual PLC programming tool CoDeSys V2 3          this list of documents is not final     Technical specifications are subject to change  M002382 02 7     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9 
65. ntered channel  If no channel  has yet been defined  the current gateway name will be offered  followed by an underline character   e g   Iocalhost_   You can edit the channel name at this point  The channel name is purely informative   it does not have to be a unique name but it is recommended that one should be used     The available device drivers on the gateway computer are listed in the table under Device  In the  Name column  click the driver Tcp lp  Level 2 Route  in order to select it  The corresponding  comment  if any  appears in the Info column     If you close the dialog New channel with OK  the newly defined channel appears in the     Communication Parameters  dialog as a new entry in Channels at the lowest position under the  minus sign  So far  it is only stored locally in the project  At this point you can edit the Value column   Double click on the column value row address and put the IP address of the controller and complete  the entry with Return  Now confirm the entered parameters with OK  thus leaving the    Communication  Parameters    dialog     Communication Parameters    Channels          localhost    via Tcp Ip  Tcp lp  Level 2 Route         192 168 0 21  192 168 0 21 Cancel  192 168 0 22    Motorola byteorder No    Gateway        Update       The parameters for a channel already known by the gateway server can no longer be edited in the  configuration dialog  The parameter fields appear grey  You can  however  delete the connection as  long as it is
66. nverter       User manual MXpro 2 3 9   PLCWinCE Software  Install          3 4 INSTALL PLC TARGET SYSTEMS    The PLC target systems appropriate for the PLC programming tool are installed by default with the  setup     However  it is also possible to install or remove PLC target systems at a later time using the   InstallTarget  function     x InstallTarget    Installation directory    ec       Possible Targets  Installed T argets     Install  Remove    Close       Technical specifications are subject to change  10 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Uninstall          4 UNINSTALL    4 1 UNINSTALL PLC PROGRAMMING TOOL    When the PLC programming tool is uninstalled  only installed files and components are removed  Files  and directories in the directory  C  Program Files Micro Innovation MXpro V2 3 9  must therefore be  removed manually if necessary     4 2 UNINSTALL PLC TARGET SYSTEMS    When the PLC programming tool is uninstalled  the target specific components such as libraries and  configuration data in the directory    C  Program Files Common Files CAA Targets Micro  Innovation V2 3 9  are not removed     The installed PLC target systems must be removed using appropriate uninstall routine      gt  Alternatively installed PLC target systems can also be removed from the PLC  programming tool using the  InstallTarget  function   The target specific components in the dire
67. o visualization   Generating of the symbol file       Now activate selectively the  Export variables of object    option for the desired objects     Set object attributes    CH Demo po   H E POUs   E E library    Cancel    a   Resources        E Global Variables  ER CanOpen implicit Variables  CONSTANT     Globale_Variablen  lau Varabien  l g  Yariablen_Konfiguration  YAR_CONFIG   a library       E library     E library      E library       E library          library      E library       E library     E library       E library      E library        e  el  e  e  g   5   eH  a   e  e   gi       V Export variables of object    IV Export data entries    IV Export structure components    IV Export array entries  Iw Write access       Technical specifications are subject to change    M002382 02     by Micro Innovation    85       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Connecting to visualization   Generating of the symbol file          13 2 DOWNLOAD SYMBOL FILE    In order to load the symbol file is loaded onto the controller during project download  the Download  symbol file option must be activated in the  General  tab of the target settings    Target Settings    Configuration   xV  M C2 4ux   2 3 9 e      Target Platform   Memory Layout General   Network functionality   Visualization         1 0 Configuration      No address check       IV Support preemptive multitaski V Download symbol file    Iw Byte addressing mode  
68. ocess Data Object  in the project  can be addressed  It depends on the general settings and the definitions in the configuration file   which addresses are already predefined  which address mode is valid and whether the addresses can  still be edited here     Technical specifications are subject to change  26 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software    User manual MXpro 2 3 9   PLCWinCE       PLC configuration       CAN parameters    fff PLC Configuration  Ei Configuration  ER  A CanMaster SLOT       IB0 Can Input    Base parameters CAN parameters   CAN Module Selection   Receive PDO Mapping   Send PDO Mapping   Service Data Objects      General    Node ID   2    Optional device        Be a XN GW CANopen  EDS   VAR  ia Create alle SDO s     B    QB2 Can Output Reset Node  P     B   1B2 Can Input  Node guard  Info       IV Nodequarding    Guard COB ID   Guard time  ms    300  Life time factor   3    Heartbeat settings    No initialization         Activate heartbeat generation  Heartbeat producer time  ms     M Activate heartbeat consumer       Emergency telegram  IV Emergency  COB ID    Nodeld 0x80    Communication Cycle    r    Period  usec         Node Id   The Node ID is the unique identification of the CAN module  It corresponds to the number which is set  between 1 and 127 on the module itself  The Node Id must be entered as a decimal number  not to be  confused with the node number  which is used also in the 
69. on  no task monitoring will take place      gt  In a PLC program without a task configuration  the task monitoring is defined  and activated with a watchdog time of 10ms by default    Functionality    The watchdog is started at the beginning of each processing cycle and terminated after successful  processing  The watchdog is triggered if the task duration is longer than the defined task interval     The triggering of the watchdog depends further on watchdog sensitivity  The watchdog sensitivity  specifies how many timeouts of the sequential task duration will cause the watchdog to be triggered     Technical specifications are subject to change  M002382 02     by Micro Innovation    72       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Program execution and system time          The watchdog is triggered   e with a watchdog sensitivity of 1  on the first timeout of the watchdog timing     e with a watchdog sensitivity of x  only after there have been x timeouts in succession of the  watchdog     e The watchdog is also triggered by a continuous loop if the task duration is longer than the  result from watchdog time   watchdog sensitivity  This criterion is used to detect and respond  to continuous loops with pre selected watchdog functionality     If you define a watchdog time of 10ms and the watchdog sensitivity of 5  the task is terminated  at the latest after 10ms   5   50ms     The following examples should explain conte
70. on process is used for the IO Update    Technical specifications are subject to change  M002382 02     by Micro Innovation    59       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          6 6 2 CONFIGURATION OF PROFIBUS SLAVE IN PROFIBUS MASTER    The following Profibus Slave is implemented in the PLC configuration           PLC target system Designation Description  XV  MC2 4xx V2 3 9 DP Slave PDP TP Profibus Slave for Profibus   MPDP4D03 GSD  DP   FMS and MPI          After insert of Profibus Slave  PLC configuration makes the following options available     e Configuration of the process image  which is used for data exchange between Profibus Slave  and Profibus Master     e Configuration of station address and module parameters     DP parameters    E PLC Configuration    Ei Configuration x  io g DP M 5 i  Input Output   User parameters   Groups    1 Info   Manufacturer  Micro Innovation AG  Revision  V2 0   HW Release  V1 0   SW Release  V3 0  File name  Mpdp4D03 gsd    Slave type  6 GSD file       Identification  Standard parameter    Station address   3 Identnumber  Ox4D03  Station name   DP Slave PDP TP TSDR  TB  Im  Lock Unlock   2 m    Activation    Slave active in current configuration  Iw Watchdog    Watchdog Control  Iw    Time  ms    1000        gt  Please refer to the detailed information in the chapter  Configuration of Profibus   Slaves    gt  Chap  6 5 2      Technical specifications are
71. onnected on the CAN bus after the start of the PLC program  the CAN diagnostic  system detects a node error     No initialization  If the option No initialization is activated  the CAN Master will immediately activate the node  without    sending configuration SDOs   The SDO data will nevertheless be created and saved on the  controller      Nodeguard settings    If the option Nodeguarding is activated  a guard telegram will be transmitted to the CAN module  according to the interval set by Guard Time in milliseconds  If the CAN module does not then send a  guard telegram with the given Guard COB ID  Communication Object Identifier   it will receive the  status  timeout      As soon as the number of attempts  Life Time Factor  has been reached  the CAN module will  receive the status  not OK   The status of the CAN module will be stored in the CAN diagnostic  system and can be checked in the PLC program     No monitoring of the CAN module will occur if the variables Guard Time and Life Time Factor are not  defined  0       gt  Nodeguard functionality serves as alternative to heartbeat functionality     Heartbeat settings    If the option activate heartbeat generation is activated  the CAN module transmits heartbeat  telegrams with the given Guard COB ID  Communication Object Identifier  according to the interval  set by Heartbeat Producer Time  The CAN master expects this heartbeat telegram in this interval  If  the CAN master does not receive this heartbeat telegram  the CAN
72. orted     Note     This dialog is used for assigning the Profibus Slave to one or more of the eight possible groups  The  universally applicable group properties  Sync  Mode and or Freeze Mode   on the other hand  are  defined during configuration of the Profibus Master s properties  This dialog can also be reached via  the Global Group Properties button     The group s  to which the Profibus Slave is assigned are marked with a plus sign  The assignment to  or removal from a group is accomplished by selecting the group name in the Group Membership  column and pressing  Add slave to group  or  Remove slave from group    with the right mouse button  or  by clicking again with the mouse to the left of the group name     A Profibus Slave device can only be assigned to those groups whose properties it supports  The  relevant properties of each slave  Sync  Mode   Freeze Mode  are displayed above the table  The  modes supported by the device are checked     Technical specifications are subject to change  M002382 02 51     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software       PLC configuration       6 5 3 BUS DIAGNOSTIC  For configuring the bus diagnostics in the PLC program various function libraries are available      gt  Please refer to the detailed function descriptions in the relevant  documentation of the function libraries     Technical specifications are subject to change  52 M002382 02     by Micro 
73. p  For each group  enter whether it is to  operate in Freeze mode and or Sync mode  By assigning the slaves to various groups  data  exchange from the master can be synchronized via a global control command  With a Freeze  command  a master instructs a slave or a group to  freeze  inputs in their instantaneous state and to  transfer this data in the next data exchange  With a Sync command  the slaves are instructed to  synchronously switch to the outputs at the next Synch command all data received from the master  following the first command     In the dialog  Group properties  can be edited the group names and activated and or deactivated the  appropriate transmit modes     Technical specifications are subject to change  M002382 02 43     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          Bus parameters  The bus parameters describe the timing of the communication     E PLC Configuration    E  eon         EJ XN GW PBDP 1 5MBIVAR     Base parameters   DP parameters i    Baud rate  kBits s     v 1500 00 IV Use defaults    H  S XN 16DI 24VDC P  E  S XN 16D0 24VDC 0 5A P       Parameters   Slot Time  TSL    Min Station Delay  min TSDR   Max Station Delay  max TSDR   Quiet Time  TQUI    Setup Time  TSET    Target Rotation Time  TTR   Gap Update Factor   Max  Retry Limit   Min  Slave Interval   Poll Timeout   Data Control Time       Baud rate  Baud rate for the transmission between 
74. parameters are inserted as default values into the EDS file of the CAN   Device and can be changed afterwards in the PLC configuration of the CAN Master      gt  Nodeguard functionality serves as an alternative to heartbeat functionality     Heartbeat settings   Parameterization of Heartbeat Producer Time and Heartbeat Consumer Time in milliseconds   These parameters are inserted as default values into the EDS file of the CAN Device and can be  changed afterwards in the PLC configuration of the CAN Master      gt  Heartbeat functionality serves as an alternative to nodeguard functionality     Emergency telegram   Parameterization of Emergency message with a unique COB ID  These parameters are inserted as  default values into the EDS file of the CAN Device and can be changed afterwards in the PLC  configuration of the CAN Master     Technical specifications are subject to change  36 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          Default PDO mapping    The variable or parameter lists are created in the Parameter Manager  which are available afterwards  in the PDO mapping of the CAN Device        Parameter Manager  e    Mapping Parameter CAN Device Index Subindex   Accessl      Accessright       16 3000    read only    MainPrg iVarin  16 3000    read only    MainPrg xVarln  16 3000    write only    MainPrg iVarOut    16 3000    write only    MainPrg xVarOut    
75. rds  inthe PLC configuration of the CAN Master     PDO properties   0x1800    COB ID   Nodeld   384  Inhibit Time 1 00ps    0 Cancel      Transmission Type    asynchronous   device profile specific e    Number of Synes     Event time  jo ms       6 4 2 CONFIGURATION OF CAN DEVICE IN CAN MASTER    After insert of CAN Device  PLC configuration makes the following options available   e Configuration of the nodeguard heartbeat functionality  the emergency message and the node  number Node Id   e Configuration of PDO mapping based on the default PDO mapping if the EDS file      gt  Please refer to the detailed information in the chapter  Configuration of CAN Nodes     gt  Chap  6 3 2      Technical specifications are subject to change  38 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          6 5 CONFIGURATION AS PROFIBUS MASTER    The PLC programming tool supports a hardware configuration according to Profibus DP Standard   This requires a configuration file which allows Profibus modules to be inserted     All GSD files which are stored in the defined configuration files directory  can be integrated  edited and  displayed in the PLC configuration  The configuration options of a Profibus module are described in  the GSD file     The modules are assigned a configuration  which describes the timing and error behavior of the  transmission      gt  Objects defined in the PLC
76. s are read at the end of the task      gt  When creating the program concurrent accesses  i e  access to the same  input output address from several tasks  should be avoided  This can lead to  an inconsistent input output image   Warnings of concurrent access are displayed in the message window when  compiling the PLC program     The processing of the input output image varies according to the different bus systems and the  corresponding transmission mechanisms     8 9 1 ONBOARD IO    The used inputs are read directly from the hardware at the beginning of the task and transferred to the  input image    The used outputs are taken from the output image at the end of the task and written directly to the  hardware     Direct periphery accesses    The direct periphery access makes possible to access directly to local inputs and outputs of the  controller  In this case the input output access is not made by the input output image      gt  Please refer to the detailed function descriptions in the relevant  documentation of the function libraries     Technical specifications are subject to change  M002382 02     by Micro Innovation    75       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Program execution and system time          8 9 2 CAN Bus    The inputs or outputs are packed in PDOs up to 8 byte data length  The Rx  and Tx PDOs are  updated in the task with the highest priority  which the PDO references     The used inputs or 
77. size of the PLC program online   gt  Chap  11     Technical specifications are subject to change  M002382 02    14    by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Target settings          5 3 GENERAL  Target Settings    Configuration   KvM C2 444 V2 3 9 e    Target Platform   Memory Layout General   Network functionality   Visualization      1 0 Configuration      No address check    KE Iw Download symbol file    Iw Byte addressing mode    Default   OK   Cancel         No address check   If this option is activated  the addresses are not checked during the compilation    Download symbol file   If this option is activated  a symbol file will be created during the compilation and will be downloaded  Support preemptive Multitasking   Multitasking is supported by default  cannot changed by user     Byte addressing mode  If this option is activated  the addressing takes place byte by byte  e g    QD4 corresponds to  QB4     Technical specifications are subject to change  M002382 02 15     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Target settings          5 4 NETWORK FUNCTIONALITY    Target Settings    Configuration   xv M C2 4xx   2 3 9 e    Target Platform   Memory Layout   General Network functionality   Visualization        Support parameter manager   Support network variables    Default OK Cancel       Support parame
78. t be activated if synchronization telegrams between CAN Master and CAN Slaves are  to be sent     Technical specifications are subject to change  24 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  PLC configuration          Com  Cycle Period ge  Sync  Window Length oo   SYNC SYNC  telegram telegram       Synchronous PDOs Asynchronous PDOs    The synchronous PDOs are transmitted directly after the synchronization telegram in the defined time  slot Sync  Window Length  usec   If Com  Cycle Period and Sync  window length are 0  then no  synchronization telegrams are transmitted      gt  If the synchronization telegram is defined in this dialog  timing jitters between  the individual synchronization telegrams may occur due to the software  architecture of the PLC runtime system   Alternatively  the task synchronous transmitting of synchronization telegrams  can be configured in the PLC program     Node Id   The Node Id is the unique identification of the CAN module It corresponds to the number which is set  between 1 and 127 on the CAN module itself  The Node Id must be entered as a decimal number  not  to be confused with the node number  which is used also inthe PLC configuration      Automatic startup    If the option Automatic startup is activated  all CAN modules will be automatically initialized and  started when the PLC program starts up  If the option    Automatic start is not acti
79. ter manager   If this option is activated  the entry Parameter Manager appears in the  Resources  tab  This makes it  possible to create an object directory for variables and parameters  which are used for a controlled  and active data exchange with other PLCs      gt  The object directory functionality is supported in conjunction with an inserted  CAN Device in the PLC configuration      gt  Please refer to detailed information in the CoDeSys V2 3 user manual or the  online help of the PLC programming tool     Support network variables  If this option is activated  the network variables can be used  They are used for automatic data  exchange with other PLCs      gt  Please refer to detailed information in the CoDeSys V2 3 user manual or the  online help of the PLC programming tool     Technical specifications are subject to change  16 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE  Target settings          5 5 VISUALIZATION    Target Settings    Configuration  AN C2 4x   V2 3 9 e      Target Platform   Memory Layout   General   Network functionality Visualization      Display width in pixel     Display height in Pixel     I Simplified input handling    Compression T Dea     Inhibit download of visualization files Iw Keyboard usage for tables    Default   OK   Cancel         This dialog does not contain relevant settings for operating the PLC      gt  Micro Innovation controller types 
80. the special program unit PLC_PRG  the processing of the PLC program can  also be controlled via the task configuration  If a task configuration is defined  a program unit with the  name PLC_PRG does not have to be created     8 2 TASK CONFIGURATION    The task configuration is reached by via  lt Task configuration gt  in the  Resources  tab     MXpro   Demo pro  File Edit Project Insert Extras Online Window Help    TEEN     B Resources E Task configuration  E Global Variables E  Task configuration       asl   E SlowPrg0   ntTaskt    3  EventPrg0                  G PLC Configuration   By Sampling Trace  Mud                    gt      ONLINE  OV  READ              E  Pous   3 Data types  el Visualizations   2 Resources        Technical specifications are subject to change  M002382 02 69     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Program execution and system time          Each task can be assigned a sequence by programs  which are to be executed by the call of the task   The task priority and task condition specify  in which timing sequence the tasks are to be processed  A  PLC program can consist of several tasks of the same or a different priority  which are processed  cyclically in parameterized time intervals or when particular events occur       Task configuration    Taskattributes         Name   tT ask1       Priority 0  31   bh  B  g tEventTask1 Type  bE  EventPra      cyclic  ie     tri
81. to the detailed function descriptions in the relevant  documentation of the function libraries     Technical specifications are subject to change  32 M002382 02     by Micro Innovation       efesotomasyon com   Klockner Moeller   inverter       Software User manual MXpro 2 3 9   PLCWinCE       PLC configuration       6 4 CONFIGURATION AS CAN DEVICE    Micro Innovation devices  with PLC runtime system and Windows CE and programmed with the PLC  programming tool  MXpro   can appear and be used in a CAN network as CANopen Slave  called in  the following CAN Device      The parameter manager  PLC configuration and library functions make the following options available     Configuration of the variable or parameter lists  which are used for data exchange between  CAN Device and CAN Masters  parameter manager  provide the object listing      Configuration of the nodeguard heartbeat functionality  the emergency message  the node  number Node Id and the baud rate     Configuration of default PDO mapping based on the variable or parameter lists     Generation of the EDS file  which describes the CAN Device and which can be inserted in the  PLC program of the CAN Master     Library functions for CAN Device to monitor and administrate the object listing    The following functions are not available     dynamic SDO or SDO identifier  SDO block transfer    Implicit generation of emergency messages  Emergency messages must always be  generated by the application  The library provides for th
82. uteacewesenis 91    Technical specifications are subject to change  M002382 02     by Micro Innovation 5       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  Explanation of Symbols          1 EXPLANATION OF SYMBOLS    Danger warnings    The following information is for your personal safety and the prevention of damage to the product  described or connected devices     Safety instructions and warnings for the prevention of danger to the life and health of users or service  personnel  and for the prevention of damage are highlighted in this document by the following  pictograms     Warning    and    Information    pictograms are shown in this document     Warnings indicate the following     Death  serious injury or substantial material damage may occur if the related safety measures are not  implemented     The individual    Warning    pictograms have the following meaning     Attention  General     Is an instruction that must be strictly observed in order to protect oneself and the  device from hazards relating to the operation of the device and to ensure the proper  use of the device     Attention  Dangerous voltage     There is a danger of electric shock if a live part is touched     Attention  Observe ESD measures   Electrostatic discharge may damage or destroy electronic components     Information pictograms indicate the following     Important information about the product or the relevant section of the document  requiri
83. utput address    OB0       Comment          Node id    The node identification is defined by an entry in the configuration file or   if there is no entry   by the  position of the module in the configuration structure and is not editable  not to be confused with the  node ID  which can be defined by user      Input address  Output address    This contains the IEC addresses starting from which the inputs or outputs in the project can be  addressed  It depends on the general settings and the definitions in the configuration file  which  addresses are already predefined  which address mode is valid and whether the addresses can still  be edited here     Technical specifications are subject to change  M002382 02     by Micro Innovation    41       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          DP parameters    fff PLC Configuration EIER     H Base parameters A Bus Parameters  a     XN GW PBDP 1 5MBIVAR    Info  T XN BR 24VDC D Manufacturer  Hilscher GmbH  t S XN 16DI 24VDC P Revision  Version 1 000  fH S XN 16D0 24VDC 0 5A P Ident  Nr   0x1662  HW Release  Version 1 000  SW Release  Version 1 000    File name  HIL_1662 GSD GSD file       Addresses Mode  Station address  Auto Clear Mode r       Highest station address     Automatic startup Vv    Groups                Station address   The Station address is the unique identification of the Profibus Master  It is predefined with the value  1 and does not
84. vated  the CAN  modules must be manually started up in the PLC program     Support DSP301  V4 01 and DSP306   This option must be activated  if CAN modules are implemented in the PLC program  which support  this CiA standard    Heartbeat Master    Monitoring functionality  The CAN Master transmits heartbeat telegrams with Guard COB ID   Communication Object Identifier  at the appropriately defined interval  The default interval for the  transmitting of heartbeat telegrams is 0 ms and is therefore deactivated     Technical specifications are subject to change  M002382 02 2     by Micro Innovation 5       efesotomasyon com   Klockner Moeller   inverter       User manual MXpro 2 3 9   PLCWinCE Software  PLC configuration          6 3 2 CONFIGURATION OF CAN NODES    Base parameters    E PLC Configuration EIER     Ee  Configuration      GAN CanMaster SLOT  CAN parameters   CAN Module Selection   Receive PDO Mapping   Send PDO Mapping   Service Data Objects      i p Module id  693734     IBO Can Input Node id     XN GW CANopen  EDS   VAR      QB2 Can Output Input address    1B0  a Ca Output address    OBO       Comment          Node number    The node number is defined by an entry in the configuration file or   if there is no entry   by the position  of the module in the configuration structure and is not editable  not to be confused with the node ld   which can be defined by user      Input address  Output address    This contains the IEC addresses starting from which the PDOs  Pr
85. xt of task interval  task duration and watchdog time   e defined task interval   8ms  e defined watchdog time   8ms  e defined sensitivity   2    Example 1    Task interval   Task interval   Task interval   Task interval   Task interval   Task interval   Task interval    Task duration    4ms 4ms 4ms 4ms 4ms 4ms 4ms    The watchdog timing is not triggered  because the task duration remains continually within the defined  task interval     Example 2    Task interval Task interval   Task interval   Task interval   Task interval   Task interval   Task interval    Task duration  12 ms 4ms 4ms 12 ms 4ms    The watchdog timing is not triggered  because 2 timeouts of the sequential task duration do not occur  in succession     Example 3      Task interval   Task interval   Task interval   Task interval   Task interval   Task interval   Task interval    Task duration  12 ms 12 ms    The watchdog is triggered 8ms after the beginning of second task processing  because both task  durations are longer than the indicated watchdog time and occur consecutively     Example 4  continuous loop     Task interval   Task interval   Task interval   Task interval   Task interval   Task interval   Task interval    Task duration  16 ms    The watchdog timing is triggered  because the task duration is longer than the multiplication of  watchdog time and watchdog sensitivity     Technical specifications are subject to change  M002382 02     by Micro Innovation 73       efesotomasyon com   Klockner Moell
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
  MANUAL TECNICO WebSites DGETI  261 Procofer Expert Brillante Mix  FARGO electronic Card Printer User's Manual  INSTRUCTIONS - Harley  1 - Atersa      Betriebsanleitung / Operating Instructions    Copyright © All rights reserved. 
   Failed to retrieve file