Siemens SIMATIC C7-613 Manual page 80

Table of Contents

Advertisement

Integration into the User Program
Table 4-4
Relaying Key Operations, continued
Key
Function keys
y
(K-keys)
y
Value Assignment
As long as the corresponding key is pressed, the assigned bit in the keyboard
image has the value 1; otherwise the value 0.
Bit value
1
0
The bit for the SHIFT key is set as long as the SHIFT LED is switched on.
Structure
The keyboard image is a data area with a fixed length of two data words.
Exactly one bit is permanently assigned to each key in the keyboard image.
Keyboard image:
7
6
5
C
C
C
up
down
left
F4
Keyboard
group bit
Note
The user program must not overwrite bits that are not used.
4-24
State C7-613
Screen level
Screen level in input mode with cursor
Screen level in input mode with K-keys
Standard/special screen
Standard/special screen in input mode
with cursor
Standard/special screen in input mode
with K-keys
Message level
Output of a fault message
t
Byte 0
4
3
2
1
0
7
C
SHIFT
TER
right
F3
F2
F1
K10
K9
K8
Byte 2
Yes
Yes
No
Yes
Yes
No
Yes
Yes
= Key is pressed
Byte 1
6
5
4
3
2
1
EN-
K7
K6
K5
K4
K3
K2
Byte 3
C7-613 Control System
Relay
0
Bit Number
First word
K1
Second wor
A5E00138934-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents