05.07.2013 Views

BSA Flow Software Installation and User's Guide - CSI

BSA Flow Software Installation and User's Guide - CSI

BSA Flow Software Installation and User's Guide - CSI

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

How It Works<br />

0 No error.<br />

1 Generic user error, failed to underst<strong>and</strong><br />

input message.<br />

The string returned from the controller to the<br />

driver could not be underst<strong>and</strong>. The string must<br />

follow the protocol described in Table 6.5-2)<br />

Table 6.5-1.<br />

2 Generic user error, return code out of range.<br />

User supplies error return codes must be larger<br />

than 100.<br />

3 Generic user error, failed to underst<strong>and</strong><br />

comm<strong>and</strong> response.<br />

The comm<strong>and</strong> received is not among the one<br />

described in Table 6.5-2)<br />

Table 6.5-1.<br />

4 Generic user error, failed to underst<strong>and</strong><br />

extension response.<br />

The comm<strong>and</strong> extension, e.g. for the READ<br />

comm<strong>and</strong>, must follow the protocol described in<br />

Table 6.5-2)<br />

Table 6.5-1.<br />

5 Generic user error, failed to read position.<br />

The position formatting in READ could not be<br />

read.<br />

>100 Error, error codes supplied by user.<br />

Table 6.5-2: User error return codes.<br />

Most of the comm<strong>and</strong>s are called when the traverse is not moving, this is<br />

controlled from this driver, <strong>and</strong> can be explained as synchronous. However<br />

two comm<strong>and</strong>s MOVE <strong>and</strong> HOME are asynchronous.<br />

Synchronous call The traverse is not moving <strong>and</strong> you want to reset the current position to the<br />

new reference position. You make the comm<strong>and</strong> RESET <strong>and</strong> the traverse<br />

driver will wait for the controller to answer. If the traverse is moving the<br />

comm<strong>and</strong> will not be executed from the driver <strong>and</strong> the controller will not get<br />

the comm<strong>and</strong> at all. All synchronous calls must be answered right away,<br />

otherwise a time-out (default 5 sec.) will occur in the driver.<br />

Asynchronous call When you want to move the traverse you send the MOVE comm<strong>and</strong> to the<br />

driver <strong>and</strong> the driver will send the comm<strong>and</strong> to the controller if the traverse<br />

is not already moving. The controller should not respond to this comm<strong>and</strong><br />

until the traverse stops. In the meantime the controller can be called with<br />

either a STOP comm<strong>and</strong> or a READ comm<strong>and</strong>. The STOP <strong>and</strong> READ<br />

comm<strong>and</strong>s are synchronous, <strong>and</strong> the controller must answer these comm<strong>and</strong><br />

right away, see Figure 6-68. In some cases the controller controls a traverse<br />

which cannot request positions while moving, in this case the READ<br />

comm<strong>and</strong> is answered with the starting position until it stops.<br />

6-72 <strong>BSA</strong> <strong>Flow</strong> <strong>Software</strong>: Options <strong>and</strong> Add-ons

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

Saved successfully!

Ooh no, something went wrong!