Machine Data and Cam Data
8-4
FM 452 Electronic Cam Controller
C79000-G7076-C452-04
Writing Cam Data
With the cam data, you specify the type and action of the cams and their
assignment to the tracks.
Cam data are located in the parameter DB from address 108.0 onwards. They are
grouped in packages each with 16 cams.
Cam data are active immediately after writing.
To write cam data without the parameter assignment user interface, follow the
steps outlined below:
•
Enter the new values in the parameter DB.
•
Download the parameter DB to the CPU.
•
Set the trigger bits in the channel DB (CAM1WR_EN...CAM8WR_EN)
•
Call the FC CAM_CTRL function in the cyclic user program.
Reading Cam Data
To read the current cam data from the module, follow the steps outlined below:
•
Set the following trigger bit in the channel DB:
– Read cam data (CAM1RD_EN ... CAM8RD_EN)
•
Call the FC CAM_CTRL function in the cyclic user program.
This writes the current cam data to the parameter DB on the CPU.
Excerpt from the Channel DB
Address
Name
Type
Initial
Value
Comment
35.3
CAM1WR_EN
BOOL
FALSE
1 = Write cam data 1 (cams 0 to 15)
35.4
CAM2WR_EN
BOOL
FALSE
1 = Write cam data 2 (cams 16 to 31)
35.5
CAM3WR_EN
BOOL
FALSE
1 = Write cam data 3 (cams 32 to 47)
35.6
CAM4WR_EN
BOOL
FALSE
1 = Write cam data 4 (cams 48 to 63)
35.7
CAM5WR_EN
BOOL
FALSE
1 = Write cam data 5 (cams 64 to 79)
36.0
CAM6WR_EN
BOOL
FALSE
1 = Write cam data 6 (cams 80 to 95)
36.1
CAM7WR_EN
BOOL
FALSE
1 = Write cam data 7 (cams 96 to 111)
36.2
CAM8WR_EN
BOOL
FALSE
1 = Write cam data 8 (cams 112 to 127)
37.2
CAM1RD_EN
BOOL
FALSE
1 = Read cam data 1 (cams 0 to 15)
37.3
CAM2RD_EN
BOOL
FALSE
1 = Read cam data 2 (cams 16 to 31)
37.4
CAM3RD_EN
BOOL
FALSE
1 = Read cam data 3 (cams 32 to 47)
37.5
CAM4RD_EN
BOOL
FALSE
1 = Read cam data 4 (cams 48 to 63)
37.6
CAM5RD_EN
BOOL
FALSE
1 = Read cam data 5 (cams 64 to 79)
37.7
CAM6RD_EN
BOOL
FALSE
1 = Read cam data 6 (cams 80 to 95)
Summary of Contents for SIMATIC FM 452
Page 8: ...Contents viii FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Page 14: ...Product Overview 1 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Page 28: ...Installing and Removing the FM 452 3 2 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Page 38: ...Installing the Software 5 2 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Page 62: ...Programming the FM 452 6 24 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Page 68: ...Putting the FM 452 into Operation 7 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Page 130: ...Settings 9 32 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Page 140: ...Encoders 10 10 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Page 146: ...Diagnostics 11 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Page 162: ...Samples 12 16 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Page 168: ...Technical Specifications A 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Page 174: ...Connection Diagrams B 6 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...
Page 200: ...Data Blocks Error Lists C 26 FM 452 Electronic Cam Controller C79000 G7076 C452 04 ...