Siemens SIMATIC S7-300 Manual page 87

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

Advertisement

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.
What does the user have to do?
User program
Acc. to job no.
4.
Evaluate status
3.
e.g. write job possible
Set mode and correspond-
ing control signals
1.
Evaluate mode and corre-
sponding checkback signals
2.
Enter system data
1) Before the appropriate write job no. is set in the user DB, the system data to be written
must be entered.
Error evaluation
Errors which occur are indicated in the binary result (BIE = 0).
Possible errors are:
FM 354 Servo Drive Positioning Module
User DB
Write job no.
Status of FC 2
Read job no.
Status of FC 3
Control signals
Checkback signals
1)
System data –
data/values for
write jobs
System data –
data/values
returned by the
FM 354
Unknown write job (see JOB_WR.UNKNOWN)
Data transfer error during communication with SFC 58 "WR_REC". The
error is returned in the output parameter RET_VAL (see reference manual
System Software for S7-300/400; System and Standard Functions).
The transferred data are verified and interpreted by the module. If a data
error occurs, CHECKBACK_SIGNALS.DATA_ERR in the user DB
structure is set to "1". Further information on data errors can be found in
the parameterization tool in the menu Test Alarms and in Section 11.
Programming the FM 354
What is done by the
FC 2?
Scan/clear
Set/clear
"edge generation"
of R+, R–, ST, de-
pending on mode
Transfer to module
Transfer from FM
Transfer system
data to FM accor-
ding to job no.
FM 354
6-7

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents