Home
        ICP DAS DCON Bundled Driver v1.42 User Manual
         Contents
1.                                                                             25 i8094MF SET A   43 i8094MF_ARC_CCW      26 i8094MF_SET_D    44 i8094MF_CIRCLE_CW      27 i8094MF_SET_K    45 i8094MF_CIRCLE_CCW      28 i8094MF_SET_L    46 i8094MF_EXD_MP      29 i8094MF_SET_AO    47 i8094MF_EXD_FP      2A i8094MF_STOP_SLOWLY    48 i8094MF_EXD_CP      2B i8094MF_STOP_SUDDENLY    49 i8094MF_EXD_DISABLE     2C i8094MF_SET_HV    4A i8094MF_RECTANGLE      2D i8094MF HOME LIMIT    4B i8094MF LINE 2D INITIAL     2E j8094MF SET HOME MODEY    4C ig094MF LINE 2D CONTINUEY     2F i8094MF HOME START    4D i8094MF LINE 3D INITIAL     31 i8094MF FIXED MOVE    4E ig094MF LINE 3D CONTINUEY     32 i8094MF CONTINUE MOVE    4F i8094MF_MIX_2D_INITIAL     34 i8094MF_AXIS_ASSIGN    50 i8094MF_CONTINUE_INTP     35 i8094MF_VECTOR_SPEED    52 i8094MF_HELIX_3D      36 i8094MF_SET_VSV    53 i8094MF_RATIO_INITIAL     37 i8094MF_SET_VV    54 i8094MF_RATIO_2D      38 i8094MF_SET_VA     55 i8094MF_SYNC_ACTION     39 i8094MF_SET_VD    56 i8094MF_SET_COMPARE     3A i8094MF_SET_VK    58 i8094MF_SET_PRESET      3B i8094MF_SET_VL    59 i8094MF_HELIX_3D      3C i8094MF SET VAO   5A ig094MF RATIO INITIAL     3D i8094MF VSTOP SLOWLY          For detail information about API functions  please refer to user manual downloaded       from ftp   ftp icpdas com pub cd winconcd napdos wince i8094 for wincon doc i8094 manual 1 5tc pdf    For Receiving Data from 1 8094 1 8094F       Tag Name Field  In the column Tag Name  you mu
2.      Page 8    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    4 2 Driver Worksheet    It is possible to configure main driver worksheets and each one will be composed of a Header and Body  To  create a new driver worksheet  and follows these steps    1  In the Workspace of the Studio environment  select the table Comm    2  Expand the folder Drivers and select the subfolder DCON    3  Right click on the DCON subfolder and select the option Insert     Workspace    Note  To optimize communication and ensure better performance for the system  it is important to tie the tags  in different driver sheets according to the events that must trigger the communication of each group of  tags and the periodicity for which each group of tags must be written or read  In addition  it is  recommended to configure the addresses of communication in sequential blocks        When creating a communication table  you have the following window      lElx             DCONO01 DRV          Description        nalog Input   Increase priority   Read Trigger  Enable Read when Idle  Read Completed  Read Status   Far  gt  17            o  Write Trigger  Enable Write on Tag Change  write Completed  Write Status             bB  Station  Header           uu     u Min zz                              Address  AI U  01 7017 0           01 7017 1    Caution   Users can only apply the tag name up to 100 items in the same worksheet    Page 9          DCON   Driver Version 1 42  Doc  Revision     May 3r
3.     C  Increase priority  Read Trigger  Enable Read when Idle  Read Completed  Read Status          Write Trigger  Enable Write on Tag Change     Write Completed  Write Status              Station  Header                         i      Address g    BuzzerBeepStr  For Reading function of ViewPAC buzzer      Example of Tag Value  Buzzer Function Tag Value  String Type   1000 90    pac GetBuzzerFreqDuty int  freq  int  duty            Reading   gt  freq 1000   duty 90                  Description   VP Buzzer  Read  I  C  Increase priority  Read Trigger  Enable Read when Idle  Read Completed  Read Status    VPBuz            ag    Write Trigger  Enable Write on Tag Change     Write Completed  Write Status         Station  Header         jn       1   GetBuzzerStr 3    Address    Page 33          DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    11  Troubleshooting       After each attempt to communicate using this driver  the tag configured in the field Read Status or Write  Status will receive the error code regarding the kind of failure that occurred  The error messages are                                                     Error Code Description Possible causes Procedure to solve  0 NoError Communication without  problems   An invalid Headerhas been Type a valid Header either on the     dn header field or on the tag value  A lot  Invalid Header typed or the tag that is inside      1             of different valid headers are shown  this field has an invalid i      
4.   Channel s Number to be read written from to the module                          Sample of Addressing Configuration   Address on the Device Header Field Address Field  Read address 2 channel 0 of  1 8053 module in slot 1     02 8053 1 0  Write DO to address 6  channel 3 of l 8064 module in DO 06 8064 4 3  slot 4  Read AI from address 3  channel 5 of 1 8017   module Al 03 8017 6 5  in slot 6  Write AO to address 0x0A  channel 4 of l 8024 module in AO 0A 8024 1 4  slot 1             6 2 3 Configuring 1 8094 1 8094F Motion Control Modules  WinPAC and ViewPAC onl       The following commands are supported to the 1 8094 and 1 8094   motion control modules   Head Type Support Modules          18094 1 8094 1 8094                  For Writing Command      1 8094 1 8094         Tag Name Field  The body of the driver worksheet allows you to associate each tag to its respective 1 8094 API function  In  the column Tag Name  you must type the tag from your application database  This tag must be configured    as String Type and will send its value to an API function according to Address field defined     Page 19    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    The tag value has the following sequence       Variable 1 gt   lt  Variable 2 gt   lt  Variable 3        lt  Variable N gt     Variable 1 represents the first parameter of the API been called  The variable 2 represents second    parameter of the API and so on     Parameters are used with Decimal value        Example
5.   Notice that this must be followed in PC development platform     6  Specify the communication link type between the development station and target Station  Network IP or  Serial Port   If you select Network IP  type the remote station IP Address into the text box     Execution Environment a                Target   Application   Import   CE License    Target Station   C Local     Network IP   192 168 0 133     Serial Port      Infra red               Platform        Advanced           Install systern files             7  Click the Connect button to connect to the remote PAC     Page 23    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010       8  Click    Send to Target  to download the application to the remote PAC in    Application    tab     9  After all of the application files are downloaded  click  Run  button to execute the application in the  remote PAC embedded controller     Page 24    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    7  Improve DI AI scan time       The DCON driver version 1 10 provides a simple method to improve multi channel scan time for a DI AI  module  If a module has many channels  this method can decrease the communication times to obtain all  channels values from this module  Users only need to configure the address for the first channel of this  module  and give the others null address as Figure 7 1  For example  The l 7060 has 4 digital input channels  and the I 87055 has 8 digital input channels  Traditionally  us
6.  All the files above must be in the subdirectory  DRV of the Studio   s installation direction        2 4 Information About Conformance Testing       Equipment    Family 1 7000  1 7060  1 7021  and 1 7012     Family l 8000  l 8040  l 8041  1 8024  1 8017 and l 8094  Family 1 87    1 87054  1 87017 and 1 87024    Configuration     PLC program    Baud Rate  115200   Data Bits  8   Stop Bits  1   Parity  None   COM port  1   Timeout  200   Checksum  0  No Checksum     Cable   Operating System  development   NT 2000 XP  Operation System  target   NT 2000 XP  Studio Version  6 1  Driver version  1 40    Note   Users can free download the test demo from the web       site  http  www icpdas com products Software InduSoft download iws60 htm    Page 5    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    3  Installation       3 1 Installing the Driver    After install the InduSoft Web Studio  IWS  v3 0 or later version  the DCON driver of ICPDAS is not  installed in IWS  So before using the DCON driver in IWS  users need to install the DCON driver first  The  DCON driver setup file can be downloaded from ICPDAS web site   http   www icpdas com products Software InduSoft download_iws60 htm  When the DCON  communication driver is installed in IWS  users just need to select the driver in the application and the steps  are described as follows     1  Execute the Studio and select the proper application    2  Select the menu Insert   Driver       3  In the column Available Driv
7.  For PC      Copy these three files                            DCON ini       DCON msq    located in the path    C  Program  Files Indusoft Web Studio v6 0 Drv    and change the filename  Please follow these two rules for the  filename of new DCON Driver     1  The total characters of new DCON Driver filename can t exceed five characters     2  The last character of new DCON Driver filename should be English word    For example      1  DCONA  DCONB       gt  these are right      2  DCON1  DCON2  DCONAA   gt  those are wrong         2  For WinCE      The steps are all the same with PC  But the file path of DCON Driver for PAC is different and it is located  in the ACompactFlahsunduSoftDrv  of WinCon or     Micro_SD InduSoft Drv    of WinPAC and ViewPAC       Note    1  The com port number should be different in each DCON Driver     Page 31    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    10  ViewPAC LED Buzzer Control Demo       10 1 ViewPAC LED Control    When Users want to control LED of ViewPAC controller  please follow the below steps     1  Fill  VPLED  in    Header    field of          Driver Form    2  In  Address  field  please input 0 or 1 or 2 or 3 and their meaning are as below        0  RUN LED  1 L1 LED  2 L2 LED  3 L3 LED     3  In    Tag             field  please fill in a tag with Boolean type   1  Turn on LED    0  Turn off LED       Description     viewPAc LED Control  Increase priority   Read Trigger  Enable Read when Idle  Read Completed  R
8.  May 3rd  2010    2  General Information       2 1 Device Characteristics    a Manufacturer  ICP DAS Co   Ltd        X Compatible Equipment   ICP DAS modules from families DCON  1 7000  I 8000 and 1 87        Note  Please refer to section 2 4 to see the Equipment used in the standard conformance tests for this driver   Note  All analog modules must be configured to engineering units     Note  This Driver version does not implement the CRC  The equipment must be configured not to use CRC  check     2 2 Link Characteristics          Device communication port  RS232 port  m Physical protocol  RS232 RS485      Logic protocol  ASCII  Proprietary    W Device Runtime software  DCON driver       Specific PC Board  None    Page 4    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    2 3 Driver Characteristics    W Operation System       Windows XP     Windows 2000     Windows NT     Windows CE  WinCon  Nuwa  Hero  WinPAC  and ViewPAC     Note   Please refer to section 2 4 to see the Operating System used in the conformance tests for this driver     The driver is composed of the following files     W DCON INI  Internal files of the driver  it should not be modified by the user      DCON MSG  This file contains the error messages for each error code  It is an internal file of the driver   and the user should not modify it    WB     DCON PDF  This document provides detailed documentation about the driver       DCON DLL  This is the compiled library for the driver     Note    
9.  Page 11       DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    For 1 8000 Family       Module s Address gt   lt Module ID gt   lt Slot Number      Channel Number      Module s Address Hex   Module s Address in the network Range from 00 to FF   Module ID  Module s ID in the device   Slot Number  The slot number that the Module is plugged in the backplane   Channel Number  Channel s Number to be read written from to the module        Sample of Addressing Configuration                                     Address on the Device Header Field Address Field  Read address 3 channel 0 of    8053 module in slot 1      iiid  Write DO to address 6  channel 2 of l 8064 module    DO 06 8064 4 2  slot 4  Read Al from address 2  channel 5 of 1 8017H module Al 02 8017 6 5  in slot 6  Write AO to address 0x0A  channel 3 of l 8024 module in AO 0A 8024 0 3  slot 0  Head Type Support Modules  I 7011 12 14 16  1 7041 44 50 52 53 55  1 7060 63 65   DI    8040 42 50 51 52 53 54 55 58 63      87040 87051 52 53 54 55 58 63 69    1 7005 11 12 14 16  1 7042 43 44 50  1 7060 63 65 66 67 80         1 804 1 42 50 54 55 56 57 60 64 68  1 8060 63 64 65 66 68   I 87041 54 55 56 57 and 63 64 65 66 68          I 7005 11 12 13 14 15 16 17 18 19 33        Al  8017H    87013 15 16 17 18 19  I 7016 1 7021 1 7022 1 7024    AO  1 8024    87022124126       Counter   1 7080       1 7011 12 14 16  1 7041 44 50 52 53 55  1 7060 63 65    DI Counter   57040 51 52 53 54 55 63             4 5 Device Configurati
10.  into SMINT SHORT 2  Shared Memory   Write Read    Long    data into SMINT LONG 3  Shared Memory   Write Read    Float    data into SMFLOAT FLOAT 4  Shared Memory             The Header Field refer to the following syntax  SMINT   When data type is    Unsigned Char        Short      Long   SMFLOAT   When data type is    Float        The Address Field refer to the following syntax    lt DataType gt     lt Address gt    DataType      UCHAR        SHORT      LONG      FLOAT      Address   The address which users want set assigned value in    Range from 1 to 19999                  The following figures are the DCON Driver Form Demo about how to Write Read data into Shared  Memory in indusoft  The demo program   including Indusoft and EVC   demo   for accessing Shared  Memory can be downloaded in the path   http   www icpdas com products Software InduSoft indusoft htm       DCON001 DRY    Description        C Increase priority       Read Trigger  Enable Read when Idee  Read Completed  Read Status       N        Write Trigger  nable Write on Tag Change  Write Completed  Write Status                 Station     Tag Name Address  UC  Val R UCHAR 1  SH  Val    SHORT 2  LO_Val_R LONG 3  UC  Val R1 UCHAR 19996  SH_Val_R1 SHORT 19897  LO Val R1 LONG 19998       Read data from Shared Memory For SMINT    Page 28    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010        DCON002 DRY    Description       SM_UCHAR_W_INT     C  Increase priority       Read Trigger  Enable Read when 
11.  of Tag Value       1 8094 Function    Tag Value String Type        i8094MF_SET_PULSE_MODE        i8094MF_SET_MAX_V           Card No  1 axis  1  0x1  gt  X  mode  5  Pulse     Card No  2 axis  15  Oxf  gt  XYZU  data  2000000       1 1 5    2 15 2000000         Address Field    To define the API function to be called  please fill in the function type ID lists below in address field  IDs are    used with Hexadecimal value                                                                       Type ID and Function Reference Table  Write   Type ID Function Type ID Function  01 i8094MF_REGISTRATION    oD i8094MF_CLEAR_SLMT     03 i8094MF_SET_PULSE_MODE    0E i8094MF_CLEAR_S     04 i8094MF_SET_MAX_V    OF i8094MF_SET_ALARM     05 i8094MF_SERVO_ON    10 ig094MF SET INPOSY     06 ij8094MF SERVO OFF    11 ig094MF SET FILTER     07 ij8094MF RESET CARD   12 i8094MF VRING ENABLE     08 i8094MF SET HLMTY    13 i8094MF VRING DISABLE     09 i8094MF LIMITSTOP MODEY    14 i8094MF AVTRI ENABLEY     0A j8094MF SET NHOMEY    15 i8094MF_AVTRI_DISABLE     0B i8094MF_SET_HOME_EDGE    16 i8094MF_SET_LP     oc i8094MF SET SLMT    18 ig094MF SET EP    Type ID Function Type ID Function  1F i8094MF CLEAR STOPY   3E i8094MF_VSTOP_SUDDENLY     21 i8094MF_FRNET_SA     3F i8094MF_INTP_END     22 i8094MF_NORMAL_SPEED    40 i8094MF_LINE_2D     23 i8094MF_SET_SV    41 i8094MF LINE 3D    24 i8094MF SET V   42 i8094MF_ARC_CW          Page 20          DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010   
12.  on the section 4 2  configuration   An invalid Address has been Type a valid Address either on the        address field or      the tag value  The  Invalid Address typed or the tag that is inside de  2 iiis     address  valid values are show      the  this field has an invalid        section 4 4   configuration   Check the serial communication  Configuration  Verify if the settings on  10 SendCmdError Send command error  the Communication Parameters and  on the device are the same     Check the cable wiring    Check the PLC state  It must be    RUN  12 ResultStrCheckError Result string check error   Check the station number     Check the right configuration     Check the cable wiring    Check the PLC state  It must RUN    Check the station number   15 TimeOut Time Out error    Check the right configuration  See  on the section 2 2 the different  RTS CTS valid configurations    Check supports the Module  See on  17 ModuleldError Module ID error  the section 4 2   18 AdChannelError Channel number error  CNS DE Al hanne number   Check the input range  See if the  19 UnderlnputRange Under input range error  value is valid   20 ExceedInputRange Exceed input range error     v ue         Check if the counter number value is  21 InvalidateCounterNo Invalid counter number  valid    Check if the counter number value is  22 InvalidateCounterValue Invalid counter value  valid   Invalid com port   umibereom  Check if com port number is valid   25  65533  Open Com Fail port is in  gt   Ch
13.  to proceed    5  When the Project Wizard dialog displays  select Empty Application from the Template list  Select the   640 X 480  to specify the application resolution  and click    OK           Project Wizard E xj    Template        r  Resolution  C 240x320  320    240  640    240  640    480  800 x 600  1024    768  1280    1024    o e e    ee            m Shared Tags    Name    lt None gt              ontigure                Cancel         The new application file name is shown in the Workspace window as follows    For this example  the file name is Project  GetStart APP                Workspace               Project  GetStart APP  E Screens    J Group Screen   E Web Pages   G Library    J Symbols     amp  Database  lp Graphics                Page 15    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    6 2 Driver Configuration    The PAC can communicate with ICP DAS 1 8000 and I 87K series modules across extension slots of the  backplane  And it can also be applied to control the distributive controller and ICP DAS DCON   1 7000 1 8000 1 87 K  series modules through RS 485 network  Notice that these Communication  parameters are valid for DCON driver worksheets configured in the PAC COM port  Users can set  Communication parameters in configuration window  refer to section 4 1     Note  If these modules are plugged in the PAC slots  don t care the Communication Parameters  But   when you apply remote modules  it is important to set the Communication Paramete
14.  version and communication log  Available from Studio Output when running the driver     Device model and boards  please refer to hardware manufacture s documentation    Page 35    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    12  Application Sample       The Studio contains a configured project to test the driver  It is strongly recommended to do some tests with  this application before beginning the configuration of the customized project  for the following reasons     e      understand better the information covered in section 4 of this document    e  Toverify that your configuration is working    e To certify that the hardware used in the test  device   adapter   cable   PC  is in working  conditions before beginning the configuration of the applications     2 Note  The Application Sample is not available for all drivers     The Studio application is in the directory   To perform the test  you need to follow these steps     Configure the device communication parameters using manufacture programmer software   Open the application   Execute the application   To display the following screen with some information about the communication  please  execute the Viewer module in the Studio     3 Note  The Application for testing may be used like a maintenance screen for the custom application     Page 36    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    13  History of Versions          Version By Date Description of changes       1 01 Anold 15 Sep 
15. 02 First driver version       1 02 Troy 30 Sep 03 Include driver for W 8x3x       1  Fixed 1 8017 channel numbers    1 05 Troy 05 May 04 2  Supports W 803x       1  Supports new DCON series modules   2  Add timeout and checksum settings  for Communications Parameters   3  To speed up the Al DI channel scan   4  Choose   8017 24 Input Output range  in W 8x3x    1 10 Troy 07 Dec 04       Supports new DCON series modules   SendCmd  Function supports 87k  modules in WinCon slot    N        1 20 Edward 15 Aug 05                 Supports  Data Exchange with    1 30 Edward 28 Dec 05 Users  Application  Function    1 31 Edward 15 Feb 06             Support l 7005          _      Support from  Read Status  field  of InduSoft DCON Driver Form to  know the module communication  status      Support AI Modules  Break Line  Detection  function     1 32 Edward 21 Jun 06              1 33 Edward 26 Mar 07                Correct the return value of    Write   Status    field in InduSoft DCON Driver   1 34 Edward 18 May 07 Form when write data failed    2  Support Al module      I 87018Z      10  Al channel     INT    1  Correct I 7060 DO Output problem    2  Correct l 7016 read Al problem     CE    1  Support WinPAC platform    2  Correct   87   read Al problem    INT    1  Support Multi DCON Driver    1 36 Edward 08 April 08  CE    1  Support Multi DCON Driver    2  Correct   7055 DO Output problem   INT    1 37 Edward 26 May 08 1  Fix Al module reading problem when   using DO modules   for 
16. AS 1 7000 1 8000 1 87K series modules  they        in  conformity with PC COM port connection  The address cells complies to the following syntax     For l 7000 and 1 87K Family       Module s Address gt   lt Module ID gt   lt Channel Number      Module s Address Hex   Module s Address in the network  Range from 00 to FF   Module ID  Module s ID in the device  Channel Number  Channel s Number to be read written from to the module        Sample of Addressing Configuration                         Address on the Device Header Field Address Field  Read 1 87053 module Address 1 DI 01 87053 0  channel 0  input    Write Read 1 70630 module      Address 6 channel 1  output       05500631  Read I 7017C module Address 3 Al 03 7017 6  channel 6  input        Page 18    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010       Write Read 1 7021   module  Address 0x0A channel 1  output   Read Set I 7080 module Address  1 channel 0  input    Read Set 1 7060 DI module  counter Address 5 channel 1 DICounter 05 7060 1     input     AO 0A 7021 1       Counter 03 7080 0          String Command to devices from  com port of WinCon    SendCmd String Command   like  00M                  For 1 8000 Family       Module s Address gt   lt Module ID gt   lt Slot Number      Channel Number      Module s Address Hex   Module s Address in the network Range from 00 to FF   Module ID  Module s ID in the device   Slot Number  The slot number that the Module is plugged in the backplane   Channel Number
17. C                                        14  6 2 Driver Configuration                                                           rennen rennes 16  6 2 1 1 8000 and I 87K Modules Plugged    PAC Extension 5   0                                                  16  6 2 2 Distributive Controller of   8000  I 87K and l 7000 Series Modules Through COM Port       18  6 2 3 Configuring 1 8094 1 8094F Motion Control Modules  WinPAC and ViewPAC only              19  6 3 Download Application into                                       22  7  Improve DI AIl scan time                                                                                                          25  8  Data Exchange with Users    Application                                                                              27  9  Using Multi DCON_ Driver                                                                                                       31  10  ViewPAC LED Buzzer Control Demo                                                                                 32  10 1 ViewPAG LED Control    uu diee tener eure ten Desde en beu      seed 32  10 2 ViewPAC Buzzer  Control x    een eisen 32  11                            uu uu T c                        X 34  12  Application Sample                                                                                                                36  13  History of Versjons      ctiedsoaceaiateaccnecsescentasnacienceenncanatenscttacteiteniasanctaecsnccsastectatndcensent
18. C development platform  ICP DAS recommends using this TCP IP communication  because of performance reasons  Secondly  you can use the COM2 port  RS 232  of WinCon embedded  controller to connect to COM1 COM2 port of PC development platform  After completing the application  you  can download the application to remote PAC embedded controller that is running CEView on Windows CE   The following steps will show you how to download an application to Compact Flash memory of the  W 8x36 W 8x39 or Micro SD memory of the WinPAC ViewPAC     1  In PAC embedded controller  double click  CompactFlash InduSoft CEServer exe or   Micro_SD InduSoft CEServer exe file to verify that the Remote Agent  CEServer exe  is running     Page 22    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    Remote Agent  v5 5  E    Connection status    Not connected to remote client    Log     Device connection via  Network  TCP IP     Local IP  192 168 0 133    2  When the Remote Agent dialog displays  click the Setup button        3  When the Setup dialog displays  click Serial or TCP IP to specify how the device is connected to the  development station             Device Connection       serial Port              Advanced       COR                       TCP IP         Infra Red  Run CEView on startup    4  Click OK to start running the Remote CEServer in PAC           5  Select Project Execution Environment from the main menu bar in the development station to open the  Execution Environment dialog
19. DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    Communication Driver    Driver for Serial Communiation with PC   PAC  WinCon   Nuwa  Hero  WinPAC  ViewPAC  and DCON modules   1 7000  1 8000  and I 87K  using          Protocol       Contents  1           aaa 3  2  General Information ec                          4  2 1 Device Characteristics                      U U U U L u L    u    4  2 2 Link Char  tteristics  eek Dr ERA HER amu FER d pea 4  2 3 Driver CharactenistiCs  E 5  2 4 Information About Conformance Testing    nennen mener nnns 5  EMI cri mee                                                      6  3 1 Installing the  Driven s iut e ee                RR      Qa aka    e    6  3 2 Other Software Requirements                                  n    6  4  Driver Config  rati  h   Pe                                                                             3  4 1 Other Software Requirements                   sss eene                   7  4 2 Driver Workshe6t       te eret een e e eo td e de eu t n tt e petentes 9  4 3 Station and Header Configuration    rin 10  4 4  Address Configuration  uuu uu ee eni coke        REO        11  4 5 Device Configuration                    U nee eee nn ns nese reas ee                     12  iz Cpl                                                                  13  6  Application    PAC  WinCE  Platform                                                                                  14  6 1 Creating a New Application for PA
20. Idee  Read Completed  Read Status                  Write Trigger  Enable Write on Tag Change     Write Completed  Write Status                    a  sti e    Tag Name Address  UC  Val W UCHAR 1  SH  Val W SHORT 2  LO_Val_W LONG 3  UC  Val W1 UCHAR 19986    H  Val  W1 SHORT 19997    LO_Val_W1 LONG 19898       Write data into Shared Memory For SMINT        DCON004 DRY    Description     SM_UCHAR_R_Float   C  Increase priority       Read Trigger  Enable Read when Idle  Read Completed  Read Status        Write Trigger  nable Write on Tag Change  write Completed     Write Status                            Station  Header     SMFLOAT                                  Address  FL Val R FLOAT 4  FL Val R1 FLOAT 19999       Read data from Shared Memory For SMFLOAT    Page 29    DCON   Driver Version 1 42  Doc  Hevision     May 3rd  2010       DCON005 DRY    Description     SM_UCHAR_VV_Float   C  Increase priority          Read Trigger  Enable Read when Idle     Read Completed  Read Status     s         Write Trigger  Enable Write on Tag Change     Write Completed  Write Status              4    Station  Header   GAN 2     bd    L                    SMFLOAT               Tag Name   Address  FL  Val i FLOAT 4  FL  Val wW1 FLOAT 19999       Write data into Shared Memory For SMFLOAT    Page 30    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    9  Using Multi DCON Driver       When Users want to use two or more DCON Drivers in indusoft  please follow the below steps        1 
21. a New Project  There are many kinds of target  systems in InduSoft for you as following table                    Target System Product License  CEView Lite 150 tags  Runtime for WinCE  CEView Lite Plus 300 tags  Runtime for WinCE  CEView Standard 1500 tags  Runtime for WinCE  CEView PRO 4000 tags  Runtime for WinCE                Follow the procedure to create a new IWS application   1  Select File New from the InduSoft Web Studio main menu bar   2  When the New dialog appears  click on the  Project  tab     mew j  x  File Project    Application name   GetStart  Location      C Program FilesIndusoft Web Studio v6 0 Projects Browse    Configuration   C Program FilesIndusoft Web Studio v6 0 Projects GetStartiGetStart app    Target  CEView Lite         CEView PRO  NTView PRO  Local Interface          Lite Interface  CEView Standard    300 tags  Runtime for WinCE       Page 14    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    3  Set the name of your application in  Application  field  For this example  we set  GetStart     IWS would automatically create a new directory of the same name and assign your application file to  that directory  Refer to the  Configuration  field in the previous figure   To put your application file other  than in the  Projects subfolder of InduSoft Web Studio  and click Browse to navigate to the preferred  directory location    4  Select a platform from the Target Platform list  For this example  select  CEView Lite Plus    and click  OK
22. d  2010    All entries at the Driver Worksheet  exception by the Station  Header and Address are standard to all  communication drivers  You should refer to Studio Communication Driver documentation about the  configuration of the standard fields  This document describes the Station  Header and Address fields  which  are specific to each communication driver     4 3 Station and Header configuration    Header Soen  xt table eS the type of variable to be read or  written from or to the device        The Header field defines the type of variables that will be read or written from or to the device  It complies  with the syntax  lt Module   s Type gt   After editing the field Header  the system will check if it is valid or not  If the  syntax was incorrect  the default value  Al  will be automatically placed in the field     You can type Tag between curl brackets into this field  but be sure that the Tag   s value is correct  with the right  syntax  or you will get the Invalid Header error                                Information regarding the parameter    Header     Sample of syntax   Valid range of initial             Header   Address Comment  Read Digital Input Output DI Any  Read Write Digital Output DO Any  Read Analog Al Any The ICP DAS device channel must  be configured to engineering units  Write Read Analog AO Any The ICP DAS device channel must  be configured to engineering units  Read Set Counter Counter Any  Read Set DI Counter DiCounter Any  value  Write Command Sen
23. dCmd Command String  Send command to the device                   Note  Always creates two different driver worksheets for Input and Output modules     Page 10    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    4 4 Address Configuration    The body of the driver worksheet allows you to associate each tag to its respective address in the device  In  the column Tag Name  you must type the tag from your application database  This tag will receive or send  values from or to the device     The address cells complies to the following syntax   For l 7000 and 1 87K Family      Module s Address gt   lt Module ID gt   lt Channel Number   Module s Address Hex   Module s Address in the network  Range from 00 to FF     Module ID  Module s ID in the device  Channel Number  Channel s Number to be read written from to the module                                Sample of Addressing Configuration   Address on the Device Header Field Address Field  Read 1 87053 module Address 1 DI 01 87053 0  channel 0  input   Write Read I 7063D module      Address 6 channel 1  output  po 06 70637  Read I 7017R module Address 3 Al 03 7017 6  channel 6  input   Write Read 1 7021 module        Address 0x0A channel 1  output  id                  Read Set I 7080 module Address Counter 07 7080 0  7 channel 0  input   Read Set 1 70600 DI module  counter Address 5 channel 0 DICounter 05 7060 0   input   Write command to devices from      com port of PC SendCmd Command String   like  01M                 
24. ead Status    Write Trigger  Enable Write on Tag Change  write Completed  Write Status         gt  M    Station  Header         Address         LEDO Trig     LED  Trig    LED2_Trig      LED3_Trig    10 2 ViewPAC Buzzer Control    When Users want to control buzzer of ViewPAC controller  please follow the below steps     1  Fill    WPBUZZER    in    Header    field of          Driver Form    2  In  Address  field  please input 0 or 1 or 2 or 3 and their meaning are as below    0  pac BuzzerBeep function  For Write function    1  pac  StopBuzzer function  For Write function    2  pac  SetBuzzerFreqDuty function  For Write function    3  pac  GetBuzzerFreqDuty function  For Read function    3  In  Tag Name  field  please fill in a tag with String type     The string tag value has the following sequence             Param 1 gt   lt  Param 2 gt   lt  Param 3 gt            lt  Param N gt   Param 1 represents the first parameter of the API been called  The param 2 represents second    parameter of the API and so on  Parameters are used with Decimal value     Page 32    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010      For Writing function of ViewPAC buzzer           Example of Tag Value                                                     Buzzer Function Tag Value  String Type   pac BuzzerBeep  WORD count  DWORD milliseconds   T  count 1   milliseconds 200    pac SetBuzzerFreqDuty  int freq  int duty    y  y  1000 90  freq 1000   duty 90  Description     VP Buzzer  Write
25. eck if com port is in use     Page 34    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    Note  The results of the communication may be verified in the output Window of the Studio s environment   To set a log of events for Field Read Commands  Field Write Commands and Serial  Communication click with the right button of the mouse on the output window and choose the option  setting to select these log events     When testing under a Windows CE target  you can enable the log at the unit  Tools Logwin  and verify the file  celog txt created at the target unit        When you are not able to establish the communication with the PLC  you should first of all establish the  communication between the PLC Programming Tool and the PLC  Very frequently the communication it is not  possible due to a hardware or cable problem  or due an error or lack of configuration at the PLC  Only after  the communication between the PLC Programming Software and the PLC is working fine  you can test again  the supervisory  When testing the communication with the Studio  you should first use the application sample  described at item 7  instead of the new application that you are creating     If is required to contact technical support  please have the following information available      Operating System  type and version   To find this information use the Tools System Information option    Project information  It is displayed using the option Project Status from the Studio menu     Driver
26. er  select the DCON Driver and push the button Select gt  gt   the driver DCON  must appear in the column Selected Drivers    4  Press OK     Communication Drivers X        Available drivers        CTG CTC  CTC Serial Data Comunication        2000 9     v1 01   CUTL CUTLER HAMMER   D50   0300  NT 2000 CE   v2 01        04100 YOKOGAWwA   DA100  NT 2000 9x   1 08              DAVIS   Weather Wizard  NT 2000 9x   v1 03    DDS DEGUSSA AG  Degussa  NT 2000 9     v1 07    DEVN Hilscher Synergetic board   DeviceNet Slave  NT  2000 9x      DEVNM Hilscher Synergetic board   DeviceNet Master  NT  2000 3      DISOM SCHENCK  Disomat C  NT 2000 9x   v1 04       Select  gt  gt     Selected drivers    DLL      Descipton           gt  gt  Remove       3 2 Other Software Requirements    It is not necessary to install any other software in the PC to enable the communication between the host and  the Device     Note   Special cautions must be taken when installing the physical hardware  Refer to the hardware manufacture    documentation for specific instructions in this area        Page 6    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    4  Driver Configuration       After the driver is installed and selected in the Studio  see section 3 1   you should proceed to the driver  configuration     The driver configuration is two parts     The Settings or Communication parameters  they are only one configuration to the whole driver  and you  have the communication tables or Driver Wor
27. ers need to use the method as Figure 7 2 to get  the each channel value  Therefore  this method needs to communicate with 1 7060 for 4 times  and need to  communicate with 1 87055 for 8 times  By using the method shown in Figure 7 1  users just need to  communicate with the 1 7060 and 1 87055 once respectively  Then  the all channels values will be obtained  for these two modules  So we suggest to use    Fast Mode    like Figure 7 1   to speed up the module  communication                    amp  DCONOO1 DRY      ID x        Description      Digital Input   Increase priority   Read Trigger  Enable Read when Idle  Read Completed  Read Status              N   Write Trigger  Enable Write on Tag Change  write Completed  Write Status    Station  Header        Tag Name Address  DI 0  01 7060 0  DI 1    DI 2    DI 3    DIO 03 87055 0  DH   DI2   DI3   DI4   015   016   017                c               J  n    Figure 7 1   Fast Mode      Page 25    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010       DCONO01 DRY    Digital Input mj      l lU EM NM   BM   s oT                                      01 7060 0  01 7060 1  01 7060 2  01 7060 3  03 87055 0  03 87055 1  03 87055 2  03 87055 3  03 87055 4  03 87055 5  03 87055 6  03 87055 7                Figure 7 2   Normal Mode      Page 26    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    8  Data Exchange with Users  Application       The DCON Driver version 1 30 or above supports Quicker Shared Memory Functio
28. i 7k modules        1 35 Edward 03 Mar 08                            Page 37    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010       1 38    Edward    17 Feb 09     NT  CE    1  Support l 7013     8046   1 8048    1 87005     87022    CE    1  Fix AO 4 Current Output problem        1 39    Edward    31 Aug 09     CE    1  Support 1 8094   1 8094Fmodule   2  Add ViewPAC L1 L3 LED control  function    3  Fix WinPAC ViewPAC Slot 0 bug        1 40    Edward    30 Nov 09                  1  Support I 7017 up to 20 channels    2  Fixthe error for reading data of the  last column configured in a driver  sheet    CE    1  Modified the 1 8094 1 8094F  communication methods        1 41    Edward    29 Mar 10    INT   1  Modify DO output error when using  multi DO modules          1 42       Edward       03 May 10        CE   1  Add ViewPAC Buzzer control function        Page 38       
29. ksheets  where the communication tags are defined     4 1 Other Software Requirements    These parameters are valid for all driver worksheets configured in the system  To open the window for  configuring the Communication parameters  and follows these steps    1  In the Workspace of the Studio environment  select the Comm table    2  Expand the folder Driver and select the subfolder DCON    3  Right click on the DCON subfolder and select the option Settings              Workspace          Project  MY TEST APP  H E Drivers  ca ge   zy orc  C3 Ic   9 DDE          COM  COM2 m    Baud Rate  3600 nd    Stop Bits  1  Advanced       Parity  Noe       Data Bits           z    None     e          Station    Timeout  Checksum    200       Long 2    m       String 2         Page 7    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    4  Specify the parameters as noted in the following table                                         Parameter Default Value Valid values Description  COM COM2 COM1 to COM256 mudo E     communication with the device  Baud Rate 9600 110 to 115200bps Communication rate of data  Data Bits 8 5108 Number of data bits used in the  protocol  Stop Bits 1 1 or 2 Number of stop bits used in the  protocol    Even  odd  none  space or    Parity None Parity of the protocol  mark  Timeout 200 0 2147483647 Time unit is 1 ms   0  No checksum  Checksum 0 0 or 1 a Ohecksum         Note  These Parameters must be just the same as the configured on the ICP DAS device  
30. n and the features are  described as follows       1  It accomplishes that Users    Applications  EVC    VB Net  C   ISaGRAF   are able to exchange data  with InduSoft  Please refer to the following figure         ISaGRAF  EVC         VS Net  Shard Memory ow         WinCon InduSoft Users  Application        2  The function is just used for indusoft running in the PAC platform not PC      3  The supported Data Type for communication between Users  Applications and InduSoft are       Unsigned Char     Range   0   255         Short   Range    32768   32767    Long   Range    2147483648   2147483647     Float   Range   3 4E     38      For Example    If users want to exchange data between Users    Applications and InduSoft  please follow the steps       1  For Users    Applications of PAC  users must add    UserShare Function    provided by Quicker in the  program that allows users to write or read data into shared memory  The program can be written by C    VB Net or EVC        2  For InduSoft Project  users just need to add a DCON Driver Form and fill it with the corresponding value   We provide four data type to Write Read data into shared memory and the configuration refers to the  following table     Page 27    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010                         Sample of Shared Memory Configuration  Address on the Device Header Field Address Field   Write Read  unsigned char  data SMINT UCHAR 1  into Shared Memory   Write Read    Short    data
31. on    The device parameter  baud rate  stop bits  etc  must be matched with the settings configured in the  Communication Parameters of the DCON driver     Page 12    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    5  Execution       When installing the driver  it is automatically selected to execute when you start up the Runtime Environment   To verify if the driver is correctly enabled and started  use the menu option Project   Status      and verify the  task Driver Runtime     Or OPC Client Runtime    WE Studio Scada        Server  Q9            Client Runtime    Ch mm mn 4       Page 13    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    6  Application in PAC  WinCE  Platform       The PAC  Programmable Automation Controller  is a leading edge embedded platform in Windows CE NET  with the Intel Strong ARM CPU  It can operate as an intelligent distributed data acquisition front end  connected to Host machine running a standard SCADA package  The users can develop SCADA  applications in a PC  and then download and apply them on the PAC InduSoft Embedded Controller  The  application procedure is the same as the description of the above section  Here  we will explore the design  steps for PAC only  If users need more detailed information about how to build and design a project  please  refer to the above section or InduSoft Web studio user manual     6 1 Creating a New Application for PAC    Users must choose Windows CE target system in creating 
32. rs  Please    check the hardware manual of PAC for COM port assignment        6 2 1 1 8000 and I 87K Modules Plugged    PAC Extension Slot    The following commands are supported to the modules plugged in slots of the PAC                             Head Type Support Modules  DI   8040 42 50 51 52  53 54 55 58 63 7 7  1 87040 51 52 53 54 55 58 63  DO   8037 41 42 50 54 55 56 57  1 8060 63 64 65 66 68 69 77   1 87041 54 55 57 and 1 87063 64 65 66 68 69  Al I 8017H   I 87013 15 16 17 18 19  1 8024   AD I 87022 24 26  Al x   8017            1 8024  DI Counter 1 87040 51 52 53 54 55 63          Encoder x x x       1 8090       Note  This x symbol on the 1 8017     8024 can be configured to an input output range for Al AO in the  PAC s slot  The following description lists all the x values  For l 8024  the value 0 3 will be  configured as    10V  If users just use Al or AO head type without x value  the default x value is    0         10V        5V      2 5V      1 25V      20mA       Page 16       DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    This three x symbols on the I 8090 can be configured as X axis  Y axis and Z axis counter mode  respectively  The x value of configuration is as follows   0  ENC QUADRANT    1  ENC CW CCW  ENC PULSE DIR       Before starting configuring ICP DAS PAC driver  you need to select the driver at the application where it will  be used  In the workspace  right click the folder    Drivers    on    Comm    tab to add or remove the comm
33. st type the tag from your application database  This tag will receive the  data values from the 1 8094 1 8094F       Address Field  Please fill column Address with the following sequence      lt Function Type ID gt   lt Variable 1 gt   lt Variable 1 gt    lt  Variable N gt     Page 21    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    The Function Type ID with Hexadecimal value uses for retrieving data from 1 8094 1 8094F is listed below   Variable 1 represents the first parameter of the API been called  The variable 2 represents second    parameter of the API and so on  Parameters are used with Decimal value        Function Type ID Reference Table  Read                       Type ID Function Type ID Function  02 i8094MF GET VERSION    1D i8094MF_GET_ERROR     17 i8094MF_GET_LP    1E i8094MF_GET_ERROR_CODE     19 i8094MF_GET_EP    20 i8094MF_FRNET_RA     1A i8094MF_GET_CV    30 i8094MF_HOME_WAIT     1B i8094MF GET CA   33     8094     STOP WAIT     1C ij8094MF GET DI    57 i8094MF_GET_LATCH                      Example of Addressing Configuration       Slot Modules  1 8094  Header Field Address Field       Get axis    logic position  Card Number  5   Axis   4  Z     18094 17 5 4                   6 3 Download Application into PAC    The PAC embedded controller provides two communication media for application with PC design platform   The first method is to download the application through Ethernet communication by connection with the  Ethernet port of PAC and P
34. t  from channel  3 of I  8017H module in slot 1 of Al 4 8017 1 3  W 8x3x embedded controller  Read X axis CW CCW counting  value from 8090 module in slot   Encoder 1 1 2 8090 1 1  1 of W 8x3x             DO 8064 0 1                                  Page 17       DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010       Read Y axis Quadrant counting       value from 8090 module in slot   Encoder 2 0 1 8090 1 2  1 of W 8x3x   Read Z axis Pulse Dir counting   value from 8090 module in slot   Encoder 0 1 2 8090 1 3  1 of W 8x3x       String Command to 87k    modules in slot 3 of WinCon SendCmd 3 String Command   like  00M                  6 2 2 Distributive Controller of l 8000  1 87   and l 7000 Series Modules Through COM Port    The following commands are supported to the modules controlled by the PAC COM port through RS 485  network                       Head Type Support Modules  DI  1 7011 12 14 15 16  1 7041 44 50 52 53 55  1 7060 63 65     I 8040 42 50 51 52  53 54 55 58 63 77 and 1 87040 51 52 53 54 55 58 63  I 7005 11 12 14 16  1 7042 43 44 50  1 7060 63 65 66 67 80   DO  1 8037 41 42 50 54 55 56 57  1 8060 63 64 65 66 68 69 77  1 87041 54 55 57 and  1 87063 64 65 66 68 69        1 7005 11 12 13 14 15 16 17 18 19 33  1 8017H  and 1 87013 15 16 17 18 19        1 7016 2122 24  l 8024         1 87022 24 26  DI Counter  1 7011 12 14 16  1 7041 44 50 52 53 55  1 7060 63 65 and 1 87040 51 52 53 54 55 63             If you want to use        Com port to connect to ICP D
35. ucenank 37    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    Page 2    DCON   Driver Version 1 42  Doc  Revision     May 3rd  2010    1  Introduction       The DCON driver enables communication between Studio system and most of ICP DAS modules from   families           1 7000  I 8000 and 1 87K   in accordance with the characteristics covered in this   document    This document contains 8 parts as follow     gt  Introduction  Provide an overview of the driver documentation       General characteristics  Provide information necessary to identify all the required components   hardware and software  necessary to implement the communication and global characteristics    about the communication      gt  Installation  Explain the procedures that must be followed to install the software and hardware  required for the communication      gt  Driver configuration  Provide the required information to configure the communication driver  such as the different permutations for configuration and its default values      gt  Execution  Explain the steps to test whether the driver was correctly installed and configured      gt  Troubleshooting  Supply a list of the most common error codes for this protocol and the  procedures to fix them      gt  X Application Sample  Provide a sample application for testing the configuration the driver        History of versions  Provide a log of all the modifications done in driver        Page 3    DCON   Driver Version 1 42  Doc  Revision    
36. unication  drivers  On the dialog box opened  choose the DCON driver  and hit    Select     For more information about  driver configuration  refer to section 4     The body of the driver worksheet allows you to associate each tag to its respective address in the device  In  the  Tag Name  column  you can set the tag from your application database  Hence  we can exchange data  through the tag with the device     The address cells complies to the following syntax     For 1 8000 and 1 87   Family        Module ID     Slot Number      Channel Number      Module ID  Module s ID of the device   Slot Number  The slot number that the module has been plugged in the backplane  The WinCON starts from  slot 1  The WinPAC and ViewPAC starts from slot 0    Channel Number  Channel   s Number to be read or written from the module   If channel 1 of the 1 8090  modules is X axis  channel 2 is Y axis  and channel 3 is Z axis         Sample of Addressing Configuration    Address on the Device Header Field Address Field  Read DI from channel 0 of  1 8053 module in slot 1 of DI 8053 1 0  W 8x3x  Write DO to channel 1 of l 8064  module in slot 0 of WinPAC  Read Al from channel 5 of I   87017 module in slot 6 of Al 87017 6 5  W 873x  Write AO  Voltage  to channel 3  of 8024 module in slot 1 of AO 8024 1 3  W 8x3x  Write AO  Current  to channel 2  of 8024 module in slot 0 of AO 4 8024 0 2  ViewPAC  Read Al  Voltage  from channel  3 of I  8017H module in slot 1 of Al 8017 1 3  W 8x3x  Read Al  Curren
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
続きはコチラ!! - ニッコーエクステリア  N8117-01A RS-232Cコネクタキット取扱説明書 (No.051947)  CP FB et révolution de jasmin_conf. 24_02_11  User`s Manual Overview Operating Edifier International Limited  La PS50C530 est une télévision Plasma de 50  Please read before start-up! Operating Instructions  VGN-TZ200 Series/VGN-TZ30 Series  Severin KA 4772  Philips 5100 series 40PFT5100 40" Full HD Black    Copyright © All rights reserved. 
   Failed to retrieve file