WAGO Python WAGO PLC Library

API Overview

Modules

  • cc100: Controller-specific functionality for the CC100.
  • cc100.cc100_9301: The CC100 751-9301 is the base version of the CC100 series.
  • cc100.cc100_9401: The CC100 751-9401 with CAN support.
  • cc100.cc100_9403: The CC100 751-9403 with DALI support, but without analog inputs.
  • cc100.cc100_v1: Generic superclass for the older CC100 generation.
  • constants: Top-level constants.
  • controller: Generic controller functionality.
  • exceptions: All library exceptions.
  • fb: Standard library.
  • read_config: wagoplc.read_config
  • tasks: Task management.

Classes

  • cc100_9301.CC100_9301
  • cc100_9401.CC100_9401
  • cc100_9403.CC100_9403
  • cc100_v1.CC100_v1
  • controller.AI
  • controller.AIO
  • controller.AO
  • controller.Controller: The controller interface and basic functionality.
  • controller.DI
  • controller.DIO
  • controller.DO
  • controller.IO: Generic I/O superclass to store interface id.
  • controller.IOHandler: Handle the I/O wrapper classes.
  • controller.NI
  • controller.PT
  • exceptions.InvalidConfigError: Throw when an invalid configuration was given.
  • exceptions.NonExistingIOError: Throw when a not existing IO is trying to be reached.
  • exceptions.NotDefinedError: Raised when a variable in a task function is not defined in IO mapping.
  • exceptions.WAGOPlcError: Base class for WAGO PLC related errors.
  • exceptions.WatchdogTimeoutError: Throw when task cycle exceeds maximum allowed time.
  • fb.CTD: A down-counter function block.
  • fb.CTU: An up-counter function block.
  • fb.CTUD: An up- and down-counter function block.
  • fb.FB: Generic superclass for a function block.
  • fb.F_TRIG: Trigger on a falling flank.
  • fb.RS: A RS latch (reset dominance).
  • fb.R_TRIG: Trigger on a rising flank.
  • fb.SR: A SR latch (set dominance).
  • fb.TOF: Create a delay in switching off.
  • fb.TON: Create a delay in switching on.
  • fb.TP: Create an impulse.
  • tasks.Scheduler: A task scheduler.
  • tasks.Task: Represent a PLC task.
  • tasks.Tasks: Manage task registration per program.

Functions

  • read_config.get_controller: Get controller object by item number.
  • read_config.read_config: Read the configuration file.
  • read_config.validate_task: Validate task schema.
  • tasks.cont_handler
  • tasks.stop_handler

This file was automatically generated via lazydocs.