AGFA d-lab.3 Digital Compact Lab

AGFA d-lab.3 Digital Compact Lab AGFA d-lab.3 Digital Compact Lab

saal.group.com
from saal.group.com More from this publisher
18.06.2014 Views

Software Repair Software Levels The Software is split up into 4 levels in charge of special functions: 1. Hardware functions: Hardware-related functions operating only one sensor or load. This also includes the initialisation of registers. 2. Basic functions: Functions combining several Hardware functions. This includes initialisation functions and certain Hardware-related procedures, e.g. the execution of an exposure. 3. Dispatcher or Main: Distributes the commands sent by the Main- PC to basic or Hardware functions. 4. Interface: Software for the communication via a RS232 interface or the CAN-Bus. This also includes the respect of certain error handling protocols. 8.2 2001-01-02 /PN 9009 AGFA d-lab.3

Repair Software Software Structure of the Controller The CG Controller and the FL Controller have to perform different functions. For this reason, the Software structure is different, above all as concerns the Interface and the Dispatcher. FL Controller Several functions have to be performed at the same time: − Interpreting arriving telegrams and responding to them − Sending CAN commands and assessing / transmitting the related acknowledgements − Performing basic functions simultaneously for several loads The Software on the FL Controller checks conditions in an endless cycle, responds to events and triggers the required action. This main loop (main function) runs through within 1-2 ms. Time-dependent actions are executed in Interrupts: − Response to telegrams from the RS232 interface − Response to telegrams from the CAN-Bus − Output of telegrams − Control of the motors via the PWM or CC mode Algorithms/Interface Controller Like the FL-Controller, commands are received and performed in a main loop. Besides this, Interrupt routines are running for time-dependent actions. CG Controller The CG Controller receives commands, confirms and executes them sequentially. After receipt of a telegram from the CAN-Bus, an appropriate function is called up by the Dispatcher. After it has been executed, a feedback message is sent via the CAN-Bus. Only the motors are controlled in Interrupts. AGFA d-lab.3 2001-01-02 /PN 9009 8.3

Software<br />

Repair<br />

Software Levels<br />

The Software is split up into 4 levels in charge of<br />

special functions:<br />

1. Hardware functions:<br />

Hardware-related functions operating only<br />

one sensor or load. This also includes the<br />

initialisation of registers.<br />

2. Basic functions:<br />

Functions combining several Hardware<br />

functions. This includes initialisation functions<br />

and certain Hardware-related procedures,<br />

e.g. the execution of an exposure.<br />

3. Dispatcher or Main:<br />

Distributes the commands sent by the Main-<br />

PC to basic or Hardware functions.<br />

4. Interface:<br />

Software for the communication via a RS232<br />

interface or the CAN-Bus. This also includes the<br />

respect of certain error handling protocols.<br />

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

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

Saved successfully!

Ooh no, something went wrong!