18.06.2014 Views

AGFA d-lab.3 Digital Compact Lab

AGFA d-lab.3 Digital Compact Lab

AGFA d-lab.3 Digital Compact Lab

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.

Repair<br />

Software<br />

Software Structure of the Controller<br />

The CG Controller and the FL Controller have to<br />

perform different functions. For this reason, the<br />

Software structure is different, above all as<br />

concerns the Interface and the Dispatcher.<br />

FL Controller<br />

Several functions have to be performed at the<br />

same time:<br />

− Interpreting arriving telegrams and responding to<br />

them<br />

− Sending CAN commands and assessing /<br />

transmitting the related acknowledgements<br />

− Performing basic functions simultaneously for<br />

several loads<br />

The Software on the FL Controller checks<br />

conditions in an endless cycle, responds to events<br />

and triggers the required action. This main loop<br />

(main function) runs through within 1-2 ms.<br />

Time-dependent actions are executed in<br />

Interrupts:<br />

− Response to telegrams from the RS232 interface<br />

− Response to telegrams from the CAN-Bus<br />

− Output of telegrams<br />

− Control of the motors via the PWM or CC mode<br />

Algorithms/Interface Controller<br />

Like the FL-Controller, commands are received<br />

and performed in a main loop. Besides this,<br />

Interrupt routines are running for time-dependent<br />

actions.<br />

CG Controller<br />

The CG Controller receives commands, confirms<br />

and executes them sequentially.<br />

After receipt of a telegram from the CAN-Bus, an<br />

appropriate function is called up by the Dispatcher.<br />

After it has been executed, a feedback message is<br />

sent via the CAN-Bus.<br />

Only the motors are controlled in Interrupts.<br />

<strong>AGFA</strong> d-<strong>lab.3</strong> 2001-01-02 /PN 9009 8.3

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

Saved successfully!

Ooh no, something went wrong!