6
6-32
FM 351 Positioning Function Module
EWA 4NEB 720 6001-02
6.5 Programming Example
On the enclosed diskette you will find a programming example with which
you can test the basic functional features of the FM 351. In this chapter we
describe the required surrounding conditions and the controlling elements.
In this example project special machine data is deposited. If you would like
to test the example program in your own installation, enter your special ma-
chine data.
In the project all blocks must be linked which are required for execution of
the task.
Table 6-9 Blocks in the Example Project
Block Name Use
DB1 DB_FM Channel DB
FC0 INC_MOD Incremental mode
FC1 REFPT Set reference point
FC5 SNG_FCT Call single settings
FC6 SNG_COM Call single commands
FC8 DIAG_INF Read diagnostic information
FC9 ACT_DAT Read service or basic operating data
FC10 JOG_MODE Jogging
FC11 REF_MODE Seek reference point
FC12 TG254 Transfer Increment 254
FC13 TG253_5 Transfer Increment 255
FC100 AUFR_TF Call the function
OB1 CYCL_EXC Free PLC cycle
OB82 I/O_FLT1 Diagnostic interrupt
OB100 CRST Restart
Introduction
Parameterization
Blocks
Programming the FM 351