![Siemens SIMATIC S7-300 FM 350-1 Скачать руководство пользователя страница 52](http://html.mh-extra.com/html/siemens/simatic-s7-300-fm-350-1/simatic-s7-300-fm-350-1_manual_1265384052.webp)
Programming the FM 350-1
5.5 Application example
FM 350-1 Counter module
52
Manual, 05/2011, A5E03648639-01
Description of the Procedure
The load value of the channel is transferred to the FM 350-1 by means of the function call.
When calling the CNT_CTL1 function, select either the L_DIRECT parameter or the
L_PREPAR parameter.
Parameter L_DIRECT defines that the load value is transferred directly and in preparation to
the counter (you set the trigger bit L_DIRECT=1 in your user program).
Parameter L_PREPAR defines that the load value is only loaded in preparation (you have to
set the trigger bit L_PREPAR=1 in your user program).
The load value loaded in preparation is then applied at the next cause that sets the counter.
The FC must therefore be called until the FC has reset the selected trigger bit (L_DIRECT or
L_PREPAR). The in/out parameter remains set during the transfer. The CNT_CTL1 function
does not issue an error message with regard to the exchange of data with the FM.
If the trigger bit you set has been reset by the CNT_CTL1 function, the FM 350-1 has applied
the load value. The read load value stored in DB 1 is updated by the CNT_CTL1 function
(applicable only if you are working without the latch setting).
It takes at least four FC calls to transfer the load value.
Содержание SIMATIC S7-300 FM 350-1
Страница 8: ...Table of contents FM 350 1 Counter module 8 Manual 05 2011 A5E03648639 01 ...
Страница 168: ...Encoder signals and their evaluation 8 4 Signal evaluation FM 350 1 Counter module 168 Manual 05 2011 A5E03648639 01 ...
Страница 186: ...Technical data 11 2 Technical data FM 350 1 Counter module 186 Manual 05 2011 A5E03648639 01 ...
Страница 188: ...Replacement parts FM 350 1 Counter module 188 Manual 05 2011 A5E03648639 01 ...
Страница 190: ...References FM 350 1 Counter module 190 Manual 05 2011 A5E03648639 01 ...
Страница 194: ...Glossary FM 350 1 Counter module 194 Manual 05 2011 A5E03648639 01 ...