Skip to product information
1 of 1

Stepper motor control for positioning

Regular price €9,90 EUR
Regular price Sale price €9,90 EUR
Sale Sold out

Description
You are looking for a compact SCL function block that controls a stepper motor for precise positioning tasks – including homing, multiple target selection, safety shutdown in the event of an emergency stop/rejection of release, and a status signal for the end position.

Note: All modules are designed exclusively as a learning and optimization basis and are not approved for live operation. System modules, in particular, must be finally tested and commissioned by qualified personnel before productive use.

How it works

  1. At start or after alarm → Reference travel in defined direction to the reference sensor
  2. Set actual position counter to 0, activate reference status
  3. Operator presses button Pos1 (1 000 steps) or Pos2 (2 000 steps)
  4. Motor enable and step pulses start in the selected direction
  5. Internal counter increments/decrements by a fixed step size (e.g. 10 µm/pulse)
  6. Target reached → Pulse generator stops, set position OK flag

Technical details
• Emergency stop logic and enable bit have the highest priority and immediately set Enable/Pulse to FALSE and sequence back to step 0
• Permanent step enable during reference travel, stop when the reference sensor is activated
• Two digital inputs (Pos1, Pos2) assign internal target variables
• Position loop compares actual and target counters and generates a pulse per step
• Direction bit controls forward/backward movement
• Output PositionOK = TRUE, if target position is exactly reached

Possible applications
• Linear axes and precision conveyors
• Dosing and feeding systems
• Laboratory robots and test benches with repeatable travel requirements

compatibility
• Siemens S7-1200 & S7-1500
• TIA Portal V13 or higher; recommended V16+ with PLCSIM

Scope of delivery
• .scl file with inputs/outputs, step and position counters
• Instant download link after purchase

Support
I can help you integrate it into your motion control system, adjust step resolutions, or add additional intermediate positions and HMI displays. Feel free to contact me anytime via email or shop support.