Displaying a value with a sign, Displaying hexadecimal notation – KEYENCE KV-D20 User Manual
Page 46
Advertising

3. Examples of Ladder Programs
3
46
Displaying a value with a sign
Operator screen
Ladder program
Description
Display the value of CTH0 as a binary value with a sign.
Example
"#65535" is displayed as "-1".
Comment
Displaying hexadecimal notation
Operator screen
Ladder program
Description
Display the value in TM10 in hexadecimal notation ($).
Comment
CURRENT POS:
-2367
F1
F2
F3
F4
1
2
3
4
2002
#23000
DM1580
DW
$0200
DM1680
DW
High-speed counter
CTH0
Device
No.
Comment 1
C U R R E N T P O S :
F1
F2
F3
F4
1
2
3
4
2002
#24010
DM1580
DW
$0800
DM1680
DW
Temporary memory
TM10
Device
No.
Comment 1
kv_d20_manual.p65
08.3.10, 6:08 PM
46
Advertising