Learn PLCs free
Advanced20 min readWater & Wastewater

Unitronics Communications for Pump Control

Learn Communications programming for Pump Control using Unitronics VisiLogic / UniLogic. Includes code examples, best practices, and step-by-step implementation guide for Water & Wastewater applications.

💻
Platform
VisiLogic / UniLogic
📊
Complexity
Intermediate
⏱️
Project Duration
2-4 weeks

Troubleshooting Communications programs for Pump Control in Unitronics's VisiLogic / UniLogic benefits from a systematic diagnostic process and a clear understanding of likely failure modes. This guide provides a repeatable path from observed symptom to evidence, hypothesis, controlled test, and documented correction.

Start by recording the controller model, firmware, VisiLogic / UniLogic version, task state, active faults, I/O status, and the exact conditions that reproduce the problem. Preserve the original project and collect diagnostic evidence before changing logic.

Common challenges in Pump Control systems include pressure regulation, pump sequencing, and energy optimization. When implemented with Communications, additional considerations include complex configuration, requiring specific diagnostic approaches. Unitronics's diagnostic tools in VisiLogic / UniLogic provide powerful capabilities, but knowing exactly which tools to use for specific symptoms dramatically improves troubleshooting efficiency.

This guide walks through systematic troubleshooting procedures, from initial symptom analysis through root-cause verification and corrective-action testing. It explains how to use relevant VisiLogic / UniLogic diagnostic features and interpret system behavior in a Pump Control context without assuming that one symptom always has the same cause.

Unitronics VisiLogic / UniLogic for Pump Control

VisiLogic / UniLogic is a programming environment associated with Unitronics controller families such as Jazz 2, Samba 7", Vision V350. This guide uses Communications terminology from the supplied guide dataset, but controller capabilities and language support can change by model, firmware, software edition, and license.

Verify Before You Start:

  • The selected controller supports the required Communications constructs

  • The project version matches the installed VisiLogic / UniLogic release

  • Required communications, motion, safety, and simulation options are licensed

  • Firmware and device-description files are compatible with the project

  • The vendor manuals used for the design match the exact hardware revision


Application Planning:

For a Pump Control exercise, map the required inputs and outputs before writing logic. The example considers 5 sensor types, including Pressure transmitters, Flow meters, Level sensors, and 5 actuator types.

Control Equipment for Pump Control:

  • Centrifugal pumps for high flow applications

  • Positive displacement pumps for metering

  • Submersible pumps for wet well applications

  • Booster pump systems for pressure maintenance


Controller-family references used in this guide include:

  • Jazz 2: Confirm CPU, I/O, memory, communications, and Communications support in the current selection guide

  • Samba 7": Confirm CPU, I/O, memory, communications, and Communications support in the current selection guide

  • Vision V350: Confirm CPU, I/O, memory, communications, and Communications support in the current selection guide

  • Vision V570: Confirm CPU, I/O, memory, communications, and Communications support in the current selection guide


Hardware Selection Checklist:

  • Count local and remote I/O, including planned expansion

  • Measure the required task and communications update rates

  • Identify memory, data-retention, diagnostics, and cybersecurity requirements

  • Treat safety functions as a separate, standards-led design activity

  • Confirm lifecycle status, regional availability, licensing, and support


Source and Validation Note:

This page does not represent a vendor certification or a hardware acceptance test. Use current Unitronics manuals, release notes, and safety documentation as the authority for product-specific behavior. Validate adapted logic in a simulator or isolated test setup before connecting it to equipment.

Investment Considerations:

For Pump Control projects, compare hardware, software licensing, training, engineering, test equipment, commissioning, spares, and ongoing support. Obtain current pricing and lifecycle information directly from the vendor or an authorized regional supplier.

Understanding Communications for Pump Control

Industrial communications connect PLCs to I/O, other controllers, HMIs, and enterprise systems. Protocol selection depends on requirements for speed, determinism, and compatibility.

Execution Model:

For Pump Control applications, Communications offers significant advantages when multi-plc systems, scada integration, remote i/o, or industry 4.0 applications.

Core Advantages for Pump Control:

  • System integration: Critical for Pump Control when handling intermediate control logic

  • Remote monitoring: Critical for Pump Control when handling intermediate control logic

  • Data sharing: Critical for Pump Control when handling intermediate control logic

  • Scalability: Critical for Pump Control when handling intermediate control logic

  • Industry 4.0 ready: Critical for Pump Control when handling intermediate control logic


Why Communications Fits Pump Control:

Pump Control systems in Water & Wastewater typically involve:

  • Sensors: Pressure transmitters for discharge and suction pressure, Flow meters (magnetic, ultrasonic, or vortex), Level transmitters for tank or wet well level

  • Actuators: Variable frequency drives (VFDs) for speed control, Motor starters (DOL or soft start), Control valves for flow regulation

  • Complexity: Intermediate with challenges including Preventing cavitation at low suction pressure


Control Strategies for Pump Control:

  • constant: Maintain fixed speed or output

  • pressure: PID control to maintain discharge pressure setpoint

  • flow: PID control to maintain flow rate setpoint


Programming Fundamentals in Communications:

Communications in VisiLogic / UniLogic follows these key principles:

1. Structure: Communications organizes code with remote monitoring
2. Execution: Scan-cycle integration defines when the 5 sensor inputs are read and processed; verify the timing on the selected controller
3. Data Handling: Proper data types for 5 actuator control signals

Best Practices for Communications:

  • Use managed switches for industrial Ethernet

  • Implement proper network segmentation (OT vs IT)

  • Monitor communication health with heartbeat signals

  • Plan for communication failure modes

  • Document network architecture including IP addresses


Common Mistakes to Avoid:

  • Mixing control and business traffic on same network

  • No redundancy for critical communications

  • Insufficient timeout handling causing program hangs

  • Incorrect byte ordering (endianness) between systems


Typical Applications:

1. Factory networks: Directly applicable to Pump Control
2. Remote monitoring: Related control patterns
3. Data collection: Related control patterns
4. Distributed control: Related control patterns

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

Implementing Pump Control with Communications

Pump control systems use PLCs to regulate liquid flow in industrial processes, water treatment, and building services. These systems manage pump operation, protect equipment, optimize energy use, and maintain process parameters.

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

System Requirements:

A typical Pump Control implementation includes:

Input Devices (Sensors):
1. Pressure transmitters for discharge and suction pressure: Critical for monitoring system state
2. Flow meters (magnetic, ultrasonic, or vortex): Critical for monitoring system state
3. Level transmitters for tank or wet well level: Critical for monitoring system state
4. Temperature sensors for bearing and motor monitoring: Critical for monitoring system state
5. Vibration sensors for predictive maintenance: Critical for monitoring system state

Output Devices (Actuators):
1. Variable frequency drives (VFDs) for speed control: Primary control output
2. Motor starters (DOL or soft start): Supporting control function
3. Control valves for flow regulation: Supporting control function
4. Isolation valves (actuated for remote operation): Supporting control function
5. Check valves to prevent backflow: Supporting control function

Control Equipment:

  • Centrifugal pumps for high flow applications

  • Positive displacement pumps for metering

  • Submersible pumps for wet well applications

  • Booster pump systems for pressure maintenance


Control Strategies for Pump Control:

  • constant: Maintain fixed speed or output

  • pressure: PID control to maintain discharge pressure setpoint

  • flow: PID control to maintain flow rate setpoint

  • level: Control tank/wet well level within band


Implementation Steps:

Step 1: Characterize pump curve and system curve

In VisiLogic / UniLogic, characterize pump curve and system curve.

Step 2: Size VFD for application (constant torque vs. variable torque)

In VisiLogic / UniLogic, size vfd for application (constant torque vs. variable torque).

Step 3: Implement primary control loop (pressure, flow, or level)

In VisiLogic / UniLogic, implement primary control loop (pressure, flow, or level).

Step 4: Add pump protection logic (minimum flow, temperature, seal)

In VisiLogic / UniLogic, add pump protection logic (minimum flow, temperature, seal).

Step 5: Program lead/lag sequencing with alternation

In VisiLogic / UniLogic, program lead/lag sequencing with alternation.

Step 6: Implement soft start/stop ramps for smooth operation

In VisiLogic / UniLogic, implement soft start/stop ramps for smooth operation.


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. Preventing cavitation at low suction pressure

  • Solution: Communications addresses this through System integration.


2. Managing minimum flow requirements

  • Solution: Communications addresses this through Remote monitoring.


3. Coordinating VFD speed with system pressure

  • Solution: Communications addresses this through Data sharing.


4. Handling pump cycling with varying demand

  • Solution: Communications addresses this through Scalability.


Safety Considerations:

  • Dry run protection using flow or level monitoring

  • Overtemperature protection for motor and bearings

  • Overload protection through current monitoring

  • Vibration trips for mechanical failure detection

  • Emergency stop with proper system depressurization


Performance Metrics:

  • Task and I/O timing: Record minimum, average, and maximum values under a defined test load

  • Accuracy: Define an acceptable tolerance and compare it with calibrated reference measurements

  • Throughput: Count completed cycles over a fixed interval and record rejected or incomplete cycles

  • Fault response: Measure detection, safe-state, alarm, and recovery behavior for each test case

  • Resource use: Record memory, communications load, and diagnostic-buffer behavior

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

Use the monitoring and diagnostic functions available in your VisiLogic / UniLogic version, and record the software, firmware, hardware, workload, and test procedure with every result.

Unitronics Communications Example for Pump Control

Illustrative Communications example for Pump Control using Unitronics terminology. Adapt the syntax to your VisiLogic / UniLogic release, compile it, and verify it in an isolated test environment before use on equipment.

// Unitronics VisiLogic / UniLogic - Pump Control Control
// Communications Implementation for Water & Wastewater
// Unitronics projects use IDE-managed tag names rather than ra

// ============================================
// Variable Declarations
// ============================================
VAR
    bEnable : BOOL := FALSE;
    bEmergencyStop : BOOL := FALSE;
    rPressuretransmitters : REAL;
    rCentrifugalpumps : REAL;
END_VAR

// ============================================
// Input Conditioning - Pressure transmitters for discharge and suction pressure
// ============================================
// Standard input processing
IF rPressuretransmitters > 0.0 THEN
    bEnable := TRUE;
END_IF;

// ============================================
// Safety Interlock - Dry run protection using flow or level monitoring
// ============================================
IF bEmergencyStop THEN
    rCentrifugalpumps := 0.0;
    bEnable := FALSE;
END_IF;

// ============================================
// Main Pump Control Control Logic
// ============================================
IF bEnable AND NOT bEmergencyStop THEN
    // Pump control systems use PLCs to regulate liquid flow in ind
    rCentrifugalpumps := rPressuretransmitters * 1.0; (* Illustrative scaling only *)

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

Code Explanation:

  • 1.Communications structure organized for a Pump Control training example
  • 2.Input conditioning handles Pressure transmitters for discharge and suction pressure signals
  • 3.Safety interlock ensures Dry run protection using flow or level monitoring always takes priority
  • 4.Main control implements Pump control systems use PLCs to regulat
  • 5.Adapt the scan-cycle assumptions to the selected Jazz 2 task configuration and verify them by measurement

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
  • Communications: Use managed switches for industrial Ethernet
  • Communications: Implement proper network segmentation (OT vs IT)
  • Communications: Monitor communication health with heartbeat signals
  • Pump Control: Use PID with derivative on PV for pressure control
  • Pump Control: Implement soft start ramps even with VFD (200-500ms)
  • Pump Control: Add flow proving before considering pump operational
  • Debug with VisiLogic / UniLogic: Use the built-in simulator to reproduce issues before hardware visit
  • Safety: Dry run protection using flow or level monitoring
  • Use a compatible simulator or isolated test rig to test Pump Control logic before deployment

Common Pitfalls to Avoid

  • Communications: Mixing control and business traffic on same network
  • Communications: No redundancy for critical communications
  • Communications: Insufficient timeout handling causing program hangs
  • Unitronics common error: VisiLogic-to-UniLogic migration issues — not all projects convert cleanly
  • Pump Control: Preventing cavitation at low suction pressure
  • Pump Control: Managing minimum flow requirements
  • Neglecting to validate Pressure transmitters for discharge and suction pressure leads to control errors
  • Insufficient comments make Communications programs unmaintainable over time

Related Certifications

🏆Unitronics Certified Integrator
🏆UniLogic Developer Training
🏆Unitronics Industrial Networking Certification

Applying Communications to Pump Control using Unitronics VisiLogic / UniLogic requires understanding the platform, the process, and the project's acceptance criteria. This guide has covered implementation structure, an illustrative code example, verification practices, and common pitfalls for a intermediate Pump Control exercise.

Use the practices outlined here to create a design that can be reviewed and tested. Define performance targets in the project requirements and confirm them with repeatable measurements.

Next Steps:

1. Check Sources: Read the current VisiLogic / UniLogic help, controller manual, release notes, and relevant standards
2. Practice Safely: Adapt the example in a simulator or isolated training setup
3. Review: Have the I/O map, state behavior, faults, and recovery steps reviewed
4. Test: Record normal, boundary, fault, restart, and communications test results

Communications Foundation:

Industrial communications connect PLCs to I/O, other controllers, HMIs, and enterprise systems. Protocol selection depends on requirements for speed, ...

Project duration depends on scope, reviews, hardware availability, software and firmware versions, testing, commissioning, and site constraints. Remember: Use PID with derivative on PV for pressure control

For further learning, explore related topics including Remote monitoring, Wastewater treatment, and Unitronics platform-specific features for Pump Control optimization.