Siemens SIMATIC S7-300 Manual page 85

Fm 354 servo drive positioning module
Hide thumbs Also See for SIMATIC S7-300:
Table of Contents

Advertisement

Description of
The following table describes the parameters of this FC.
parameters
DB_NO
CH_NO
LADDR
Parameter types: I = input parameter
Principle of
This function works together with a user DB. The structure of the user DB
operation
can be found in the library FMSTSVLI in data type UDT 1. You need a user
DB which contains entries for addressing the FM 354 and the data for the
individual functions of the FM 354. The DB number is passed when you call
the FC with the DB_NO parameter.
Error evaluation
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.
Example call
An example call is shown below for FC INIT_DB
STL
VAR_TEMP
MODUL_ADR
END_VAR
...
L
512;
T
MODUL_ADR;
CALL INIT_DB(
DB_NO
CH_NO
LADDR
UN
BIE;
S
FEHLER_INITIALISIERUNG;
...
FM 354 Servo Drive Positioning Module
Name
Data
P type
type
WORD
I
BYTE
I
INT
I
: INT;
:= W#16#1,
:= B#16#1,
:= MODUL_ADR);
Programming the FM 354
Meaning
Data block number
Number of axis:
0 or 1 permitted, because single–channel module
4...255 –
invalid BIE = 0
Logical base address of module, transfer entry from
HW-CONFIG
.
Explanation
// Module address
// Enter module address
// Module address
// DB number
// Only one channel on the module
// Module address
// Binary result
// Error on initialization
6-5

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents