8
01/2008 Diagnostics operating area
8.6 Interrogating the PLC status
8
© Siemens AG 2008 All rights reserved.
SINUMERIK 840Di sl/840D sl/840D Operating Manual HMI-Advanced (BAD) - 01/2008 Edition 8-421
8.6 Interrogating the PLC status
Function
You can obtain information about the current states of the following
memory locations of the PLC and change them if necessary:
Inputs: Input bit (Ex), input byte (EBx)
Input word (Ewx), input double word (Edx)
Outlets: Output bit (Ax), output byte (Abx)
Output word (Awx), output double word (Adx)
Bit memories: Memory bit (Mx), memory byte (MBx)
Memory word (MWx), memory double word (MDx)
Timers: Time (Tx)
Counters: Counter (Cx)
data: Data block (DBx), data bit (DBxx), data byte (DBBx),
data word (DBWx), data double word (DBDx)
Format: B = binary
H = hexadecimal
D = decimal
G = floating comma (for doublewords)
Operand Example Read Write Format Value Range
Inputs
I 2.0
IB 2
Yes Yes
B
B
H
D
0
0101 1010
5A
90
0-127
Outputs
Q20.1
QB 20
Yes Yes
B
B
H
D
1
1101 0110
D6
214
0-127
Bit memory
M 60.7
MB60
MW 60
Yes Yes
B
B
H
D
1
1101 0110
B8
180
0-255
Timers T20 Yes No
B
H
D
0-31
Counter
instructions
C20 Yes Yes
B
H
D
0-31
DB /
Data byte
DB3.DBB9
Yes Yes
H
D
B
0-255
0-255
A
10
000 0000 0000 1010