Herunterladen Inhalt Inhalt Diese Seite drucken

Example: Direct Controlling Of The Display Segments To Display "Hello" On The Can Display; Example: Display The Values Of A Bus Member - Kübler Codix 538 Bedienungsanleitung

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen
  • DE

Verfügbare Sprachen

  • DEUTSCH, seite 1
0x1600sub6
0x6410
Show 8-bit integer value
0x6410sub0
0x6410sub1
0x6410sub2
Show value UINT8
Object
0x6411
Show 16-bit integer value
0x6411sub0
0x6411sub1
0x6411sub2
Show value UINT16
0x6412
Show 32-bit integer value
0x6412sub0
0x6412sub1
0x6412sub2
Show value UINT32
0x6413
0x6413sub0
0x6413sub1
15 Example: Direct controlling of
the display segments to display
"HELLO" on the CAN display
This example only operates when the display is in
Operational mode.
Control the display starting from the right side (with
O). To display the letter "O", the segments A, B, C,
D, E and F (see 6.6 on page 5) must be lit:
www.kuebler.com
6.Mapped Object
Number of entries
Show value INT8
Name
Number of entries
Show value INT16
Number of entries
Show value INT32
Show value float
Number of entries
Show value float
var
ui32
rw
var
ui8
const
var
i8
rww
var
ui8
rww
ObjT. DataT. AccT.
var
ui16
const
var
i16
rww
var
ui16
rww
var
ui8
const
var
i32
rww
var
ui32
rww
var
ui8
const
var
real32
rww
Digit1 "O" =222 = 0xde
Digit2 "L" = 208 = 0xd0
Digit3 "L" = 208 = 0xd0
Digit4 "E" = 248 = 0xf8
Digit5 "H" = 118 = 0x76
Digit6 " " = 0 = 0x0
The value 222 for the letter "O" is obtained from:
A(8)+B(4)+C(2)+D(128) + E(64)+F(16) =222
(see 6.7, page 5)
16 Example: Display the values of a
bus member
Application programming (PDO display on COB-ID
0x1a3 with the 32 bits UINT data format)
Before setting the CAN display, a ResetNode must
be carried out. Then Object 1400 must be set to
"invalid".
Now, the CAN display may be programmed.
0x0
no
0x2
no
0
yes
0x0
yes
Default
Mapping
0x2
no
0
yes
0x0
yes
0x2
no
0
yes
0x0
yes
0x2
no
0
yes
Page 9

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis