Samples
12-14
FM 452 Electronic Cam Controller
C79000-G7076-C452-04
12.11
Sample Program 5 “MultiModules”
Aim:
This sample contains the same user program as sample program 3 “OneModule”,
however it is used to operate two modules with different cam parameters. The
same copy of the user program is used for both modules. Naturally, each module
has its own set of data blocks.
Requirements:
You have plugged in two FMx52 modules and configured them in HW Config.
You have assigned parameters for both cam controllers as described in the
“Getting Started” primer.
The address of the relevant module has been entered in the block parameter
MOD_ADDR in the channel DBs and diagnostic DBs.
The supplied channel DBs already contain the DB number (3 or 13) of the
corresponding parameter DB in the PARADBNO parameter.
The parameter DBs DBs PARADB and PARADB2 contained in the sample contain
machine and cam data for both modules.
A set of variable tables is also prepared for each module.
Startup:
In the start up OB (OB100), you set the start up flag (Step 0) for the user program
in both instance DBs.
Operation:
The CPU is in the STOP mode. Open VAT1 and VAT11 and transfer their control
values.
Start the CPU (STOP > RUN-P). You can see how the actual positions, the cam
data, and the track signals of both modules change.
Error Evaluation:
As in sample program 4 “Interrupts”, however separately for both modules.
Содержание 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 ...