05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

DATA AVAILABILITY<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 />

NOTES FOR EDICT USERS<br />

Users of Red Lion’s Edict-97 software should note…<br />

• Pages no longer have text and graphic layers, as all primitives are graphical in<br />

nature. This means that the concept of a page format is similarly redundant.<br />

• Page categories have been replaced with system primitives. Where Edict would<br />

use an entire page for its alarm viewer, for example, the corresponding system<br />

primitive can be used to allocate as little or as much of the display as is required.<br />

• The actions defined by double-clicking a key replace the global and local event<br />

maps. If your application used more than one row per event, you will most likely<br />

need to use a program to implement the required logic.<br />

• Events such as comms update complete and one-second tick have been removed,<br />

as most of the actions performed by such events can now be handled via other<br />

mechanisms. For example, comms update complete was often used to move data<br />

between devices. This can now be performed using the protocol conversion<br />

functionality of the Communications window. In addition, these events were<br />

often misused and led to the creation of overly complex databases.<br />

• While Edict would typically manage something between two and five display<br />

updates per second, Crimson is designed to redraw the display every 100msec,<br />

thus providing, for example, smoother operator feedback during data entry.<br />

PAGE 224<br />

http://www.redlion.net/controller

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

Saved successfully!

Ooh no, something went wrong!