18.01.2013 Views

Sensor systems 2 AS-Interface

Sensor systems 2 AS-Interface

Sensor systems 2 AS-Interface

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Issue date 2004-11-19 - Catalogue <strong>AS</strong>-<strong>Interface</strong> 2004/2005<br />

FAULT<br />

PWR<br />

A D<br />

Spec 2.1<br />

Diagnostic function with peripheral error<br />

<strong>AS</strong>-<strong>Interface</strong> - Introduction<br />

Besides communications disturbances (i.e. erroneous messages), the master<br />

can also detect hardware errors which occur on the slave. These peripheral<br />

error messages can be used to power down <strong>systems</strong> in case of error,<br />

since sensor signals may no longer be safely available. It is also possible<br />

simply to evaluate stored data statistically in the master under "LFS" (list of<br />

faulted slaves), in order to evaluate system safety. A red LED display is located<br />

on the slave. This simplifies the location and correction of errors. An<br />

extended diagnostic also makes it possible to locate even sporadically occurring<br />

problems with configuration and communications and evaluate<br />

them with the <strong>AS</strong>-i Control Tools. This information can be processed in the<br />

PLC using the command interface and for instance then displayed in clear<br />

text to the operator on a remote display.<br />

Analogue transmission<br />

The <strong>AS</strong>-<strong>Interface</strong> protocol allows the transmission of 4 bits in one cycle.<br />

With the analogue profile S7.3, seven messages can be collected in the<br />

master within only 35 ms, and output as a 16-bit analogue value. This was<br />

only possible using an application program in specification 2.0. The output<br />

of analogue control values as 0 V ... 10 V or 4 mA ... 20 mA signals is possible.<br />

Extension of ID codes:<br />

A/B slaves have ID codes = A hex , while standard slaves have a different ID<br />

code of A hex . So as to distinguish the different profiles (types of slave), two<br />

further identification codes were introduced, the ID1 code and the ID2 code.<br />

The IO code and the ID2 code describe the profile of the A/B slaves completely<br />

and are permanently stored in the slave.<br />

Transfer rate and cycle time<br />

The bit transmission rate of the <strong>AS</strong>-<strong>Interface</strong> is about 167 kBaud, in order<br />

to make the system very resistant to cable reflexions and errors even with<br />

complex topologies, while still eliminating the need for termination resistors.<br />

The cycle time is, however, a deciding factor for small quantities of data.<br />

When fully loaded, masters on specification 2.0 (31 slaves or 124 binary<br />

sensors + 124 binary actuators) have a maximum cycle time of 5 ms, and<br />

masters on specification 2.1 in extended mode (62 slaves, or 248 binary<br />

sensors + 186 binary actuators) have a maximum cycle time of 10 ms. The<br />

cycle time can be shortened by reducing the number of nodes or by addressing<br />

A/B slaves in standard mode. Every unoccupied slave address<br />

saves 150 µs. This makes the <strong>AS</strong>-<strong>Interface</strong> one of the fastest bus <strong>systems</strong>.<br />

In a mixed system with standard slaves and A/B slaves, standard slaves are<br />

interrogated on each cycle and A/B slaves every other cycle. On the nth cycle,<br />

all A slaves are addressed, and on the n+1-th cycle, all the B slaves.<br />

The master can use the configuration to detect which addresses are unoccupied<br />

and doesn't interrogate these at all. If only one (either A or B) address<br />

is assigned to an A/B slave on the <strong>AS</strong>-<strong>Interface</strong> network, then these<br />

slaves are interrogated on every cycle. The frequency of interrogation can<br />

be increased in this way.<br />

Subject to reasonable modifications due to technical advances. Copyright Pepperl+Fuchs, Printed in Germany<br />

Pepperl+Fuchs Group Tel.: Germany +49 621 776-0 USA +1 330 4253555 Singapore +65 67799091 Internet http://www.pepperl-fuchs.com<br />

17

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

Saved successfully!

Ooh no, something went wrong!