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.

CONFIGURING DATA TAGS<br />

EDITING INTEGER TAGS<br />

THE DATA TAB (VARIABLES)<br />

The Data tab of an integer 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 Sign Mode property is used to override the default behavior of the comms<br />

driver when reading 16-bit values from a remote device. The driver will<br />

normally make a decision about whether to treat these values as signed or<br />

unsigned, based upon how the data is normally used within the device. If you<br />

want to override this decision, set this property as required.<br />

• The Access property is as described for flag variables.<br />

• The Storage property is as described for flag variables.<br />

• The Simulation property is as described for flag variables.<br />

• The Scaling and Transforms properties are used to modify the data value as it is<br />

read and written from the remote device. When the linear scaling mode is<br />

selected, the Store As range indicates the upper and lower bounds of the variable<br />

within the PLC, while the Display As range indicates the corresponding values as<br />

they will be presented to the operator. The Source Data property can also be<br />

used in this mode to force Crimson to treat the underlying data as a floatingpoint<br />

value before performing the scaling. The other modes are as follows…<br />

MODE<br />

BCD to Binary<br />

Binary to BCD<br />

Swap Bytes in Word<br />

Swap Bytes in Long<br />

Swap Words<br />

DESCRIPTION<br />

The BCD value is converted to binary.<br />

The binary value is converted to BCD.<br />

The lower two bytes of the value are swapped.<br />

All four bytes of the value are swapped.<br />

The upper and lower words of the value are swapped.<br />

REVISION 6 PAGE 115

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

Saved successfully!

Ooh no, something went wrong!