Siemens S7-300, S7-400PLC, S7-300PLC User Manual

Siemens S7-300/400PLC Ethernet
Adapter
ETH Adapter CN
USER MANUAL
E-mail:sales@kollewin.com
redpeachluo@gmail.com
Tel:86-755-26898905 Contact:Ms Cathy
- 2 -
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. Remote communication in the internet ………………………………………………………………...22 (1) PC work as Server, ETH Adapter CN work as Client …………….………………………...……...23 (2) PC work as Client,ETH Adapter CN work as Server ………………………………………………28
9. Remote wireless communication in the 3G wireless internet…………………..…………..……...31 (1) PC work as Server, ETH Adapter CN work as Client ………………………….…………..………32 (2) PC work as Client,ETH Adapter CN work as Server …………………………………….……..……32
10. Ordering Info…………………………………………………………………………….…………….……33
11.Appendix: basic knowledge of Ethernet ……………………………………………………….………33 1、TCP ………………………………………..……………………………………………………..…….34 2、UDP ……………………………………………….……………………………………………...…….34
- 3 -
Preface
Thanks a lot for your choosing our products.
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
use.
We have the right to revise this manual at any time according to the needs of technology
development and it won’t be noticed before the revising.
Copyright Statement
Any people and institutions copy all or part will assume the corresponding legal responsibility
without prior written consent.
Version Info
Document Name:ETH Adapter CN user manual
Version:V2.0
Revising Date:Sep.25,2010
Related Documents
In order to use this adapter better, please also read the following two documents:
1.Device Manager Parameter Setting Software Manual
2.VCOMM Virtual Serial Port Software Manual
- 4 -
Product Content
1.ETH Adapter CN 1PC
2. RJ45 Cable 1 PC, 2 M
3.CD 1PC
1. Characteristics & Technical Parameters
ETH Adapter CN is the industrial product which use the Ethernet and Internet or 3G wirelss
network to achieve Siemens S7-300/400PLC networking communication. It integrates many
complex network protocols, support 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.
The RJ45 port,RS485 interface and power supply port are all isolated in order to suit harsh
environment in the industrial
situations. Especially the isolated power supply port and each signal
pin has anti-static protection and surge protection which can solve the PLC communication port
easily damaged problem.
High-speed, reliable industry standard, anti-interference design suit for the harsh
electromagnetic environment
32 bit RISC (NP7 series) ARM7TDMI 55DMIPS
128KB SRAM,128KB Code + 32KB Boot
10M/100M adaptive Ethernet interface
Support MPI and PROFIBUS communication protocol.
The largest baud rate is 1.5Mbps for MPI and Profibus interface.
Ethernet interface baud rate 9.6Kbps,19.2Kbps,38.4Kbps,57.6Kbps,115.2Kbps can be set.
Smart Protocols: TCP,UDP,ARP,IP,ICMP,DHCP,BOOTP,DNS.
Support Dynamic DNS
Working mode can be chose TCP Server,TCP Client,UDP Multicast and UDP Unicast.
Built-in Flash memory,can save the setted parameters
Support Windows 95/98/ME/NT/2000/XP/2003/XP/Vista/Win7 operation system.
RJ45 port 1500VDC electromagnetic isolated,RS485 interface 1000VDC electromagnetic
isolated,power supply 1000VDC electromagnetic isolated
Interface protection: power supply port has the reverse polarity protection and over current
protection,RS485 interface has the anti-lightning surge protection, repeatability surge capacity: Ipp=100A10/700us4KV,meet standard ITU-TK20/21VDE 0433. ±15KV ESD protection;
overcurrent protection.
Power supply 24V±10% DC from PLC MPI or PROFIBUS socket,2W power.
Shape Size: 123mm×68mm×30mm(length*width*height),with the mounting bracket.
Temperature: -40°C to +80°C (-40°F to 176°F),5% to 95% RH
Storage temperature: -40°C to +80°C (-40°F to 176°F)5% to 95% RH
The network type and fieldbus communication baud rate which ETH Adapter CN support
- 5 -
PROFIBUS Transmission rate MPI PPI
DP Standard Universal
9.6Kbps - -
19.2Kbps -
45.45Kbps - -
93.75Kbps - -
187.5Kbps - 500Kbps - -
1.5Mbps -
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 LEDleft light,green ACT LEDright light,yellow
Status Description Status Description
Light on Network cable is connected
correctly, work properly.
Flash Sending and receiving data through
the
RJ45 port
Flash Network cable is not plugged in, no
available network
Extinguish No data transceiving
- 6 -
- 7 -
Ethernet interface RJ45 socket signal array
Pin Signal name Function Type
1 Tx+ Positive phase Ethernet data sending
differential signal line
Output
2 Tx- negative phase Ethernet data sending
differential signal line
Output
3 Rx+ Positive phase Ethernet data receiving
differential signal line
Input
4 Not used -
5 Not used -
6 Rx- Negative phase Ethernet data receiving
differential signal line
Input
7 Not used -
8 Not used -
Default Button: Restore the default setted parameters. Insert the penpoint into the hole to press the
button for about 1 second, the internal Flash memory parameters will restore to factory default
parameters: IP = 192.168.0.250, Username = admin, Password = admin. When you forget the IP
address,user name or password, you can restore to the factory default parameters,and then reset
the parameters.
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
S7-300/400PLC MPI or PROFIBUS interface outlet.
DP/MPI plug(DB9M pin)signal array
PIN Signal
name
Description Input/Output
1 NC No use -
2 M24V 24VDC power negative Input
3 LTG_B RS485 signal positive Input/Output
4 RTS_AS RTSAS control signal ,when it has data receiving,the
signal is “1”.
Input
5 M5V RS485 signal ground and
5VDC power ground
Input
6 P5V No use -
7 P24V 24VDC power positive Input
8 LTG_A RS485 signal negative Input/Output
9 RTS_PG The adapter RTS output signal,when the adapter is
sending signal,the signal is “1”,this signal is not
connected to MPI extension cable.
Output
Shell Shielding Shield ground (chassis ground)
Panel communication indicator: there are three LED indicators on the panel, and its working state
as the following table:
Indicator Light on Flash Extinguish
PWRRed
Power supply normal Fault Fault or no power
TxDYellow
Fault or signal
polarity reversal
Serial port is
receiving the date
Fault or no
communication
RxDGreen
Fault or signal
polarity reversal
Serial port is
sending the date
Fault or no
communication
3. Inner Diagram
Why the 24V power,RJ45 port and RS485 three parties all need to be isolated?That’s because the 7 pin and 2 pin(output 24VDC power) and RS485 interface(DB9F socket 3、4、5、6、8、9pin) on
the PLC PROFIBUS socket are isolated,if the adapter is not isolated,it will damage the PLC
isolation system,then damage the PLC or cause interference.
4.ETH Adapter CN installation
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 -
Fix the Aluminum board on the S7-300 PLC rail
- 9 -
ETH Adapter CN adapter has been installed on the S7-300PLC rail
5.ETH Adapter CN parameters setting
ETH Adapter CN
needs to be configured the parameters to work correctly, the configuration
parameters including the network parameters, communication protocols, connection, serial port
parameters; it can be very flexible to satisfy your application. Configuration parameters are
stored in the Flash memory, and they can be permanently stored without loss.
Use the standard RJ45 cable to connect the ETH Adapter CN and router or switch, at the same
time make sure that the router or switch is connected to a computer in order to run the
parameters setting software .You also can use a standard RJ45 cable to directly connect
ETH
Adapter CN
and the computer, no need crossover cable, this product has auto-polarity
discrimination function for the 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.
You can press the Default button on the ETH Adapter CN any time that could make it restore to the
factory dafault. IP=192.168.0.250,Username=admin,Password=admin
You need to check your computer's IP address and gateway address, and confirm your computer
is in the normal Internet access, in the next setting, you need to set the gateway of
ETH Adapter
CN as
same as the gateway of computer and router, that is to say, the ETH Adapter CN and
computer are in the same subnet, all equipments in this subnet and routers have the same
gateway.
- 10 -
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 -
Loading...
+ 23 hidden pages