Jetter AG
191
JC-120MC
HTTP server
You can define the representation of variables by means of their attribute.
The number of digits/characters used for representing a variable can be
defined by the character "#".
Prefix "0" sets the output of leading zeros. This applies to the register types
INT, INTX and REAL.
Prefix "+" sets the output of a sign. This applies to the register types INT
and REAL.
Prefixing a blank sets the output of a blank. This applies to the register
types INT and REAL.
The variable name begins with a capital "R" followed by the register number.
The following types are possible:
Type
Notation
INT (standard type)
Integer, decimal
INTX
Integer, hexadecimal
INTB
Integer, binary
BOOL
Register content = 0 --> Display: 0
Register content != 0 --> Display: 1
REAL
Floating point, decimal
STRING
Text register
Example:
JC:DTAG name="R1000250" type="REAL" format="+0####.###"
factor="3.25" offset="500" /
Result:
This instruction causes the contents of register 1000250 to be multiplied by
3.25. Then 500 is added to the product. The result appears in the Web
browser with sign and at least five integer positions before the decimal point.
Leading zeros are added as appropriate. Furthermore, three decimal positions
are added.
The variable name begins with a capital "F" followed by the flag number.
The following types are possible:
Type
Notation
BOOL (standard type)
Flag = 0 --> Display: 0
Flag = 1 --> Display: 1
STRING
Flag = 0 --> Display: FALSE
Flag = 1 --> Display: TRUE
Example:
<JC:DTAG name="F100" type="STRING" format="#" />
Format definition
Registers/text registers
Flags
Содержание JC-120MC
Страница 1: ...User Manual JC 120MC Controller 60880901 We automate your success...
Страница 18: ......
Страница 40: ...40 Jetter AG 3 Identifying Hardware revisions see page 38 Related topics...
Страница 160: ......
Страница 186: ......
Страница 196: ......
Страница 395: ...Jetter AG 395 JC 120MC Programming Result When initializing the JX2 system bus the adjusted baud rate values were used...
Страница 485: ...Jetter AG 485 JC 120MC Programming Topic Page Programming 486 Registers 498 Contents...
Страница 521: ...Jetter AG 521 JC 120MC Programming Use 29 bit identifier Default 11 bit identifier...
Страница 586: ......
Страница 604: ......
Страница 633: ......