11.12.2012 Views

Cable and adapter manual

Cable and adapter manual

Cable and adapter manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

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

Choose the newly created one <strong>and</strong> 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. „S7LAN_MW0”) <strong>and</strong> other<br />

configuration data. Our example has<br />

the following configuration: Name:<br />

„S7LAN_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“ <strong>and</strong> 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“ <strong>and</strong> 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 <strong>Cable</strong> <strong>and</strong> <strong>adapter</strong> <strong>manual</strong> © by PI 2009

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

Saved successfully!

Ooh no, something went wrong!