17.02.2013 Views

Kuhnke Electronics Instruction Manual

Kuhnke Electronics Instruction Manual

Kuhnke Electronics Instruction Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

6.2.4 Master-Slave Data Communication<br />

PROFIBUS<br />

Following successful initialisation, the master starts<br />

exchanging data always repeating the same routine:<br />

Sent by Frame Recipient<br />

master sends output data slave<br />

slave sends input data master<br />

The volume of data transferred is specified when<br />

configuring the master project.<br />

The maximum transfer volume is 100 words (200 byte)<br />

which can be made up of several data modules.<br />

Available modules<br />

In<br />

Length<br />

Out<br />

Module Name Consistency<br />

1 word 1 word Data in:1w / out: 1 w Total length<br />

4 words 4 words Data in:4w / out: 4 w Total length<br />

8 words 8 words Data in:8w / out: 8 w Total length<br />

16 words 16 words Data in:16w / out: 16 w Total length<br />

32 words 32 words Data in:32w / out: 32 w Word<br />

64 words 64 words Data in:64w / out: 64 w Word<br />

Ventura Remote PLC DP uses global variable DPSLAVE<br />

to store the data (inputs and outputs) plus the information<br />

about the configuration and the PROFIBUS status. The<br />

data type of DPSLAVE is SPC3_P690 which is defined in<br />

library P690.LIB.<br />

� Run the CoDeSys PLC Configuration Editor and<br />

display the Library Manager screen.<br />

� Choose P690.LIB and open folder "Data types".<br />

165

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

Saved successfully!

Ooh no, something went wrong!