05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

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.

ADVANCED TOPICS<br />

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

DATA AVAILABILITY<br />

Crimson’s communications infrastructure reads only those data items that are required for the<br />

current page. This means that when a page is first selected, certain data items may not be<br />

available. For a display primitive, this is no problem, as the primitive simply displays an<br />

undefined state (typically a number of dashes) until the data becomes available. For actions,<br />

though, things can get more complex.<br />

For example, suppose a local action increases the speed of a motor by 50 rpm. If the motor<br />

speed is not referenced on the previously displayed page, then, when the page is first<br />

displayed, Crimson will not know the current speed, and will thus be unable to write the new<br />

value. To handle this, if the operator attempts to perform an action for which the required data<br />

is not available, the Master module will display a “NOT READY” message until the key in<br />

question is released. The operator must then wait a short while, and try the operation again. In<br />

practice, communications updates normally take place quickly enough that even the most<br />

nimble-fingered operator will be hard pressed to get the message to appear, but since it may<br />

on occasions be seen, it is worth explaining.<br />

A slightly more complex issue comes about if the action defined by a page’s On Select<br />

property is unable to proceed because it also finds that required data is not available. Here,<br />

Crimson will wait up to thirty seconds for the data to arrive. If it does not, the action will not<br />

be performed, and a “TIMEOUT” message will be displayed for the operator. This timeout<br />

mechanism is required to avoid problems should a communications link become severed.<br />

PAGE 156<br />

http://www.redlion.net/controller

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

Saved successfully!

Ooh no, something went wrong!