Technical data

Technology DBs
CPU 317T: Technology Functions
A5E00251798-03
7-23
7.7 "Cam" - Technology DB
Valid for firmware version V3.1.x of the integrated technology
The DB is described in the integrated technology section and is read-only in the
STEP 7 user program.
The DB is non-retentive, irrespective of the retentivity setting of the CPU.
Variable ErrorID
Shows the ErrorID of the last error or warning detected at the cam.
An error message can be acknowledged by calling FB 402 "MC_RESET"
(with Axis = number of the technology DB).
Variable ErrorBuffer[0..2]
Buffer for the first three errors and warnings. The first error is written to ARRAY
element 0, the second to ARRAY element 1, etc.
This content of the buffer can be cleared by calling FB 402 "MC_RESET"
(with Axis = number of the technology DB).
Variable State
Value Function Comments
0 OFF The current switching state of the cam is "OFF".
1 ON The current switching state of the cam is "ON".
Variable CamType
Value Function Comments
0 Positioning cam The cam operates position-based.
1 Time-based cam The cam operates time-based.
2 Switching cam The cam operates in switching mode.
Variable Mode
Value Function Comments
1 locked The current cam operating state is "Cam disabled".
2 normal The current cam operating state is "Cam enabled (output not inverted)".
3 inverse The current cam operating state is "Cam enabled (output inverted)".
4 always ON The current cam operating state is "Cam is permanently ON".