EasyManua.ls Logo

Siemens SIMATIC FM 351 - Entries in the Channel DB

Siemens SIMATIC FM 351
170 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6
6-2
FM 351 Positioning Function Module
EWA 4NEB 720 6001-02
6.1 Principles of Programming an FM 351
The following requirements must be fulfilled if you want to control the
FM 351 from your user program:
Your S7-300 system must be configured.
STEP 7 from Version 2.0 must be installed on a computer.
The computer must be connected to the CPU on the S7-300.
Your FM 351 must be parameterized. You have created the following data
in the parameterization interface:
Machine data
Incremental dimensions
The channel DBs are required for the program sequence and must there-
fore be present in the CPU.
The relevant channel DB must be correctly assigned with data before
each function is called. An example of this is given in Chapter 6.3.
Prepare the channel DB for operation with the FM 351.
When working with the FM 351 you must enter the module allocation in the
channel DBs. You achieve this with the following entries:
Table 6-1 Entries in the Channel DB
Entries in the Channel
DB
Description
MOD_ADR Here enter in hexadecimal notation the module address
which was displayed in the configuration interface in the
line for the order number.
CH_ADR The channel addresses are as follows:
Channel 1: MOD_ADR 8 (in hexadecimal nota-
tion)
Channel 2: (MOD_ADR + 8) 8 (in hexadecimal
notation)
DS_OFFS The data record offset is
for Channel 1 always “0” (in hexadecimal format)
for Channel 2 always “40” (in hexadecimal format)
Requirements for
Programming
Preparing the
Channel DB
Programming the FM 351

Table of Contents

Other manuals for Siemens SIMATIC FM 351

Related product manuals