Home
        User`s Manual - ICP DAS USA`s I
         Contents
1.                                                                                                                  Commands Responses    _Clear Lists E Est Program   Est Program         GW 7434D User   s Manual  Version 2 3 Nov 2012  80    5 3 MBTCP Tool    MBTCP  Modbus TCP client  with source code in VB6  to diagnostic  Modbus TCP slave devices  After installing the GW 7434D Utility tool  users  can get it from the following location        All Programs    S   EOahesseandt          Protocol Description   FO  Read multiple coils status  Oxeex  for DO     Prefixed 6 bytes of Modbus TCP protocol   Byte 0  Transaction identifier   copied by server   usually 0  Byte 1  Transaction identifier   copied by server   usually 0  Byte 2  Protocol identitier 0  Byte 3  Protocol identitier 0  Byte 4  Length field  upper byte j 0         Data Log       r Folling Mode  no wait  I Statishic        Clear Statistic        i Facket      e Command       Quantity r Response        Total Packet bytes     een Total Packet bytes a E I  Packet Quantity sent   mm Packet Quantity racernved      wee  F panga or Timer mode  Dater Time   Folling Mode Timing foe      Interval   100 ms cet   Start time   Chart Time ES   O00       Bytet   EyteT   Bytez   Bytes   Byte   Bytes   120006 1400040   ByteO   Bytel   Bytez   Bytes   Byte4   Bytes  __ Byte   Bytel   Byte2   Bytes                       M Timer mode  fted period                                                                              Clear Lists   E
2.      1         A GW 7434D Utility  Online Mode  Ethernet   j  File Online View Insert Setting About Right cl ick    A  T  aale  mouse button        MASTER  MACID  0               Delete    DEVICE 1  MACID        1        TT   Device Configuration     tart Device  Stop Device          DEVICE 2  MACID  2          F 09 19 2007 74 10  OK    Cancel      Actual Device  01 DEVICE 1         Status  Idle        w  Device Configuration         _                   MAC ID   i  jon   DEVICE 1    Actual chosen 10 connection  f Folng    Bit Stobe C  COS Ff Cyclic       Connection type Desttip       Connection Object Instance Attributes  Explicit Packet Rate S00    Produced connection size a Consumed connection size Z  Select I O data type Avallabteppedefined connection data types    Data Type s   Descriptions   Data Length    Used for configuring    other devices       BYTE ARRAY Input    BYTE ARRAY Output 1    Add to configured I O data       1  BYTE ARRAY Input E  z lo  2  BYTE ARRAY Output op eo     l Delete configured 10 data    SS    Input device I O data Figure 5 22  Configure device I O connection data Add or delete       length selected I O data       GW 7434D User   s Manual  Version 2 3 Nov 2012  63    After pressing    OK    button to finish the setting of all actual devices  Utility tool  will save all setting into GW  7434D   s EEPROM and GW 7434D start to  communicate with these devices automatically  Then the GW 7434D Utility tool  will display each configured device s connec
3.     0x00  Explicit  Slave ID 0 0x01  Poll  1801h Low  W 1 Byte   0x02  Bit Strobe  Connection Type 0x03  COS  0x04  Cyclic    Slave ID 0  1802h 2 Byte   0x0000   0x01FF  Start address of Input Data Area  Slave ID 0   1803h   2 Byte   0x0000   0x01FF  input data length  Slave ID O   1804h A 2 Byte   Refer to Appendix A   Communication Status    1805h Slave ID 0  Expected Packet Rate   2 Byte   0x0001   OxFFFF  1810h   181Fh   Slave ID 1 data format 32 Byte   Slave ID 1 data  1820h   182Fh   Slave ID 2 data format 32 Byte   Slave ID 2 data  1BFOh 1BFFh   Slave ID 63 data format 32 Byte   Slave ID 63 data       GW 7434D User   s Manual  Version 2 3 Nov 2012  45    5  Configuration  5 1 GW 7434D Configuration Tool   GW 7434D Utility         Modbus TCP Protocol BNN DeviceNet Device 2             GW 7434D   DeviceNet Master to  Modbus TCP     DeviceNet Device_1    The GW 7434D Utility tool can be used to configure the operation condition of  the GW 7434D module  Also it can be used to monitor configure  add remove the  devices on the DeviceNet network  To start the    GW 7434D Utility     please install  the GW 7434D Utility setup file and run the GW 7434D exe file  The screenshot of  the startup screen for this Utility is given in the below figure  Connect the  GW 7434D s Ethernet port with the PC   s Ethernet port via a standard CAT 3 or CAT  5 network cable  It will auto negotiate the network speed and connection  Then the  user can online monitor and configure the connection st
4.     1 6 1 Modbus TCP to multi Modbus RTU converter  GW 7434D can be a single Modbus TCP to multi Modbus RTU converter  You    can simple use the GW 7434D Utility software to configure the device and then set  connection between SCADA  HMI software and the GW 7434D  The block diagram  of this application of GW 7434D is given as follows     Modbus TCP to Modbus RTU converter            5  aiT     gt      Parr    a  ay ha    Tet       on    dbus    RTL J 4 w Miodbu RTL d               Figure 1 3  Modbus TCP to Modbus RTU alain of GW 7434D    GW 7434D User   s Manual  Version 2 3 Nov 2012  13    1 6 2 Protocol converter with VxComm technology  GW 7434D can also be able to link to serial devices that don   t support    Modbus RTU  To use this function  you will need to install VxComm driver on host  PCs  After installation  you will be able to access the remote COM ports via the  standard serial driver     GW 7434D       Ethernet  Ethermet LO LOOM  1  100M  Devices  GW 7434D D  Ethernet ore RS 232  1006 J SP Devices  See   RS 485  PEET  Devices       Figure 1 4  VxComm Application _1 of GW 7434D    Compared to the RS 485 network  these Ethernet network hubs are already in  existence for system network  Therefore  the RS 232 devices can find the closest  hub and link to the central computer with the help of the GW 7434D  The Ethernet  network is extremely popular and already existing for most applications  hence  this  approach is a very successful  In general  it is more difficult
5.     Cancel      Figure 5 10     Modify  repair  or remove the program    dialog       GW 7434D User   s Manual  Version 2 3 Nov 2012  51    Step 5  Click the button    Yes    to remove the software as shown in figure 5 11     GW 7434D Utility Setup    Do you want to completely remove the selected application and all of its components      o      Figure 5 11  Click the button    Yes    to remove the software       Step 6  Finally  click the    Finish    button to finish the uninstall process   GW 7434D Utility Setup    Maintenance Complete    InstallShield Wizard has finished performing maintenance  operations on GY  4340 Utility             lt  Hack Finish DF Cancel       Figure 5 12     Maintenance Complete    dialog     GW 7434D User   s Manual  Version 2 3 Nov 2012     52    5 1 2 How to set connect with the module    When you first connect install a GW 7434D  you need to adjust each setting to  suit your requirements  You only need to do this once  The following procedure will  guide you on how to set and connect the GW  7434D with Utility tools  The  configuration steps are depicted as below     1  Connect the power source  the 10 30 DC volts  into the GW 7434D module     2  Configure the network settings  IP  Mask  Gateway  for the GW  7434D  controllers        Configure Wizard V  1 2 0 COM1    COM status  Host PC Operation    Ic OM    1 15200 7 IF Host IP Step 4     peer COM1 COM 2 of PC    Line contol  f N81 Mask  Hast Mask to COM of the 719SE    30006     DB  Gateway
6.     G W 74240  Utility setup        Choose Destination Location    Select folder where setup will install files     En Install GW  4340 Utility to     I      J  CAICPOASS CAN Gateway       InstallShield       Cancel      Figure 5 3     Choose Destination Location    dialog    Step 5  Click    Next    button and a    Ready to Install the Program    window will pop  up to prompt user that the wizard is ready to begin the installation See  figure 5 4     G W 74240  Utility setup            Heady to Install the Program    The wizard i ready to begin installation     Click Install to begin the installation     IE you want to review or change any of your installation settings  click Back  Click Cancel to exit  the wizard     lnstallahrela         aan   TTT j E 7 pone  TA cree pe      Figure 5 4     Ready to Install the Program    dialog    GW 7434D User   s Manual  Version 2 3 Nov 2012  48    Step 6  Click    Install    button and start to install the GW 7434D Utility to the system   After finishing the process  a    Complete    window will pop up to prompt  users that the successful completion of the installation  And click    Finish     button to exit  See figure 5 5      WW   74240 Utility setip    InstallShield Wizard Complete    The InstallShield Wizard has successfully installed Gw   4340  Utility  Click Finish to esit the wizard           Figure 5 5     Successful Completion of the Installation    dialog    Step 7  After finishing the installation of the GW 7434D Utility  us
7.    i 1200 Port 1 4  DataBits could be    or 8   Data Bits   E      StopBits could be 1     Parity Bit    None    Port 3    DataBits could be 5  6  7 or        Stop Bits    1     stopBits could be 1 or    Status  OF        Fixed Configuration  Use GW 7434D s current setting     By using this feature  the VxComm Driver would not change the  GW 7434D s Com port settings dynamically  This is proper when you have  multl clients to access the same GW 7 434D server     Dynamic Configuration  It s the default method      The VxComm Driver always change the GW 7434D   s settings dynamically   It is proper for working with several different baud rate and data format     GW 7434D User   s Manual  Version 2 3 Nov 2012  116    Step 6  Select one of the 7188E 8000E devices and then click the  Server  Options  button to configure the options       VxComm Utility  v2 8 11  Dec  270  2005     File Server Pork Tools    FT S68E 48000 Internet Ethemet Controller  IF   192 168 255 1 Fort   10000 Timeout  re    5000    z a  Add Server    Fort COM Baudrate    Port 10  Reserved Fined  Port 1 Unk ap Dynamic  Port 2 Unk ap Dynamic    Server Options            Device Mok Found        Step 7  Key in the value and then click the  OK  button to exit     Server Options  server    188E2  192 168 255 1   keep Alive Time I an    Recommend  7186E s System Timeout   1 3    Cancel      Connection Broken 180    Connect Timeout E  Command Port  TCF   1 ooog     UO Port  TCP   9999       Notes    Keep Alive Time  s
8.    s Manual  Version 2 3 Nov 2012  28    2 3 3 5 digits 7 Segment LED Displays  The 5 digits 7 SEG LED will show as figure 2 5                 Number of System reset    Total socket number   25  No client connect to this module       The module    IP is 192 168 255 1  Port is 10000    DeviceNet MAC ID  00    Com  data 7  even parity  stop 2    Coml  data  amp   no parity  stop           Baud rate of  COM1 2   9600        Baud rate of DeviceNet  network   125K    Figure 2 5 7 SEG LED Displays    The important information of GW 7434D can be divided as follows    Group ID 11111  IP information of this GW 7434D      Group ID 22222  baud rate of all ports      Group ID 33333  configuration of all ports      Group ID 44444  client connected information and system reset state of this  GW 7434D    The IP information format of GW 7434D is given as follows      Group I D of 5 digit LED  11111      LED 1  indicator  can be 1 or 2or3or4      LED 2 5  IP    The LED will show Group ID first  and then show its IP as the above diagram  indicates  If users change IP  the value shown will change immediately  The default    GW 7434D User   s Manual  Version 2 3 Nov 2012  29    shipping IP   192 168 255 1   the LED show sequence is given as above  diagram    The baud rate format of COM ports are given as follows       Group ID of 5 digit LED  22222      LED 1  COM port number      LED 2 5  value of  baud 100     The baud rate format of CAN port is given as follows       LED 1  indicator  3  CAN 
9.   10 100 Base T  signals are routed to an RJ45 socket for easy  connection using a standard CAT 3 or CAT 5 network cable  On power on of the  GW 7434D  it will auto negotiate the network speed and connection      Pin   Name  Description    Table 2 3  Ethernet Connector Pin Assignment       68  S    GW 7434D User   s Manual  Version 2 3 Nov 2012  23    2 2 Terminator resistor settings    In order to minimize reflection effects on the CAN bus line  the CAN bus lines  have to be terminated at both ends by two terminal resistances  Based on the ISO  11898 2 spec  each terminal resistance is 1200  or between 1080 132Q   The  length related resistance should have 70 mQ m  Users should check the  resistances of their CAN bus  before they install a new CAN network as figure 2 3     Device  Device   Device  2     CAN_H         0E   I    12  OZ             Figure 2 3  Terminator resistor    Moreover  to minimize the voltage drop on long distance  the terminal  resistance should be higher than the value defined in the ISO 11898 2  Table 2 4  may be used as a reference     Terminal    Length Related    J l Cross Section Resistance  Resistance  Q    Type     0 25 23AWG      124  0 1   0 34mm  22AWG  ae    0 34 22AWG    0 6mm  20AWG     0 5 0 6mm   150 300  20AWG   0 75 0 8mm7  600 1K  lt  20 150 300   18AWG     Table 2 4  Relation between bus cable and length    127  0 1         GW 7434D User   s Manual  Version 2 3 Nov 2012  24    Therefore  the GW 7434D module supplies a jumper for user
10.   CR_LF    LF                                        Step 6  Type    Virtual COM    in right hand window  and press    Send      Data will be sent from PC   s COM4 through Path2 to GW 7434D   s COM1  and immediately returned through Path1 to PC   s COM71      Send232     2 0 1 COMI E x  Send232     2 0 1 COM4 o ici xj       COM status     co M4      5600      Line control     N81  Open   Close      Auto send    Interval  500 et      send string with     None    LF_CR  C CR    CR_LF     LF    COM status    Line control     M84  Open   Close      Auto send  Interval  jo Cet    Send   Stop          Send string with    f  None     LF_CR  O EF   CRLF                                            Recerre    COM 2    Clear   Clear   Clear   Clear    E sit Prograrn   E sit Program         GW 7434D User   s Manual  Version 2 3 Nov 2012  126    8 2 Troubleshooting  Problem 1  Client program fail to open the COM port that was created by the    VxComm Driver     Check   The GW 7434D s power supply  network cable  IP address  subnet mask and  gateway     Problem 2  Client program still fails to open the COM port     Check   Step 1  Right click the  My computer  icon and select the  Manage  option     Open  Explore    Map Network Drive     Disconnect Network Drive       Create Shortcut  Recycle Rename    Properties       Step 2  Select the  Device Manager  icon from the  Computer Management   program        Computer Management    Acton view        gt    mjm       Sy GARY  Hm Computer  H  gt  
11.   Dec  270  2005     File Server Pork Tools    F1S8E 8000E Intemet   Ethernet Controller    IF    192 168 255 1 Fort   10000 Timeout  re    5000    iM Check Duplicated IP  Connect to Serve  ay Add Server    VeComm Device Servers LOM B audrate  7188E2  192 168 255 1  Reserved Fixed   Unk ap Dynamic   Unk ap Dynamic    Server Options   x Remove Server      Device Mot Found        Step 5  Double click an appropriate COM port number  and then it will pop up a     Port Mapping    window  Then select the virtual COM port of PC on the     Select COM    dialogue     Port Mapping    server  f186E2  192 168 255 1   Port 1 OK    Select com _ UnMep  gt        Cancel      Re assign COM number for all subsequent ports      Use  166E 6000E current setting  Fixed Configuration   Baud rate  data format    cannot be changed dynamically      Less conflicts  more stability     Port Configuration       GW 7434D User   s Manual  Version 2 3 Nov 2012  115    Note     Re Assign COM number for all subsequent ports  option   This option will assign the following ports with the available COM port number  sequentially and automatically   For example  If Port1   COM4  then Port2   COM5  Port3   COM6    Use 7188E 8000E current setting  Fixed Configuration   option   You can click the  Port Configuration  button to configure this port s Baud rate  and Data format settings  After the configuration  you can then check this  option     Port Configuration    Server  7188E2  192 168 255 1   Port 1 Eed    Baud a
12.   Note   1  The parameters of the configuration must be suitable with the connection  attribute values of the output device  Otherwise  the data in the Output  Data Area will not be sent to the output device     2  After mapping the device data into the Output Data Area  all the    parameters will be stored into the Output Status Area address   O800h OBFOh  table 4 6  and EEPROM of GW 7434D     GW 7434D User   s Manual  Version 2 3 Nov 2012  105    6 2 3 Clear All Inout Data Area    Users can use this command to clear all the data in the Input Data Area of the  GW 7434D  After receiving this command by the GW 7434D  it will set the flag   Total Number of Input commands  table 4 7  and all data in the Input Data Area to  zero     Request       00   Net ID  Station Number  1 Byte   Module Net ID  7    0x0C 0x00  02 03   Reference Number 2 Byte   Command Area     06  Byte Count  B 2  Word Count    1 Byte  O02  08   Clear all data in the Input Data Area   1 Byte  0x02    Response        00  NetID  Station Number    1 Byte   Module Net iD    Error Response       00   NetID  Station Number    1 Byte Module Net ID          Exception Code Refer to table 4 2 for more details     GW 7434D User   s Manual  Version 2 3 Nov 2012  106    6 2 4 Clear All Output Data Area    Users can use this command to clear all the data in the Output Data Area of the  GW 7434D  After receiving this command by the GW 7434D  it will set the flag   Total Number of output commands  table 4 6  and all data in 
13.   and configure it again       Ynsernet Properties i 2 x        General   Driver      S    nsernet    Dewice type  Mon FPlug and Flay Oriers  Manufacturer  Unknown  Location  Unknown    Device status  This device is working    you are having problems with this device  click Troubleshooter to start  the traubleshooter        Device usage     Lise this device fenable           Problem 3  Client programs open the COM port with success  but fail to access  the device     Check     Check the device s power supply and wiring  RS 232  RXD  TXD  RS 485  D   D     GND      GW 7434D User   s Manual  Version 2 3 Nov 2012  129    Appendix A  Connection Status Table    Interpretation of the return code  General Error     Return  Code    1057    es le  DNMXS_UnKnoweError The DeviceNet has some unknown  C a  DNMXS_BoardNotActive The GW 7434D has not been  eS  nae  DNMXS_OnlineError The master MAC ID collides with other  PROSE   seve ne Dent    DNMXS_CANBusError The CAN port can t send message     Please check the baud rate or the port    of the CAN bus     DNMXS_ Booting The GW 7434D is still booting     DNMXS_MACIDError The MAC ID is exceed the range 0    Pee fag Renee  DNMXS_BaudRateError The baud rate is exceed the range 0    i nine  DNMXS_ConnectionTypeError   The connection type is exceed the  ieee  ooo aaa  DNMXS_DuplicMasterMACID   The MAC ID is the same with the  ee laces       DNMXS_EEPROMError The EEPROM is out of order   DNMXS_NowScanning The GW 7434D is searching the slave   DNM
14.   field   After connecting to the GW 7434D  the VxComm Driver will automatically and  periodically sends commands to keep the GW 7434D alive  The timer will be  reset after each sending command or receiving data success  The Keep Alive  mechanism won t work until the next timeout   The default setting of Keep Alive time is about 7 second  It s recommended  setting is  GW 7434D s System Timeout   1   3  or a smaller value     GW 7434D User   s Manual  Version 2 3 Nov 2012  117    Connection Broken  s  field   The VxComm Driver will try to build a new connection when the connection is  broken  When clients send a message to the GW 7434D  the Internet  TCP IP   layer may respond with a  Disconnect  event to the VxComm Driver if it sends  the message failure in 20 seconds or later  Users can set a shorter  Connection Broken timeout  for example  10 seconds    to force the VxComm  Driver to build the connection again and get a quicker response     If there is no sending receiving signal in the connection during the  Connection Broken time  the connection will be marked as broken  The  VxComm Driver will build the connection again in Connection Broken time   Thus  the Keep Alive Time should be shorter than the Connection Broken time  to make the connection come on line     The default System Timeout   STxxx  value of the GW 7434D is about 300  seconds  After client programs connect to the GW 7434D  the clients must  send commands to keep the GW 7434D alive before timeout is up  oth
15.  6 1 12 DNM_StopDevice    Users can use this command to release the connection between GW 7434D  and device  The configuration of this connection still is saved in the scan list table of  GW 7434D     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Bytes   Command Area     06  Byte Count  B 2 Word Count    1Bye  ooa  08   Stop Device Command   1Bye  owoc  00  Separating byte     teye  oat    Response     Error Response     00   Net ID  Station Number    1 Byte Module Net ID             Exception Code Refer to table 4 2 for more details     GW 7434D User   s Manual  Version 2 3 Nov 2012  95    6 1 13 DNM_StartAllDevice    After configuring the IO connection of each device  users can use this  command to let the GW 7434D start to communicate with all DeviceNet devices     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID  Function Code 1 Byte   0x10  7    0x0C 0x00  02 03   Reference Number 2 Bytes   Command Area     08   Start Al Device Command   1Byte    Response        00  NetID  Station Number    1 Byte   Module NetID    Error Response     Net ID  Station Number  1 Byte Module Net ID       Exception Code Refer to table 4 2 for more details        GW 7434D User   s Manual  Version 2 3 Nov 2012  96    6 1 14 DNM_StopAllDevice    Users can use this command to release the connections between GW 7434D  and all DeviceNet devices  These configurations of these connections still are  saved in the scan list
16.  7434D  are listed and described in the section 6     Word Address  4x   OCOOh  OCOt1h    OCO2h    OCFFh    Table 4 5  Command Addressing       GW 7434D User   s Manual  Version 2 3 Nov 2012  38    4 3 3 Output Status Area    The Output Status Area is used for saving information for DeviceNet output  devices  Users can use Modubs FC3 command  read multiple registers  to read the  data from GW 7434D   s Output Status Area  0800h   OBFOh      Word Address 0800h   OBFOh  Specific data format string    For saving specific data format string that are sent by Utility tool to configure  output device data address  The types of the specific data format are described in  following table  Each specific data format contains 32 bytes  And the maximum  number of the command string is 100     Word Address oe Data  Description   4x  Length    0x00   Not valid  O800h High  Is the slave valid 1 Bytes   0x01   Explicit valid  0x03   I O valid    0x00   Not valid  O800h Low  Is the    start address    valid 1 Bytes  0x01   valid    0801h High    Slave MAC ID   0x00 1 Byte    0x00  Explicit  0x01  Poll  1 Byte   0x02  Bit Strobe       Slave ID O   0801h Low     Connection Type  0x03  COS       0x04  Cyclic    Slave ID O   0802h 2 Byte   0x0000   0x01FF  Start address of Output Data Area  Slave ID O   0803h 2 Byte   0x0000   0x01FF  Output data length  Slave ID O   0804h AS 2 Byte   Refer to Appendix A   Communication Status    0805h Slave ID 0  Expected Packet Rate   2 Byte   0x0001   OxFFFF  08
17.  Ae  AY w  Ethernet 10 100 RS 485 Port  Base T    INIT   pin  RS 232 Port    Figure 2 1  Pin assignment on the GW 7434D    GW 7434D User   s Manual  Version 2 3 Nov 2012  20    2 1 1 RS 232  amp  RS 485  amp  Power supply interface    The GW 7434D provides one RS 232 interface and one RS 485 interface with  hardware flow control  The GND signal of COM1 is shared with pin 9  GND  The pin  assignment is shown in table 2 1     Pin   Name   Description    RTS1 RTS pin of COM1  RS 232   RXD1 RXD pin of COM1  RS 232   TXD1 TXD pin of COM1  RS 232     sine   roeeesst  AUTOEXEC BAT  E     ova De united    10V to  30V DC unregulated     Table 2 1  COM Connector Pin Assignment       GW 7434D User   s Manual  Version 2 3 Nov 2012  21    2 1 2 Connect to DeviceNet devices    In order to provide an easy CAN bus wiring  the GW 7434D supplies one CAN  port with two CAN bus connector interfaces  Each connecter built on the  GW 7434D looks like as figure 2 3 and table 2 2     Pinno   Signal   Description  Ca fo na   Unie  2  CANE   CAN L bus line  dominantiow   Cs   nm   Unavalable    Table 2 2  CAN bus Connector Pin Assignment       Note that the bypass CAN bus connector is not another CAN channel  It is  designed for connecting to another CAN device conveniently  The structure of the  inside electronic circuit is displayed as figure 2 2        Figure 2 2 Electronic circuit of CAN bus connector    GW 7434D User   s Manual  Version 2 3 Nov 2012  22    2 1 3 Ethernet connection    The Ethernet
18.  Cancel      Status  Idle EF 09 17 2007 74 10     J GW 7434D Utility  Online Mode  Ethernet  TER     File Online view Insert Setting About    MASTER  MACID  0    DEVICE 1  MACID  1    Status  Idle   09 18 2007 74 10    Figure 5 20  Add a DeviceNet device into GW 7434D       GW 7434D User   s Manual  Version 2 3 Nov 2012  61    Remove a device     Click left of the mouse button on device that you want to remove  Click right of  the mouse button on the device  then click the    Delete    item  Then the selected  device will be removed from the GW 7434D  As shown in figure 5 21          A GW 7434D Utility  Online Mode  Ethernet    mom  File Online View Insert Setting About 1      bel    2  O  Right click    mouse button  MASTER    MACID  0    MACID  1 eS    Device Configuration     Start Device  Stop Device                     Status  Idle    F 09 18 2007 74 10    A GW 7434D Utility  Online Mode  Ethernet   Sele    File Online View Insert Setting About      ka         MASTER  MACID  0         Status  Idle      09 18 2007 74 10    Figure 5 21  Remove a DeviceNet device from GW 7434D    GW 7434D User   s Manual  Version 2 3 Nov 2012  62    Select I O    Configure all devices   1  Click left of the mouse button on device that you want to configure  Select the     Setting    item on the menu bar  or click right of the mouse button on the device   then click the    Device Configuration       item  Then the    Device Configuration     window will be pop up  As shown in figure 5 22    
19.  Ethernet for network  in industrial area is appealing because the required cabling is already installed     The GW 7434D from ICP DAS is a solution that provides a communication  protocol transfer the DeviceNet to Modbus TCP protocol and solves a  mission critical problem  connecting an existing DeviceNet network to  Ethernet base PLCs and PC based configuration and monitor system  It enables  DeviceNet networks to be coupled together over the Internet Ethernet  whereby  remote monitoring and control is possible     The GW 7434D can be a DeviceNet master device in the CAN bus on the  DeviceNet network  It provides    Predefined Master Connection Set     and supports  Group 2 only Server functions to communication with slave devices  On the  Ethernet network  it acts as a Modbus TCP server  Users can use Modbus TCP  functions to communicate with it  In addition  we also provide Utility software for  users to configure their device parameters for the GW 7434D  The following figure  shows the application architecture for the GW 7434D        Modbus TCP command    protocol         Command protocol  depend on serial  5    Internet    devices    Modbus RTU    VxComm 2  amp     GW 7434D   1 7243D  DeviceNet       Figure 1 2  Application of GW 7434D    GW 7434D User   s Manual  Version 2 3 Nov 2012  9    1 4    Hardware and Firmware Features    Hardware Features    80186  80MHz CPU  or compatible   Philip SJA1000 CAN controller with 16M Hz clock   Phillip 82C250 CAN Transceiver   1K 
20.  Ethernet specification     10 100 Base T    CAN specification      CAN signal support  CAN_H  CAN L      CAN bus interface  ISO 11898 2   5 pin screw terminal connector     Isolation voltage  1k Vpc isolation on the CAN side     Power requirement      Unregulated  10Vpc    30Vpc      Power reverse protection  Over Voltage brown out protection     Power consumption  3W     Module specification      Dimensions  72mm x 123mm x 35mm  Wx Lx H     Operating temperature   25 to 75  C    Storage temperature   30 to 80  C    Humidity  1 to 90   non condensing    LEDs  Power led  MS  NS  RUN  5 digits 7 segment led displays    GW 7434D User   s Manual  Version 2 3 Nov 2012  11    software Utility tool         Online adding removing DeviceNet devices via Ethernet      Online monitoring and configuring devices status via Ethernet      Get Set Modbus TCP input output memory address      Get Set DeviceNet parameters via DeviceNet explicit message     Support DeviceNet I O mapping table      Show DeviceNet devices connection status       Support communication modes setting    Application      Factory Automation       Building Automation      Home Automation       Control system      Monitor system            Vehicle Automation     GW 7434D User   s Manual  Version 2 3 Nov 2012     1 6 Typical Applications    Although the GW 7434D is designed as a Modbus TCP server to DeviceNet  master Gateway  But it can be used to link these RS 232 RS 485 DeviceNet  devices to central computer as follows 
21.  Hast Gateway    r F1TB8E Setting  Ongin   188E Setting  Recomend     IP IP IP Enter IF       Mask Mask Mask E Enter Mask     Gateway  Gateway Gateway  Enter Gateway     wil      To Use the Configuration Wizard  you must first install PCDiag     8000CD  Napdos 7188e T CP PCDiag Setup Setup exe         3  After using configure wizard to set the network parameters of GW 7434D  please  power off and power on the power source of it again    4  Then the GW 7434D module   s Power LED will flash approximately once per 0 5  second  And the 5 digits 7 segment LED will scroll to display some messages   please refer to section 2 3 to check what the status it is    5  The user must run the GW 7434D    s Utility software after they have made a wire  connection between the PC and the GW 7434D via the network cable   6  Select the    Online    on the GW 7434D Utility menu bar  Then click the    Connect     item  The    Connect       window will be pop up  Key in the IP of the GW 7434D  and press the    Connect    button in order to connect with it  As shown in the  following figure     GW 7434D User   s Manual  Version 2 3 Nov 2012  53    A GW 7424N Utility  Setting About      Connect       Timeout   goi ms    ERTS 2007 3 14       Figure 5 13  Connection setting of GW 7434D    7  If the GW 7434D is online and work normally  the Utility tool will display the  connection state and devices at the main frame  Then users configure and set  the GW 7434D and its DeviceNet slaves devices at each co
22.  Number 2 Bytes   Command Area     01  04 05   Word Count 2 Bytes 0x00 0x03  Byte Count  B 2 Word Count  1 Byte  07   Leading byte           1 Byte  Remove IO Connection Command 1 Byte 0x06  Separating byte      l 1 Byte  10  11  12    0x00  Explicit  0x01  Poll  Connection Type 1 Byte 0x02  Bit Strobe  0x03  COS  0x04  Cyclic    Response     Error Response       00   Net ID  Station Number    1 Byte Module Net ID    06  or  a  09             Exception Code Refer to table 4 2 for more details     GW 7434D User   s Manual  Version 2 3 Nov 2012  89    6 1 7 DNM_ ConfigBitStrobe    The command is used for users to configure the Bit Strobe IO connection  between the DeviceNet device and the GW 7434D  This command is used to  configure the IO connection  but not start to communicate with the device     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Bytes   Command Area     06  Byte Count  8 2 Word Count    1 Byte  0x08  08   Configure Bit Strobe Command   1 Byte  oxor  Eo OE foxes    2 data length of device 1 Bvte Dep  on input data   high byte  4 length of device  Input data length of device 1 Byte Dep  on input data   low byte  4 length of device  EPR of Bit Strobe connection  1 Byte 0x00 0xFF    high byte   EPR of Bit Strobe connection   14 1 Byte 0x00 0xFF   low byte     Response     00  NetID  Station Number    1Byte   Module NetID    Error Response     Net ID  Station Number  1 Byte Module Net ID             02 Exc
23.  Word Address ee Data  Description   3x  Length    0x00  Explicit  0x01  Poll  1001h Low  First slave s Connection Type 0x02  Bit Strobe  0x03  COS  0x04  Cyclic    1002h First slave s input data length 2 Byte   Ox0000   0x01FF  1003h First slave s output data length 2 Byte   0x0000   Ox01FF    1004h High  second slave   s MAC ID 1 Bytes   0x00   Ox3F    0x00  Explicit   0x01  Poll  1004h Low  second slave   s Connection Type 0x02  Bit Strobe   0x03  COS    0x04  Cyclic    4    slave   s information  ee oe       GW 7434D User   s Manual  Version 2 3 Nov 2012  41    Word Address 1500h   16FFh  Get Attribute Response Data    The users can use DNM_GetAttribute function to get extra slave s information   After calling DNM_ GetAttribute  the users would receive response data from the  slave  The data format is described in the following table     Word Address aor Data  Description   3x  Length    1504h Low  E E E       Note   Word Address 1502h  The data length after getting attribute  If the value is OxFFFF  it means that the    DNM_ GetAttribute    command has  some errors  The error code would be shown in 1503h  The error code  description was shown in Appendix A   If the value is the range from 0x0001 to 0x01FF  it means that the     DNM_GetAttribute    command executes successfully  The attribute data would  be shown between 1503h and 16FFh     GW 7434D User   s Manual  Version 2 3 Nov 2012  42    Word Address 1700h   170Fh  Set Attribute Response Data    The users can use DN
24.  oar  io  Device ACID    teye   OXO0 OGF  a1  cassi0SSOS     S SC     ite  ceso   12  instance ID   teye instance D  as  Atribute   teye   AtributeID  ie  Atribute Data   Byte  0000F  o aa a a    Response     Error Response     Net ID  Station Number  1 Byte Module Net ID       01  07  10  11  12  13  16  17  18       Exception Code Refer to table 4 2 for more details        GW 7434D User   s Manual  Version 2 3 Nov 2012  100    6 1 18 DNM_BootingStartAllDevice    The command is used for users to set whether GW 7434D start to  communicate with all device when rebooting     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Bytes x x   Command Area     01  04 05   Word Count 2 Bytes 0x00 0x02     06 Byte Count  B 2 Word Count  1 Byte    0x00  Disable  Enable or Disable 1 Byte  0x01  Enable  Response     00  NetID  Station Number    1Byie   Module NetID    Error Response       00   Net ID  Station Number    1 Byte Module Net ID             Exception Code Refer to table 4 2 for more details     GW 7434D User   s Manual  Version 2 3 Nov 2012  101    6 2 Commands for Configuring Input Output Data Area    The leading byte of the commands for configuring I O Data Area is the char    9      Ox24h  After receiving the command of this specific data format  the GW 7434D will  unscramble it and perform the relative procedure  These commands for configuring  DeviceNet devices are described in the following sub section     6 2 1 Set 
25.  oo ococc ccc ccc Co co  ooococcoco 7c cc cc co fc  ooco cece 7c cc cc Cc ca  oo coc n ccc ccc Coo  oococc 3c cc ccc Cc fc  oo cco 0c cc cc cco fo  oo coc 380 ccc ccc Co co  oo ccc 7c ccc cc co fo  oo cco 0c cc co cc cc fo    Le       Figure 5 32  Set Get IO Memory Data    GW 7434D User   s Manual  Version 2 3 Nov 2012  73    As the setting of figure 5 30 and 5 31  users can get the Device1  2 bytes  polling input data  and Device2  16 bytes polling data  on the Input Memory Table   0000 0001 and 0100 0115 after click the    Get Data    button or    Auto button     As  shown in figure 5 33        Input Memory   00  01   02   03  04  05  O68   OF   O8   09   10  11   12  13  14  15  16    OO  FF   FF ao oa ol o  a  a  o ol olao al ol oal oalo  MCE RETE es ES aE eee EE a es ie  meth hh hin ee as a ei ae  opis ee ai ae ee a ee re a a a eae  o4  ojojlaoajojolojolaoajlololojolajololjojo  o  o0ojojlaojojolojolaoajlololojolajolojojo  o  ojojlaojojolojolaoajlololojolaoajolojojo  0z  o0ojojlojojolojoloajlololojolaoajolojojo  oa  ojojoj ojolojolaoajojolojolajolojojo  Lire eee ea ea ae ae ere oe ee Dolay iode  anna eis ie a ras ee ae a a ee ae ae  Reece Ee ae Sa es ee Ee ee ee es ee a a a a a    Hex  ee Pa er a a es ee ee a er ea a a ae M Dec    4    at    Figure 5 33  Input Memory Table    By clicking the    Set Data    button  users also can set the data on the Output  Memory Table into GW 7434D s output data area  As shown in figure 5 34      lt  gt   I    Output Memory    00   07   
26.  table of GW 7434D     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID       0x0C 0x00  02 03   Reference Number 2 Bytes   Command Area     06  Byte Count  8 2  Word Count    1Byte  0x02  08  Start Al Device Command   1Byte   o0E    Response     00  NetID  Station Number    1 Byte   Module Netib    Error Response     00   NetID  Station Number    1 Byte Module Net ID          Exception Code Refer to table 4 2 for more details        GW 7434D User   s Manual  Version 2 3 Nov 2012  97    6 1 15 DNM_ClearAllConfig    Users can use this command to clear all the configurations of devices  in the  GW 7434D    s scan list table  After receiving this command by the GW 7434D  it will  release all connection between the devices  and clear all configurations of the  DeviceNet devices     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID  7    0x0C 0x00  02 03 Reference Number 2 Bytes i x   Command Area         o6  Byte Count  B 2Word Count    1Byte  0x02  o8  Start Al Device Command   1Byte  0x9    Response     00  NetID  Station Number    1 Byte   Module Netib    Error Response     Net ID  Station Number  1 Byte Module Net ID          Exception Code Refer to table 4 2 for more details        GW 7434D User   s Manual  Version 2 3 Nov 2012  98    6 1 16 DNM_GetAttribute    This function is used to send the request command to retrieve the attribute  value of the specific device s instance  Before calling this function  the users must  start the device  
27.  to write a TCP IP  program than a COM 1 2 program  Therefore  the VxComm technology is  developed to simulate COM ports of the GW 7434D to become COM  3 4 5    256 of the central computer  Then users can write a COM port program to  link these RS 232 RS 485 devices and need not to concern themselves with any  TCP IP problem     GW 7434D User   s Manual  Version 2 3 Nov 2012  14    In some factories  there are old systems still running and in case  These old  systems only support COM port applications  Therefore  the Vxcomm technology  can be used to upgrade these old systems to support Ethernet network    To recap  the VxComm technology is useful as follows      Provides a much easier interface for software programmers      Keeps the old systems going without program modification   The block diagram of VxComm technology for the GW 7434D is given as follows     Vio 1 IIET Ii FL   ents   Viaste Crs     i E maT     F T       a ra    E         by F    7 ae re eee  Serial Device L lents   Viasters              a     ay   op a Say P  in          Figure 1 5  VxComm Application 2 of GW 7434D    The VxComm technology can be used to simulate COM ports of the GW 7434D to  become a COM port of PC  With the help of VxComm driver  users can access the  remote COM ports of the GW 7434D just as them would access the PC   s COM  port     GW 7434D User   s Manual  Version 2 3 Nov 2012  15    1 6 3 Modbus TCP RTU to DeviceNet gateway    The GW 7434D provides centralized data storage     Intern
28. 0 oO   0 0o 0 0 0 0 0 0   0 0 0 0 O  oj o  oaja oa  a  o aj o oaj oj oalo Dad  oj o  oaja oa   a  o oa o oaj oj oalo  ojojojojojojojojojojojojo      Hex        n       n                   n Z eo       GW 7434D User   s Manual  Version 2 3 Nov 2012     19       5 2 MBRTU Tool    MBRTU  Modbus RTU client  with source code in VB6  to diagnostic  Modbus RTU slave devices  After installing the GW 7434D Utility tool  users  can get it from the following location          Gi G TABED   Fa G W743 Utity  Clo mn    5 MBTCP     Readme  E Whetasws       All Programs      S   Betestseady         MBRIU V  1 0 6 COM1    COM status       __  Protocol Description S  FLT Read multiple coils status  Oss  for DO     115200  m     Net ID  Station number   Line control        gt   Fcs04    Byte 2 3  Reference number      Byte 4 5  Bit count  Open lose        Polling mode  no wait   gt  Statistics  Timeout                                 a    Clear statistics                         Commands Packet Responses  200       Current Packet Size  bytes    5 Quantity Current Packet Size  bytes     Total Packet bytes po Difference   Total Packet bytes po o  Timer mode  fixed period      Packet Quantity n   0 Facket Quantity a  0                                                                                 Interval   oll ms Polling or Timer mode  Date Time  F Folling Mode Timing  ris    Gig Piao Start time   Time Start   Max   000 Average  a   Bee time   Time Stop fine Min   100 o00  Command J l    14000   
29. 02   03   04   05   06   OF   os   09   10  11       l  Pl  a  ha     h  Ja     l  Sy      p     TEE  i oo oajojololo   TETA a a a a a a a r A A   020o 0 0 0 0 0 0 0 0 oO 0 oO 0 0 0 0 D   0o 0 0 0 0 0 0 0 0 0 oO oO 0 0 0 0 D Clear All   0o 0o 0 0 0 0 0 0 0 0 0 0 DO od 0 Oo Setting   0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 od 0 D   060o 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 D   070o 0 Ob 0 0 0o 0 0 0 a G ga oga oda og odi D   0o 0o 0 0 0 0 0 0 0 0 0 ogaoga oda ogogo   0 0 0 0 0 0 0 0 0 0 oO oO oO 0 0 0 0 D EAE   10 0 0 0 0 0 o0 o0 0 0 0 0 0 0 0 0 0 D   mM ololololololojlololoalaoalolololololo is Hex  0 0 oF 0 0 0 0 0 0 0 0 0 oO gl lolol M Dec    m   k  Pal  ka  4    Figure 5 34  Output Memory Table    GW 7434D User   s Manual  Version 2 3 Nov 2012  74    5 1 9 Import export all configuration to from GW 7434D s EEPPROM    Users can import all the configuration of the GW 7434D into an    ini    file and  export the data in the    ini    file to another GW 7434D via the GW 7434D Utility   Please refer the following steps to import GW 7434D EEPROM s data into an    ini     file or export the data in the ini file to GW 7434D   s EEPROM     Step1  Turn off the power of the GW 7434D and switch the jump in the back plane  into initial mode  Then turn on the power of the GW 7434D     Step2  Press the EEPCopy button     GW 7434D Utility  Communication Mode     File Online View Insert  ttmg EEPCopy Abdut  2  ia        DEK        EF 09 43 2010 8 11    Step3  Select the necessary COM port of the PC and pres
30. 10h   081Fh   Slave ID 1 data format 32 Byte   Slave ID 1 data  0820h   082Fh   Slave ID 2 data format 32 Byte   Slave ID 2 data  OBFOh OBFFh_   Slave ID 63 data format 32 Byte   Slave ID 63 data    GW 7434D User   s Manual  Version 2 3 Nov 2012  39    4 3 4 Input Status Area    The Input Status Area is used for saving information for each DeviceNet input  device  Users can use Modubs FC4 command  read input registers  to read the  data from GW 7434D   s Input Status Area     Word Address  3x   1000h    The information of all searched devices     Get Attribute Response data        Set Attribute Response data     1710h High  Master MAC ID       1710h Low  Baud rate  1711h Firmware version  1712h GW 7434D DeviceNet Master Status    1713h The amount of all slave devices  1714h   171Fh Reserved  1720h High  The leading byte of the DNM_xxx command  1720h Low  The No  of the DNM_xxx command  1721h The return code of the DNM_xxx command  1722h   1 7FFh Reserved                Specific data format string for Input command          Table 4 7  Input Status Addressing    GW 7434D User   s Manual  Version 2 3 Nov 2012  40    Word Address 1000h   14FFh  All searched slave devices    The users can use DNM_AutoSearch function to find out all the slaves which  are connected with the GW  7434D module  After searching successfully  the  slaves    information would be store at this address segment  Each slave contains 6  bytes information  The data format is described in the following table    
31. 2 3 Nov 2012  55    4 All setting will become affect after reset the system of the GW 7434D     A GW 7434D Utility  Online Mode  Ethemet       MASTER  MACID  O    Status  Idle EF 03 14 2007 44 10    Figure 5 16  Reset the system of GW 7434D       GW 7434D User   s Manual  Version 2 3 Nov 2012  56    5 1 4 How to configure the module s application mode    The GW 7434D can act as Modbus TCP to multl Modbus RTU converter or  protocol converter with VxComm technology  After connect GW 7434D with Utility  tool  users can change these application mode at the    MBTCP configuration Table      Please do the following steps to change the application mode of the GW 7434D     1  Connect the GW 7434D module with Utility tool  described as section 5 1 2    2  Then select the master frame  GW 7434D    3  Select the    Setting    item on the menu bar  or click the mouse right button on the  master frame  then click the    Master Settings       item  Then the    MBTCP  Configuration    window will be pop up  As shown in figure 5 17         Fa GW 7434D Utility  Online Mode  Ethermet         Fie Online View Insert Setting About        Right click mouse  button           MASTER  MACID  0              Bus Par amete  Master Settings                      Com Port Setting  com     GW 7434D 192 168 0 13  MA RAO     NetID  1 Enable Mode  Modbus RTU Gateway      i     Ea   Modbus Timeout   200 moo    Baudrate q600         Set MeaMomory Data       Data Bit      E    Parity Bit  NONE     1         Stop 
32. 4  l       GW 7434D User   s Manual  Version 2 3 Nov 2012  83    6 1 Commands For Configuring DeviceNet Devices    The leading byte of the commands for configuring DeviceNet devices is the  char          0x40h  After receiving the command of this specific data format  the  GW 7434D will unscramble it and perform the relative procedure  These commands  for configuring DeviceNet devices are described in the following sub section     6 1 1 DNM Reset  This command is used to reset the system of the GW 7434D    Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Bytes   Command Area     06   Byte Count  B 2 Word Count    1 Byte  O02  08  Reset Command   Byte  oF    Response   No Response  After receiving this command  the GW 7434D will reset the  system and disconnect with all other clients        Error Response       00   Net ID  Station Number    1 Byte Module Net ID    Exception Code Refer to table 4 2 for more details        GW 7434D User   s Manual  Version 2 3 Nov 2012  84    6 1 2 DNM SetMasterMACID    The command is used for users to set the DeviceNet MACID of the GW 7434D   After resetting the system of the GW 7434D  the configuration of MACID will take  affect     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Bytes i i   Command Area     04 05   Word Count 2 Bytes 0x00 0x02      06 Byte Count  B 2 Word Count  1 Byte    08 set MACID Command 1 Byte    Separ
33. 8 data bits  none parity  2 stop bits   8 data bits  odd parity  1 stop bits   8 data bits  even parity  1 stop bits    GW 7434D User   s Manual  Version 2 3 Nov 2012  59    Note  When a GW 7434D receives a Modbus TCP request that not  to its internal registers  it first decides which COM port to send the  request  Modbus RTU must be enabled for this COM port   otherwise the request will be discarded     Timeout  Default   200 ms     After finishing data transmission  the system begins to count time  if timeout    expires  the system stop receiving responses        Timeout ims     Figure 5 19  Request response Timeout    GW 7434D User   s Manual  Version 2 3 Nov 2012     60    5 1 5 How to add remove configure DeviceNet devices    On the main frame of GW 7434D Utility tool  users can add remove configure  the DeviceNet devices by select the necessary items     Add a DeviceNet device    Click left of the mouse button on the black space of main frame  Select the     Insert    item on the menu bar  or click right of the mouse button on the black space  of main frame  then click the    Device    item  Then the    Insert Device    window will be  pop up  As shown in figure 5 20               Fa GW 7434D Utility  Online Mode  Ethernet          File Online View Insert Setting About    Right click  mouse button to  insert device             MASTER  MACID  0    2     w  Insert Device    Description DEVICE    Device MAC ID i          Input the device              description and MAC ID
34. Bit                Set 2   COM1   VeComm Mode Press Set button  ModBus ID 1   20     gt  COM2  to set parameters       System Setting AN    Modbus T CP            NetID  Pt      Stations per Com Port    a2  4         Status  Idle    03 15 2007  4 10       Figure 5 17  GW 7434D Configuration    GW 7434D User   s Manual  Version 2 3 Nov 2012  57    4  Adjust system settings   The GW 7434D can be a single Modbus TCP to multl Modbus RTU converter   The Modbus station number is a very important parameter  It is used to  recognize different Modbus stations  But the GW 7434D does not have any  hardware design such as dip switch or jump allowing you to set the Modbus  station number  or called NetID   You must use the Utility to set some    parameters regarding to Modbus station number  System settings include  follows     Net ID    If the Modbus station number in a Modbus TCP request  from PC or HMI   matches the Net ID  the request is passed to the Modbus kernel  Then Modbus  kernel will respond and send the internal registers  DeviceNet devices  parameters  to the Modbus TCP client  PC or HMI      The content of all other registers are listed on the following section     Station per Com Port    This value is used to decide how many Modbus RTU stations can one  GW 7434D COM port control  That also means the value can decide which  COM the Modbus TCP request will be passed to    When click the  Set  button  the Utility shows the gateway mapping     System Setting    Set    COM  VY e
35. Byte  Device MACID 1 Byte   0x00 0x3F  11    EPR of Explicit connection  1 Byte Ox00 OxFF   high byte   EPR of Explicit connection  12 1 Byte Ox00 OxFF   low byte     Response     00  NetID  Station Number    Byte   Module NetiD    Error Response       00   Net ID  Station Number    1 Byte Module Net ID          Exception Code Refer to table 4 2 for more details        GW 7434D User   s Manual  Version 2 3 Nov 2012  87    6 1 5 DNM RemoveDevice    The command is used for users to remove a DeviceNet device from the  GW 7434D s scan list table  After removing the device  the GW 7434D will stop  communicating with it  And all the connections between them will be released     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Bytes   Command Area     Separating byte      l 1 Byte  Device MACID 1 Byte Ox00 0x3F    Error Response     Net ID  Station Number  1 Byte Module Net ID       Exception Code Refer to table 4 2 for more details        GW 7434D User   s Manual  Version 2 3 Nov 2012  88    6 1 6 DNM RemovelOConnection    The command is used for user to remove a connected IO connection between  the DeviceNet device and GW 7434D  After using the command to remove the  connection  the connection will be released by the GW  7434D  And the  configuration of this connection will be erased from the scan list table of  GW 7434D     Request       00   Net ID  Station Number  1 Byte   Module Net ID  0    0x0C 0x00  2 03   Reference
36. Cormm Mode  ModBus ID 1   20     gt  COM     Figure 5 18  MBTCP System Setting    Stations per Com Fort    a         GW 7434D User   s Manual  Version 2 3 Nov 2012  58           Adjust the COM port settings   Enable Mode  Default   Modbus RTU gateway    GW 7434D COM ports can be configured as follows     ie    VxComm  Virtual COM     Enable VxComm  Remote application program can use Virtual COM  need  to install the VxComm Driver  or connect to TCP IP port 10000   n to access  the GW 7434D COM port via Ethernet  At VxComm mode  the COM port  can link to any serial device    Modbus RTU Gateway    Enable protocol gateway function to convert Modbus TCP to Modbus RTU   At    Modbus RTU gateway    mode  the COM port can only link to  Modbus RTU slave devices    No Use    Disable communication of the COM port    UpLink    Enable the COM port to be a Modbus RTU slave port       Debug port    The Modbus kernel prints out some messages while communicating with  Modbus clients or masters   The messages includes    0  receives Modbus request   response to Modbus clients or masters    1  by passes Modbus request to COM port    2  Send Modbus request to COM port    3  Check Modbus response from COM port    4  Send Modbus response to Modbus client or masters    Data format of Modbus RTU  There are several kinds of data format used in the Modbus RTU protocol  you  must change it to suit the Modbus RTU devices that connect to the COM port     8 data bits  none parity  1 stop bits  Default   
37. DAQCard     Disk drives               Computer Management  Local    I jit  System Tools    Hal Event viewer       System Information   Display adapters    Hg Performance Logs and Ale Fhe ly DVD CD ROM drives    Sy Floppy disk controllers      Ga Floppy disk drives      Sy IDE ATAJATAPI controllers  eo Lea the arde    Step 3  Click the menu item  View   Show hidden devices         GW 7434D User   s Manual  Version 2 3 Nov 2012  127    Step 4  Select the item  Non Plug and Play Drivers   Ynsernet      C computer Management      Action wiew          Mi    Tree         m Computer Management  Local   a  System Tools  oe ql  Event Viewer  ce  ey System Information    g Performance Logs and Ale  a 4  Shared Folders       Device Manager  E  Ty Local Users and Groups       El 5 Storage a Ss an      Disk Management Er is       le Disk Defragmenter    O slid Tart   ae  a Logical Drives ate  lt  gt  TEFAF Protocol Driver  mgg Removable Storage   a AS Unknown device      Services and Applications   T gt     Step 5  Right click the mouse button on the  Ynsernet  item and select the  OPERER menu item            Disable  Uninstall          a  PO    5  a     sound yeo Scan for hardware changes    E   storage volu Properties     stendec    BE a        z Universal Serial Bus controllers       GW 7434D User   s Manual  Version 2 3 Nov 2012  128    Step 6  Check if it shows the message  This device is working properly    If the driver does not work properly  please remove it and then re install  
38. DNM_StartDevice or DNM_StartAllDevice   After calling this  function  the users can read the address 1500h of the    Input Status Area    to get the  attribute value returned from the remote slave device     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Bytes   Command Area      Stat  04 05   Word Count 2 Bytes 0x00 0x04  Byte Count  B 2 Word Count  1 Byte    01  o e ee OO  o8  Get Atribute Command   1Bye  oor  o9  Separating byte    teye  oar    Response     00  Net ID  Station Number    1Byte   Module NetID    Error Response     00   Net ID  Station Number    1 Byte Module Net ID             Exception Code Refer to table 4 2 for more details     GW 7434D User   s Manual  Version 2 3 Nov 2012  99    6 1 17 DNM_ SetAttribute    The method is used to set the attribute of the specific device s instance  Before  calling this function  the users must start the device  DNM_ StartDevice or  DNM_StartAllDevice   After calling this function  the users can read the address  1700h of the    Input Status Area    to get the response value returned from the remote  slave device     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Bytes   Command Area     04 05   Word Count 2 Bytes Dep  on Byte Count    0x07   Attribute  Byte Count  B 2 Word Count  1 Byte  Data Length  Byte      e _ peceetco   15H Giana  08   Set Attribute Command   1Bye  on  o9   Separatingbyte    teye 
39. GW 7434D    Modbus TCP Server DeviceNet Master  CELAN       User s Manual    Warranty   All products manufactured by ICP DAS are under warranty  regarding defective materials for a period of one year from the date of  delivery to the original purchaser     Warning   ICP DAS assumes no liability for damages resulting from the use  of this product  ICP DAS reserves the right to change this manual at  any time without notice  The information furnished by ICP DAS is  believed to be accurate and reliable  However  no responsibility is  assumed by ICP DAS for its use  or for any infringements of patents or  other rights of third parties resulting from its use     Copyright  Copyright 2006   2007 by ICP DAS  All rights are reserved     Trademark    The names used for identification only may be registered  trademarks of their respective companies     GW 7434D User   s Manual  Version 2 3 Nov 2012  1    Table of Contents    TRO VISTO eoccdecee ck cas E iiccaes sess sucsadescdesvack AESA 5   1  General TMTORIMIAU ON eisrean Ea rE EEEE A NEESS 6  1 1 DeviceNet Introduction 22s eR 6  12  DEVICENEEAPpPlCations siiccgiiik esr iiceitei tite aati NEEE ENAN aes 8  1 3 Module C Nara Cte Fistics aoa ee 9  1 4 Hardware and Firmware Features             ccccccccccscsscsscccccccccccccccccccccccccccccccccsces 10  1 5 SPE CIFICALIONS ie aa 11  1 6 EY PICA Applications arriscat arr aai 13  1 6 1 Modbus TCP to multi Modbus RTU converter               cccc ccc ccceceecececcsceceeees 13  1 6 2 Protocol 
40. Input Data Area    Users can use this command to allocate the data of DeviceNet input devices  into certain address of Input Data Area  Before using this command  users must  know what s IO connection of the input device already been established  The  structure of this command is shown below     Request     Ten Net ID  Station Number  1 Byte   Module Net ID       01   Function Function Code   1 Byte     1 Byte   0x10    0 oo 0x00  02 03 Reference Number 2 Bytes a s   Command A        o   Byte Count  22 Word Count    1 Byte   Dep  on device Num  o8  Configure Input Area Command   1Byte  ox00  o9  Device Gout   1 Byte   Ox01 OGF    Device1   11 12 2 Bytes   0x0000 0x01FF  Start address of Input Data Area    Device2  MACID 1 Byte   0x00 0x3F    Device2   14 15 2 Bytes   0x0000 0x01FF  Start address of Input Data Area    Device3  MACID 1 Byte   0x00 0x3F    Devices   17 18 2 Bytes   0x0000 0x01FF  Start address of Input Data Area       GW 7434D User   s Manual  Version 2 3 Nov 2012  102    Response       00   Net ID  Station Number  1 Byte Module Net ID    02 03   Reference Number 2 Bytes Ox0C 0x00  Dep  on request  04 05   Word Count 2 Bytes  command Length    Error Response       00   Net ID  Station Number    1 Byte Module Net ID          Exception Code Refer to table 4 2 for more details     Note   1  The parameter of these parameters must be suitable with the connection  attribute values of the input device  Otherwise  the data of input device will  not be stored into the In
41. M_SetAttribute function to set extra slave s information   After calling DNM_SetAttribute  the users would receive response data from the  slave  The data format is described in the following table     Word Address aor Data  Description   3x  Length    1700h High  Slave ID 1 Byte   Ox0000   Ox003F    1703h Response Data 2 Bytes   0x00   OxFF  Note        Word Address 1702h  The data length after setting attribute   If the value is OxFFFF  it means that the    DNM_SetAttribute    command has  some errors  The error code would be shown in 1703h  The error code  description was shown in Appendix A    If the value is Ox0002  it means that the    DNM_SetAttribute    command executes  successfully  The response data would be shown in 1703h     GW 7434D User   s Manual  Version 2 3 Nov 2012  43    Word Address 1710h   17FFh  Module information    This data field would show the module information  The users can always  monitor this field to ensure that the module is working fine or not  The data format is  described in the following table     Word Address aor Data  Description   3x  Length    1710h High  DeviceNet Master MAC ID 1 Byte   0x0000   Ox003F    Ox00  125K bps  1710h Low  CAN Bus Baud Rate 0x01  250K bps  0x02  500K bps    1712h DeviceNet Master Status 2 Byte   Refer to Appendix A  1713h The amount of all slave devices 2 Byte   0x0000   0x003F    1714h High  Enable Disable start all device 0x00  Disable  i when rebooting 0x01  Enable    manton  Reeve O S S o OO    0x40    o
42. VDC isolation on CAN side    Support both CAN specification 2 0A and 2 0B    Jumper select 1200 terminator resistor for CAN channel  10 100 BASE T DM9000 compatible Ethernet Controller  Support one RS 232 port  one RS 485 port and one CAN port  Built in self tuner ASIC controller on RS 485 port   7 segment LED display    MS LED   NS LED   RUN LED    Firmware Features    Programmable DeviceNet Master MAC ID    Programmable DeviceNet transfer rate 125K  250K  500K    Acts as a DeviceNet master to Modbus TCP server gateway    Supports Predefined Master Slave Connection Set   Supports I O Operation Mode  Poll  Bit Strobe and Change Of State Cyclic  Supports one Poll or one Bit Strobe or one COS or one Cyclic IO connection  for each DeviceNet device when connected with this module    Supports on line adding device into and removing device from DeviceNet  network    Converters single Mobbus TCP to multi Modbus RTU  set by Utility  Supports VxComm technique for every COM ports of GW 7434D  set by  Utility   Acts as a Modbus RTU slave to DeviceNet master gateway  set by Utility  Allowed multi Modbus TCP clients access simultaneously    GW 7434D User   s Manual  Version 2 3 Nov 2012  10    1 5 Specifications    RS 232 specification       RS 232 interface connector  TXD  RXD  CTS  RTS  GND        RS 232 Baud Rate  110  150  300  600  1200  2400  4800  9600  19200   38400  57600  115200 bps     RS 485 specification      RS 485 interface connector  D2   D2       Self turn ASIC inside    
43. W 7434D   s input output  data area via Mosbus TCP command  If the GW 7434D starts to communicate with  the DeviceNet devices  all setting values on the output data area will be sent to the  relative DeviceNet output devices  And the relative input data of DeviceNet input  device will be saved into the input data area that you set  Please do the following  steps to get set the I O data     1  Select the master frame  GW 7434D   2  Select the    Setting    item on the menu bar  or click the mouse right button on  the master frame  then click the    Set Get Memory Data       item  Then the    Set    Get IO Memory Data    window will be pop up  As shown in figure 5 32     GW 7434D Utility  Online Mode  Ethernet     File Online View Insert Setting About    MASTER  MACID     Bus Parameters       Master Settings     Start All Devices    DEVICE 1 Stop All Devices  MACID    eng anning    ra   DEVICE 2  m  Set   Get IO Memory Data    Input Memory    00   01   02   O3   04  O5  06   O7   O8   O9  10  11  12  13  14  15  16    Get Data      Auto    Display Mode     Hex     gt   Dec   gt      Output Memory    Status  Idle 00 02 2007 4710    oS  _      is       pa  i    a      m               se       wo  _  o     _  _     N  _  oo  _  te       an    b    Set Data    ao  Co    Clear All  Setting    Display Mode      Hex  C Dec    oo cc 7c cc cc coc 0  oo coc 7c cc ccc CoCo fo  oococcc 7c cc cc co  oo ccc cc cc coco fo  oo cc ccc ccc CoCo Fo  oo cc 7c ccc Cc cc Coo  oo coc 7c cc cc cco oF 
44. XIT Program       GW 7434D User   s Manual  Version 2 3 Nov 2012  81    6  Specific Data Formats    By using Modbus TCP command that contain specific data formats packed in  the    Force Multiple Registers    command  users can operate and monitor the  GW 7434D  After receiving this specific data format command  the GW 7434D will  unscramble it and perform the relative procedure  The format of this data type is  displayed in the following table     Prefixed 6 bytes of Modbus TCP protocol     Transaction identifier 1 Byte Usually 0x00  Transaction identifier 1 Byte Usually 0x00       04   Length field upper byte  1 Byte Number of bytes following    Length field lower byte  1 Byte Number of bytes following    Request   00 Net ID  Station Number  1 Byte Module Net ID    0x0C 0x00  02 03   Reference Number 2 Byte x x   Command Area     04 05   Word Count 2 Byte Dep  On Data    06 Byte Count  B 2 Word Count  1 Byte Dep  On Data  07  B 6    Specific Data Format Dep  On Data Dep  On Data    Response        00   Net ID  Station Number  1 Byte Module Net ID    0x0C 0x00  02 03 Reference Number 2 Byte s A   Command Area     04 05   Word Count 2 Byte Dep  On Data  Error Response     Net ID  Station Number  1 Byte Module Net ID  Function Code 1 Byte             Refer to table 4 2  02 Exception Code 1 Byte  for more details     GW 7434D User   s Manual  Version 2 3 Nov 2012  82    The following table displays the specific data formats that are supported by  GW 7434D        0x40        0x2
45. XS_ScanListError The Scan List has some errors     DNMXS_DeviceExist The information of the slave device  already exists     DNMXS DeviceNotExist The information of the slave device    doesn t exist     DNMXS_MapTableError The MapTable has some errors     GW 7434D User   s Manual  Version 2 3 Nov 2012  130    Interpretation of the return code  I O Error     Return MapTable Error Comment  Code    DNMXS_ExplicitNotAllocate The Explicit connection is not  established   DNMXS_PollNotAllocate The Poll connection is not established     DNMXS_BitStrobeNotAllocate   The Strobe connection is not  ee Ne atte  DNMXS_COSNotAllocate The COS connection is not  pees eons ame a    DNMXS_CyclicNotAllocate The Cyclic connection is not  NS  lotic  DNMXS_PollAlreadyExist The Poll connection has been  tice n  DNMXS_BitStrobeAlreadyExist   The Poll connection has been  eee aie  1107   DNMXS_COSAlreadyExist The COS connection has been  a ieee ee    DNMXS_CyclicAlreadyExist The Cyclic connection has been  established     DNMXS_CommunicationPause   The communication between  GW 7434D and all slave devices has  been suspended        Interpretation of the return code  Slave Error     DNMXS_SlaveNoResp The slave has no any response     The GW 7434D is waiting for the  response form the slave device     DNMXS_WaitForSlaveResp    DNMXS_SlaveRespError The slave replied some errors     DNMXS_OutputDataLenError   The output length of the I O connection  doesn t match the device s output    length   DNMXS_Inp
46. a Area  This data is available to be read by the Modbus TCP commands  on the next data exchange     All the connection status and configuration are stored in the Status Area of  GW 7434D   s Internal Memory  And these data are available to be read by the  Modbus TCP commands at any time     The Command Area is used for saving Modbus TCP commands that contain  specific data formats packed in the    Force Multiple Registers    command  function  code  16  After receiving this specific data format command  the GW 7434D will  unscramble it and perform the relative procedure     GW 7434D User   s Manual  Version 2 3 Nov 2012  33    4  Modbus TCP Interface    The GW 7434D supports Modbus TCP commands  The implementation of the  Modbus TCP server is done according to the Modbus TCP specification 1 0  All  commands according to class 0  class 1 and partially class 2 slave functionalities  are implemented     The module can handle maximum 25 simultaneous Modbus TCP connections     4 1 Commands    The following Modbus TCP commands are supported by the GW 7434D     Function Code Address Method  Word  2 bytes     Word  2 bytes   OUT   Word  2 bytes   OUT   Word  2 bytes     Table 4 1  Modbus Commands       4 2 Exception Codes    An exception code is returned in the response when the GW 7434D is unable  to service the Modbus request that was received  The following exception codes will  be used by the GW 7434D     The module does not support the  01 Illegal Function  function code in the 
47. al Memory     for  data that is shared between the DeviceNet and Modbus TCP network  Data is  placed into the    Internal Memory    by one network interface  allowing the data to  be read wrote through the other network interface     Ethernet  Modbus TCP     GW 7434D  Internal Memory    Input Data Input Data  an Input Data Area       Output Data Output Data  at Output Data Area      Input Status Area      Device Status    Get Set Message    Device Status    Command String         Command Area    Qutput Status Area       Figure 1 6  Internal Memory Table of GW 7434D    GW 7434D User   s Manual  Version 2 3 Nov 2012     JONSOIAIG    16    GW 7434D provides users to establish DeviceNet network rapidly by  Master Slave connection model  It can be a Modbus TCP RTU slave to  DeviceNet master gateway  Using the module  users don   t need to take care of  the detail of the DeviceNet protocol  The module will implement the DeviceNet  protocol automatically  It can reduce the complexity of user   s DeviceNet Master  Software  The module mainly supports the Predefined Master Slave Connection  Set functions to allow users to merge I O data into DeviceNet network by using  Modbus TCP commands  It can help users to establish the connection with  DeviceNet slave devices easily  The general application architecture is  demonstrated as Figure 1 7        Figure 1 7  Modbus TCP RTU to DeviceNet application of GW 7434D    GW 7434D User   s Manual  Version 2 3 Nov 2012  17    The module only prov
48. ating byte      l 1 Byte    Error Response       00   Net ID  Station Number    1 Byte Module Net ID          Exception Code Refer to table 4 2 for more details     GW 7434D User   s Manual  Version 2 3 Nov 2012  85    6 1 3 DNM SetBaudRate    The command is used for users to set the DeviceNet baud rate of the  GW 7434D  After resetting the system of the GW 7434D  the configuration of  baud rate will take affect     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Bytes   Command Area     04 05   Word Count 2 Bytes 0x00 0x02    Byte Count  B 2 Word Count  1 Byte      08 Set baud rate Command 1 Byte 0x03    0x00  125K  Baud rate of DeviceNet 1 Byte 0x01  250K  0x02  500K  Response     00  NetID  Station Number    1 Byte   Module NetID    Error Response       00   Net ID  Station Number    1 Byte Module Net ID    01  07  10             Exception Code Refer to table 4 2 for more details     GW 7434D User   s Manual  Version 2 3 Nov 2012  86    6 1 4 DNM_AddDevice    The command is used for users to add a DeviceNet device into the  GW 7434D   s scan list table  This command is used to add device  but not start to  communicate with the device     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Bytes   Command Area     04 05   Word Count 2 Bytes 0x00 0x03     Stati    06 Byte Count  B 2 Word Count  1 Byte    Add Device Command 1 Byte 0x04  Separating byte      l 1 
49. atus of the GW 7434D  For  further information related to this  please refer to section 2 of this manual on how to  make a hardware connection     Devices  information       Configuration Toolbar        a GW 7434D Utility  Online Mode  Ethernet    File Online View Insert Setting About           MASTER  MACID  0        DEVICE 1  MACID  1    DEVICE 2  MACID  2          ie J         s  D           Display the module  status and rate of  network processing       Status  Idle  F 10 25 20077474       Figure 5 1  GW 7434D Utility    GW 7434D User   s Manual  Version 2 3 Nov 2012  46    5 1 1    Install  amp  uninstall the GW 7434D Utility    Install GW 7434D Utility    Step1     Step 2   Step 3     Download the GW 7434D Utility setup file from the web site    http   www icpdas com products Remote _lO can _ bus GW 7434D htm or  the CD ROM disk following the path of    Fieldbus CD      DeviceNet Gateway GW 7434D Utility  Execute the setup exe file to install GW 7434D Utility     A    Welcome    window pops up to prompt user to begin the installation  See  figure 5 2     G W 74340 Utility setup       Welcome to the InstallShield Wizard for  GW 7434D Utility    The Installs hieldA Wizard will install G  74340 Utility on  your computer  To continue  click Nest     Cancel      Figure 5 2  Welcome dialog    GW 7434D User   s Manual  Version 2 3 Nov 2012  47    Step 4  Click the    Next    button and A    Choose Destination Location    window will  pop up for deciding the installation path 
50. converter with VxComm technology           eeesssssssseeeessssssssserrssssss 14  1 6 3 Modbus TCP RTU to DeviceNet gateway            cccccccccsssesseeeeeeeeeseeeenseeeeees 16   2    1 0 B12 0 ty seer eee ren tae Rear eae ere ee eT Se aS ae ere ne 20  2 1 Pin  ASSIQTIINGI osses ira a EEEE ERRETA EE OR 20  ZAG RS 232  amp  RS 485  amp  Power supply interface             ccccsseeeeeeeeeeeeeeeeeeeeees 21  221 2 Connect to DeviceNet devices               c cccecescececcececcscececcecescscesescucescecesesceees 22   2 1 3 Bihermel connect ON rannen a a aA 23  2 2  Terminator resist  r settings sccscciccsesccccssccsussenescccaceecebscegeseccebscceeseeacassdadastensneen  s 24  2 3 LEED TIGA tO Wivesccesices banc sieeecltcactaSieseeeedeciadcaacesteatecleuancaiieseudedeswabsecesstascechcassniaess 26  2 3 1 Po le  OH Doea ue ened ee ee ey a eS ECE DN Te a ee RT EY eet NEO Rane ae 26  2  Module Status indicator LED 2 00 0    coe ce ec eccececcececcececcscecescecscscecescucesees 27  ZOD   disits 7 sesmentlLED Display Siccaisichesssers eens pesceranarlers betvers eerste eae 29   3  DEVICE NCU Interface sis cecccsccscccacecetcecscecesessassieccseceiacncessseeseasneiesesesees 32  3 1 Network Communication       sesecsscccococococococococococococososocosocosososececeseseseseseseseseseseo 32  3 2 Slave Device COMMUNICATION             ccccccccccccccccccsccccccccccccccccccccccccccccccccccccccccccsces 32  3 3 SCA Gy CLES esse sccceaseveaccainceccauseesnsnueauoccvese cs suctuncvccneseesacsuesuoce
51. e    Request  Device lD Class ID Instance ID Attribute ID    aon ff cal    Response   00   01   o2   03   o4   o5   06   OF   og   09   10  11 12 13  14 15     Get  oo  3 11 z o  F   49  43  50  44  41  59  20  a9  4 Response  oH  g olo  oao alololoao  o  al olo lo  ol aloa  oe i Soe   aoe ae   ae ea ae ae Deade  03  O j T T T T E j    T T E E j j T  TIT      Hex  Oliaqalolo o altol olao o  a oaolo  o o aloa    but f   Dec  4 a       GW 7434D User   s Manual  Version 2 3 Nov 2012  78    4    In the    Set Explicit Message     users should input the parameters like    Device  ID       Class ID        Attribute Data     and etc  The    Data Length    parameter means  the amount of the attribute data count in byte  Then click    Send    button to send  the    Set Attribute    request to the remote slave device  After about 5   100ms   depend on the slave devices   the user could click    Get    to get the response  data as shown below  Please refer to the description about word address of  1700h   170Fh on page 43 to read the data format     Set Explicit Message    Request    Device lD Class ID Instance ID Attritute ID Data Length    fs fs D    Atribute Datas    00  Oo  3       ae  2 2 a nA AA    Response    01  C4  0    2 Oo a A       Pal    I O OOo oc    Device lD Class ID    Instance ID Attrbute lO Data Length Attribute Resp   E E fi E HE fofo _         A Send      Clear All  Data    oO     03   04   05   06   OF   08   09   10   11   12   13   14   15   oo 0 0 daa 0 0 0 0 0 
52. e module is  operating properly  Table 2 6 shows the conditions of MS status  Therefore  when  the GW 7434D is operated normally  the MS led must be turned off     Off Module IS normal  no error occurs    Module has unrecoverable fault    Flashing red  Module has recoverable fault   To recover   Reset device or perform error recovery    Table 2 6 MS led conditions          NS LED   This led indicates the DeviceNet communication status of the module  Table 2 7  shows the conditions of NS status  When module is online and start to  communicate with the devices  it will be solid green  If there are some devices  disconnected with the GW 7434D  the NS led will be flashing     Module stops to communicate with all devices       off    There exists at least one device disconnect with  Flashing green  the module  Module is online and start to communicate with  Solid green  all devices    Table 2 7 NS led conditions    GW 7434D User   s Manual  Version 2 3 Nov 2012  27       RUNLED   This led indicates the configuration status of the GW 7434D  Table 2 8 shows the  conditions for RUN status  If there is no configuration  the RUN led will be flashing   After configuring the DeviceNet devices by GW 7434D Utility tool  the GW 7434D  will start to communicate with them and the RUN led will becomes solid red     Off Some errors occur on the module    Flashing red  Module is waiting for configuring  Solid red Module has been configured O K     Table 2 8 RUN led conditions       GW 7434D User
53. e omens nnrnr an 91  6 1 9 DNM O11 COS esaa suceivnunviai col canseaundeanci caaieauusieielvansas 92  Oa  DNM  Oi E yN Cacao Acasa sah Aces tdealaele hese ae used a 93  6 1 11 PNM SS CT LD VCC enur Sassctechere att eieianiacade recta E 94  SLI    DINNEZSIOD DEVICE  ie cidaat ats ieerts itnnews catia cea atin edatn tence 95  6 143 JDNM StartAll Dev iCee iin te rtetec sheen nue E O tues N A 96  CLA DNM  SOPADE Cerna a raa 97  0L DNM Clear AG Ott o R TNN 98    GW 7434D User   s Manual  Version 2 3 Nov 2012  3    Gelel   DNM Geet ATt Bue ao oasis eure ia ict ccasre caste ere tha ae este ei eted casio A 99    6 1 17 DNM  SetAttri Butte nics esd aioe vines as eb hese i eensieess 100  6 1 18 DNM_BootingStartAlDevice cicccccictniciiiatidiuiveleiiiieiades 101  6 2 Commands for Configuring Input Output Data Area                  ccccsssssssseees 102  6 2 1 Set put Mala ATC a A teas  102  6 2 2 Set OUIDUL Data Areako a 104  6 2 3 Car  AN  Input Data  Afele E E soi ee neta aun 106  6 2 4 Cleat AU Output  Data Area sinior A 107  6 3 The Communicated Flow Diagram          seccccosssssseceocccssssccecoocsssssccecoccsssssseceooso 108  7  VxComm Applications        ssssceecssececcsssceccosececcsssceccsssceccsssceecssseeo 109  7 1 OOVORVICW EEEE T EAA EE A E TT 109  7 1 1 Ar DECU ar O O E RR 110  TAG Porte map DNO eek tym E eC 111  7 2 Installing the VxComm Driver        eeeesssssssssscccececcccccccsosssssssssccccececceossssssssssseee 112  7 3 Adding a GW 7434D and configuring the VxComm Drive
54. ecurity  It  is an especially suited for networking  intelligent  devices as well as sensors and  actuators within a system or sub system  In CAN networks  there is no addressing  of subscribers or stations in the conventional sense  but instead  prioritized  messages are transmitted  DeviceNet is one kind of the network protocols based  on the CAN bus and mainly used for machine control network  such as textile  machinery  printing machines  injection molding machinery  or packaging  machines  etc  DeviceNet is a low level network that provides connections  between simple industrial devices  Sensors  actuators  and higher level devices   controllers   as shown in Figure 1 1     st  a    INFORMATION LAYER       Figure 1 1 Example of the DeviceNet network    DeviceNet is a cost effective solution to one kind application of control  c area network  It reduces the connection wires between devices and provides  rapid troubleshooting rejection function  The transfer rate can be up to 500Kbps  within 100 meters  The transfer distance can be up to 500 meters in 125Kbps   See Table 1 1   It allows direct peer to peer data exchange between nodes in an  organized and  if necessary  deterministic manner  Master Slave connection  model can be supported in the same network  Therefore  DeviceNet is able to  facilitate all application communications based on a redefine a connection  scheme  However  DeviceNet connection object strands as the communication    GW 7434D User   s Manual  Versio
55. eption Code Refer to table 4 2 for more details     GW 7434D User   s Manual  Version 2 3 Nov 2012  90    6 1 8 DNM_ ConfigPoll    The command is used for users to configure the Poll IO connection between  the DeviceNet device and the GW 7434D  This command is used to configure the  IO connection  but not start to communicate with the device     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Bytes   Command Area     06  Byte Count  8 2 Word Count    1Bye  Ox0A  08   Configure Poll Command   1Bye  oos  00   Separatingbyte     teye  oar    11 Input data length of device 1 Bvte Dep  on input data   high byte  4 length of device  Input data length of device Dep  on input data  12 1 Byte     low byte  length of device  output data length of device Dep  on output data  13   1 Byte     high byte  length of device  output data length of device Dep  on output data  14 1 Byte   low byte  length of device  EPR of Poll connection  15 1 Byte 0x00 0xFF   high byte   EPR of Poll connection  16 1 Byte 0x00 0xFF   low byte     Response     00  NetID  Station Number    1Byte   Module NetID    Error Response     Net ID  Station Number  1 Byte Module Net ID          Exception Code Refer to table 4 2 for more details     GW 7434D User   s Manual  Version 2 3 Nov 2012  91       6 1 9 DNM ConfigCOS    The command is used for users to configure the COS IO connection between  the DeviceNet device and the GW 7434D  This command is used to co
56. ere           Figure 5 30  Input Memory Address        x         Internal Memory Configuration            DeviceNet Device                          MAC ID   Device Comm  Desc    Type    Len  From  To OK    1 DEVICE 1 Polling Output OB 2 40001 40002  40003 40010   Cancel      Select a device and key in the          relative output Memory address       Input Memory Addr    Output Memory Addr     Bl ee s a ee e a elo Oa ee luce e ela elat Ca eek a                Reset One    Reset All         aoa oo L oh     amp            After select a device  you can select the         relative output memory start address here           Figure 5 31  Output Memory Address    GW 7434D User   s Manual  Version 2 3 Nov 2012  71    The    Reset One    and    Reset All    buttons are used for clear the memory  address setting of each and every selected device  After the setting of the  input output memory address  please press the    OK    button to save the setting into  the GW 7434D s EEPROM     Note   Here the address 3xxxx 4xxxx on the    From    and    To    location meaning that  it is input output address  not real Modbus address     The base address of the input and output address are starting from 0x0000  It means that     30001   gt  0000h   30002   gt  0001h    40001   gt  0000h  40002   gt  0001h    GW 7434D User   s Manual  Version 2 3 Nov 2012  72    Get set devices input output data into GW 7434D   s input output data  area     By using Utility tool  users can get set data from the G
57. ers can find it as  shown in figure 5 6           F    All Programs              ts Start   Add or Rem        Internet Explorer Tat  j    Si Outlook Express fat n             F           F  a     a     _  gt   fam CAN_Gateway  gt    fay Gw 7434D  gt  ca GW 7434 Utility D         MERTU  3    MBICP       Readme  gl Whatnews      v  a       Figure 5 6  You can find    GW 7434D Utility    at the    Start    in the task bar    GW 7434D User   s Manual  Version 2 3 Nov 2012  49    Uninstall GW 7434D Utility    You can uninstall GW 7434D Utility software by the following means described  below     Step 1  Click    Start    in the task bar  then click the Control Panel as shown in figure  5 7     a Internet Explorer pS My Documents   a  Outlook Express      ij 4 My Recent Documents  F    Hq Hypersnap Dx 4 ED My Pictures     a   My Music    Pr My Computer            w My Network Places    Microsoft Word    g  Control Panel  Defaults  Ea Printers and Faxes        Help and Support    Search    All Programs   gt  g f Run       po Log OFF       Turn OFF Computer    EF Control Panel          Figure 5 7  Select settings    Step 2  Double click the    Add or Remove Programs    button icon to open the dialog   See figure 5 8     E  Control Panel       Fie Edit wiew Favorites Tools Help    Vg Control Panel    Accessibility   dd or Administrative  g Switch bo Category View Options Remove  Programs    Automatic BDE Date and Time Display   o windows Update Updates Administrator    9  Help and Sup
58. erwise  the GW 7434D will reset itself and clients must build the connection again     You can disable the Keep Alive Time and the Connection Broken mechanisms  by setting their value to 0O     Connect Timeout  ms  field   The timeout value will be passed into MS TCP IP driver for reference when  connecting and disconnecting     Command TCP Port field   By default setting  the GW  7434D use TCP port 10000 as the  Command Configuration port of its COM1 and COM2  If you change it   s setting   you must assign the correct one in the field  So the VxComm Driver can  connect to the right TCP port     I O Port field   By default setting  the GW 7434D use TCP port 9999 as the Port7000 port   Now  this TCP port is reserved     Step 8  Press the  OK  button to save the settings and exit the VxComm Utility     GW 7434D User   s Manual  Version 2 3 Nov 2012  118    7 4 Removing a GW 7434D  Step 1  Select the  VxComm Utility         E  Microsoft Office Visio Snagit 7 m OMRON  ga YxComm Utility Startup ISaGRAF 3 4  sy Sonnaure wierd CAN ICF O45 Utilities For I5aGRAF         TES MSDN Library Visual   WinRAR    F F F F F    Borland TC  6uilder 6  BA Visual Studio  WET 20 fa 7 15ce Modbus Utility   amp   PS  Internet Explorer PcDiag a aprang  Microsoft Access TH Yx omnik  F      Microsoft Activesync ae ee eee    m InterG  Microsoft Excel   EE    DR Acrobat Distiller 7 0            F F F ka    F F F      WeComm Utility    GH Microsoft FrontPage    All Programs    EE E   FZ Adobe Acrobat 7 0 S
59. he operation steps     1 Select the master frame  GW 7434D and click the mouse right button on the  master frame  Please select the    Set Get Explicit Message       item     CVV   74240 Utility  Online Mode  Elhanret      MASTER    MACID  0  Bus Parameters    Maier geteng  DEVICE 1   al    eh  MACID  3 top All Devices    Memory Mapping  sete  Momory Data    etiel Expbce Herang        GW 7434D User   s Manual  Version 2 3 Nov 2012  T7    2 The dialog shown below divided into two parts  One is    Get Explicit Message       3    and the other is    Set Explicit Message        m Set   Get Explicit Message    Get Explicit Message  Request  DeviceID ClassID Instance ID Attribute ID  uT g    Response  Get  Response    Display Mode    Set Explicit Message  Request  DevicelD ClassiD InstancelD Attritute ID    fs fe h    Attribule Datas    ry    Send    Display Mode    Clear All  Data      Hex    200005     Response    DevicelID ClassID Instance ID Attrbute ID Data Length Attribute Resp   fs fe m e ie  ojo         In the    Get Explicit Message     users should input the parameters like    Device  ID        Class ID     and etc  Then click    Send    button to send the    Get Attribute     request to the remote slave device  After about 5   100ms  depend on the slave  devices   the user could click    Get Response    to get the attribute data as shown  below  Please refer to the description about word address of 1500h   16FFh on  page 42 to read the data format     Get Explicit Messag
60. ices    eee 65   a Ag How to get the configuration status of each DeviceNet device                0 67  5 1 8 How to get the I O data of each DeviceNet device    eccccccceeeeeeeeeeees 69  3149 Import export all configuration to from GW 7434D   s EEPPROM               75  5 110    Get Set AttriDute  FUNCUONS 5  iiserdisssentereincedsavacensdatssardivadenterpiaicdialeaensdabasides Ty  32  MBRTU DOW si cceecacticastaaaceadcccactcaccastcctedsdsacatacaeacdacecsaeaccesteetededscustecaeacdeseasauneusauess 80  39 IVE CP TOON Gassscicasceassavatesisasscuecacai aes isaacsascavadeasiancscancesaineslonacsasescatessiancaceseesaeeds 81  Specifice Data Formats cessssisesciscacecscssdsecdeseecsesssccasccbeeecsensccbessseisces 82  6 1 Commands For Configuring DeviceNet DeviCesS       ssssssesecccccccccccssssssssssccsceeee 84  6 1 1 DNM  RESO iicicieceta male dia eed  tied ale dempolmeilliGl ods  Mle ohn doin eda ia 84  6 1 2 DNM_ SetMasterMA CID visi icicsdevcesiicddeceia ienes thin iiees Banari ands sadeiniedens bbe 85  6 1 3 DNM _ SetBaudRate iccgiccsasicadeisavecae se adsivadlsceneudateasleadvausseee tndsendvamdeeaduntaneatveadense 86  6 1 4 DNM _AddDeviCeE    enenensesnseseseseseseseserrsrresrresrsestrrr t Kerten E ENEKEN  87  6 1 5 DNM R    moveDevice ie ise cto a ct See a ees 88  6 1 6 DNM_ RemovelOC onneCtion iis icceseiindni nbteteindked i heeet aetna 89  6 1 7 DNM COntie Bit S O De iris sec susesestaciecmse urges A eet 90  6 1 8 DNM Connie Po Hosea ne are omen Iams omer anne orn Comm
61. ides the DeviceNet Master mechanism to  communicate with slave devices by the Predefined Master Slave Connection Set   which can be clarify as two forms  One is the Explicit Message and others are I O  Messages  Note that before communicating I O data with DeviceNet slave  devices  the Master device must connect to slave devices by explicit message  connection to define the connection object  Here  we only provide one explicit  message connection and four I O connections as depicted in Figure 1 8             Bit Strobe Connection  I O   Seed  Poll Connection  I Q   Master  Device _ Change of State Connection  I O   i Sed  Cyclic Connection  I O     DeviceNet       Figure 1 8  DeviceNet Messaging    The DeviceNet Communication Protocol is based on the concept of  connections method  Master should create connections with slave devices based  on the command of exchanging information and I O data  To establish master  control mechanism  there are only four main steps to be followed  Figure 1 9  demonstrates the basic process for the DeviceNet master communication  The  every step function is described in below     Z 3o 4    Establish  Connection                     Access      Configure  kO Data    Connection       Figure 1 9  Four steps to establish connection    GW 7434D User   s Manual  Version 2 3 Nov 2012  18    1  Add device into network  You should provide the slave device s MAC ID to add into network   2  Configure connection  You can check the slave device s I O connecti
62. igure 5 26  5 27  5 28     Ba GW 7434D Utility  Online Mode  Ethernet      Insert Setting   Abou    A Device Table  Address Table  Status Table    MASTER  MACID  0    MAC ID   Description  MASTER  DEVICE 1    Status  Idle EF 03 48 2007 44 10       Figure 5 26  Device Table    GW 7434D User   s Manual  Version 2 3 Nov 2012  67    Fa GW 7434D Utility  Online Mode  Ethernet   Sel       StatusTable    MASTER  MACID  0    w  Address Table    MACID   Device Comm  Desc    Type    Len    Addr    O Type  0 Len  0 Addr al  1 DEVICE 1 Polling Input IB 2     Folling Output    DEVICE 2 Polling Input  Folling Output    Status  Idle EF 09 48 2007 4710         DeviceTable  AddressTable    StatusTable  MASTER  x   MACIO   Device p    IN  Swald IN  ConType  IN  Status    OUT  Swalid    DEVICE 1  3 11 0  3    2  DEWICE2     3 E o 3    Status  Idle   tF 0948   2007 40  Figure 5 28  Status Table       Please refer to the appendix A to get the meaning of each    Status        GW 7434D User   s Manual  Version 2 3 Nov 2012     68    5 1 8 How to get the I O data of each DeviceNet device    The GW 7434D supports an    Internal Memory    for saving I O data  The input  and output data areas are set to a maximum size of 512 bytes each  After using  Utility tool to set the memory mapping of the I O devices  users can get set the I O  data according to the mapping address of each I O data  When accessing these  areas  with Modbus commands  the addressing is according to the following tables     Users ca
63. iguring the VxComm Driver  Removing a GW 7434D   Uninstalling the VxComm Driver    1 1 Overview    The VxComm  Virtual Comm  Driver and VxComm Utility are very easy to  install and use  The first thing to do is to find the installation file in the included CD   The directory is      gt  8000CD   Napdos 7188e Tcp VxComm driver pc   NT VxCommNT exe   for Windows NT 4 0  or    gt  8000CD   Napdos 7188e Tcp VxComm driver pc 2K VxComm2K exe   for Windows 2000  Windows XP      This document shows how to install and configure the driver correctly  The first  part instructs users how to install the software  The second part shows how to add  an GW 7434D server and configure a COM port  Finally  the third part teaches you  how to remove an GW 7434D server     GW 7434D User   s Manual  Version 2 3 Nov 2012  109    7 1 1 Architecture    The VxComm Driver creates COM port s  and maps them to the COM port s   of the GW 7434D  The user s RS 232 client programs need only to change to the  different COM port to access the serial devices that are allocated to the Internet or  Ethernet network via the GW 7434D        ii rnet Ii PT PF Lay       Ethernet    Internet           GW 7434D    GW 7434D User   s Manual  Version 2 3 Nov 2012  110    7 1 2 Ports mapping    Vxcomm Driver Utility supports Port 1 to Port 2 in accessing COM1 to COM2 of  the GW 7434D  Another Port I O is designed to access the I O boards mounted on  GW 7434D  but it doesn   t use now  With the help of the VxComm Driver Utilit
64. isual Studio  WET 2003    Wii    j5  Windows Installer 3 1  KBS93803     20  42MB A  0 13MB  850 00ME  0 36MB    0  24MB    Fog 2120             E    it aei    Change Remove Dp    Size    Size    Size    Size    0  15MB    16 7 7MB    154  00MB    0 82MB        button        InstallShield Wizard    Setup Status    GW 7434D User   s Manual  Version 2 3 Nov 2012       xComm Setup is performing the requested operations       xComm has been successfully uninstalled From your machine     Cancel         122    8  Diagnostics and Troubleshooting    8 1 Diagnostics    After configuring the VxComm Driver by using the VxComm Utility  the VxComm  Driver should work without error  However  users can use a simple test to make  sure it s working properly     Note  The test method depends on the user s devices and client programs  And  users must install the  PC Dialog tool on the CD   8000CD  Napdos  7188e TCP PCDiag Setup Setup exe    E Example 1  Loop Back Testing    Step 1  Wire the TXD1 with the RXD1  COM 1  of the GW 7434D         Real COM    Ethernet 10 100M    Step 2  GW 7434D s COM1 RS 232 Port  to become PC   s COMS by using the  VxComm Utility       VxComm Utility  v7 8 11  Dec  70  2005   File Server Port Tools    T 188E rS000E Intemet Ethermnet Controller    IF   152 168 255 1 Fort   10000 Timeout  ms    5000    iM Check Duplicated IPI Connect to Serve Fy Add Sewer    VelConmm Device  Servers B audrate  718E 2  192 168 255 1  Ma Fired    Dynamic    Server Options   xX Remove Se
65. kets will be  decreased and used sockets will be increased  If the free sockets number is  reduced to 0  then no extra client can link to this GW 7434D  The default number of  free sockets is 25  Therefore  the GW 7434D allows 25 clients link to it     GW 7434D User   s Manual  Version 2 3 Nov 2012  31    3  DeviceNet Interface    3 1 Network Communication    The GW 7434D  Modbus TCP to DeviceNet Gateway  acts as a DeviceNet  master on DeviceNet network  It can exchange I O data with up to 63 nodes  Users  can use the GW 7434D Utility tool to access the module over Ethernet network via  Modbus TCP commands     3 2 Slave Device Communication    After the configuration of slave devices  the GW 7434D will start to establish  connections with device in the scan list  list of configured slaves   Once connections  are established  the module will perform all necessary steps to configure the  required I O messaging     The GW 7434D provides explicit message proxy services for all    Group 2 Only  server    devices  Once any Group 2 Only devices are configured  the GW 7434D  will send message to the devices  explicit message connection value for  watchdog timeout_action to    Deferred Delete     in addition to the I O messages   This function prevents the explicit message connections between the GW 7434D  and the slave from timing out when communicating with I O messages     The GW 7434D supports four I O messaging types specified by the DeviceNet  protocol  These include polling  bi
66. ment Kits d   SS Microsoft visual Studio 6 0    InstallShield PackageForTheweb 2  AIAFI Network  d  DAQPra d       a Fige d A PCDiag J   F WeConm    nf UnInstall veeCorn  m  EB YeComm Help  a VxCon  Utility    ils SendTcp        SendTcp Help       ki          I    File Server Pork Tools      YR Comm Device Servers    server Uptions Mm Remove Server       Device Mok Found     GW 7434D User   s Manual  Version 2 3 Nov 2012  113    Note        Check Duplicate  option     Checks whether the IP address is already listed in the server    window  left hand window   Default is automatically checked  The  following window pops up if IP address is duplicated     A This device  IP and Tcp Port CMO4 is already in the list         Check Server  option     Connects to the GW 7434D and gets the device s name before adding  to the server window  left hand window   Default is automatically  checked  The following window pops up if the host fails to connect        Step 3  Then a    Dialog    window will be popped up  Then select the module  Number     7188E2    to add the GW 7434D module into the server window     Please select the corect product model  number      Cancel    Model Number  718662         GW 7434D User   s Manual  Version 2 3 Nov 2012  114    Step 4  And then it will display the name of    7188E2    and it   s IP on the server  window  Select one of the GW 7434D devices and configure the virtual  COM port s  by double clicking  Port1    Port2  or etc      VxComm Utility  v2 8 11
67. n 2 3 Nov 2012  6    path between multiple endpoints  which are application objects that is needed to  share data     Baud rate  bit s  Max  Bus length  m     50K   100    900 K    250 K  125 K    Table 1 1 The Baud rate and the Bus length       GW 7434D User   s Manual  Version 2 3 Nov 2012     1 2 DeviceNet Applications    DeviceNet is the standardized network application layer optimized for  factory automation  It is mainly used in low  and mid volume automation systems   some users have also implemented DeviceNet for machine control systems  The  main DeviceNet application fields include the following application area  For  more information  please refer to www odva org      e Production cell builds and tests CPUs e Dinnerware production    e Beer brewery e HVAC module production   e Equipment for food packing e Textile machines   e Fiberglass twist machine e Trawler automation system  e Sponge production plant e LCD manufacturing plant      Isolation wall manufacturing e Rolling steel door production  e Overhead storage bin production e Bottling line   e Pocket bread bakery e Tight manufacturing       GW 7434D User   s Manual  Version 2 3 Nov 2012     1 3 Module Characteristics       Embedded Internet    and    Embedded Ethernet    are hot topics today   Nowadays the Ethernet protocol becomes the de facto standard for local area  network  Via Internet  connectivity is occurring everywhere  from home appliances  to vending machines to testing equipment to UPS   etc  Using
68. n use Modbus Function code 4  read input registers  to get the input  data values from GW 7434D   s input data area     Word Address  3x  Byte Address  0000h 0000h 0001h  0001h 0002h 0003h    0002h 0004h 0005h       Table 5 1  Input Addressing    Users can use Modbus Function code 16  force multiple registers  to set the  output data values into GW 7434D   s output data area     Word Address  4x  Byte Address  0000h 0000h 0001h  0001h 0002h 0003h    0002h 0004h 0005h       Table 5 2  Output Addressing    Note   The base address of the input and output address are starting from 0000h    GW 7434D User   s Manual  Version 2 3 Nov 2012  69    Setting the Input output data area of the GW 7434D   s internal memory    After configuring the DeviceNet devices  user can set the input output data  area of GW 7434D s internal memory  The steps are shown in the following figure     1  Select the master frame  GW 7434D   2  Select the    Setting    item on the menu bar  or click the mouse right button on  the master frame  then click the    Memory mapping    item  Then the    Internal  Memory Configuration    window will be pop up  As shown in figure 5 29         H GW 7434D Utility  Online Mode  Ethernet      Fie Online View Insert Setting About    ARES         MASTER        Bus Parameters                MACID  0 Master Settings     Start All Devices  Stop All Devices   DEVICE 1 oy   MACID  1 Memory Mapping       Gisle    DEVICE 2  MACID             Internal Memory Configuration  x      In
69. nd  force multiple registers  to set the  output data values into GW 7434D s output data area     Word Address  4x   0000h  0001h    0002h    OOFFh    Table 4 4  Output Addressing       GW 7434D User   s Manual  Version 2 3 Nov 2012  36    VO Data Format    The GW 7434D transfers I O data between Modbus TCP and DeviceNet  without regard to data content or format  Due to this  the user is responsible for  making sure that the devices on either network understand the format of the data     DeviceNet is a little endian protocol  values are transmitted least significant  byte first  Therefore  all data in the I O Data Areas is assumed  by DeviceNet nodes   to be stored as little endian     Users should to make sure the Modbus TCP master handles input data and  transmits output data in a format acceptable to the target DeviceNet devices  least  significant byte first   The user must know the I O Data Areas that DeviceNet data  has been mapped     GW 7434D User   s Manual  Version 2 3 Nov 2012  37    4 3 2 Command Area    The Command Area is used for saving Modbus TCP commands that contain  specific data formats packed in the    Force Multiple Registers    command  function  code  16  After receiving this specific data format command  the GW 7434D will  unscramble it and perform the relative procedure     Users can use Modubs FC16 command  force multiple registers  to send  specific data format into GW 7434D   s command area  These specific data format  types  can be accepted by GW
70. nfiguration table   The main frame is shown in the following figure     Fa GW 7434D Utility  Online Mode  Ethernet      File Online View Insert Setting About      bel  21D     MASTER  MACID  0    DEVICE 1  MACID  1    DEVICE 2  MACID  2    Status  Idle    09 12 2007 4 10       Figure 5 14  Connect to the configuration mode of the GW 7434D    GW 7434D User   s Manual  Version 2 3 Nov 2012  54    5 1 3 How to configure the module   s DeviceNet MACID and Baud rate    Users can configure the GW 7434D   s DeviceNet MACID and Baud rate at the     Bus Parameters    Table  The setting of these two parameters will take affect after  system is reset  Please do the following steps to change these two parameters     1 Connect the GW 7434D module with Utility tool  described as section 3 1 2    2 Then select the master frame  GW 7434D    3 Select the    Setting    item on the menu bar  or click the mouse right button on the  master frame  then click the    Bus Parameters       item  Then the    Bus  Parameter    window will be pop up  As shown in figure 5 15     Fa GW 7434D Utility  Online Mode  Ethemet             Right click mouse  button        MASTER  MACID  0         MACID  0   63  Baud rate  125K  250K  500Kbps           Master MAC ID        Baudrate        start all devices when booting  C Enable   Disable       Start all devices when    rebooting       Status  Idle    03 15 2007  4 10       Figure 5 15  Setting of DeviceNet MACID and Baud rate    GW 7434D User   s Manual  Version 
71. nfigure the  IO connection  but not start to communicate with the device     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Bytes   Command Area     06  Byte Count  8 2 Word Count    1Bye  Ox0A  08   Configure COS Command   1Bye  o9   09  Separating byte    teye  oar    11 Input data length of device 1 Bvte Dep  on input data   high byte  4 length of device  Input data length of device Dep  on input data  12 1 Byte   low byte  length of device  output data length of device Dep  on output data  13   1 Byte     high byte  length of device  output data length of device Dep  on output data  14 1 Byte   low byte  length of device  EPR of COS connection  15 1 Byte 0x00 0xFF   high byte   EPR of COS connection  16 1 Byte 0x00 0xFF   low byte     Response     00  NetID  Station Number    1Byte   Module NetID    Error Response       00   Net ID  Station Number    1 Byte Module Net ID             Exception Code Refer to table 4 2 for more details     GW 7434D User   s Manual  Version 2 3 Nov 2012  92    6 1 10 DNM_ConfigCyclic    The command is used for user to configure the Cyclic IO connection between  the DeviceNet device and the GW 7434D  This command is used to configure the  IO connection  but not start to communicate with the device     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Bytes   Command Area     06  Byte Count  8 2 Word Count    1Bye  Ox0A  08   C
72. on type and the I O data length   When configuring the I O connection  you should provide these parameters   3  Establish connection  After configuring connections  users can start communicating with slave  devices   4  Access I O data  After communicating with slave devices  you can access the I O data with  corresponding read write function     After establishing the explicit connection  the connection path is then used  to exchange the general information from one node to the others  And then users  can create the I O connections in the next step  Once I O connections have been  created  I O data may be exchanged among devices in the DeviceNet network  according to master device demand  Therefore  the master device can access  I O data of the slave devices by one of the four I O connection methods  The  module is not only easy to use but also providing a lot of the Modbus TCP  commands to retrieve and deliver the slave s I O data  For more information   please refer to command description in section 6     GW 7434D User   s Manual  Version 2 3 Nov 2012  19    2  Hardware    2 1 Pin Assignment    CAN Bus    Bypass CAN  Connector       Bus Connector    7               H           2  CAN_L  3  WA  4  CAN_H  5   2  CAN_L    WA  ITNA  WA  CAN  Ka                   a       DeviceNet    Power LED    Status LED       jm m    ercon o    GH 7434D    ron r  K    7 segment  LED displays    IK Vde isolation on CAN side    LO   E  eruen P aG ae  PEREZ a amp ae8         i Power Input  S W
73. onfigure Cycic Command   1Bye  ooa   09  Separating byte     teye  oar    414 Input data length of device 1 Byte Dep  on input data   high byte  4 length of device  Input data length of device Dep  on input data  12 1 Byte   low byte  length of device  output data length of device Dep  on output data  13   1 Byte     high byte  length of device  output data length of device Dep  on output data  14 1 Byte   low byte  length of device  EPR of Cyclic connection  15 1 Byte Ox00 OxFF   high byte   EPR of Cyclic connection  16 1 Byte Ox00 OxFF   low byte     Response     00  NetID  Station Number    1Byte   Module NetID    Error Response       00   Net ID  Station Number    1 Byte Module Net ID             Exception Code Refer to table 4 2 for more details     GW 7434D User   s Manual  Version 2 3 Nov 2012  93    6 1 11 DNM_StartDevice    After configuring the IO connection of each device  users can use this  command to let the GW 7434D start to communicate with each DeviceNet device     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Bytes   Command Area     01  o6  Byte Count  8 2 Word Count    1Bye  ooa  o8  Start Device Command   1Bye  oos  o9  separatngbye     teye  oar    Response     00  NetID  Staton Number    1Byie   Module NetID    Error Response     Net ID  Station Number  1 Byte Module Net ID             Exception Code Refer to table 4 2 for more details     GW 7434D User   s Manual  Version 2 3 Nov 2012  94   
74. port      LED 2 5  value of  baud 1000     The COM port are shown in LED 1 and their baud rate is shown in the  LED 2 5  The COM port baud rate    value of LED 2 5  100  Therefore   shown value 1  96 means baud rate of COM1 9600BPS  shown value  2 1152  means baud rate of COM2  115200 BPS  It   s the same as the CAN port baud rate   The CAN port baud rate    value of LED 2 5  1000  Therefore  shown value 3   125 means baud rate of DeviceNet network  125KBPS  shown value  3 500  means baud rate of DeviceNet network  500KBPS  All baud rate of GW 7434D s  port will be shown one by one     The configuration of COM ports are given as follows       Group ID of 5 digit LED  33333    LED 1  COM port number   LED 3  data bit  7 or 8   LED 4  parity bit  O0 no parity  1 even parity  2 odd parity  LED 5  stop bit  1 or 2    The configuration of CAN port is given as follows      LED 2 3  fix string     id         LED 4 5  DeviceNet MAC ID of this module  default 00     The connection client information is given as follows       Group ID of 5 digit LED  44444       LED 2 3  numbers of free sockets are available  default 25      LED 4 5  numbers of sockets are used by clients  default O     GW 7434D User   s Manual  Version 2 3 Nov 2012  30    The reset state of system is given as follows     e LED 2 5  reset number  display in decimal mode     When the GW 7434D is powered off or just been reset  the reset number will  be increased  If any one client connects to this GW 7434D  the free soc
75. port ma ass    wee mi    Folder Options Fonts Game InterBase  Controllers Manager    See Also    SB   D QA    Internet Keyboard Mouse Network     Figure 5 8     Add or Remove Programs       GW 7434D User   s Manual  Version 2 3 Nov 2012  50    Step 3  Find out the GW 7434D Utility  and click the Change Remove button   See figure 5 9     f Add or Remove Programs Silt                               Currently installed programs  C  Show updates Sort by     Name p   v                   Change or J  liara   Size 1 11MB    Size 9 02MB  is  Size 5 19MB  Add New   GH 7434D Utility Size 8 45MB    Programs ca l A  3 Click here For support information           Last Used On  i To change this program or remove it From your computer  click eey  Add Remove Change Remove    Windows    Components ase    size  320 00MB    Set Program Size 14 55MB  Access and    Defaults Size 4 22M5         Figure 5 9  Click    Change Remove    button    Step 4  Select the    Remove    option button  and press the    Next    button to remove  GW 7434D Utility  See figure 5 10     GW 7434D Utility Setup       VWF elcome    Modify  repair  or remove the program                                         Welcome to the GWw  4340 Utility Setup Maintenance program  This program lets you modify  the curent installation  Click one of the options below     Modify    Select new program components to add or select currently installed  components to remove     Reinstall all program components installed by the previous setup 
76. put Data Area     2  After mapping the device data into the Input Data Area  all the parameters    will be stored into the Input Status Area address  1800h 1BFOh  table 4 7   and EEPROM of GW 7434D     GW 7434D User   s Manual  Version 2 3 Nov 2012  103    6 2 2 Set Output Data Area    Users can use this command to allocate certain address of Output Data Area  for the data of DeviceNet output devices  Before using this command  users must  know what s IO connection of the output device already been established  The  structure of this command is shown below     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03 Reference Number 2 Bytes   x   Command Area         o6  Byte Count  8 2Word Count    1 Byte   Dep  on device Num  o8  Configure Output Area Command   1Byte  o1  o  Device Com   Byte  ooro    Devicel   11 12 2 Bytes   Ox0000 0x01FF  Start address of Input Data Area    Device2  MACID 0x00 0x3F    Device2   14 15 2 Bytes   0x0000 0x01FF  Start address of Input Data Area    Device3  MACID 0x00 0x3F    Device3   17 18 2 Bytes   Ox0000 0x01FF  Start address of Input Data Area       GW 7434D User   s Manual  Version 2 3 Nov 2012  104    Response       00   Net ID  Station Number  1 Byte Module Net ID    02 03   Reference Number 2 Bytes Ox0C 0x00  Dep  on request  04 05   Word Count 2 Bytes  command Length    Error Response       00   Net ID  Station Number    1 Byte Module Net ID          Exception Code Refer to table 4 2 for more details   
77. query    The data received in the query is  Illegal Data address BaS   outside the initialized memory area  Illegal Data Value The data in the request is illegal    Table 4 2  Exception Codes       GW 7434D User   s Manual  Version 2 3 Nov 2012  34    4 3 Modbus TCP Addressing    The GW 7434D supports an    Internal Memory    for saving I O data  The input  and output data areas are set to a maximum size of 256 words each  The command  area is 255 words  The input status area is 4642 words and the output status area is  322 words  When accessing these areas  by Modbus commands  the address is  according to the following tables     GW 7434D  Internal Memory    Input Data Input Data   a Input Data Area  a    Output Data Output Data       Output Data Area a    JONSOIAIG    Input Status Area    Device Status   Device Status    Command String Get Set Message       comma    gt     Dutput Status Area    Ethernet  Modbus TCP        GW 7434D User   s Manual  Version 2 3 Nov 2012  35    4 3 1 Input Output Data Areas    The I O Data Area is used for users to access devices I O data directly  After  using Utility tool to set the memory mapping of the I O devices  users can get set  the I O data according to the mapping address of each I O data     Users can use Modubs FC4 command  read input registers  to get the input    data values from GW 7434D   s input data area     Word Address  3x   0000h  0001h    0002h    OOFFh    Table 4 3  Input Addressing       Users can use Modbus FC16 comma
78. r               ssssesee 113  TH REMOVING a GW 7434D o icsessissecsisiisicaeiriniensoe dai iaesioi aao niiae ison o a aa EErEE 119  7 5 Uninstalling the VxComm DriVer        ssceeecccsssssccceccccsssscceceocossssscececcosssssseceeoso 121  8  Diagnostics and Troubleshooting               cccccccccssssssscccccssssssscees 123  8 1 MTA CTIOS CGS sessie 123  8 2 Troubleshooting sctecscsiiesivectctassvschcascecssbansesvivasceccctesacsctunivecasbessaseivaicecaatevsseueenens 127  Appendix A  Connection Status Tablle                  sscccssssssssssssescooees 130    GW 7434D User   s Manual  Version 2 3 Nov 2012  4    Revision    2 3 2012 11 07 Andy 1  Remove P 101 DNM_ AutoSearch    2S panor  Any 2  Update P 10 firmware feature  2 2 2011 02 24 Andy 1  Add    Enable Disable start all device  when rebooting    parameters on p 44   p 102  2 1 2010 08 13 Andy 1  Modify module name from    l 7243D    to      Add Get Set Attribute functions   2  Modify the Modbus memory mapping     Firmware updated between v1 1 and  v2 0 or later must use EEPCopy  2 0 2009 02 27 Johney  method  section 5 1 9  to replace the  old EEP data   NOTE  firmware v1 x is not compact with  v2 0 or later    1    7243D user manual   1 1 2008 07 14 Andy       GW 7434D User   s Manual  Version 2 3 Nov 2012  5    1  General Information    1 1 DeviceNet Introduction    The CAN  Controller Area Network  is a serial communication protocol  which  efficiently supports distributed real time control with a very high level of s
79. r 0x24     1720h High  Leading Byte Noe    a Return Code 2 Byte   Refer to Appendix A    Note 1   Word Address 1711h  The firmware version of GW 7434D  Example  version   2 01   01711h   0x0201  Note 2   Word Address 1720h   1721h  The Command No  and Return Code  When the users send command  DNM_xxxx  to the GW 7434D  this data  field would shows the return code of the command  This data field would help       users to ensure that the command has been executed successfully or not   The    Leading Byte    field shows the leading byte of command which has been  send by the users    The    Command No     field shows the number of the command which has been  send by the users    The    Return Code    field shows the return code after executing the command  which has been send by the users     GW 7434D User s Manual  Version 2 3 Nov 2012  44    Word Address 1800h   1BFOh  Specific data format string for input command    For saving specific data format string that are sent by Utility tool to configure  input device data address  The type of the specific data format is described in the  following table  Each specific data format contains 32 bytes  And the maximum    number of the command string is 100   Word Address ae Data  Description   3x  Length    0x00   Not valid  1800h High    Is the slave valid 1 Bytes   0x01   Explicit valid  0x03   I O valid    0x00   Not valid  1800h Low    Is the    start address    valid 1 Bytes  0x01   valid    1801h High    Slave MAC ID   0x00 1 Byte
80. rver      Device Mot Found        GW 7434D User   s Manual  Version 2 3 Nov 2012  123    Step 3  Run the from the         menu                 fm 7185  FR  Modbus Utility   APS i     Internet Explorer    mF g  Microsoft Access  T   exCommzk   zd Configure Wizard  6 Microsoft Activesync   eta   Send232  Microsoft Excel E gt  nearer ey SendTcP  KS Microsoft FrontPage   coe nerobal       SendTCP help  paused ULE  gt  Microsoft PowerPoint iat Uninstall PC Diag  W  Microsoft Word  2 u MSN Explorer  dg start 4  6  Qutlook Express  Step 4  Press the  lt Alt gt     lt 3 gt  keys to use PC   s  It will show         message after changed     Current set  Use COMI 1152608 H 8 1   AutoRun    Autodownload files  None   Current work directory  C  Program Files  7188E PCDiag   original   e  gt                    43236 Change to use COMMS x        Step 5  Type some characters in the window   The characters will be sent from PC   s COM3 to GW 7434D   s COM1   through Path1   and immediately returned from the GW 7434D   s COM1  to the PC   s COM3  through Path2  then shown on the PC   s monitor        Current set  Use COMI 1152680 H 8 1  AutoRun     Autodownload Files  Mone   Current work                 338 Change to use COM     asfdsadfwevbchgf jyt jhomn  jklyuitasda        GW 7434D User   s Manual  Version 2 3 Nov 2012  124    E Example 2  Close Loop Testing    Step 1  Build connection as follows         Real COM    Path 1    Step 2  Run Send232 and then open PC   s COM 1   71866         In
81. s the    Open COM     button to open the COM port          Import Export EEPROM    Open COM         GW 7434D User   s Manual  Version 2 3 Nov 2012  75    Step4  Then user can press the    import To Ini file    button to import all the  EEPROM data of the GW 7434D into the selected ini file           E Gw 7434D Utility  Communication Mode   Fie Online View Insert Setting EEPCopy About              Save in     25 Utility    e    cr Fe      Import Export EEPROM    Communication         l My Recent  PC COM Fort  com 4 Documents    E    Desktop    D    My Documents             DNM _Utility070403  DNM _Utility081 115_beta       TE    E       My Computer      J    _ Shelvaork   Places    Step5  Or  user can press the    export to eeprom    button to export all the data in  the ini file to GW 7434D   s eeprom     E GW 7434D Utility  Communication Mode  o  Fie Online View Inzert Setting EEPCopy About    Import Export EEPROM       Communication          My Recent  5 Documents D EEP    F  PAT CP CNM ini       Mocs _7E  ini    Desktop    9    import To  INI File       Hy Computer    C E  w  TATE Fies of type   INI Fies    iri     Cancel      Places I  Open as madony  we               GW 7434D User   s Manual  Version 2 3 Nov 2012  76    5 1 10 Get Set Attribute Functions    Users can send    Get Attribute    request to retrieve extra information from the  slave devices  Of course  users also can send    Set Attribute    request to change  extra data within the slave devices  Here shows t
82. s to connect the  terminator resistor or not  If users want to use this terminator resistor  please open  the GW 7434D cover and use the JP3 jumper to activate the 1200 terminator  resistor built in the system  as in the figure 2 4  Note that the default setting is active   And about the J3 jumper setting  please refer the table 2 5     controller  oP Be CBR R Ee 8  ae o ae etebFsses         Figure 2 4 XC100 I O expansion board LAYOUT       Table 2 5 J3 Jumper Selection    GW 7434D User   s Manual  Version 2 3 Nov 2012  25    2 3 LED Indication    The GW 7434D acts as a Modbus TCP to DeviceNet gateway  It provides  some LEDs to indicate what situation the GW 7434D is in     2 3 1 Power LED    There is a red indicator LED in the GW 7434D as follow    lt  Firmware is running  flashing red    The default shipping of GW 7434D will be firmware inside  so the red  indicator LED of GW 7434D will be flashing two times per second periodically     GW 7434D User   s Manual  Version 2 3 Nov 2012  26    2 3 2 Module Status indicator LED    The GW 7434D includes three single color LED displays to indicate the status  of module  network and I O device  They are MS LED  it is red   NS LED  it is  green   and RUN LED  it is red   The Indicators assist maintenance personnel in  quickly identifying a problem unit  When the GW 7434D events occur  these  indicators will be triggered to glitter with different conditions        MSLED   This led provides module status and indicates whether or not th
83. t       All Programs   gt      P  Log OFF fo  Turn OFF Computer       Tews  E 1 7243 Utility    Step 2  Click the  Add or Remove Programs  to open the dialog     EF Control Panel  File Edit View Favorites Tools Help    O Back  O  Address    Vg Control Panel    Accessibility 4dd or Administrative  gR Switch to Category view Options Remove Tools    Program      See Also     D i fs EN    Automatic BDE Date and Time Display   h Windows Update Administrator    a  Help and Support   pa a    vy A P mi    Folder Options Fonts Game InterBase  Controllers Manager    P  gt  ode    Internet keyboard Mouse Network     GW 7434D User   s Manual  Version 2 3 Nov 2012        121       Add or Remove Programs    Change or  Remove  Programs         Add Hew  Programs          Add Remove  Windows  Components    Set Program    Access and  Defaults    Currently installed programs     Show updates    Step 3  Find out the VxComm Driver  and click the    Change Remove       KEX                           Snagt 7    87 SST 2450 Setting Tool  W Standard SDE For Windows CE  NET     B  virtual CE Pro Client    E Visual J   NET Redistributable 1 1  Chinese  T     Language Pack          xComm Driver ZK    Click here For support information     Size  Size  Size  Size  Size    Solze    Used    Last Used On    To change this program or remove it From your computer  click  Change Remove     p Web Tunneling Gateway     GB  wWinconSdk _dotMet_20050527     winconsbk_EWC_20050617     G8 Windows CE NET Utilities For v
84. t strobe  COS  Cyclic I O messages  I O  messaging and   O parameters are configured by using the GW 7434D Utility tool     3 3 scan Cycles    The GW 7434D employs a scan cycle for producing I O messages  A scan  cyclic consists of the following     Polling messages to every device configured as polled I O     Bit Strobe output messages to devices configured as bit strobe   If the internal timer exceeds the explicit packet rate of certain I O connections  the  I O message will be sent to the slave devices     GW 7434D User   s Manual  Version 2 3 Nov 2012  32    3 4 Interaction with Internal Memory    The DeviceNet interface in the GW 7434D accesses the I O data areas from  slave I O connections processed by the DeviceNet master  there is no  synchronization between the Ethernet and DeviceNet network interfaces  As shown  in the following picture     GW 7434D  Internal Memory    Input Data Input Data     Input Data Area    m  Output Data Output Data    gt  Output Data Area    JONSIIAIG    Input Status Area    Device Status   Device Status    Command String   Get Set Message          Command Area      Output Status Area    Ethernet  Modbus TCP        When an I O connection with a slave requires that output data be sent to the  Slave  it will be read from the Output Data Area  The data read is what was placed  there by the last write to the Output Data Area by using Modbus TCP commands     When input data is received from DeviceNet I O connection  it is copied to the  Input Dat
85. tandard  Microsoft Word    WI MSN Explorer           i  a  Outlook  Express    Step 2  Click the server name you want to remove and press the  Remove Server   button       VxComm Utility  v  8 11  Dec  270  2005     File Server Pork Tools       m   188E S000E IntemnetEthemnet Controller        P   192 168 255 1 Fort   10000 Timeout  re    5000    W Check Duplicated IPT    Connect to Serve ey Add Server       Pott   Baudrate    Port 10 R eserved  Port 1 Unk ap Dynamic  Port 2 Unk ap Dynamic    Server Options d Remove Server g    Device Nok Found        GW 7434D User   s Manual  Version 2 3 Nov 2012  119    Step 3  The following window will pop up  please make sure of your choice and  press the  Yes  button to remove it     V  xComm Utility    Server  F158E2  192 168 255  1     Ore you sure to remove this server        Step 4  Press the  Exit  button to finish this utility       VxComm Utility  v2 8 11  Dec  270  2005     File Server Pork Tools    T 188E S000 Internet Ethemet Controller    IF   192 168 255 1 Fort   10000 Timeout  re    5000    iM Check Duplicated IF  Connect to Serve ip  Add Server    VeComm Device S ervers Baudrate    Device Mot Found        GW 7434D User   s Manual  Version 2 3 Nov 2012     120    7 5 Uninstalling the VxComm Driver    Step 1  Select the  Control Panel         zag Configure Wizard      Fe Control Panel  T MSDN Library Visual Studio 6    Ec  Set Program 4ccess and  G visual Studio NET 2003 Com    Def ae  Printers and Faxes    9  Help and Suppor
86. te     ory Configuration                 DeviceNet Device    OK   MACID   Device Comm  Desc    Type    Len From   To  1 DEVICE 1 Polling Output OB 2    2 DEVICE 2 Polling Output OB 8  Cancel         DeviceNet Device   MAC ID   Device Comm  Desc    Type    Len  From  To  1 DEVICE 1 Polling Input IB 2   IB 16                                   2 DEVICE 2 Polling Input    Input Memory Addr     Oca deo Gee tO ee Onl elena An S e e e e e A e       jar   J Output Memory Addr     et  Te  TM a  a2 TS  IG US ES Tig  TS  Aea eee 8    a el aes ee SUS                    Reset One    Reset All      Reset One    Reset All         ono a  amp  wh     O       cow Oo B amp B wh     O                Figure 5 29  Internal Memory Configuration    GW 7434D User   s Manual  Version 2 3 Nov 2012  70    3  Then users can configure the DeviceNet input devices into Input memory  address or the DeviceNet output devices into output memory address  As  shown in figure 5 30  5 31                Internal Memory Configuration    DeviceNet Device    MAC ID   Device Comm  Desc    Type    Len  From   To Color    1 DEVICE 1 Polling Input IB 2 30001 30002    30033   30048  Cancel      Select a device and key in the  relative input Memory address       Input Memory Addr   _ Output Memory Addr            Ol ceed aoe ee e Oe Ale e eiea e coed la et ee ae    Oe    H        After select a device  you can select the    Reset One    Reset All                aos ooo  amp  oh           relative input memory start address h
87. te    DEVICE   Start Device  MACID  2 Jag       Status  Idle FF 0z 2007 4 10    Figure 5 24  Start stop communicating with DeviceNet devices    GW 7434D User   s Manual  Version 2 3 Nov 2012  65    By Clicking left of the mouse button on master frame  GW 7434D  you can start  or stop communicating with all DeviceNet devices  Select the    Setting    item on  the menu bar  or click right of the mouse button on the master frame  then click  the    Start All Devices    item or    Stop All Device     Then the GW 7434D will  start stop communicating with all DeviceNet devices  As shown in figure 5 25     ese GW 7434D Utility  Online Mode  Ethernet      Fie Online View Insert Setting About    eUS       MASTER  MACID  G Bus Parameters       Start All Devices    DEVICE 1  MACIO  1 Memory Mapping    Set Get Momory Data       DEVICE 2  MACID  2    Status  Idle   09 21 2007 40       Figure 5 25  Start stop communicating with all DeviceNet devices    GW 7434D User   s Manual  Version 2 3 Nov 2012  66    5 1 7 How to get the configuration status of each DeviceNet device    After configuring the DeviceNet device  the Utility tool will let the GW 7434D  start to communicate with these devices  Every 0 6 second  the Utility tool will use  Modbus TCP commands to communicate with GW 7434D and get these DeviceNet  devices    information  Users can get the configuration and status of these devices by  looking the    Device Table        Address Table    and    Status Table    over  As shown in  f
88. ternet Explorer fy PCDiag ai Ga  718axi  Microsoft Access WeTommeZk   Za Configure Wizard  6 Microsoft Activesync pO erate    Microsoft Excel    Pag    GH Microsoft FrontPage    Capture               Send232                AS acrobat Distiller 7              F  adobe Acrobat 7     All Programs    Microsoft PowerPoint    Microsoft Word  Ww  MSN Explorer      a Outlook Express    Send232    20 1 COMI IOR     COM status Send string with      None C LF_CR  C CR C CALF  C LF                Line control     N61    Auto send    Interval  5o Set    Send   Stop           String  Send      Send Receive       Exit Program         Step 3  Let GW 7434D   s COM1 to become PC   s COM4 by using the VxComm  Utility     GW 7434D User   s Manual  Version 2 3 Nov 2012  125    Step 4  Run another Send232 and open PC s virtual COM3     Step 5  Type    COM1    in left hand window  and press    Send      Data will be sent from PC   s COM1 through Path1 to GW 7434D   s COM1  and immediately returned through Path2 to PC   s COM4     Send232     2 0 1 COMI  JOJ xi    Send232     2 0 1 COM4 eS _ io x       COM status    Line control     N81  Open   Close      Auto send  Interval  500 Cet    Send   Stop    oend string with     None    LF_CR    CR    CALF  C LF    COM status     co M1      5600      Line control     N81  Open   Close      Auto send z OM  1  Interval  500 Cet q  Ee    C52     ES Receive    Clea a     Clear    E xit O EPogam   Exit Program          send string with   i None    LF_CR  C CR  
89. the Output Data Area  to zero     Request       00 _  Net ID  Station Number  1 Byte   Module Net ID    0x0C 0x00  02 03   Reference Number 2 Byte   Command Area       0 Byte Count  B 2 Word Count   08   Clear all data in the Output Data Area   1Byte  0x03    Response     00   NetID  Staton Number     Byte   Module NetID    Error Response       00   Net ID  Station Number    1 Byte Module Net ID          Exception Code 1 Byte Refer to table 4 2 for more details        GW 7434D User   s Manual  Version 2 3 Nov 2012  107    6 3 The Communicated Flow Diagram    The following flow diagram mainly presents how to configure the GW 7434D by  the specific Modbus TCP commands  To configure the module  users just need to  send the specific commands step by step or configure it by the Utility tool  For more  information  please refer to the command description  in section 6 1 and 6 2  and  operating steps of the Utility tool  in section 5 1     Module Online OK       Connect With Module    DNM_SetMasterMACID DNM_ SetBaudrate    DNM_AddDevice    DNM_ConfigBitStrobe    DNM_ConfigPoll DNM_ConfigCOS DNM_ConfigCyclic                           DNM StartAllDevice         Set_Input Data Area Set Output Data Area          Get Input Data Set Output Data    DNM StopAllDevice  Disconnect With Module    Figure 6 1  Flow diagram of configuring steps    GW 7434D User   s Manual  Version 2 3 Nov 2012  108         VxComm Applications    Overview   Installing the VxComm Driver   Adding a GW 7434D and conf
90. tion status on the main frame and  update the device connection information per 0 8 second  As shown in figure  5 23     a GW 7434D Utility  Online Mode  Ethernet       File Online View Insert Setting About    MASTER  MACID  0    DEVICE 1  MACID  1    DEVICE 2  MACID  2    Status  Idle EF 09 47 200774710       Figure 5 23  Start to monitor the connection status of each device    GW 7434D User   s Manual  Version 2 3 Nov 2012  64    5 1 6 How to start stop to communicate with DeviceNet devices    After setting all the DeviceNet devices on the    Device Configuration    window   the GW 7434D will start to communicate with the devices  If there is no error occurs  on these devices  the color of the line picture between GW 7434D and DeviceNet  devices will be green  Otherwise  it will become red color  If users stop the  communication of some other devices  the color of the line picture will become  black     Users can follow the steps to start or stop the communication of each or every   DeviceNet devices    1  Click left of the mouse button on device that you want to start or stop  Select  the    Setting    item on the menu bar  or click right of the mouse button on the  device  then click the    Start Device    item or    Stop Device     Then the  GW 7434D will start stop to communicate with the DeviceNet device  As  shown in figure 5 24     GW 7434D Utility  Online Mode  Ethernet   AHA    File Online View Insert Setting About    MASTER  MACID  0    DEVICE 1  MACID  1     Dele
91. utDataLenError   The input length of the I O connection  doesn t match the    GW 7434D User   s Manual  Version 2 3 Nov 2012  131       
92. vasecasastunuvcunsseusaueeeaaees 32  3 4 Interaction with Internal Memory                sscccccccssssssccccssssssccccccssssccccsccsssscccoes 33   4  Modbus TCP Interface                   cccccscsscsscscccccccccccccccccccccccccccccess 34  4 1 Command S eocc0 2s cecbsssxedscencennecaiccdcekecdensbavacedscuscenesceulseddevececasesecedscsecesecccuskeseaceceess 34  AZ    MXCCDUIOM CO OGES E A E A E A E E TEA 34    GW 7434D User   s Manual  Version 2 3 Nov 2012  2    4 3 Modbus TCP Addressing            eeeecsssssseceeccossssscececcssssssccceccossssscececcssssssseeeosssssss 35    4 3 1 Input Output D ata An CAS osa EA EAE 36  4 3 2 Command Are daaraan a a al otin lil 38  4 3 3 OUPS SAT A en hee Ae ores nih cua oe ewes 39  4 3 4 laput SAMS ACA nesenadsnncsiecdvandesrasnsaaka R eSa 40  CONP SUT AUION ieee isccdcsesciacestavenscvceseketelavssacsscesedesvisencesesseencstisseceesus 46  5 1 GW 7434D Configuration Tool   GW 7434D Utility                 cccccsssssssssssceees 46  5 1 1 Install  amp  uninstall the GW 7434D Utility 0    ccesssseeeeeeeeeeeeseeeeeees 47  ILZ How to set connect with the module             enesssssssseoeesssssssseeerssssssssseerrsssss 53  5 1 3 How to configure the module   s DeviceNet MACID and Baud rate             55  5 1 4 How to configure the module   s application mode            sssseeeeeessssssseeerssssss a  5 1 5 How to add remove configure DeviceNet devices 0 0    ceeeeeeeeeeeeeeeeeeeeeees 6l  5 1 6 How to start stop to communicate with DeviceNet dev
93. y   uses Can map remote COM port to become a virtual COM port of PC  One PC can  control maximum number of 256 COM ports  including COM1 and COM2      Local COM Port   Remote COM port  VxComm Driver Utility  PC    PC   GW 7434D        GW 7434D User   s Manual  Version 2 3 Nov 2012  111    1 2 Installing the VxComm Driver    Step 1  Run VxComm2K exe  for Windows 2000  Windows XP  or  VxCommNT exe  WindowsNT 4 0  in the packaged CD to start  installing    Step 2    Choose a destination folder     iy Voto Daten ep a  VxConun Driver v2 08   19  jor Windows Z000 AT7 2003    Supports 7188E 8000E PDS8          Step 3  Select the  Yes        option and click the  Finish  button to reboot your  computer       xComm Driver Setup    InstallShield Wizard Complete    The InstallShield Wizard has successfully installed   xComm2K  Before you can use the program   you must restart your computer     Q    es    want to restart my computer now       No    will restart my computer later     Remove any disks from their drives  and then click Finish to complete setup     Finish Cancel             Step 4  After rebooting the computer  the VxComm Utility will ask you to  configure the virtual COM port s   Please refer to the next section for  more information     GW 7434D User   s Manual  Version 2 3 Nov 2012  112    7 3 Adding a GW 7434D and configuring the VxComm Driver  GW 7434D s default IP address is 192 168 255 1        Step 1  Select the  VxComm Utility      p   Accessories d       En Develop
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
AURICAL HIT User Guide  日本語取扱説明書 - サウンドハウス  1436 Village Farms      Philips HD2595/09 toaster  Avaya Business Communications Manager 450 (BCM 450) User's Manual  Réseaux - Travaux Pratiques - CRIL    Copyright © All rights reserved. 
   Failed to retrieve file