Siemens S7-300 User Manual

Siemens S7-300 User Manual

Ethernet adapter eth adapter cn
Hide thumbs Also See for S7-300:

Advertisement

Siemens S7-300/400PLC Ethernet
Adapter
ETH Adapter CN

USER MANUAL

Kollewin Technology CO.,Limited
Shenzhen Youkong Electromechanical CO.,Ltd.
Address:Room No.8D,Entrance 1,Milan Gongyu,Huaguo Rd No.36,Shekou,Shenzhen,China(518067)
MSN:lth_lxh@hotmail.com
Skype:redpeachcathy
E-mail:sales@kollewin.com
redpeachluo@gmail.com
Tel:86-755-26898905
Contact:Ms Cathy

Advertisement

Table of Contents
loading

Summary of Contents for Siemens S7-300

  • Page 1: User Manual

    Siemens S7-300/400PLC Ethernet Adapter ETH Adapter CN USER MANUAL Kollewin Technology CO.,Limited Shenzhen Youkong Electromechanical CO.,Ltd. Address:Room No.8D,Entrance 1,Milan Gongyu,Huaguo Rd No.36,Shekou,Shenzhen,China(518067) MSN:lth_lxh@hotmail.com Skype:redpeachcathy E-mail:sales@kollewin.com redpeachluo@gmail.com Tel:86-755-26898905 Contact:Ms Cathy...
  • Page 2: Table Of Contents

    INDEX Preface………………………………………………………………………………………………………… 3 Copyright Statement………………………………………………………………………………………..3 Version Info……………………………………………………………………….…………………………….3 Related Documents………………………………………………………………..………………………….3 Product Content……………………………………………………………………………………………….4 1.Characteristics & Technical Parameters……………………………………...……………….………..4 2. External Structure &Pin Definition…………………………………………….………………………..6 3. Inner Diagram ………………………………………………………………………………………..……..8 4. ETH Adapter CN installation…………………………………………………………...………………….8 5.ETH Adapter CN Parameters Setting….……………………….………………………….…………….10 6. STEP7 software setting ……………………………………………………………………………...…...15 7.The usage in the LAN ……………….………………………………...………………….……….….……16 (1)PC work as Client,ETH Adapter CN work as Server …………………………………………….…...17 (2)PC work as Server, ETH Adapter CN work as Client ……………………………………………..19 8.
  • Page 3: Preface

    Before you use, please be sure to read this manual carefully, you will know its powerful and perfect function and simple use. This adapter is used for the data communication between Siemens S7-300/400PLC and Ethernet, Internet or 3G wireless network by the MPI or PROFIBUS interface. Please use according to the manual, we won’t assume any liability of property damage or personal injury due to your improper...
  • Page 4: Product Content

    TCP Server,TCP Client,UDP Unicast,UDP Multicast etc many modes.It has 10M/100M adaptive Ethernet interface and MPI and PROFIBUS interface which meets Siemens technical specifications.You only need to go on simple setting and then let the S7-300/400PLC go on network communication.
  • Page 5 Transmission rate PROFIBUS Standard Universal 9.6Kbps √ √ √ 19.2Kbps √ √ √ √ 45.45Kbps √ √ √ 93.75Kbps √ √ √ 187.5Kbps √ √ √ √ 500Kbps √ √ √ 1.5Mbps √ √ √ √ - 5 -...
  • Page 6: External Structure &Pin Definition

    2. External structure &pin definition Ethernet interface: Standard RJ45 socket, automatically adapt 10M/1000M Ethernet .Use the standard network cable, not crossover cable whether you connect the switch,router or directly connect the PC. The network status LED indicator on the RJ45 socket LINK LED(left light,green)...
  • Page 7 DP/MPI interface: DP/MPI interface is the DB9M-pin plug which meets the Siemens PROFIBUS and MPI interface technical specifications, the signal array match S7-300/400PLC interface, and has a 0.5 meter cable, you just simply plug the DB9M of ETH Adapter CN directly into the...
  • Page 8: Inner Diagram

    You can put the ETH Adapter CN on your desk or install it on the rail of control cabinet.It has the mounting bracket accessory.User can self-make an Aluminum board with thickness 1.5mm~ 2.5mm,then install the adapter on the S7-300/400PLC rail or 35MM standard rail. - 8 -...
  • Page 9 Fix the Aluminum board on the S7-300 PLC rail - 9 -...
  • Page 10: Eth Adapter Cn Parameters Setting

    RJ45 cable. Insert the DP/MPI plug(DB9M)of ETH Adapter CN into the DP or MPI socket of the S7-300/400PLC and power on the PLC. The same local area network (router) can connect multiple ETH Adapter CN, but the same IP address is not allowed, there will be conflicts if the same IP , and it only shows one of IP and abnormality.
  • Page 11 Enter the operating system and then right-click Network Neighborhood> View Network Connection> Properties, then pop up “local connection properties window": Select the General page; click the Properties then pop-up the following window, record the IP address and the gateway of the computer for later use: - 11 -...
  • Page 12 Copy the OEM Device Manager_SPCNML.rar file on the CD to your hard drive and extract it to the current folder, do not modify the folder name OEM Device Manager_SPCNML which store the setting software. Double click the following icon in the OEM Device Manager_SPCNML folder to run setting software: Click the Search button in the upper left corner, and then search out all ETH Adapter CN connected to the router after a few seconds, as shown below:...
  • Page 13 Change language to English: Ctrl+L and then press “E”, or select the menu as the picture up Double-click the ETH Adapter, pop-up dialog box, enter your user name and password to enter the setting interface. The factory default setting: Username = admin, Password = admin - 13 -...
  • Page 14 PC, then choose this serial port in the local connection of STEP7 software ,like you use the traditional PC Adapter. Notice:The COM port of local connection in the “set PG/PC interface” menu of Siemens programming software STEP7 can most support COM8, even though it can display above COM8, in fact it can’t use.
  • Page 15: Step7 Software Setting

    Serial Port software Manual. Here the serial port parameters setting of ETH Adapter CN is introduced. The baud rate of ETH Adapter CN serial port supports 9600~115200bps,but Siemens STEP7 software only supports 19200bps and 38400bps two baud rate.The other serial port parameters of STEP7 is fixed as data bit=8 bits, Parity= Odd parity,stop bit=1 bit, abbreviation as 8O1,so you must set the serial port parameters of ETH Adapter CN is the same as this,or else it can’t build...
  • Page 16: The Usage In The Lan

    ETH Adapter CN is very flexible and diverse, not limited to examples described below. You can use the ETH Adapter CN to connect the S7-300/400PLC to the Ethernet.It can also be achieved the worldwide data communication through the Internet, or wireless data communication through wireless LAN, 3G network card, 3G router.
  • Page 17: Pc Work As Client,Eth Adapter Cn Work As Server

    The ETH Adapter CN communication in the LAN needs to ensure that PC, ETH Adapter CN and routers have the same gateway, The gateway: 192.168.1.1, the computer IP address: 192.168.1.108, ETH Adapter CN IP address: 192.168.1.250 in the following examples. Of course you also could not use router,and use RJ45 cable to connect the ETH Adapter CN and computer directly.
  • Page 18 The setting of ETH Adapter CN serial port parameters is omitted here, you can see the previous description. Set ETH Adapter CN working mode as TCP Server, port No. = 27011, waiting for clients to connect. Run the VCOMM virtual serial port software on the PC, set the simulated virtual serial port on the PC.
  • Page 19: Pc Work As Server, Eth Adapter Cn Work As Client

    Click OK and exit the software and re-run VCOMM, the client side VCOMM will take the initiative to connect the server ETH Adapter CN with IP address 192.168.1.250, port number 27011, it will create a new serial port COM3 after establishing the connection, and it will appear in the Device Manager of the Windows system, then you choose this serial port in your application software, such as STEP7.
  • Page 20 Set PC as server, ETH Adapter CN as client,let adapter take the initiative to connect the PC. Set the ETH Adapter CN network parameters, the gateway of ETH Adapter CN,PC and router must be same, the DNS server needn’t to be setted because you don’t use the dynamic domain name on the Internet.
  • Page 21 Run the VCOMM virtual serial port software on the PC, set the simulated virtual serial port on the PC. Select VCOMM as Server mode, wait for the client to connect. Choose the device detector to create the virtual serial port. Add a new virtual serial port, the monitoring IP address = PC IP address, client mode device try to connect the port = VCOMM software port, this is 8000.
  • Page 22: Remote Communication In The Internet

    Of course you can use ETH Adapter CN to simulate each PLC as a COM port on the PC in order to achieve the data communication and monitoring operation between PC and multiple PLC s 8. Remote communication in the internet ETH Adapter CN can achieve the worldwide remote communication through the Internet, it will use the external network IP address of the router, the router external network address is different when the router is started every time, because the router will be randomly assigned to one...
  • Page 23: Pc Work As Server, Eth Adapter Cn Work As Client

    The most economical way to achieve the remote communication in the Internet between the PC and S7-300/400PLC is that set the ETH Adapter CN as the client, set the PC as the server, install and run the DDNS software on the PC, and set the Port mapping for PC on the router of PC side.
  • Page 24 The setting of ETH Adapter CN serial port parameters is omitted here, you can see the previous description. Set ETH Adapter CN as TCP Client; remote host IP =domain name of remote PC, here is: kollew.changeip.net; host port = VCOMM software port number. - 24 -...
  • Page 25 Input the IP address of the router in the IE browser address bar of the remote PC and then appear the router setting interface, set the port mapping for PC, as shown below. If your PC does not use the router to access Internet, then this step can be omitted. The meaning of the above settings is that when the client ETH Adapter CN visit and access the router's external network IP address of PC (this address is automatically resolved by the domain name, you no longer cares about its change),router will automatically transfer this visiting to the...
  • Page 26 Run the VCOMM virtual serial port software on the PC, set the simulated virtual serial port on the PC. Select VCOMM as Server mode, accept client connections. Choose to use the device detector to create a virtual serial port. Add a new virtual serial port, the monitoring IP address = PC IP address, client mode device try to connect the port = VCOMM software port, this is 8000.
  • Page 27 Of course you can use multiple ETH Adapter CN to simulate multiple PLC as multiple COM port on the PC (set the connection with multiple different ports), in order to achieve the data communication and control operation of the PC and multiple PLC respectively. - 27 -...
  • Page 28: Pc Work As Client,Eth Adapter Cn Work As Server

    (2) PC work as Client, ETH Adapter CN work as Server You also could set ETH Adapter CN as server,set VCOMM of PC as client, you need a router on the side of ETH Adapter CN which supports dynamic domain name (DDNS),in order to avoid the high cost of application the fixed IP address from the local Telecom or Internet operators, and this router is very common now, please notice the instructions on the package when you purchase it.
  • Page 29 Click "Restart Router" button or re-power the router to work with the new parameters. Similarly, when ETH Adapter CN go on external network communication,you need to set the port simulation on the router connected with the server ETH Adapter CN, input the IP address of router in the IE browser of PC connected with this router and then enter the virtual server setting interface of the router.
  • Page 30 Set VCOMM virtual serial port software parameters on the remote PC,select VCOMM as Client working mode,choose to use the device detector to create the virtual port. Create the virtual serial port COM3,input the domain name kollew.changeip.net in the “remote sever IP address” box, input the local port No. of ETH Adapter CN “27011” in the “remote server monitoring port ”...
  • Page 31: Remote Wireless Communication In The 3G Wireless Internet

    3G router , 3G network card to achieve the worldwide Internet wireless communication. As long as any places where the wireless Internet is available,then the wireless communication between the S7-300/400PLC and PC can be achieved, which has extended a broader application range. - 31 -...
  • Page 32: Pc Work As Server, Eth Adapter Cn Work As Client

    In fact when you use wireless communication,the setting method is almost as same as the previous introduction.,only 3G router, wireless network card of different manufacturers may have some differences in the usage, so please read the corresponding product manual. When the ETH Adapter CN works as the server, it is best to use the 3G router with the function of dynamic domain name to connect the ETH Adapter CN.
  • Page 33: Ordering Info

    10.Order info Product name: Siemens S7-300/400PLC Ethernet Adapter Product model:ETH Adapter CN 11,Appendix: basic knowledge of Ethernet TCP / IP transport layer provides two common agreements of TCP and UDP, the two protocols provide the transmission mechanism of TCP / IP network applications. TCP provides a guaranteed and reliable information transmission, and UDP use non-guaranteed and non-reliable method to transmit information.
  • Page 34: Udp

    ensure data is correct. UDP is a relatively simple way of communication, it will not increase too much extra traffic, it can communicate faster than the TCP to provide real time communication. UDP does not need the server and client, both parties are on equal communication. Our Ethernet to serial communication module using UDP mode including: UDP Uni_Cast, UDP Multi_Cast.

This manual is also suitable for:

S7-400plcS7-300plc

Table of Contents