Skip to content

WAGO PLC Libraries Documentation This repository contains comprehensive documentation for WAGO PLC libraries, providing detailed information about function blocks, data types, and usage examples for industrial automation applications.

Notifications You must be signed in to change notification settings

TPPS999/wago_libs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WAGO PLC Libraries Documentation

Comprehensive reference for WAGO PLC libraries with 200+ function blocks, detailed examples, and professional integration patterns for industrial automation applications.

Documentation Status Libraries

Most Popular Categories:


📚 Available Libraries

🏢 Building Automation & KNX/EIB

Library Description Documentation
WagoAppKNX Complete KNX/EIB TP1 communication with comprehensive DPT support 📖 Docs
WagoSysBACnet Complete BACnet protocol stack with objects and services 📖 Docs
WagoSolRoomApp Room automation functions for lighting and HVAC control 📖 Docs
WagoSolWeihenstephan Weihenstephan protocol server implementation 📖 Docs
WagoTypesBACnet BACnet protocol type definitions and object structures 📖 Docs
WagoSysVisuBACnet BACnet visualization support 📖 Docs

🔌 Communication & Networking

Library Description Documentation
WagoAppSocket Socket communication (TCP/UDP clients/servers, broadcast, multicast) 📖 Docs
WagoAppHTTP HTTP/HTTPS client functionality for web service integration 📖 Docs
WagoAppFTP FTP, FTPS, and SFTP client services for file transfer 📖 Docs
WagoAppSNMP SNMP v1/v3 management and trap functionality 📖 Docs
WagoAppPlcModbus Comprehensive Modbus master/slave implementation 📖 Docs
WagoAppSunspec SunSpec communication library for solar inverters 📖 Docs
WagoAppSiemensS7Protocol Siemens S7 protocol communication 📖 Docs
WagoSysSocket Low-level socket operations and BSD socket interface 📖 Docs
WagoSysBSDSocket BSD socket implementation with POSIX-like API 📖 Docs
WagoSysSSL SSL/TLS encryption for secure communications 📖 Docs
WagoSysCurl HTTP client library with cURL functionality 📖 Docs
WagoSysCloud Cloud connectivity and agent communication 📖 Docs

📡 Serial Communication

Library Description Documentation
WagoAppSerial_GENIbus GENIbus protocol for GRUNDFOS devices 📖 Docs
WagoAppSerial_Fitron Fitron device communication 📖 Docs
WagoAppSerial_3964R_RK512 3964R and RK512 protocols 📖 Docs
WagoAppSerial_Modem Modem handling and control 📖 Docs
WagoAppSerial_Scanner Barcode scanner integration 📖 Docs
WagoAppSerial_Sms SMS sending/receiving via GSM modems 📖 Docs
WagoAppSerial_NMEA NMEA sentence processing for GPS/marine devices 📖 Docs
WagoAppSerial_ebmBus ebmBus protocol for motor control 📖 Docs
WagoAppDLMS DLMS communication for smart meters 📖 Docs
WagoSysSerial Low-level serial communication interface 📖 Docs
WagoSysModem Modem control and AT command interface 📖 Docs

🏭 Industrial Protocols & Standards

Library Description Documentation
WagoAppM_Bus M-Bus master for utility meter reading 📖 Docs
WagoAppMP_Bus MP-Bus for BELIMO HVAC devices 📖 Docs
WagoAppSMI SMI (Standard Motor Interface) for blind/shutter control 📖 Docs
WagoAppHART HART protocol for process automation 📖 Docs
WagoAppEnocean EnOcean wireless sensor/actuator communication 📖 Docs
WagoSysDps PROFIBUS DP slave functionality 📖 Docs

🚗 CANopen & CAN Communication

Library Description Documentation
WagoSysCan CAN interface and CANopen stack implementation 📖 Docs
WagoTypesCan CAN communication type definitions and enumerations 📖 Docs
WagoTypesCanExtra Extended CAN type definitions 📖 Docs

⚡ Hardware Control & Monitoring

Library Description Documentation
WagoAppPowerMeasurement Power measurement modules (750-493/494/495) 📖 Docs
WagoAppPowerSupply Power supply module control and monitoring 📖 Docs
WagoAppStepper Stepper motor control (750-670/671/672/673) 📖 Docs
WagoAppSolenoid Proportional valve control (750-632/1632) 📖 Docs
WagoAppFuse Electronic fuse management (787-series) 📖 Docs
WagoAppIOLink IO-Link master configuration and device handling 📖 Docs
WagoAppVibrationMonitoring Vibration monitoring systems 📖 Docs
WagoAppSafety Safety system communication and diagnostics 📖 Docs
WagoSysEdgeController Edge computing functionality 📖 Docs
WagoSysProcessorLoad CPU load monitoring and performance analysis 📖 Docs

🔌 K-Bus & I/O Module Support

Library Description Documentation
WagoSysKbusServices K-Bus terminal services and configuration 📖 Docs
WagoSysKbusTerminalControl Terminal control and process data exchange 📖 Docs
WagoSysKbusAsyncCom Asynchronous K-Bus communication 📖 Docs
WagoSysKbusModule Standard K-Bus module function blocks 📖 Docs
WagoSysFieldbusModule Fieldbus-connected module support 📖 Docs
WagoSysModuleBase Base classes for module implementations 📖 Docs
WagoSysDynamicIoMapping Dynamic I/O mapping and configuration 📖 Docs

🌡️ Temperature & Analog Input Modules

Library Description Documentation
WagoSysModule_750_450 Temperature input module (RTD/TC/Voltage) 📖 Docs
WagoSysModule_750_451 Temperature input module (RTD/TC) 📖 Docs
WagoSysModule_750_463 Thermocouple input module (2-channel) 📖 Docs
WagoSysModule_750_464 Thermocouple input module (4-channel) 📖 Docs
WagoSysModule_75x_458 8-channel analog input 📖 Docs
WagoSysModule_75x_461 Analog input module (single-ended) 📖 Docs
WagoSysModule_75x_469 High-precision analog input (thermocouple) 📖 Docs
WagoSysModule_75x_471 Universal analog input 📖 Docs
WagoSysModule_75x_481 Thermocouple input module 📖 Docs
WagoSysModule_75x_486 8-channel voltage/current input 📖 Docs
WagoSysModule_75x_487 8-channel thermocouple input 📖 Docs
WagoSysModule_75x_489 4-channel current/voltage input 📖 Docs
WagoSysModule_75x_496 4-channel RTD input 📖 Docs
WagoSysModule_75x_497 8-channel RTD input 📖 Docs
WagoSysModule_75x_498 RTD/resistance input module 📖 Docs

📤 Analog Output Modules

Library Description Documentation
WagoSysModule_75x_562 2-channel analog output (voltage/current) 📖 Docs
WagoSysModule_75x_563 4-channel analog output module 📖 Docs
WagoSysModule_75x_564 4-channel current output module 📖 Docs
WagoSysModule_75x_597 8-channel voltage output module 📖 Docs

🔌 Digital I/O & Special Function Modules

Library Description Documentation
WagoSysModule_750_630 RTC module with calendar functions 📖 Docs
WagoSysModule_750_636 DeviceNet slave module 📖 Docs
WagoSysModule_750_642 Incremental encoder interface 📖 Docs
WagoSysModule_750_643 2-channel encoder interface 📖 Docs
WagoSysModule_75x_511 PWM output module 📖 Docs
WagoSysModule_75x_632 Proportional valve output (single channel) 📖 Docs
WagoSysModule_75x_633 Encoder interface module (SSI/incremental) 📖 Docs
WagoSysModule_75x_635 Profibus master module 📖 Docs
WagoSysModule_75x_640 16-channel relay output 📖 Docs
WagoSysModule_75x_644 4-channel relay output 📖 Docs
WagoSysModule_75x_645 Digital input/output module 📖 Docs
WagoSysModule_75x_655 DeviceNet master module 📖 Docs
WagoSysModule_75x_657 Ethernet TCP/IP module 📖 Docs
WagoSysModule_75x_658 CAN gateway module 📖 Docs
WagoSysModule_75x_677 Incremental encoder interface (multi-channel) 📖 Docs

🏗️ KNX/EIB Communication Modules

Library Description Documentation
WagoSysModule_753_646 KNX/EIB TP1 master module for building automation 📖 Docs
WagoSysModule_753_647 CAN master module (753 series) with DALI functionality 📖 Docs
WagoSysModule_753_649 Ethernet switch module (753 series) 📖 Docs
WagoSysModule_753_163x Fieldbus coupler modules 📖 Docs
WagoSysModule_753_1646 Advanced communication module 📖 Docs

🔬 Specialized Modules

Library Description Documentation
WagoSysModule_75x_1491 Strain gauge input module 📖 Docs
WagoSysModule_75x_1632 Multi-channel proportional valve output 📖 Docs
WagoSysModule_75x_1657 Ethernet switch module 📖 Docs

☁️ Data Management & Cloud

Library Description Documentation
WagoAppInfluxDB InfluxDB v1.x/v2.0 time-series database integration 📖 Docs
WagoAppSQL_MySQL MySQL database connectivity 📖 Docs
WagoAppSQL_MsSQL Microsoft SQL Server integration 📖 Docs
WagoAppJSON JSON parsing, creation, and manipulation 📖 Docs
WagoAppSparkplug Eclipse Sparkplug MQTT specification 📖 Docs
WagoAppTOPASS TO-PASS web service integration 📖 Docs
WagoAppPvForecast Photovoltaic forecast data from WAGO Cloud 📖 Docs
WagoSysSQL_SQLite SQLite database support 📖 Docs

🛠️ System & Utilities

Library Description Documentation
WagoAppTime Time/date operations, timezones, elapsed time, timeouts 📖 Docs
WagoAppScheduler Time-based scheduling with holiday/special period support 📖 Docs
WagoAppEvent Event handling and catching system 📖 Docs
WagoAppMem Shared memory management for inter-process communication 📖 Docs
WagoAppFileDir File and directory operations 📖 Docs
WagoAppMath Mathematical functions (exponential, etc.) 📖 Docs
WagoAppString String manipulation utilities 📖 Docs
WagoAppWString Wide string (Unicode) operations 📖 Docs
WagoAppProcessorLoad CPU load monitoring 📖 Docs
WagoAppRTC Real-time clock and GPS-DCF converter support 📖 Docs
WagoSysTime Core time handling and calendar functions 📖 Docs
WagoSysFileDir Low-level file and directory operations 📖 Docs
WagoSysString Core string manipulation functions 📖 Docs
WagoSysStandard Standard system functions and utilities 📖 Docs
WagoSysPlainMem Plain memory operations and data type conversions 📖 Docs
WagoSysFifo FIFO buffer implementation 📖 Docs
WagoSysLog System logging and message handling 📖 Docs
WagoSysErrorBase Error handling and result management 📖 Docs
WagoSysAsync Asynchronous operation framework 📖 Docs

💡 Application LED Control

Library Description Documentation
WagoSysAppLED Application LED control with patterns and sequences 📖 Docs
WagoTypesAppLED Application LED control type definitions 📖 Docs

🖥️ Visualization & User Interface

Library Description Documentation
WagoVisuIcons Standard visualization icons 📖 Docs
WagoVisuIconsMaterialDesign Material Design icons for visualization 📖 Docs
WagoSysVisuStandard Standard visualization components 📖 Docs
WagoSysVisuTree Tree view visualization components 📖 Docs

🔒 Security & DRM

Library Description Documentation
WagoSysDRM Digital Rights Management functionality 📖 Docs
WagoSysDrmInterface DRM interface definitions 📖 Docs

🏭 Solution-Specific Libraries

Library Description Documentation
WagoSolOppermann Oppermann HVAC sensor integration 📖 Docs
WagoSolEAP EAP room operating units (RBG1) 📖 Docs
WagoSolElsner Elsner weather station integration 📖 Docs
WagoSolHKW HKW weather forecast stations 📖 Docs
WagoSolMennekes Mennekes charging point control 📖 Docs
WagoAppWeatherForecast Weather data from multiple providers 📖 Docs
WagoAppMail SMTP email functionality with attachments 📖 Docs
WagoAppRFIDReader_phg PHG RFID reader integration 📖 Docs
WagoSolThies Thies weather station integration 📖 Docs
WagoSolThermokon Thermokon room automation devices 📖 Docs
WagoSolRomutec Romutec LED control and communication 📖 Docs
WagoSolSplusS S+S Regeltechnik sensor integration 📖 Docs
WagoSolSolutionBuilder Solution Builder framework components 📖 Docs

🚀 Key Features

💼 Professional Integration

  • ✅ Comprehensive error handling and status reporting
  • ✅ Standardized interfaces across all libraries
  • ✅ Extensive documentation with usage examples
  • ✅ Compatible with WAGO PLC hardware ecosystem

🌐 Communication Excellence

  • 📡 Multiple protocol support (Modbus, BACnet, HART, EnOcean, KNX/EIB)
  • 🔗 Network communication (TCP/UDP, HTTP/HTTPS, FTP/SFTP)
  • 📞 Serial communication with various protocols
  • 🔒 SSL/TLS encryption support

🏢 Building Automation Excellence

  • 🏠 KNX/EIB TP1 - Complete building automation protocol support
  • 📊 Comprehensive DPT Library - All standard KNX data point types
  • 🌡️ HVAC Control - Temperature, humidity, air quality monitoring
  • 💡 Lighting Control - Switching, dimming, scene management
  • Energy Management - Power measurement and monitoring
  • 📅 Time Scheduling - Calendar and timer functions
  • 🚨 Safety Integration - Window/door sensors, occupancy detection

🏭 Industrial Standards

  • ⚙️ Support for major automation protocols
  • 📈 Energy management and monitoring
  • 🛡️ Safety and diagnostics integration
  • ⚡ Real-time data processing capabilities

🔧 Hardware Integration

  • 🔌 Comprehensive K-Bus module support
  • 🗺️ Dynamic I/O mapping capabilities
  • 🧩 Module-specific function blocks
  • 🌐 Fieldbus connectivity
  • 🖥️ Edge computing functionality

📖 Documentation Structure

Each library documentation includes:

  • 📋 Overview - Library purpose and key features
  • 🔧 Core Function Blocks - Detailed FB descriptions with parameters
  • 📝 Data Types - Enumerations and structures
  • 💡 Usage Examples - Practical implementation samples
  • ✅ Best Practices - Error handling and performance guidelines
  • ⚠️ Important Notes - Hardware compatibility and limitations

🛠️ Getting Started

  1. 🎯 Select Library - Choose the appropriate library for your application needs
  2. 📚 Review Documentation - Study the function blocks and their capabilities
  3. 💻 Study Examples - Understand implementation through practical samples
  4. ✅ Follow Best Practices - Implement proper error handling and performance optimization
  5. 🧪 Test Thoroughly - Validate in your specific environment

💡 Best Practices

⚠️ Error Handling

IF fbInstance.xError THEN
    CASE fbInstance.eStatus OF
        // Handle specific error codes
    END_CASE
END_IF

🎯 Performance Considerations

  • ⏱️ Use appropriate polling intervals
  • 🛡️ Handle communication errors gracefully
  • ⏳ Consider device response times
  • 📡 Implement proper telegram throttling for KNX
  • 🧪 Test thoroughly in target environment

⚠️ Important Notes

  • 📄 Documentation automatically generated from XML specifications
  • 📖 Always refer to official WAGO documentation for complete details
  • 🧪 Test thoroughly in your specific application environment
  • 🔧 Check library compatibility with your PLC hardware
  • 📦 Version requirements may vary between libraries
  • 🏗️ KNX/EIB requires proper ETS configuration and group address assignment

🔧 Hardware Compatibility

These libraries are designed for WAGO PLC systems and require:

  • ✅ Compatible WAGO controller (750/752/753 series)
  • 🔌 Appropriate I/O modules for specific applications
  • 🌐 Proper network and serial interface configuration
  • 📡 Required communication modules for protocol-specific libraries
  • 🏗️ KNX/EIB TP1 interface module (753-646) for building automation

📟 Supported Module Series

Series Description Applications
750 Series Standard I/O modules with K-Bus interface General purpose I/O, analog/digital
752 Series Advanced controller modules Edge computing, advanced control
753 Series Fieldbus coupler and gateway modules KNX/EIB, Profibus, CAN communication
75x Series Generic notation for multiple compatible modules Cross-platform compatibility

🏗️ KNX/EIB Specific Requirements

Component Description Purpose
753-646 KNX/EIB TP1 master module Building automation communication
ETS Software Engineering Tool Software KNX device configuration and group addressing
KNX Certification Device compliance verification Ensure standard compatibility
Proper Wiring TP1 bus topology with termination Reliable communication

🛠️ Tools & Utilities

📄 HTML Documentation Merger

# Merge single library documentation
python3 html_merger.py /path/to/wago/libs -s WagoAppKNX -o output/

# Features:
# ✅ No external dependencies (pure Python)
# ✅ Preserves WAGO formatting
# ✅ Embedded CSS and images
# ✅ Single-file output for easy sharing

🔍 Library Search & Navigation

  • 🏷️ Category-based organization - Find libraries by application domain
  • 🔗 Direct documentation links - Quick access to detailed docs
  • 📊 Comprehensive coverage - 200+ libraries documented
  • 🎯 Cross-reference support - Related libraries and dependencies

🤝 Contributing

We welcome contributions to improve this documentation:

  1. 🐛 Report Issues - Found incorrect information or broken links?
  2. 📝 Improve Documentation - Add examples, clarify descriptions
  3. 🔄 Update Libraries - Keep pace with WAGO releases
  4. 🧪 Share Examples - Real-world implementation patterns

📋 Contribution Guidelines

  • Follow existing documentation structure
  • Include practical examples where possible
  • Test all code examples before submission
  • Reference official WAGO documentation

📞 Support & Resources

🔗 Official WAGO Resources

  • 🌐 WAGO Website - wago.com
  • 📚 Official Documentation - WAGO Software Documentation
  • 🎓 Training Materials - WAGO Academy courses
  • 🛠️ Technical Support - Official WAGO support channels

👥 Community Resources

  • 💬 GitHub Discussions - Ask questions and share experiences
  • 🐛 Issue Tracker - Report bugs and request features
  • 📖 Wiki Pages - Additional tutorials and guides
  • 🌟 Examples Repository - Real-world implementation examples

🏆 Acknowledgments

  • 🙏 WAGO Kontakttechnik GmbH - For creating these comprehensive libraries
  • 👥 WAGO Community - For feedback and contributions
  • 🔧 Industrial Automation Engineers - For real-world testing and validation

⭐ Star this repository if you find it useful!

For detailed information about each library, refer to the individual documentation files linked in the tables above.

About

WAGO PLC Libraries Documentation This repository contains comprehensive documentation for WAGO PLC libraries, providing detailed information about function blocks, data types, and usage examples for industrial automation applications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages