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.

COMPACTFLASH ACCESS<br />

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

capabilities somewhat frustrated. You may thus use the Master’s custom site facility to create<br />

a completely custom web site using your favorite third-party HTML editor, and—by inserting<br />

certain special sequences and storing the resulting files on the Master’s CompactFlash card—<br />

expose this site using the panel’s web server.<br />

CREATING THE SITE<br />

The web site may use any HTML facilities supported by your browser, but must not use ASP,<br />

CGI or other server-side tricks. The filenames used for the HTML files and associated<br />

graphics must also comply with the old-style 8.3 naming convention. This means that file<br />

extensions will be—for example—HTM instead of HTML, and JPG instead of JPEG. This also<br />

means that the body of the filename must be eight characters or less, and that you must not<br />

rely on the difference between upper- and lower-case to differentiate between pages. You<br />

may use any directory structure, as long as you once again ensure that your directories<br />

observe the 8.3 naming convention and do not rely on case differences.<br />

EMBEDDING DATA<br />

To embed tag data within a web page, insert the sequence [[N]], replacing N with the index<br />

number of the tag in question. This index number is displayed on the status bar when a tag is<br />

selected within the Data Tag window, and more-or-less corresponds to the order in which the<br />

tags were created. When the web page containing this sequence is served, the sequence will<br />

be replaced by the current value of the tag, formatted according to the tag’s properties.<br />

DEPLOYING THE SITE<br />

To deploy your custom web site, copy it into the \WEB directory on the CompactFlash card to<br />

be installed in the Master. To copy the files, either mount the card as a drive on your PC as<br />

described at the start of this manual, or use a suitable card writer connected to your PC. Make<br />

sure that the Enable Custom Site property is set, and the custom site will appear on the web<br />

server menu. When the site is selected, a file called DEFAULT.HTM within the \WEB directory<br />

will be displayed. Beyond that point, navigation is according to the links within the site.<br />

COMPACTFLASH ACCESS<br />

Note that in order to serve custom web pages—or to provide access to the Master’s data<br />

logger—the web server needs to be able to access the unit’s CompactFlash card. If you have<br />

mounted the card as a drive on your PC and performed write operations, you may have to<br />

wait a minute or so for the PC to unlock the card and allow the Master to get access. If you<br />

are using an operating system earlier than Windows 2000 to perform such an operation, you<br />

may find that your PC locks the card when the drive is first mounted, whether or not a write is<br />

performed. Again, this lock will be released within a minute or so.<br />

ACCESSING THE WEB SERVER<br />

The web server can be accessed by multiple means depending on your application.<br />

PAGE 248<br />

http://www.redlion.net/controller

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

Saved successfully!

Ooh no, something went wrong!