
Counting IP 240
Table 8-1. Parameters for Configuring FB 171
Para-
Name meter Data Description
type
BGAD D KF Module starting address
KANR D KF Channel number
DBNR D KF Data block number
DIG D KH Assignment of digital output D1
PRA D KM Assignment of process interrupt
EXT D KH Control of count enabling
PAFE Q BY Error flag byte
BER
* D KF Address space (normal and extended I/O areas)
ABIT
** D KY Evaluation of the signal transition for interrupt processing with
I/O byte 0.
Interrupt bit assigned in I/O byte 0.
* not for FB 171 for the S5-115U
** not for FB 171 for the S5-115U and S5-135U
Parameter assignments
BGAD: KF 128-240 Starting address of module in the I/O area, (P area) divisible by 16
0-240 Starting address of module in the extended I/O area (Q area), divisible
by 16
KANR: KF 1 Channel 1
2 Channel 2
DBNR: KF 3-255 Number of the data block created
DIG : KH 0000 -0001 Assignment of digital output D1
Bit 0=1 Output D1 is set when reference bit REF1 goes to ”1” and reset
on a positive GATE signal edge.
Bit 0=0 Output D1 is not set when reference bit REF1 goes to ”1”.
PRA : KM 0000 0000 Assignment of process interrupts
- Bit 0=1 An interrupt is generated when reference bit REF1 goes to ”1”
00001111 (count has reached ”0”).
Bit 0=0 No interrupt is generated when reference bit REF1
goes to ”1”.
Bit 1=1 An interrupt is generated when status bit UEBL goes to ”1”
(actual value out of range).
Bit 1=0 No interrupt is generated when status bit UEBL goes to ”1”.
Bit 2=1 An interrupt is generated when reference bit REF2 goes to ”1”
(final value stored).
Bit 2=0 No interrupt is generated when reference bit REF2
goes to ”1”.
Bit 3=1 An interrupt is generated when status bit UEBS goes to ”1”
(final value overwritten).
Bit 3=0 No interrupt is generated when status bit UEBS goes to ”1”.
8-8
EWA 4NEB 811 6120-02a
Comentarios a estos manuales