Professional Documents
Culture Documents
Slide 1
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
Tutorial for Configuring the EM253 Position Module
Slide 2
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
Launch the Position Control Wizard
The following slides take you through each EM253 wizard screen, explaining all the
input parameters, their meaning, and the significance of each one.
Slide 3
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 1: System Settings
Slide 4
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 1: System Settings
Manually setting the Intelligent Module Rack Position (in offline configurations):
Example: Digital 1 Analog st
2nd
CPU I/O EM253 I/O EM253
Physical Position: - 0 1 2 3
Intelligent Module Number: - - 1 - 3
CPU Digital EM253 Analog EM253 Intelligent Modules include: EM 241, EM 253 and EM277
I/O I/O
Slide 5
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 1: System Settings
The measurement system, Engineering Units or Number of Pulses, selected on this screen is
used throughout the wizard configuration.
Specifying units is convenient because the wizard handles all conversions for the user.
Slide 6
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 1: System Settings
EM253
LED’s:
STP RPS LIM - LIM +
Activation
Level
Settings
Inputs:
STP RPS LMT - LMT +
Module Reference
Settings:
High - a logic 1 will be read when current is flowing in the input.
Low - a logic 1 will be read when there is no current flow in the input.
A logic 1 level is always interpreted as meaning the limit has been reached. The module LED’s
will be ON if there is current flow to the corresponding input, regardless of the active level
configured.
Slide 7
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 1: System Settings
Selection Range:
0.20 – 12.80 millisecond
‘None’ is also an option
Input Filter Time is delay time. The input must remain at the new state for the
duration of the delay time in order to be accepted as valid.
Purpose: The filter rejects noise impulses and forces input lines to stabilize before
the data is accepted.
Slide 8
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 1: System Settings
Linear Rotary
Left to right CW
Positive
Direction
Slide 9
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 2: Machine Data
Decelerated Stop.
Immediate Stop.
No action. (Ignore input)
Choices: Descriptions:
Decelerated Stop : decelerates to a stop and indicates LIMIT reached (LIM activated).
Immediate Stop : stops by terminating pulses and indicates LIMIT reached (LIM activated).
No Action : ignores input condition.
Slide 10
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 2: Machine Data
Slide 11
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 2: Machine Data
Start-Stop Speed (SS_SPEED) is the guaranteed speed at which motor can start and stop. It
is the speed plus the application’s ‘load’ factored in.
SS_SPEED value must be greater than the minimum speed displayed from your specification
of
MAX_SPEED. Click for More Details
The SS_SPEED is a mandatory setting.
Slide 12
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 2: Machine Data
Jog Commands are enabled from (1) the Control Panel or (2) an EM253 pre-defined profile
or (3) a Micro/WIN Motion instruction (these are described in more detail in later slides ).
JOG_INCREMENT is the distance you want the tool to move with each JOG Command.
JOG_SPEED is the maximum speed that can be obtained while the JOG command remains
active. When the JOG command is de-activated, the EM253 automatically executes a command
that causes the tool to decelerate until it reaches STOP.
Slide 13
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 2: Machine Data
Slide 14
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 2: Machine Data
Slide 16
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 3: Setting RPS Sequence
Reference Point
The Reference Point (RP) is only for applications using Absolute moves (moves that are
relative to a specified RP)
If you select not to use the Reference Point, the wizard dialogs for setting RP will be skipped.
In a subsequent wizard screen, the user will select a ‘Mode’ for the tool movements.
Unlike all other modes, the Absolute ‘Mode’ is based on a Reference Point setting.
Note: ‘Homing sequence’ is a term often used interchangeably with Reference Point.
Slide 17
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 3: Setting RPS Sequence
Note: This is a working example of how a RP Seek would work in an application. As described on following slides, this is only one of many RP
seek sequences available; the different RP seek sequences are selected depending on the specific application
Slide 18
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 3: Setting RPS Sequence
- LMT + LMT
RP Offset
Zero Position RP
The EM253 uses pre-defined searches to locate the tool to a known position in the
workspace.
The tool is located according to a RP Seek Sequence that is selected by the user (the PLC
programmer).
The wizard allows the user to select the Seek Sequence that will fit best their application, and it
enhances the optimization of the user’s system.
Click for More Details
Slide 19
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 3: Setting RPS Sequence
RP_FAST
Speed
RP_SLOW
RP_SEEK_DIR
Direction
RP_APPR_DIR
Advanced RP Options
Workspace
- LMT + LMT
RP Offset
Zero Position RP
RP Offset (RP_OFFSET) is at a
fixed, constant location, at an
exact distance from the zero
position.
Note: When appropriately used, Backlash compensation allows the use of a lower cost equipment (such as worm gears).
Slide 21
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 3: Setting RPS Sequence
Note: There are 4 possible Reference Point (RP) definition. With RP_SEEK_DIR and RP_APPR_DIR settings, there are 16 different sequences.
Slide 22
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 4: Profile Definitions
Speed
with a tool’s movement. acceleration & deceleration times.
A profile is shown
graphically as a function of Distance / Number of Pulses
One ‘Step’
speed and distance (see the
diagram)
Note: The programmer defines number of profiles for the project on this screen. Parameters for each profile are specified on a subsequent screen.
Slide 23
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 4: Profile Definitions
-or-
Press ‘Suggest
Address’ button and
Micro/WIN inserts the
start address of an
unused, available area
Slide 24
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 4: Profile Definitions
These are not the only profiles allowed. There are many other combinations.
Slide 25
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 4: Profile Definitions
Desired ending
position from the Desired ending
0 (Zero Point) Zero Point. Zero Starting position from the
Point Point Starting Point.
Absolute Position Relative Position
Controlled by your program until another Target Speed RPS signals Stop
command (such as ‘Abort’) is issued
2. Input parameters to
define the step:
(a.) Target Speed
4. Press to define
another new step in
(b.) Ending Position
the current profile.
6. Repeat entire
You can assign a name process for each new
to each profile. profile definition
(max. 25 profiles)
Note: Based on the programmer inputs for ‘Target Speed’ and ‘Ending Position’ for defining the step, the resulting, calculated units of
measurement will be displayed (as read only field) beneath the input parameters.
Slide 27
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 5: Wizard Results
Slide 28
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 5: Wizard Results
Slide 29
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 5: Wizard Results
40-BYTES FOR
Each EM253 configuration created will place
PROFILE X
a set of instructions (one for ea. module in
(MAX: X = 25)
your rack). For example:
EM253 configuration 1 = POS0_ …
Multiple EM253 configurations are possible. EM253 configuration 2 = POS1_ …
Each configuration will have it’s own set of EM253 configuration 3 = POS2_ …
DB values. Etc.
Slide 30
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 5: Wizard Results
Instruction Descriptions (1 / 3)
POSx_CTRL POSx_MAN GOTO POSx_RUN
Control Manual Mode Run Profile
Slide 31
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 5: Wizard Results
Instruction Descriptions (2 / 3)
POSx_RSEEK POSx_LDOFF POSx_LDPOS
Seek Ref Pt Position Load Reference Point Load Position
Offset
Slide 32
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 5: Wizard Results
Instruction Descriptions (3 / 3)
POSx_SRATE POSx_DIS POSx_CLR POSx_CFG
Set Rate Turns DIS output Pulse Reload
of EM On or Off CLR Output Configuration
Slide 33
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 6: Control Panel
‘Operation’ tab
Select Module
Module Status
Command
Manual Profile
Operation Status
Slide 35
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 6: Control Panel
EM253
Step 3
Step 2
Step 4
Step 1
Profile Module
Examine the Status Status
individual
profiles.
Slide 36
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 6: Control Panel
Load Reference Point Offset Reload Current Position Activate/Deactivate DIS output
(1) Use Manual controls to place the (1) Type in the position to set, and (2) Click Execute to activate the DIS
tool at a new Zero Position. (2) Click press Execute to initiate the move. output.
Execute to save this as the
RP_OFFSET .
Pulse the CLR output Teach a motion Profile Load Module Configuration
Click Execute to pulse the CLR (1) After setting profile number and Loads a new configuration by
output. step, (2) use Jog buttons to position commanding the EM module to read
the tool, (3) then press Teach button the configuration block from the V
to save it. memory.
Move to An Absolute Position Move by a Relative Amount Reset the Command Interface
Moves to a specified position at a Move a specified distance from the Clears the command byte for the
target speed. Before using this current position at a target speed Position module
command, you must have already (Positive or Negative distance). and sets the Done bit.
established the zero position.
Slide 37
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 6: Control Panel
Manual Operation
This portion of the screen changes depending on what ‘Module Command is selected.
Slide 38
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 6: Control Panel
Determines
whether screen
fields can be
Edited or are
Read-only
Reference Application
Point Parameters
Settings
If pressed,
NOTE:
causes the
Upon exit of the
Control Panel, the screen values to
user is prompted be written to the
about whether PLC data block.
changes should be
permanently written
to the EM253
configuration.
Slide 39
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 6: Control Panel
Whenever
Error(s) occur,
the Diagnostics
Module Tab flashes:
Information “New Error In
Module”
This Error
Displays information indicator is then
about EM253 such visible from any
as: screen in the
Control Panel.
- Position of EM in
I/O Chain
All Error codes
- Module Type Are found in
- Firmware Version The S7-200
Systems
- Command Byte Manual.
- Error Codes
Slide 40
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 7: EM253 Configuration FAQ’s
QUESTION: Can the PLC programmer program the EM253 without using the EM253 wizard?
ANSWER: Yes, although this is not recommended because of the number of required data fields.
QUESTION: If user has selected engineering units, can the user change to different engineering units or to
pulses/revolutions later in the configuration?
ANSWER: Yes, although no conversion will take place. However, on a re-edit of a configuration, the user cannot
change between engineering units and pulses.
QUESTION: If user has more than one EM253 module, can the wizard be run for each module?
ANSWER: Yes. The user can run the wizard multiple times as long as sufficient memory is available. The
programmer must set the start addresses so that multiple EM253 configurations do not overwrite one another.
QUESTION: A user has two EM253 modules and the user needs to copy the first configuration in order to
make minor modification for the second EM253. How can the configuration be copied?
ANSWER: When existing configurations are present, the wizard can move a configuration to another slot. No copy
is provided.
QUESTION: Can a PLC use the on-board PTO/PWM and the EM253 at the same time?
ANSWER: Yes. The wizard is run twice (once for the PLC’s onboard PTO and once for EM253).
QUESTION: Can the Accel. and/or Decel. Times be changed ‘on the fly’? How?
ANSWER: Yes. From the EM523 Control Panel, or by using the POSx_SRATE motion instruction.
Slide 41
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
PART 7: EM253 Configuration FAQ’s
QUESTION: Where can I find out more details and information about configuring the EM253 ?
ANSWER: The new S7-200 Systems Manual (Chapter 9) covers the EM253 Position Module
(Manual Order No.: 6ES7 298--8FA22--8BH0)
Slide 42
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
The End.
The End.
Slide 43
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
Use the Motor’s Data Sheet – More Details
Selection of the MAX_SPEED parameters is not always easy. Users typically do not know what the
‘Torque for the application’ is going to be.
If you have no idea, then guess by picking a value near on the waveform’s ‘knee’, and then adjust it later.
“MOST IMPORTANT” is shown in bold on the slides that discuss (1) Motor speeds and (2)
Acceleration/Deceleration times.
Why? These parameters are most critical in getting the EM253 set up to work properly.
In general, if a user can set these parameters with reasonable data for his/her application, then the
EM253 will basically work with the application.
All other parameters are also important in getting a system to work optimally. However, in the initial start
up phase, the parameters (marked as ‘MOST IMPORTANT’) are most critical.
If customer has a motor whose data sheet parameters are not sufficient for the what the application
needs, then the customer probably needs a bigger motor.
If the “start-speed” is given in ‘steps/sec’, and user is using units other than pulses/sec, then user will
need to convert from pulses/sec to units, such as inches.
Example:
If 1000 pulses = 1 inch
Then 80 step/second will be 80/1000 inches/second
Return To Slides
Slide 44
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
Set Motor Speeds – More Details
When you set MAX value, the EM253 selects the range for you as seen in the MIN_SPEED, which
is a read-only field. It means that the pulse rate will not go any lower than the calculated
MIN_SPEED.
SS_SPEED cannot be lower than MIN_SPEED, and this is enforced by a range check performed
by the wizard.
Slide 45
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
Acceleration & Deceleration Times – More Details
Return To Slides
Slide 46
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002
How the RP (Reference Point) is used – More Details
Absolute Move - A position move relative from a specified reference point or "zero position."
Relative Move - (incremental move) where the position move is relative from the current position. The two settings
(INITIAL & APPROACH) can be set opposite. For instance, ‘initial’ direction can be opposite the ‘approach’
direction.
Relative Move - (incremental move) where the position move is relative from the current position.
NOTE: The slides show ‘linear’ motion (‘rotary’ motion is also possible with EM253)
Return To Slides
Slide 49
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard March 2002