Decimal Number' Representation; Standard' Variable Type; Timer' Variable Type - Omron NT4S Operation Manual

Nt-series programmable terminal
Table of Contents

Advertisement

Standard Mode
4.6.1.1

'Decimal Number' Representation

4.6.1.1.1

'Standard' Variable Type

4.6.1.1.2

'Timer' Variable Type

76
The decimal representation of numbers is the most frequently used representation
method.
The operating concept differentiates between the following decimal number types
of representation: Standard, Timer, Counter and BCD-Format.
Decimal representation includes integers and floating point numbers.
The positional significance of the displayed positions increases from right to left.
Leading zeros or the decimal point can be displayed as an option. Decimal repre-
sentation is suitable for the data types Bit, Byte, Word and Lword. The maximum
length depends on the data type. There are no blanks between the characters. In
the controller, this variable is in the binary format or special timer or counter for-
mats.
10
3
10
2
10
1
0
1
2
The variable type Timer has a special function only when used in combination with
Simatic S5 controllers.
The kind of formatting of the variable type Timer depends on the memory area of
the PLC where the value was read. If the value is read directly from a timer word, the
10 bit binary time value contained in it and the 2-bit time base are converted to the
time value to the base 10 ms. If read from a different memory area, i.e. data word
(DW), flag word (MW), input word (EW) or output word (AW), it is then assumed that
the value is BCD-coded (3 digits BCD-code and 2 bit time base). This value will also
be converted to a time value to the base 10 ms.
The resulting time value to the base 10 ms can now be formatted in the same way
as a fixed point number, i.e. use of post-decimal places is possible and scaling can
be applied.
Example:
A setpoint value is entered on the operating terminal:
The current actual value is displayed on the operating terminal: Address MW200
Representation Input
Variable:
Representation Output
Variable:
The command sequence
L
MW 100
SI
T
1
has caused the BCD-coded time value to be loaded into flag word 100.
10
0
10
-1
10
-2
3
4
5
Decimal Number / Timer / 7 Digits / 2 Post-Decimal
Places / Factor 1 /Divisor 1 / Summand 0
Decimal Number/ Timer / 6 Digits / 1 Post-Decimal
Place/ Factor 1 / Divisor 10 / Summand 0
Section 4-6
Positional significance
Display (123,45
)
D
Address MW100

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt15sNt18s

Table of Contents