Learn PLCs free
Beginner15 min readIndustrial Manufacturing

Unitronics Timers for Motor Control

Learn Timers programming for Motor Control using Unitronics VisiLogic / UniLogic. Includes code examples, best practices, and step-by-step implementation guide for Industrial Manufacturing applications.

πŸ’»
Platform
VisiLogic / UniLogic
πŸ“Š
Complexity
Beginner to Intermediate
⏱️
Project Duration
1-3 weeks

Implementing Timers for Motor Control using Unitronics VisiLogic / UniLogic requires translating theory into working code that performs reliably in production. This hands-on guide focuses on practical implementation steps, real code examples, and the pragmatic decisions that make the difference between successful and problematic Motor Control deployments.

Unitronics's platform serves Moderate - US small-integrator market, OEM machines, building automation, providing the proven foundation for Motor Control implementations. The VisiLogic / UniLogic environment supports 3 programming languages, with Timers being particularly effective for Motor Control because any application requiring time delays, time-based sequencing, or time monitoring. Practical implementation requires understanding not just language syntax, but how Unitronics's execution model handles 5 sensor inputs and 5 actuator outputs in real-time.

Real Motor Control projects in Industrial Manufacturing face practical challenges including soft start implementation, overload protection, and integration with existing systems. Success requires balancing simple to implement against limited to time-based operations, while meeting 1-3 weeks project timelines typical for Motor Control implementations.

This guide provides step-by-step implementation guidance, complete working examples tested on Jazz 2, practical design patterns, and real-world troubleshooting scenarios. You'll learn the pragmatic approaches that experienced integrators use to deliver reliable Motor Control systems on schedule and within budget.

Unitronics VisiLogic / UniLogic for Motor Control

Unitronics takes a distinctive approach to PLC programming: every controller ships with an integrated colour touchscreen HMI, and the development tool handles PLC logic and HMI design in a single workspace. VisiLogic is the legacy tool for the Vision, Samba, and Jazz product families; UniLogic is the current-generation environment for the UniStream line. Both are free to download and include a complete built-in simulator covering PLC logic, HMI screens, alarms, recipes, and data tables β€” the sim...

Platform Strengths for Motor Control:

  • Combined PLC + HMI in one unit reduces panel cost

  • Free VisiLogic and UniLogic IDEs

  • Built-in simulator with both PLC and HMI simulation

  • Strong US small-integrator community


Unique ${brand.software} Features:

  • Combined PLC + HMI in one unit across Jazz, Samba, Vision, and UniStream

  • Free VisiLogic (legacy) and UniLogic (current) IDEs

  • Built-in simulator covering PLC logic, HMI, alarms, data tables, and recipes

  • Integrated data sampling and trend logging without separate SCADA


Key Capabilities:

The VisiLogic / UniLogic environment excels at Motor Control applications through its combined plc + hmi in one unit reduces panel cost. This is particularly valuable when working with the 5 sensor types typically found in Motor Control systems, including Current sensors, Vibration sensors, Temperature sensors.

Control Equipment for Motor Control:

  • Motor control centers (MCCs)

  • AC induction motors (NEMA/IEC frame)

  • Synchronous motors for high efficiency

  • DC motors for precise speed control


Unitronics's controller families for Motor Control include:

  • Jazz 2: Suitable for beginner to intermediate Motor Control applications

  • Samba 7": Suitable for beginner to intermediate Motor Control applications

  • Vision V350: Suitable for beginner to intermediate Motor Control applications

  • Vision V570: Suitable for beginner to intermediate Motor Control applications

Hardware Selection Guidance:

CPU selection across Unitronics ranges from the Jazz 2 micro series (tiny applications, basic motor control, simple process monitoring with 10-20 I/O) through Samba 7" (small machine control with touchscreen HMI), Vision V350/V570 (medium machinery with larger HMI), and UniStream 7" / 15.6" (flagship combined PLC+HMI for mid-to-high complexity applications with advanced features like UniCloud, cel...

Industry Recognition:

Moderate - US small-integrator market, OEM machines, building automation. Unitronics' combined PLC+HMI controllers are uncommon in high-volume automotive manufacturing but appear in automotive tier-2 and tier-3 supplier shops, single-machine workcells, and after-market test fixtures. The cost advantage and single-unit PLC+HMI approach makes Unitronics attractive for small...

Investment Considerations:

With $$ pricing, Unitronics positions itself in the mid-range segment. For Motor Control projects requiring beginner skill levels and 1-3 weeks development time, the total investment includes hardware, software licensing, training, and ongoing support.

Understanding Timers for Motor Control

PLC timers measure elapsed time to implement delays, pulses, and timed operations. They use accumulated time compared against preset values to control outputs.

Execution Model:

For Motor Control applications, Timers offers significant advantages when any application requiring time delays, time-based sequencing, or time monitoring.

Core Advantages for Motor Control:

  • Simple to implement: Critical for Motor Control when handling beginner to intermediate control logic

  • Highly reliable: Critical for Motor Control when handling beginner to intermediate control logic

  • Essential for most applications: Critical for Motor Control when handling beginner to intermediate control logic

  • Easy to troubleshoot: Critical for Motor Control when handling beginner to intermediate control logic

  • Widely supported: Critical for Motor Control when handling beginner to intermediate control logic


Why Timers Fits Motor Control:

Motor Control systems in Industrial Manufacturing typically involve:

  • Sensors: Current transformers for motor current monitoring, RTD or thermocouple for motor winding temperature, Vibration sensors for bearing monitoring

  • Actuators: Contactors for direct-on-line starting, Soft starters for reduced voltage starting, Variable frequency drives for speed control

  • Complexity: Beginner to Intermediate with challenges including Managing starting current within supply limits


Programming Fundamentals in Timers:

Timers in VisiLogic / UniLogic follows these key principles:

1. Structure: Timers organizes code with highly reliable
2. Execution: Scan cycle integration ensures 5 sensor inputs are processed reliably
3. Data Handling: Proper data types for 5 actuator control signals

Best Practices for Timers:

  • Use constants or parameters for preset times - avoid hardcoded values

  • Add timer status to HMI for operator visibility

  • Implement timeout timers for fault detection in sequences

  • Use appropriate timer resolution for the application

  • Document expected timer values in comments


Common Mistakes to Avoid:

  • Using TON when TOF behavior is needed or vice versa

  • Not resetting RTO timers, causing unexpected timeout

  • Timer preset too short relative to scan time causing missed timing

  • Using software timers for safety-critical timing


Typical Applications:

1. Motor start delays: Directly applicable to Motor Control
2. Alarm delays: Related control patterns
3. Process timing: Related control patterns
4. Conveyor sequencing: Related control patterns

Understanding these fundamentals prepares you to implement effective Timers solutions for Motor Control using Unitronics VisiLogic / UniLogic.

Implementing Motor Control with Timers

Motor control systems use PLCs to start, stop, and regulate electric motors in industrial applications. These systems provide protection, speed control, and coordination for motors ranging from fractional horsepower to thousands of horsepower.

This walkthrough demonstrates practical implementation using Unitronics VisiLogic / UniLogic and Timers programming.

System Requirements:

A typical Motor Control implementation includes:

Input Devices (Sensors):
1. Current transformers for motor current monitoring: Critical for monitoring system state
2. RTD or thermocouple for motor winding temperature: Critical for monitoring system state
3. Vibration sensors for bearing monitoring: Critical for monitoring system state
4. Speed encoders or tachometers: Critical for monitoring system state
5. Torque sensors for load monitoring: Critical for monitoring system state

Output Devices (Actuators):
1. Contactors for direct-on-line starting: Primary control output
2. Soft starters for reduced voltage starting: Supporting control function
3. Variable frequency drives for speed control: Supporting control function
4. Brakes (mechanical or dynamic): Supporting control function
5. Starters (star-delta, autotransformer): Supporting control function

Control Equipment:

  • Motor control centers (MCCs)

  • AC induction motors (NEMA/IEC frame)

  • Synchronous motors for high efficiency

  • DC motors for precise speed control


Control Strategies for Motor Control:

1. Primary Control: Industrial motor control using PLCs for start/stop, speed control, and protection of electric motors.
2. Safety Interlocks: Preventing Soft start implementation
3. Error Recovery: Handling Overload protection

Implementation Steps:

Step 1: Calculate motor starting current and verify supply capacity

In VisiLogic / UniLogic, calculate motor starting current and verify supply capacity.

Step 2: Select starting method based on motor size and load requirements

In VisiLogic / UniLogic, select starting method based on motor size and load requirements.

Step 3: Configure motor protection with correct thermal curve

In VisiLogic / UniLogic, configure motor protection with correct thermal curve.

Step 4: Implement control logic for start/stop with proper interlocks

In VisiLogic / UniLogic, implement control logic for start/stop with proper interlocks.

Step 5: Add speed control loop if VFD is used

In VisiLogic / UniLogic, add speed control loop if vfd is used.

Step 6: Configure acceleration and deceleration ramps

In VisiLogic / UniLogic, configure acceleration and deceleration ramps.


Unitronics Function Design:

Function block design in Unitronics uses user-defined FBs in UniLogic (more limited in VisiLogic). Extensive vendor-provided helper FBs cover common tasks (PID, motion, communication, HMI utilities). OEM machine builders typically maintain private FB libraries for their common machine patterns, though code reuse is less mature than in mainstream PLC ecosystems.

Common Challenges and Solutions:

1. Managing starting current within supply limits

  • Solution: Timers addresses this through Simple to implement.


2. Coordinating acceleration with driven load requirements

  • Solution: Timers addresses this through Highly reliable.


3. Protecting motors from frequent starting (thermal cycling)

  • Solution: Timers addresses this through Essential for most applications.


4. Handling regenerative energy during deceleration

  • Solution: Timers addresses this through Easy to troubleshoot.


Safety Considerations:

  • Proper machine guarding for rotating equipment

  • Emergency stop functionality with safe torque off

  • Lockout/tagout provisions for maintenance

  • Arc flash protection and PPE requirements

  • Proper grounding and bonding


Performance Metrics:

  • Scan Time: Optimize for 5 inputs and 5 outputs

  • Memory Usage: Efficient data structures for Jazz 2 capabilities

  • Response Time: Meeting Industrial Manufacturing requirements for Motor Control

Unitronics Diagnostic Tools:

UniLogic (current) and VisiLogic (legacy) integrated debuggers with breakpoints,Built-in simulator covering PLC logic, HMI screens, alarms, recipes, and data tables,Web visualisation for UniStream β€” remote HMI viewing without additional software,SD card logging with PC-side export tools for offline trend analysis,Modbus RTU/TCP transaction logging built into the IDE,Controller status monitor β€” CPU load, scan time, memory usage,HMI event logger capturing operator actions for audit purposes,CAN bus diagnostic tools for CANopen-equipped models,Remote support tool β€” Unitronics' own screen-sharing for technical support,User community forum with active troubleshooting discussions

Unitronics's VisiLogic / UniLogic provides tools for performance monitoring and optimization, essential for achieving the 1-3 weeks development timeline while maintaining code quality.

Unitronics Timers Example for Motor Control

Complete working example demonstrating Timers implementation for Motor Control using Unitronics VisiLogic / UniLogic. Follows Unitronics naming conventions. Tested on Jazz 2 hardware.

// Unitronics VisiLogic / UniLogic - Motor Control Control
// Timers Implementation for Industrial Manufacturing
// Unitronics projects use IDE-managed tag names rather than ra

// ============================================
// Variable Declarations
// ============================================
VAR
    bEnable : BOOL := FALSE;
    bEmergencyStop : BOOL := FALSE;
    rCurrentsensors : REAL;
    rMotorstarters : REAL;
END_VAR

// ============================================
// Input Conditioning - Current transformers for motor current monitoring
// ============================================
// Standard input processing
IF rCurrentsensors > 0.0 THEN
    bEnable := TRUE;
END_IF;

// ============================================
// Safety Interlock - Proper machine guarding for rotating equipment
// ============================================
IF bEmergencyStop THEN
    rMotorstarters := 0.0;
    bEnable := FALSE;
END_IF;

// ============================================
// Main Motor Control Control Logic
// ============================================
IF bEnable AND NOT bEmergencyStop THEN
    // Motor control systems use PLCs to start, stop, and regulate 
    rMotorstarters := rCurrentsensors * 1.0;

    // Process monitoring
    // Add specific control logic here
ELSE
    rMotorstarters := 0.0;
END_IF;

Code Explanation:

  • 1.Timers structure optimized for Motor Control in Industrial Manufacturing applications
  • 2.Input conditioning handles Current transformers for motor current monitoring signals
  • 3.Safety interlock ensures Proper machine guarding for rotating equipment always takes priority
  • 4.Main control implements Motor control systems use PLCs to start,
  • 5.Code runs every scan cycle on Jazz 2 (typically 5-20ms)

Best Practices

  • βœ“Follow Unitronics naming conventions: Unitronics projects use IDE-managed tag names rather than raw memory addressing.
  • βœ“Unitronics function design: Function block design in Unitronics uses user-defined FBs in UniLogic (more limi
  • βœ“Data organization: Unitronics uses its own tag database concept rather than IEC-standard data block
  • βœ“Timers: Use constants or parameters for preset times - avoid hardcoded values
  • βœ“Timers: Add timer status to HMI for operator visibility
  • βœ“Timers: Implement timeout timers for fault detection in sequences
  • βœ“Motor Control: Verify motor running with current or speed feedback, not just contactor status
  • βœ“Motor Control: Implement minimum off time between starts for motor cooling
  • βœ“Motor Control: Add phase loss and phase reversal protection
  • βœ“Debug with VisiLogic / UniLogic: Use the built-in simulator to reproduce issues before hardware visit
  • βœ“Safety: Proper machine guarding for rotating equipment
  • βœ“Use VisiLogic / UniLogic simulation tools to test Motor Control logic before deployment

Common Pitfalls to Avoid

  • ⚠Timers: Using TON when TOF behavior is needed or vice versa
  • ⚠Timers: Not resetting RTO timers, causing unexpected timeout
  • ⚠Timers: Timer preset too short relative to scan time causing missed timing
  • ⚠Unitronics common error: VisiLogic-to-UniLogic migration issues β€” not all projects convert cleanly
  • ⚠Motor Control: Managing starting current within supply limits
  • ⚠Motor Control: Coordinating acceleration with driven load requirements
  • ⚠Neglecting to validate Current transformers for motor current monitoring leads to control errors
  • ⚠Insufficient comments make Timers programs unmaintainable over time

Related Certifications

πŸ†Unitronics Certified Integrator
πŸ†UniLogic Developer Training

Mastering Timers for Motor Control applications using Unitronics VisiLogic / UniLogic requires understanding both the platform's capabilities and the specific demands of Industrial Manufacturing. This guide has provided comprehensive coverage of implementation strategies, working code examples, best practices, and common pitfalls to help you succeed with beginner to intermediate Motor Control projects.

Unitronics's 1% market share and moderate - us small-integrator market, oem machines, building automation demonstrate the platform's capability for demanding applications. The platform excels in Industrial Manufacturing applications where Motor Control reliability is critical.

By following the practices outlined in this guideβ€”from proper program structure and Timers best practices to Unitronics-specific optimizationsβ€”you can deliver reliable Motor Control systems that meet Industrial Manufacturing requirements.

Next Steps for Professional Development:

1. Certification: Pursue Unitronics Certified Integrator to validate your Unitronics expertise
2. Advanced Training: Consider UniLogic Developer Training for specialized Industrial Manufacturing applications
3. Hands-on Practice: Build Motor Control projects using Jazz 2 hardware
4. Stay Current: Follow VisiLogic / UniLogic updates and new Timers features

Timers Foundation:

PLC timers measure elapsed time to implement delays, pulses, and timed operations. They use accumulated time compared against preset values to control...

The 1-3 weeks typical timeline for Motor Control projects will decrease as you gain experience with these patterns and techniques. Remember: Verify motor running with current or speed feedback, not just contactor status

For further learning, explore related topics including Alarm delays, Fan systems, and Unitronics platform-specific features for Motor Control optimization.