11.12.2012 Views

LAN Configuration

LAN Configuration

LAN Configuration

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

12. In the properties of the channel unit you<br />

can see all „available connections”.<br />

Choose the newly created one and click<br />

again on „Properties”. Now you can see<br />

all the variables which has been<br />

created for this connection. In fact this<br />

connection is a new one so there will be<br />

no variable in the list. To add a new<br />

variable click on „New”.<br />

13. Now set up the name of the variable<br />

(e.g. „S7<strong>LAN</strong>_MW0”) and other<br />

configuration data. Our example has<br />

the following configuration: Name:<br />

„S7<strong>LAN</strong>_MW0“, Data type: „unsigned<br />

16 - Bit value“, Length: „2“, Address: „MW0“, Format adaptation:<br />

„WordToUnsignedWord“. Click on „Choose” beside the Address to define the<br />

address from the variable. Example configuration: The data area from the variable<br />

is set to „Mark“ and the address is set to „Word”. The edit box „MW“ is set to „0”.<br />

14. Confirm all open dialogs with „OK“.<br />

15. The connection needs to know which network interface card it should use to send<br />

data via the Ethernet. Open the „System parameters“ dialog from the context<br />

menu (right click on TCP/IP).<br />

16. Choose the registry card „Unit“ and set the „logical device name“ to your network<br />

interface card (usually the name of the NIC begins with a „TCP/IP - > „).<br />

17. Confirm with „OK“.<br />

Now you are able to start the communication. Stop it by pressing<br />

Page 22 Cable and adapter manual © by PI 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!