Samples
12-7
FM 452 Electronic Cam Controller
C79000-G7076-C452-04
12.8
Sample Program 2 “Commission”
Aim:
In this sample, you start up a cam controller without using the parameter
assignment user interface. You control and monitor using variable tables (VATs).
Requirements:
You have assigned parameters for the cam controller as described in the “Getting
Started” primer.
The address of your module has been entered in the block parameter MOD_ADDR
in the channel DB and diagnostic DB.
The supplied channel DB already contains the DB number (3) of the parameter DB
in the PARADBNO parameter.
The PARADB contained in the sample already has machine and cam data.
Startup:
In the startup OB (OB100), call FC CAM_INIT to initialize the channel DB. You
then set the trigger bits for all jobs and all control signals that you require after the
module starts.
Cyclic Operation:
Open the two variable tables (VAT1 and VAT2), establish the connection to the
configured CPU and monitor the variables.
In VAT1, you can see the changes in the actual position and the track signals. The
module is in operation.
In VAT2, you can see the most important entries of the diagnostic buffer of the
module. The meaning of the error classes and error numbers is described in the
manual in Appendix C.4, pageC-15.
Change the machine and cam data in DB PARADB, download the DB to the CPU
and activate the control values in VAT1. The new data are written to the module
and activated. If the data contain errors, the error is indicated in VAT2. The
machine and cam data are described in the manual in Chapter 8, Page 8-2
onwards.
Содержание SIMATIC FM 452
Страница 8: ...Contents viii FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 14: ...Product Overview 1 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 28: ...Installing and Removing the FM 452 3 2 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 36: ...Wiring the FM 452 Electronic Cam Controller 4 8 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 38: ...Installing the Software 5 2 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 62: ...Programming the FM 452 6 24 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 68: ...Putting the FM 452 into Operation 7 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 130: ...Settings 9 32 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 140: ...Encoders 10 10 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 146: ...Diagnostics 11 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 162: ...Samples 12 16 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 168: ...Technical Specifications A 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 174: ...Connection Diagrams B 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Страница 200: ...Data Blocks Error Lists C 26 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...