included with the plc programming sw no add-on tools to purchase
DESCRIPTION
New in Micro/WIN Version 3.2. EM 253 Position Module Programming Wizard. Generates the PLC code from user’s inputs. Actually makes motion configurations easy! Allows user to complete the entire EM253 motion module setup parameterization in just minutes. - PowerPoint PPT PresentationTRANSCRIPT
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 1March 2002
Included with the PLC Programming SW No add-on tools to purchase Also includes a Control Panel online interface
to optimize and adjust after the wizard configuration has been downloaded
Generates the PLC code from user’s inputs. Actually makes motion configurations easy! Allows user to complete the entire EM253 motion
module setup parameterization in just minutes.New in Micro/WIN Version 3.2
EM 253 Position Module Programming Wizard
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 2March 2002
Tutorial for Configuring the EM253 Position Module
PART 1: System Settings
PART 2: Machine (Drive) Data
PART 3: Setting Reference Point Search (RPS) Sequence
PART 4: Profile Definitions
PART 5: Wizard Results (Data Areas and PLC Code )
PART 6: EM253 Control Panel
PART 7: EM253 Configuration FAQ’s
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 3March 2002
Launch the wizard from the icon in the Tools menu
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.
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 4March 2002
PLC with EM 253 Module
PLC on-board PTO/PWM
Press F1 for help on any Wizard screen.F1
Select the EM 253 Configuration
PART 1: System Settings
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 5March 2002
Manually setting the Intelligent Module Rack Position (in offline configurations):
If connected to online PLC, Press ‘Read Modules’ button to automatically read intelligent module’s rack position.
CPU DigitalI/O
AnalogI/O
EM253EM253
CPUDigital
I/OAnalog
I/O1st
EM2532nd
EM253
- 0 1 2 3
- - 1 - 3
Physical Position:
Example:
Intelligent Module Number:
Intelligent Module Rack Position
Intelligent Modules include: EM 241, EM 253 and EM277
PART 1: System Settings
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 6March 2002
Select a Measurement System
A measurement system isselected by the user, based on the user’s preference.
The measurement system, Engineering Units or Number of Pulses, selected on this screen is used throughout the wizard configuration.
The motor’s Data Sheet specifies the pulses per revolution.
Specifying units is convenient because the wizard handles all conversions for the user.
Engineering Unit Selections: inch foot millimeter centimeter degree radian any user-defined unit
The default ‘units’ are based on the project’s ‘Regional Settings’ from the Micro/WIN Options menu.
PART 1: System Settings
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 7March 2002
Advanced I/O Options (1 of 3)
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.
Settings:
ActivationLevelSettings
EM253
STP RPS LMT - LMT +Inputs:
LED’s:
Module Reference
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.
PART 1: System Settings
STP LIM - LIM + RPS
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 8March 2002
Advanced I/O Options (2 of 3)
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.
Input Filter Time for EM inputs(applies to LMT+, LMT-, STP)
PART 1: System Settings
Filter Time for the RPS input
Selection Range:
0.20 – 12.80 millisecond
‘None’ is also an option
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 9March 2002
Advanced I/O Options (3 of 3)
An estimated 90% of users will use devices with this default setting.
Positive Direction
Linear RotaryLeft to right CW
Right to left CCW
The Pulse Type is determined by the nature of the device.
PART 1: System Settings
Negative Direction
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 10March 2002
Set up how the H/W inputs will Respond
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.
Choices for each response are:
Decelerated Stop. Immediate Stop. No action. (Ignore input)
These settings should not be substituted for an Emergency Stop (E-Stop).
PART 2: Machine Data
Choices: Descriptions:
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 11March 2002
Use the Motor’s Data Sheet
Certain Motor parameters are vital in setting up the next wizard screens. You must gather information from the Motor’s Data Sheet.
PART 2: Machine Data
Motor Speeds:
Typically found as a waveform on the data sheet:
For MAX_SPEED, on the motor’s data sheet, find: (1) Maximum torque (2) Determine the Max. Torque for the application
Pick a range where application will most likely work. This is NOT the same as maximum motor torque.
(3) Speed at which that torque can be achieved (This is the MAX_SPEED to input in wizard)
For SS_SPEED, on the motor’s data sheet, find: (1) Start Speed (also called “Pull-in”) (2) Stop Speed (also called “Pull-out”) SS_SPEED is the minimum of these 2 values.
Typically, a useful SS_SPEED value is 5% to 15% ofthe MAX_SPEED value.
Data Sheet Example:
Max. torque for the ApplicationNOTE:If it’s a guess:-The Curve Knee is good place to start.- Pick from a approx. range and experiment
Max. torque speed
Pull-in:~ 80 Step/sec. (pulses/sec)
NOTICE: As load inertia increases, the curve drops.
Max. torque
Max. torque speedfor theapplication
Click for More Details
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 12March 2002
Set Motor Speeds
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 ofMAX_SPEED.
To achieve maximum resolution at higher speeds, range checking is enforced: the EM253 selects a time-base to work with based on the maximum speed. With this strategy, the EM253 calculates and enforces a minimum speed.
Notes about SS_SPEED:
if too high, motor can ‘stall’or ‘overshoot’
if too low, motor can ‘cog’.
PART 2: Machine Data
The SS_SPEED is a mandatory setting. Click for More Details
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 13March 2002
Set JOG parameters (for manual debugging)
JOG_INCREMENT is the distance you want the tool to move with each JOG Command.
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_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.
PART 2: Machine Data
Achieved by constantly enabling the Jog command
Achieved with a 1-shot Jog instruction - or- with one click on the Jog button
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 14March 2002
PART 2: Machine Data
Set Acceleration & Deceleration Times
Note About Defaults:1 second default should work for most applications. Typically, motors can work with less than 1 second.
MAIN POINT TO REMEMBER:
The motor’s Acceleration & Deceleration times are strictly determined by trial and error.Times set too short can cause the motor to stall.
ACCEL_TIME: Time required for the motor to accelerate from SS_SPEED to MAX_SPEED.DECEL_TIME: Time required for the motor to decelerate from MAX_SPEED to SS_SPEED
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 15March 2002
Acceleration & Deceleration Times
‘THEORETICAL’ vs. ‘PRACTICAL’ Theoretically, the values could be calculated (as on data sheet) ‘Trial and Error’ approach is the efficient way of setting the values.
PART 2: Machine Data
USE TRIAL & ERROR Approximate values should be entered on the wizard once. Specifically, start with a large value in the wizard setting to get the application going. During the start-up phase, adjust the values as needed with the EM253 Control Panel (EM253 Control Panel is explained later). Optimize these settings for the application by gradually reducing the times until the motor starts to stall.
Data Sheets show a (theoretical) example:
Practical Way to input the Values:
Based on the wizard inputs for the times and motor speeds, the EM253 calculates the Accel and Decel rates (number of pulses to accomplish the target speed).
How the values are used by EM253:
Click for More Details
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 16March 2002
Jerk time provides smoother motion control by reducing the “jolt” (rate of change) in acceleration and deceleration parts of the move profile.
Reducing “jerk” improves position tracking performance.
“Jerk” time is also known as “Jolt” or “S-Curve” profiling.
Jerk Time can only be applied to simple 1-step profiles. (Profiles are explained later).
Set ‘Jerk’ Time parameters
PART 2: Machine Data
NOTE: A good first value for JERK_TIME is 40% of ACCEL_TIME.
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 17March 2002
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.
PART 3: Setting RPS Sequence
Reference Point
Note: ‘Homing sequence’ is a term often used interchangeably with Reference Point.
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 18March 2002
Seek RPS Zone to the Right Measure RPS Zone Width Approach RP to the Right 50% of the RPS Zone is in the
Work Zone, RP is in its Middle 42 31
Work Zone
RP Seek Direction LIMITActive
RP Approach Direction RPSActive
Reference Point Seek: A Working Example
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
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 19March 2002
PART 3: Setting RPS Sequence
Wizard settings for RP are used in a ‘Seek Sequence’.
A ‘Seek Sequence’ is executed (is command driven) when a tool abnormally stops or malfunctions (when the exact location of the tool is unknown).
How the RP (Reference Point) is used
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.
Workspace
RP Offset
The tool is present, although it’s location is unknown
- LMT + LMT
Zero Position RP
Click for More Details
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 20March 2002
Reference Point ‘Seek’ Parameters
PART 3: Setting RPS Sequence
RP_SLOW – search slows down as it approaches the target point, and will not miss it (~ SS_SPEED).RP_FAST – search speeds up to expedite the search (typically this will be 2/3 the MAX_SPEED)
RP_SEEK_DIR – direction that the application’s searches generally move in most of the time; this avoids switching directions often, which would ultimately slow down the overall search. RP_APPR_DIR – same direction as the normal work cycle proceeds in; this reduces backlash and provides more accuracy
RP_SEEK_DIR
RP_APPR_DIR
RP_FAST
RP_SLOWSpeed
Direction
Purpose of inputs on this screen:
Click for More Details
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 21March 2002
Backlash compensation would be used when a tool is not moved in the same direction ( not for constant back & forth motion).
PART 3: Setting RPS Sequence
Workspace
- LMT + LMT
RP Offset
Zero Position RP
Advanced RP Options
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).
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 22March 2002
Setting a Reference Point Search (RPS) Sequence
ZP (Zero Pulse) input count is the number of pulses issued after the home search trigger condition is met.
The graphic shown is dependent on your previous wizard inputs:
(a) Seek Sequence
(b) ‘Direction of RP Seek’
(c) RP_APPR_DIR
PART 3: Setting RPS Sequence
MODE 1: The reference point is where the RPS input goes active on the approach from the work zone side.
MODE 2: The reference point is centered within the active region of the RPS input.
MODE 3: The reference point is located outside the active region of the RPS input.
MODE 4: The reference point is located within the active region of the RPS input.
4 possible Seek (Mode) Sequences:
Note: There are 4 possible Reference Point (RP) definition. With RP_SEEK_DIR and RP_APPR_DIR settings, there are 16 different sequences.
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 23March 2002
PART 4: Profile Definitions
A Profile is created from a set of parameters associated with a tool’s movement.
A profile is shown graphically as a function of speed and distance (see the diagram)
Distance / Number of Pulses
Sp
eed
A ‘Step’ is a fixed distance for a tool to be moved, including distance covered during acceleration & deceleration times.
One ‘Step’
You input the number of profiles to be defined for this EM253 project (25 is maximum profiles allowed)
This Q-memory area is used to trigger commands that get executed by the module.
Setting the number of User Profiles
Note: The programmer defines number of profiles for the project on this screen. Parameters for each profile are specified on a subsequent screen.
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 24March 2002
PART 4: Profile Definitions
Start address for the wizard configuration data
You input the starting PLC memory address of where the profile data will be placed into the PLC memory (34 bytes for each profile)
-or-
Press ‘Suggest Address’ button and Micro/WIN inserts the start address of an unused, available area
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 25March 2002
Examples of ‘Workable’ Profiles
PART 4: Profile Definitions
(d.) 4-Step ProfileRefer to the notes in figure (a.)
(a.) 1-Step ProfileThe only thing changing will be Accel. & Decel. rates. At minimum, this profile requires the Wizard profile configuration to set the ‘type’.
(b.) 1-Step Profile
(c.) 4-Step ProfileDifferent colors represent the different steps.
These are not the only profiles allowed. There are many other combinations.
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 26March 2002
PART 4: Profile Definitions
Understanding the profile ‘Mode’ selections
Single-speed Continuous Rotation with Triggered stop.
Target Speed RPS signals Stop
Single-speed Continuous Rotation
Controlled by your program until another command (such as ‘Abort’) is issued
Absolute Position
Desired ending position from the Zero Point.0 (Zero Point)
Two-speed Continuous Rotation
Target Speed with RPS Inactive
Target Speed with RPS Inactive
Relative Position
Desired ending position from the Starting Point.
Starting Point
Zero Point
Click for More Details
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 27March 2002
Create Profile Definition(s)
PART 4: Profile Definitions
5. Repeat 1 – 4 for each step (up to 4 steps) in each profile.
4. Press to define another new step in the current profile.
6. Repeat entire process for each new profile definition (max. 25 profiles)
1. Select a mode for this profile.
2. Input parameters to define the step:(a.) Target Speed (b.) Ending Position
3. Click ‘Plot Step’ button (Step appears in the window).
You can assign a name to each profile.
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.
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 28March 2002
The wizard screen now explains what changes will be made to your Micro/WIN program.
When you complete the wizard by clicking the ‘Finish’ prompt:
(1) the indicated changes are made to your Micro/WIN project.
(2) The instructions are added under the ‘Call Subroutines’ folder of the instruction tree.
(3) A Symbol table containing EM253 project symbols is added to the project
Completing the Wizard Configuration
PART 5: Wizard Results
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 29March 2002
Summary : Your Inputs into Motion Wizard
System Settings
Machine Data
Seek Reference Point Settings
Finish
Profile Definition& Data Areas
PART 5: Wizard Results
Intelligent Module Position in the PLC Rack
Select Measurement System & Engineering Units
Module Response to LIM+/- Switch & Stop Input
Motor Speed (Starting, Maximum, Jog)
Motor Acceleration & Deceleration Times
Reference Point Seek Speed & Direction
Advanced Reference Point settings (Optional button)
Reference Point Search Sequence
Number of Profiles & Address of QB Command Byte V-memory Start Address of Data Block Locations Profile Definitions (Mode and Steps for every profile)
Last Screen shows summary of EM253 project entries
This is a review of the input fields on the wizard screens:
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 30March 2002
POS0_CTRL (SBR1)
POS0_MAN (SBR2)
POS0_RUN (SBR3)
POS0_SRATE (SBR4)
POS0_GOTO (SBR5)
POS0_DIS (SBR6)
POS0_LDOFF (SBR7)
POS0_LDPOS (SBR8)
POS0_RSEEK (SBR9)
POS0_CLR (SBR10)
POS0_CFG (SBR11)
60-BYTES IN DATA BLOCK
(FOR MODULE CONFIGURATION SETTINGS)
40-BYTES FOR PROFILE #1
(OPTIONAL)40-BYTES FOR PROFILE #2
40-BYTES FOR PROFILE X(MAX: X = 25)
Data Block values(V-memory):
SBR’s for Motion Instructions are placed in the Micro/WIN Instruction tree under ‘Call Subroutines’:
Each EM253 configuration created will place a set of instructions (one for ea. module in your rack). For example:EM253 configuration 1 = POS0_ …EM253 configuration 2 = POS1_ …EM253 configuration 3 = POS2_ … Etc.
. . .
Review : What the Motion Wizard Generates
Q-MEMORY BYTE
One Q byte location is set as the EM253
‘Command Control’ Byte:
PART 5: Wizard Results
Multiple EM253 configurations are possible. Each configuration will have it’s own set of DB values.
GLOBAL SYMBOL TABLE CONTAINING THE POSITION MODULE PARAMETERS
A Project Symbol Table containing EM253 Settings:
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 31March 2002
POSx_RUN Run Profile
Commands the Position module to execute the motion operation in a specific profile stored in the configuration/profile table.
Commands the Position Module to go to a desired location.
GOTOPOSx_MAN Manual Mode
Puts the EM253 module into manual mode. This allows the motor to be run at different speeds or to be jogged in a positive or negative direction. You can enable only one of the RUN, JOG_P, or JOG_N inputs at a time.
POSx_CTRL Control
Enables and initializes the Position module. Ensures that your program calls this instruction every scan. Use SM0.0 (Always On) as the input for the EN parameter.
Instruction Descriptions (1 / 3)
PART 5: Wizard Results
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 32March 2002
POSx_LDPOS Load Position
Change the current position value in the Position module to a new value. You can also use this instruction to establish a new zero position for any absolute move command.
POSx_LDOFFLoad Reference Point
Offset
Establishes a new zero position that is at a different location from the reference point position.
POSx_RSEEK Seek Ref Pt Position
Initiates a reference point seek operation, using the search method in the configuration/ profile table.
Instruction Descriptions (2 / 3)
PART 5: Wizard Results
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 33March 2002
Commands the Position module to read the configuration block from the location specified by the configuration/profile table pointer.
POSx_CFGReload
Configuration
Commands the Position module to generate a 50-ms pulse on the CLR output.
POSx_CLR Pulse
CLR Output
The POSx_DIS instruction turns the DIS output of the Position module on or off. This allows you to use the DIS output for disabling or enabling a motor controller.
POSx_DIS Turns DIS output of EM On or Off
POSx_SRATE Set Rate
Commands the Position module to change the acceleration, deceleration, and jerk times.
Instruction Descriptions (3 / 3)
PART 5: Wizard Results
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 34March 2002
EM 253 Control Panel (for start-up & debugging)
Runs independently of the user’s program
Selected as separate icon under Tools
Verifies wiring of EM253 is correct
Verifies EM253 is configured correctly
Allows minor adjustments to be made to the EM253 configuration
Prompts user if adjustments should be made permanent to the EM253 configuration
PLC should be ONLINE and in STOP mode, to perform the commands or change parameter settings.
PART 6: Control Panel
NOTE: An online EM253 module is required to execute the Control Panel.
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 35March 2002
‘Operation’ tab
Profile Status
Module Status
Manual Operation
Select Module
Command
PART 6: Control Panel
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 36March 2002
Profile & Module Status
Profile Status
Module Status
EM253
Step 1
Step 2
Step 3
Step 4
PART 6: Control Panel
Examine the individual profiles.
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 37March 2002
Select a Module Command
List-box of 13 Module Commands
Reload Current Position(1) Type in the position to set, and (2) press Execute to initiate the move.
Run a Motion Profile(1) Type in a profile number, and (2) click Execute. EM253 runs that profile one time (includes all steps).
Each command selection is different:• Necessary fields and buttons are enabled.• Instructions for the selected command are displayed.
Teach a motion Profile (1) After setting profile number and step, (2) use Jog buttons to position the tool, (3) then press Teach button to save it.
Enable Manual OperationUse Manual controls to place the
tool.
Load Reference Point Offset (1) Use Manual controls to place the tool at a new Zero Position. (2) Click Execute to save this as the RP_OFFSET .
Load Module ConfigurationLoads a new configuration by commanding the EM module to read the configuration block from the V
memory.
Pulse the CLR outputClick Execute to pulse the CLR
output.
Seek to a Reference PointClick Execute starts the EM command to search for a Ref. Point using the algorithm configured for the EM253.
Activate/Deactivate DIS outputClick Execute to activate the DIS output.
PART 6: Control Panel
Moves to a specified position at a target speed. Before using this command, you must have already established the zero position.
Move to An Absolute PositionMove a specified distance from thecurrent position at a target speed (Positive or Negative distance).
Move by a Relative AmountClears the command byte for the Position moduleand sets the Done bit.
Reset the Command Interface
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 38March 2002
Manual Operation
Used to toggle the EM253 between Start and Stop
Hold down the Jog buttonto reach JOG_SPEED.Click once on Jog button
for JOG_INCREMENT
Determines whether tool moves backwards or forwards.
Determines how fast the tool will move with manual operations.
Used to reset, and set different values while command is running.
Only possible in STOP mode.
This portion of the screen changes depending on what ‘Module Command is selected.
PART 6: Control Panel
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 39March 2002
‘Configuration’ tab allows real-time user inputs
Reference Point
Settings
Application Parameters
Determineswhether screen fields can beEdited or areRead-only
NOTE:Upon exit of the Control Panel, the user is prompted about whether changes should be permanently written to the EM253 configuration.
If pressed, causes the screen values to be written to the PLC data block.
PART 6: Control Panel
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 40March 2002
‘Diagnostics’ tab has Module Information
Module Information
PART 6: Control Panel
Whenever Error(s) occur, the Diagnostics Tab flashes: “New Error In Module”
This Error indicator is then visible from any screen in the Control Panel.
All Error codesAre found in The S7-200Systems Manual.
Displays information about EM253 such as:
- Position of EM in I/O Chain
- Module Type
- Firmware Version
- Command Byte
- Error Codes
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 41March 2002
QUESTION: If user has already finished configuring the EM253 module with the wizard, how can subsequent changes be made to the configuration?ANSWER: Re-run the wizard, or use the EM253 control panel.
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.
PART 7: EM253 Configuration FAQ’s
EM 253 Configuration FAQ’s (1/2)
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 42March 2002
EM 253 Configuration FAQ’s (2/2)
QUESTION: Does the EM253 support ‘micro-stepping’?ANSWER: Yes, up to the maximum speed of the module (200 KHz). To configure it in the wizard, increase the pulses required for one revolution.
QUESTION: Can each profile have a different mode?ANSWER: Yes.
QUESTION: If I have 2 profiles that need to be run back-to-back, will there be a delay between the 2 profiles?ANSWER: Yes, since it must stop & then start back up; length depends on: (1) whether the profile is ‘buffered’ and (2) PLC scan time.
QUESTION: Is it possible to enter a RP (Ref. Point) without a “home sequence”?ANSWER: Yes. An instruction, POSx_LDPOS, is available for doing this.
QUESTION: Can I synchronize 3 devices in one system (PLC, motion data, position counter) ?ANSWER: Yes. This would be done with the PLC logic (not done automatically with the EM253).
PART 7: EM253 Configuration FAQ’s
QUESTION: Can I use an HMI to control or monitor my motion module status?ANSWER: Yes. Use HMI to control memory area associated with the EM253 inputs and outputs, or the motion instructions’ inputs and outputs.
QUESTION: Can I link the execution of more than 1 profile without stopping?ANSWER: No. The EM253 must stop after each profile. A profile always starts with motor stopped, and always ends with the motor stopped.
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)
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 43March 2002
The End.
The End.
Thanks for your Attention.
For further information about the EM253:Refer to the S7-200 Systems Manual,
Chapter 9
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 44March 2002
Use the Motor’s Data Sheet – More Details
Return To Slides
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 inchThen 80 step/second will be 80/1000 inches/second
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 45March 2002
Set Motor Speeds – More Details
The SS_SPEED is mandatory.
All other calculations (In subsequent screens like when specifying Profiles, Jog parameters, Accel/Decel parameters, etc.) the SS_SPEED is used by the module in calculating and making the programmed moves.
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.
The EM253 module supports the following ranges:12 PPS to 2K PPS
60 PPS to 10K PPS
300 PPS to 50K PPS
1200 PPS to 200K PPS Return To Slides
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 46March 2002
It is theoretically possible to calculate the Acceleration/Deceleration times from inertia, friction torque, etc. as shown on a motor’s data sheet.
However, 90%-100 % of average users are not able to obtain or calculate these values. (It is too scientific, data such as ‘inertia’ is unknown, etc. )
This is where the Micro/WIN Wizard & Control Panel makes it easy for the users!!!
As stated on the slide, the practical way to set up the Acceleration/Deceleration times is with “trial and error” in the initial set up:
• Start with a large value.
• After you get the application going, start gradually reducing the time until motor stalls.
Acceleration & Deceleration Times – More Details
Return To Slides
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 47March 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)
WORKSAPCE AREA: EM253 applications take place within a Workspace area.
BOUNDARY LIMITS: The workspace has boundary LIMITS on each side. The LIM boundaries are typically sensor devices that provide inputs to the EM253. The application reacts to LIM inputs based on the LIM responses.
ABSOLUTE MOVES:To perform an Absolute Move, the important positions are:1. A known Tool Position (not shown) that can be in or out of the workspace area. 2. A Reference Point (RP) is used as the target of the tool’s movement (for initialization).3. A Zero Point (ZP) is at a fixed, constant location
Why does seeking need to be time efficient?
Seeking is typically used between an application’s transition between builds, or at the beginning of work cycles, etc. The seek sequence reduces time and effort needed to place the work tool in the correct starting position. Otherwise, manual intervention to move the tool could be required, which would require extra man power and would cost more time.
Return To Slides
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 48March 2002
Return To Slides
The tool will start the seek at a faster speed because seeking needs to be time efficient. This is called RP_FAST. It is used in positioning the tool (As Quickly As Possible) near the RP.
Since the tool can only stop at certain speeds, it must be going that speed when it reaches the RP. This is called the RP_SLOW (NOTE: This speed must be less than SS_SPEED).
The two settings (INITIAL & APPROACH) can be set opposite. For instance, initial direction can be opposite the approach direction.
SEEK BEGINS with:RP_SEEK_DIR - For each seek, will the initial seek direction be positive (right) or negative (left)? RP_FAST – (consider motor size & SS_SPEED) How fast should seek be set?
During the SEEK :(1) The tool begins to move. Tool will move towards the RP -or- towards a LIM, depending on set direction. (2) If tool reaches a LIM, tool movement reverses and continues in the other direction towards the RP.(3) Tool speed is reduced (to the settings below) as it approaches the RP and prepares to stop.
SEEK FINISHES with:RP_APPR_DIR - will the seek direction be positive (right) or negative (left)? RP_SLOW – (consider motor size & SS_SPEED) how fast should seek be set?
APPLICATION NOTE: Normally, with linear moves, the application direction and seek direction will be opposite. With rotary moves, they will be the same.
Reference Point ‘Seek’ Parameters – More Details
STEP 7-Micro/WIN V3.2 EM253 Motion Wizard
Slide 49March 2002
Execution of commands shall cause the module to perform the motion operation specified in the MODE field of the Profile Block indicated by the command_code portion of the command. The specifications for Interactive Block motion operations are not cached, so they are read each time that the module receives this command.
In absolute position mode the motion profile block shall define from one to four steps with each step containing both the position (POS) and speed (SPD) that describes the move segment. The POS specification represents an absolute location, which is based on the location designated as reference point. The direction of movement is determined by the relationship between the current position and the position of the first step in the profile. In a multi-step move, a reversal of direction of travel shall be prohibited and shall result in an error condition being reported.
In relative position mode the motion profile block shall define from one to four steps with each step containing both the position (POS) and the speed (SPD) that describes the move segment. The sign of the position value (POS) shall determine the direction of the movement. In a multi-step move, a reversal of direction of travel shall be prohibited and shall result in the reporting of an error condition.
In the single-speed, continuous speed modes, the position (POS) specification shall be ignored and the module shall accelerate to the speed specified in the SPD field of the first step. One Mode is used for positive rotation and the other mode is used for negative rotation.
In the single-speed, continuous speed modes with triggered stop, the module shall accelerate to the speed specified in the SPD field of the first step. If and when the RPS input becomes active, movement shall stop after completing the distance specified in the POS field of the first step. One Mode is used for positive rotation and the other mode is used for negative rotation.
In two-speed, continuous speed modes the binary value of the RPS input selects one of two continuous speed values as specified by the first two steps in the profile block. One Mode is used for positive rotation and the other mode is used for negative rotation. The SPD controls the speed of movement. The POS values shall be ignored in this mode. The following table defines the relationship between the inputs and the step within the profile block.
Return To Slides
The profile ‘Mode’ selections – More Details