24.01.2015 Views

PLC Programming

  • No tags were found...

Create successful ePaper yourself

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

<strong>PLC</strong> Configuration<br />

6.5.5 Configuration of a Channel<br />

Base parameters of a channel<br />

Basisparameter dialog for a channel<br />

Channel-Id: Globally unique identifier of the channel<br />

Class: Defines whether the channel is used als input (I), output (Q), or as input and output (I&Q), or<br />

whether it is switchable (I|Q). If the channel is switchable, this can be done by the command 'Extras'<br />

'Replace element'.<br />

Size: Size of the channel [Byte]<br />

Default identifier: Symbolic name of the channel<br />

The name of the channel is defined in the configuration file. Only if it is allowed by the definition of the<br />

father module, the name of the channel can be edited in the configuration tree.<br />

Comment: Additional information on the channel<br />

In the edit field a comment can be inserted or modified.<br />

Address: This edit field only will be available if it was activated by an entry in the configuration file.<br />

Insert the desired address for the channel.<br />

Channel parameters<br />

Bitchannels<br />

Corresponding to the Moduleparameter dialog the Channelparameter dialog is used to display and<br />

modify the parameters of a channel: Index, Name, Wert, Default, Min., Max. This dialog also can be<br />

replaced by a customer specific dialog 'Custom Parameters' ersetzt sein.<br />

Bitchannels are automatically inserted, when a channel is defined with an entry<br />

CreateBitChannels=TRUE in the configuration file.<br />

The Basisparameter dialog of bitchannels just contains the field Comment.<br />

6.5.6 Configuration of Profibus Modules<br />

CoDeSys supports a hardware configuration corresponding to the profibus DP standard. In the<br />

profibus system you find master and slave modules. Each slave is provided with a parameter set by<br />

ist master and supplies data on request of the master.<br />

A PROFIBUS DP system consists of one or several masters and their slaves. First the modules must<br />

be configured so that a data exchange over the bus is possible. At the initialization of the bus system<br />

each master parameterizes the slaves which are assigned to it by the configuration. In a running bus<br />

system the master sends and/or requests data to/from the slaves.<br />

6-18 CoDeSys V2.3

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

Saved successfully!

Ooh no, something went wrong!