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.

EDITING REAL TAGS<br />

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

EDITING REAL TAGS<br />

You will recall that real tags represent a single-precision floating-point value. All the tabs<br />

displayed for real tags are exactly the same as those displayed for integer tags, with the<br />

exception that data entered for items such as the value and hysteresis properties of alarms and<br />

triggers may contain decimals. You are thus referred to the sections on integer tags. You will<br />

notice some selections for integer tags that are not applicable to real tags.<br />

EDITING STRING TAGS<br />

You will recall that string tags represent an item of text, this being made up of a number of<br />

individual characters. The following sections describe the various tabs that are displayed on<br />

the right-hand side of the Data Tags window when editing one of the various string tags.<br />

THE DATA TAB (VARIABLES)<br />

The Data tab of a string variable contains the following properties...<br />

• The Mapping property is used to specify if the variable is to be mapped to a<br />

register in a remote device, or if it exists only within the Master. If you press the<br />

arrow button and select a device name from the resulting menu, you will be<br />

presented with a dialog box that will allow a PLC register to be selected.<br />

• The Encoding property is used to specify how text will be packed into mapped<br />

registers that contain more than 8 bits of data. Selecting unpacked will store one<br />

character per register no matter how large the register, leaving the high-order bits<br />

empty. Selecting low-to-high packed mode will store one character in each 8 bits<br />

of the target register, storing the first character in the lowest order bits. Selecting<br />

high-to-low packed mode will store one character in each 8 bits of the target<br />

register, storing the first character in the highest order bits.<br />

• The Length property is used to indicate how many characters of storage should<br />

be allocated for this string. A value need only be entered if you have configured<br />

the variable for retentive storage. Strings that are kept in the Master’s RAM and<br />

not committed to FLASH have no practical limit on their length.<br />

PAGE 126<br />

http://www.redlion.net/controller

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

Saved successfully!

Ooh no, something went wrong!