![VIPA SSM-BG41 Manual Download Page 65](http://html1.mh-extra.com/html/vipa/ssm-bg41/ssm-bg41_manual_1029239065.webp)
Manual BG41/BG42/BG43
Interface modules
Rev. 99/49
3-37
3.2.8.6 Application of counter modules with VIPA data handling blocks
Possible data handling blocks
Initialization FB100, FB101, FB12
Cycle
FB10, FB11
3.2.8.7 General
The interfaces of the building blocks BG41, BG42 and BG43 can be used as counters. For this the
procedure "ZÄHLER" must be selected with the FB 100 or the FB101. Note, that a counter module
is connected to the corresponding interface.
With the counter module impulses can be counted or frequencies or pulse widths can be measured.
Connect the input pulse at the 25-pole sub D socket. Carry or Borrow are available as outputs for
each counter.
The module contains as a counter block the triple counter TMCT 12316 from Texas-Instruments.
For each of the three counters, 8 different modes can be set independently from each other on a 16-
bit register.
Counter 1 and Counter 2 can be cascaded to a 32-bit counter.
3.2.8.8 Programming the counter modules
If the counter module is to be used for one or more interfaces of the building blocks BG41, BG42 or
BG43 the counter procedure is to be set with FB 100 or FB 101.
By selecting the procedure "Counter", the following parameters are passed to the building block:
•
=
Building block’s addresses
•
=
Channel number on which the counter module is to be operated (depending on building
block 1, 2 or 3).
•
=
Code for the counter procedure (Code: 05)
Together with the FB100 or the FB101, FB12 is to be loaded into the start OB. The counter mode is
selected with the FB12.
If the procedure driver has been activated for the counter module, further parameters have to be
transferred to the module.
On transferring the parameters it is determined how the counter module is to be operated and which
information you wish to receive or transfer to it:
You can
•
=
read the counter status
•
=
read the counter reading
•
=
give the counter a default value
•
=
allow the counter to operate in a certain mode
The parameters can be transferred by means of VIPA data handling blocks (HTB) or directly
transferred by the use of commands.
Summary of Contents for SSM-BG41
Page 2: ...Lerrzeichen...
Page 8: ...Contents Manual BG41 BG42 BG43 iv Rev 99 49...
Page 10: ......
Page 16: ......
Page 26: ...Firmware s memory distribution Manual BG41 BG42 BG43 2 10 Rev 99 49...
Page 28: ......
Page 53: ...Manual BG41 BG42 BG43 Interface modules Rev 99 49 3 25 3 2 7 2 Data flow Fig 3 26 Data flow...
Page 114: ...Functional description and allocation of terminal pins Manual BG41 BG42 BG43 3 86 Rev 99 49...
Page 116: ......
Page 215: ...Manual BG41 BG42 BG43 Software Rev 99 49 4 99 Month 06h Year 95h Weekday Tuesday 02h...
Page 222: ...Application of interfaces without data handling blocks Manual BG41 BG42 BG43 4 106 Rev 99 49...
Page 224: ......
Page 258: ...Structure guidelines Manual BG41 BG42 BG43 5 34 Rev 99 49...
Page 260: ......
Page 274: ...Overview cycle load Manual BG41 BG42 BG43 6 14 Rev 99 49...
Page 275: ...Appendix A List of figures A 1 B Index of tables B 1 C Index C 1...
Page 276: ......
Page 280: ...List of figures Manual BG41 BG42 BG43 A 4 Rev 99 49...