Specifications

Direct Data Interchange with the IP 240 IP 240
11.4.2 Counting Mode
Read actual value, final value and status area
The IP 240 makes the actual value, the final value and the status area available in the transfer
buffer when you transfer job number 1B
H
(channel 1) or 2B
H
(channel 2) to the job request
register.
Table 11-8. Contents of the Transfer Buffer on Reading Actual Value,
Final Value and Status Area , Counting Mode
0 . . . 0 0 . . . 0
00000000
Status bits for actual value
SG=1 The actual value is negative
SG=0 The actual value is positive
Actual value in binary
0 . . . 0 0 . . . 0
0 . . . 0 0 . . . 0
10
3
10
2
10
1
10
0
002
13
2
12
2
11
2
10
2
9
2
8
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
Bit
76543210
Description
0
1
2
3
8
9
10
11
4
5
6
7
Offset
transfer
buffer
12
13
14
Actual value in BCD
000000UEBL SG
0 0 AKTV TRIG 0 0 0 0
0DA1000000
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
002
13
2
12
2
11
2
10
2
9
2
8
00000UEBS UEBE SGF
000000REF2 REF1
Final value
of the last count
Status bits for final value
Status bits
Description of the status bits
DA1 =1 Digital output D1 is set
=0 Digital output D1 is not set
AKTV =1 Counting was enabled
=0 Counting was not enabled
TRIG =1 Counting has begun (first counting pulse acquired)
REF1 =1 Actual value has reached ”0”
=0 Actual value is not yet ”0”
11-14
EWA 4NEB 811 6120-02a