Docstoc

communic (PowerPoint)

Document Sample
communic (PowerPoint) Powered By Docstoc
					                                                                                                                                      1


                                                                                                           Embedded
        RS-232/485/422 Communication                                                                       RS-232/485/422
                                                                                                           Controller
        Controller
                                                                                                  Addressable        RS-232/485/422
                                                                                                  RS-232/485/422     Device
                                                                                                  Converter          Server


                                                                                                            RS-232/485/422
                                                                                                            Communication
                                                                                                            Controller
                                  6            232
                                            RS- / 485 / 422 Communication Controller
     5                        Plug & Play
Application                      utility
 Softwore                                                                   1 RS-232    RS-232
                                                                              devices   devices
                                              2       Network
                                                                  CPU
    4
                                                      interface
 Softwore     HOST COMPUTER                                                 1 RS-485    RS-485
  driver                                                                      devices   devices




                                                  3   RAM / ROM             1 RS-422    RS-422
                                                      firmware                devices   devices




                                               232
                                            RS- / 485 / 422 Communication Controller


                                                                            1 RS-232    RS-232
                                                                              devices   devices
                                              2       Network
                                                                  CPU
                                                      interface
                                                                            1 RS-485    RS-485
                                                                              devices   devices




                                                  3   RAM / ROM             1 RS-422    RS-422
                                                      firmware                devices   devices
                                                                                                                 2



The comparison table of these 3 types of communication controller is given as follows:

                           Embedded                    Addressable                    RS-232/485/422
                           RS-232/485/422              RS-232/485/422                 Device
                           Controller                  Controller                     Server
        1 RS-232/485/422   RS-232 or                   Same                           same
         interface         RS-485 or
                           RS-422
        2: network         RS-485 or                   same                           same
        interface          Ethernet 10M or
                           Ethernet 10/100M or
                           Other network
        3: RAM/ROM         User must write his special Well-design firmware & Well-design firmware &
        firmware           application program         Source codes are open for Source codes are open for
                                                       user’s modification to fit his reference. It is very
                                                       special requirement.           difficult to modify for
                                                                                      user’s           special
                                                                                      requirement.
        4: software        DLLs                        DLLs                           DLLs
        driver
        5: application     User must write his special User’s     old   application User’s old application
        software           application program         program must be modified program       can      work
                                                       to fit the protocol defined without modification
                                                       by (3) firmware.
        6: Plug&Play       No need                     No need                      MS-COMM standard
        Utility
        Easy Using         Low                          Middle                      Most
        Flexibility        High                         Middle                      Most
                                                                                                             3


        RS-232/485/422 Communication Controller family
                                                  RS-232/485/422
                                               Communication Controller
                                 Same hardware               7521 family
                                 Download different          7188E1 family
                                  firmware to get best        8X10 + 81XX
                                  solution                    8X30 + 81XX
                                                              8X40 + 81XX




Embedded                                  Addressable                          RS-232/485/422
RS-232/485/422 Controller                 RS-232/485/422 Converter             Device Server
.Write firmware for controller            .Download firmware-1 to              .Download firmware-2 to
.Write application program for            CPU module                           CPU module
Host-PC                                   .Write application program for       .Execute P&P utility in
.Can solve any problem even               Host-PC                              Host-PC during the
for I/O control or data                   .Can solve nearly any                installation stage
compression or security                   problem even for I/O control         .Can solve most of
.Need to write two programs               or data security or                  problems
.The most flexible solution for           compression                          .No need to write any
user                                      .Need to write one program           software
                                          .The trade-off solution for          .The most easy solution for
                                          user                                 user
                                                                                                4


8000 Family
   841X/881X + 8112/8114/8142/8144

                                     8410/8810


                                     L1   L2     L3       POWER
                                                                               RS-232/485/422
                                                                                   device
                                     UP   DOWN   MODE        SET


                                                  +VS
                                                               Input :
                                                               +       +
                                                                10V~ 30VDC
                                                  GND




                                                  INT*

                                                                  Inltlallze

                                                  INIT*COM



                                                  DATA+

                                                                  RS-485
                                                  DATA-




                 HOST COMPUTER




                                                                               RS-232/485/422
                                                                                   device
                                     8410 / 8810


                                     L1   L2     L3       POWER                RS-232/485/422
                                     UP   DOWN   MODE


                                                  +VS
                                                             SET




                                                               Input :
                                                               +       +
                                                                10V~ 30VDC
                                                                                   device
                                                  GND




                                                  INT*

                                                                  Inltlallze

                                                  INIT*COM



                                                  DATA+

                                                                  RS-485
                                                  DATA-




                                                                               RS-232/485/422
                                                                                   device
                                                                             5



                843X/883X/844X/884X + 8112/8114/8142/8144

                                             8X3X/8X4X


                                                            RS-232/485/422
                                                                device


                         HOST COMPUTER
                             HUB

                           1 2 3 4 5 6 7 8




                                                            RS-232/485/422
                                                                device
                                             8X3X/8X4X


                                                            RS-232/485/422
                                                                device




To Ethernet Router                                          RS-232/485/422
                                                                device
                                                                                       6


7521 family & 7188E1 family



7521/7188E1   Network        Interface to local RS-232/485/422 devices   Local D/I/O
family        Interface      RS-232             RS-485          RS-422   DI      DO
              To Host-PC
7521          RS-485         1(note 1)       1(note 1)        0          3      3
7522A         RS-485         1(note 1)       1(note 1)        1          4      4
7522          RS-485         2(note 1)       1(note 1)        0          3      1
7523          RS-485         3(note 1)       1(note 1)        0          1      2
7524          RS-485         4(note 1)       1(note 1)        0          0      0
7527          RS-485         7(note 1)       1(note 1)        0          0      0
7188E1        Ethernet 10M   1               0                0          0      0
7188E2        Ethernet 10M   1               1                0          0      0
7188E3        Ethernet 10M   1               1                1          4      4
7188E4        Ethernet 10M   3               1                0          0      0
7188E5        Ethernet 10M   4               1                0          0      0
7188E8        Ethernet 10M   7               1                0          0      0
                                                                7


7521 family




              HOST COMPUTER
                              7521/7522/7523     RS-232/485
                                  family           devices




                              7522A/7524/7527     232/485/422
                                                RS-
                                  family           devices
                                    8




                        RS-232
                         device



HOST COMPUTER
                7522   RS-232/485
                         device

   485     PC
RS- To Host-


                        RS-232
                         device




                7522   RS-232/485
   485     PC
RS- To Host-             device
                                       9




                          RS-232/485
                            device



HOST COMPUTER
                  7522A
                          RS-422/485
  RS- To Host-
     485     PC             device


                          RS-232/485
                            device




                  7522A
     485     PC
  RS- To Host-
                          RS-422/485
                            device
                                                                                        10


                                      RS-232
                                       device
                                                                           RS-232/485
                                      RS-232                                 device
                                       device
                                                                           RS- 232
HOST COMPUTER                                                               device
                                                  HOST COMPUTER
                     7523            RS-232/485                            RS- 232
                                                                    7524
                                       device                               device

  RS- To Host-
     485     PC                                                            RS- 232
                                                       485     PC
                                                    RS- To Host-            device
                                      RS-232
                                       device
                                                                           RS-232/485
                                                                             device
                                      RS-232
                                       device
                                                                           RS- 232
                                                                            device

                     7523            RS-232/485                     7524   RS- 232
     485     PC
  RS- To Host-                         device          485     PC
                                                    RS- To Host-            device
                                                                           RS- 232
                                                                            device




                                      RS-232
                                      device

                            RS-232
                            device

                            RS-232
                            device

HOST COMPUTER               RS-232
                            device
                    7527
                            RS-232
                            device

      485
   RS- To Host-PC           RS-232
                            device

                            RS-232
                            device
                                      RS-232
                            RS-232    device
                            device

                            RS-232
                            device

                            RS-232
                            device
                    7527
      485
   RS- To Host-PC           RS-232
                            device

                            RS-232
                            device

                            RS-232
                            device
                                                                                  11




        7188E1 family




                     HOST COMPUTER
                         HUB             Ethernet 10M

                       1 2 3 4 5 6 7 8                  7188E1   RS-232/485/422
                                                        family       devices




                                         Ethernet 10M

                                                        7188E1   RS-232/485/422
                                                        family       devices


To Ethernet Router
                                                                  12




                                 Ethernet 10M



           HOST COMPUTER
                                                7188E1
                 HUB

               1 2 3 4 5 6 7 8


                                                         RS-232
                                                         device

                                 Ethernet 10M
To Ethernet Router
                                                7188E1



                                                         RS-232
                                                         device
                                                                      13




                                    Ethernet 10M




             HOST COMPUTER
                                                   7188E2
                     HUB

                 1 2 3 4 5 6 7 8


                                                            RS-232
                                                             device

                                    Ethernet 10M

To Ethernet router

                           RS-485                  7188E2
                           device




                           RS-485                           RS-232
                           device                            device
                                                                   14




                                Ethernet 10M




          HOST COMPUTER
                                               7188E3
                                                          RS-422
                HUB                                       device

              1 2 3 4 5 6 7 8


                                                        RS-232
                                                        device

                                Ethernet 10M

To Ethernet Router

                       RS-485                  7188E3
                       device
                                                          RS-422
                                                          device



                       RS-485                           RS-232
                       device                           device
                                                                            15



   Self-Tuner ASIC Inside On All RS-485 Port


• 2-wire RS-485
 ->half-duplex network
 -> send/receive direction control.
• Self-Tuner ASIC controller
->auto detect & control the send/receive direction of RS-
485 network
• The 8000 family equips a Self-Tuner ASIC controller
on all RS-485 ports(COM 2/3 of 841x/881x, 8142 &
8144).



       ToCom(port, sent_data);/* send one sent_char to RS-232/RS-485   */
       /* no direction control                    */
       while IsCom(port);/* wait one echo_char from RS-232/RS-485 */
       echo_data=ReadCom(port);/* read this echo_data     */
                                                                                16


Using HP34401A
1. Wire Connection of HP34401A to RS-
232 interface of host
                                          3. HP34401A initialization command:
                                          SYST:REM(0x0A)
  HP 34401A             RS-232 of host    command = SYST:REM(0x0A)
  RS-232 port
                                          response = no response
                9
                8
                7
      DSR       6        to RTS or DSR
      GND       5        to GND
                4
      Txd       3        to Rxd
      RxD       2        to Txd
                                          4. read data from HP34401A command:
                1
                                          READ?(0x0A)
                                          command = READ?(0x0A)
                                          response = -?.??????E+??(0x0A)
2. RS-232 configuration setting of host
Baud rate=9600 BPS
Parity=Even
Data=7
Stop bit=2
                                                                                          17

              Used As Embedded RS-232/485/422 Controller

                                                232
                                    Embedded RS- / 485 / 422 Controller
     5
Application
 Softwore                                                          1 RS-232     RS-232
                                                                     devices    devices
                                      2       Network
                                                          CPU
    4
                                              interface
 Softwore     HOST COMPUTER                                         1 RS-485    RS-485
  driver                                                              devices   devices




                                          3   RAM / ROM             1 RS-422    RS-422
                                              firmware                devices   devices




                                                232
                                    Embedded RS- / 485 / 422 Controller


                                                                   1 RS-232     RS-232
                                                                     devices    devices
                                      2       Network
                                                          CPU
                                              interface
                                                                    1 RS-485    RS-485
                                                                      devices   devices




                                          3   RAM / ROM             1 RS-422    RS-422
                                              firmware                devices   devices
                                                          18

8-port RS-232 Embedded Controller by RS-485 Network
     Using 8X10+81XX




         HOST COMPUTER
                                                ID
                                            NET- = 0X01




                                                ID
                                            NET- = 0X02
                                                   19


Using 7524



                                      RS-232/485
                                        device

                                      RS- 232
                                       device
             HOST COMPUTER
                               7524   RS- 232
                                       device
                                      RS- 232
                  485     PC
               RS- To Host-            device


                                      RS-232/485
                                        device

                                      RS- 232
                                       device

                               7524   RS- 232
                  485     PC
               RS- To Host-            device
                                      RS- 232
                                       device
                                                             20

8-port RS-232 Embedded Controller by Ethernet Network
            Using 8X30/8X40+81XX




              HOST COMPUTER

                       HUB
                                                   ID
                                               NET- = 0X01
                     1 2 3 4 5 6 7 8




To Ethernet router




                                                   ID
                                               NET- = 0X02
                                                               21


          Using 7188E5


                                       Ethernet 10M




              HOST COMPUTER
                                                      7188E5
                       HUB

                     1 2 3 4 5 6 7 8




                                       Ethernet 10M

To Ethernet router

                                                      7188E5
                                                                                      22


Use As Addressable RS-232/485/422 Converter

                                              232
                               Addressable RS- / 485 / 422 Controller
      5
 Application
  Softwore                                                      1 RS-232    RS-232
                                                                  devices   devices
                                 2       Network
                                                     CPU
     4
                                         interface
  Softwore     HOST COMPUTER                                    1 RS-485    RS-485
   driver                                                         devices   devices




                                     3   RAM / ROM              1 RS-422    RS-422
                                         firmware                 devices   devices




                                              232
                               Addressable RS- / 485 / 422 Controller


                                                                1 RS-232    RS-232
                                                                  devices   devices
                                 2       Network
                                                     CPU
                                         interface
                                                                1 RS-485    RS-485
                                                                  devices   devices




                                     3   RAM / ROM              1 RS-422    RS-422
                                         firmware                 devices   devices
                                                                23

8-port Addressable RS-232/485/422 Converter by RS-485 Network
    Using 8X10+81XX




        HOST COMPUTER
                                                   ID
                                               NET- = 0X01




                                                   ID
                                               NET- = 0X02
                                                   24

Using 7524



                                      RS-232/485
                                        device

                                      RS- 232
                                       device
             HOST COMPUTER
                               7524   RS- 232
                                       device
                                      RS- 232
                  485     PC
               RS- To Host-            device


                                      RS-232/485
                                        device

                                      RS- 232
                                       device

                               7524   RS- 232
                  485     PC
               RS- To Host-            device
                                      RS- 232
                                       device
                                                                  25

8-port Addressable RS-232/485/422 Converter by Ethernet Network
             Using 8X30/8X40 + 81XX




              HOST COMPUTER

                       HUB
                                                    ID
                                                NET- = 0X01
                     1 2 3 4 5 6 7 8




To Ethernet router




                                                    ID
                                                NET- = 0X02
                                                               26


          Using 7188E5


                                       Ethernet 10M




              HOST COMPUTER
                                                      7188E5
                       HUB

                     1 2 3 4 5 6 7 8




                                       Ethernet 10M

To Ethernet router

                                                      7188E5
                                                                                                    27

Use As RS-232/485/422 Device Server

                                    6            232
                                              RS- / 485 / 422 device server
       5                        Plug & Play
  Application                      utility
   Softwore                                                                   1 RS-232    RS-232
                                                                                devices   devices
                                                2       Network
                                                                    CPU
      4
                                                        interface
   Softwore     HOST COMPUTER                                                 1 RS-485    RS-485
    driver                                                                      devices   devices




                                                    3   RAM / ROM             1 RS-422    RS-422
                                                        firmware                devices   devices




                                                 232
                                              RS- / 485 / 422 device server


                                                                              1 RS-232    RS-232
                                                                                devices   devices
                                                2       Network
                                                                    CPU
                                                        interface
                                                                              1 RS-485    RS-485
                                                                                devices   devices




                                                    3   RAM / ROM             1 RS-422    RS-422
                                                        firmware                devices   devices
                                                          28

8-port RS-232/485/422 Device Server by RS-485 Network




       HOST COMPUTER
                                                ID
                                            NET- = 0X01




                                                ID
                                            NET- = 0X02
                                                   29


Using 7524


                                      RS-232/485
                                        device

                                      RS- 232
                                       device
             HOST COMPUTER
                               7524   RS- 232
                                       device
                                      RS- 232
                  485     PC
               RS- To Host-            device


                                      RS-232/485
                                        device

                                      RS- 232
                                       device

                               7524   RS- 232
                  485     PC
               RS- To Host-            device
                                      RS- 232
                                       device
                                                                 30

    8-port RS-232/485 Device Server by Ethernet Network
               Using 8X30/8X40 + 81XX




              HOST COMPUTER

                       HUB
                                                       ID
                                                   NET- = 0X01
                     1 2 3 4 5 6 7 8




To Ethernet router




                                                       ID
                                                   NET- = 0X02
                                                               31


                       Using 7188E5


                                       Ethernet 10M




              HOST COMPUTER
                                                      7188E5
                       HUB

                     1 2 3 4 5 6 7 8




                                       Ethernet 10M

To Ethernet router

                                                      7188E5
                                                                                               32

Typical Applications
         N-port RS-232 to Ethernet Router


  To Ethernet Router
                                          HOST COMPUTER
                                            HUB

                                          1 2 3 4 5 6 7 8




             4 * 8 = 32                                               4 * 8 = 32
                232
              RS-                                                        232
                                                                       RS-
 Modem 1                   Modem 32                         Modem 1                 Modem 32




                 7188E5                                                  7188E8




RS-232          4 device         RS-232                                  7 device
device                           device
                  232
                RS-                                                         232
                                                                          RS-
                                                            Modem 1                 Modem 1
                                                                                                                  33

N-port RS-232/422 Device Server


                                                    HOST COMPUTER
                                                       HUB

                                                     1 2 3 4 5 6 7 8




                      4 * 8 = 32                                                          4 * 8 = 32
                      RS-232                                                               RS-232

           HP34401A                HP34401A                            HP34401A                        HP34401A




                      4 * 8 = 32                                                          4 * 8 = 32
                      RS-422                                                               RS-422


               FX2                   FX2                                 FX2                             FX2
                                              To Ethernet Router
                                                                           Ethernet 10M


        485
     RS- To
     Host-PC
                                                                                          4 devices
                      4 devices
                                                                                           RS-232
                      RS-232
           HP34401A                HP34401A                            HP34401A                        HP34401A

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:8
posted:12/30/2011
language:
pages:33