6-5
FM 453 Servo Drive / Step Drive Positioning Module
C79000-G7076-C453-01
The following table describes the parameters of this FC.
Name
Data
Type
P
Type
Meaning
DB_NO
WORD
I
Data block number
CH_NO
BYTE
I
Number of axis:
0
–
Only one channel on the module
1
–
First channel on the module
2
–
Second channel on the module
3
–
Third channel on the module
4...255 –
Not valid
LADDR
INT
I
Logical base address of module, transfer entry from
HW-KONFIG
Parameter types: I = input parameter
This function works together with a user DB. The structure of the user DB
can be found in the library FMSTSVLI in data type UDT 1. You need one
user DB for each channel which contains entries for addressing the FM 453
and the data for the individual functions of the FM 453. The DB number is
passed when you call the FC with the DB_NO parameter.
Errors which occur are indicated in the binary result (BIE = 0).
Possible errors are:
Unknown channel number CH_NO; the user DB is not initialized.
An example call is shown below for FC INIT_DB
.
STL
Explanation
VAR_TEMP
MODUL_ADR
: INT;
END_VAR
...
L
512;
T
MODUL_ADR;
CALL
INIT_DB(
DB_NO
:= W#16#1,
CH_NO
:= B#16#1,
LADDR
:= MODUL_ADR);
UN
BIE;
S
FEHLER_INITIALISIERUNG;
...
// Module address
// Enter module address
// Module address
// DB number
// Only one channel on the module
// Module address
// Binary result
// Error on initialization
Description of
Parameters
Principle of
Operation
Error Evaluation
Example Call
Programming the FM 453
Summary of Contents for SIMATIC FM 453
Page 6: ...vi FM 453 Servo Drive Step Drive Positioning Module C79000 G7076 C453 01 Preface ...
Page 14: ...xiv FM 453 Servo Drive Step Drive Positioning Module C79000 G7076 C453 01 Table of Contents ...
Page 378: ...Index 6 FM 453 Servo Drive Step Drive Positioning Module C79000 G7076 C453 01 Index ...