Advanced Topics - Siemens SIMATIC S7-200 System Manual

Programmable controller
Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

S7-200 Programmable Controller System Manual

Advanced Topics

Understanding the Configuration/Profile Table
The Position Control wizard has been developed to make motion applications easy by
automatically generating the configuration and profile information based upon the answers you
give about your position control system. Configuration/profile table information is provided for
advanced users who want to create their own position control routines.
The configuration/profile table is located in the V memory area of the S7-200. As shown in
Table 9-22, the configuration settings are stored in the following types of information:
The configuration block contains information used to set up the module in preparation for
-
executing motion commands.
The interactive block supports direct setup of motion parameters by the user program.
-
Each profile block describes a predefined move operation to be performed by the Position
-
module. You can configure up 25 profile blocks.
Tip
To create more than 25 motion profiles, you can exchange configuration/profile tables by
changing the value stored in the configuration/profile table pointer.
Table 9-22
Configuration/Profile Table
Offset
Name
Configuration Block
0
MOD_ID
5
CB_LEN
6
IB_LEN
7
PF_LEN
8
STP_LEN
9
STEPS
10
PROFILES
11
Reserved
13
IN_OUT_CFG
294
Function Description
Module identification field
The length of the configuration block in bytes (1 byte)
The length of the interactive block in bytes (1 byte)
The length of a single profile in bytes (1 byte)
The length of a single step in bytes (1 byte)
The number of steps allowed per profile (1 byte)
Number of profiles from 0 to 25 (1 byte)
Set to 0x0000
Specifies the use of
MSB
the module inputs
7
and outputs (1 byte)
P/D
P/D
This bit specifies the use of P0 and P1.
Positive Polarity (POL=0):
0 - - P0 pulses for positive rotation
P1 pulses for negative rotation
1 - - P0 pulses for rotation
P1 controls rotation direction (0 - - positive, 1 - - negative)
Negative Polarity (POL=1):
0 - - P0 pulses for positive rotation
P1 pulses for negative rotation
1 - - P0 pulses for rotation
P1 controls rotation direction (0 - - positive, 1 - - negative)
POL
This bit selects the polarity convention for P0 and P1.
(0 - - positive polarity, 1 - - negative polarity)
STP
This bit controls the active level for the stop input.
RPS
This bit controls the active level for the RPS input.
LMT- -
This bit controls the active level for the negative travel limit input.
LMT+
This bit controls the active level for the positive travel limit input
0 - - Active high
1 - - Active low
6
5
4
3
2
POL
0
0
STP
RPS
Type
- -- -
- -- -
- -- -
- -- -
- -- -
- -- -
- -- -
- -- -
- -- -
LSB
1
0
LMT- -
LMT+

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents