USER PID function block

AN-402 User PID Function Block

Trio BASIC includes a PID function for general purpose use. The function mirrors the PID found in a typical IEC 61131-3 PLC programming system.

This document explains how to use the USER_PID function and examples.
    • Related Articles

    • AN-338 Creating User Function Block in IEC-61131-3

      This document is a quick guide to creating and using a User Function Block in IEC61131-3 programming
    • MOVE and SEL functions in IEC

      I could not find equivalent of Codesys MOVE or SEL functions in our IEC language. A programmer can easily recreate the MOVE by creating a user function block that on rising edge of the ENO input will pass the value of IN to OUT with the desired ...
    • Gathering analog input data using Flexslice Ain Module

      A Visual Studio program connecting over Ethernet will not be deterministic. So there will be timing errors. The built-in SCOPE command can be used to log data. It will save data to TABLE at the servo cycle rate. So if SERVO_PERIOD is 1000 usec, then ...
    • Enquiry about Endat interface using Bekchoff EL5032

      EC_EXTEND for Beckhoff EL5032 2 x Encoder input module. Tested and working on 28th January 2020. The EK1100 coupler is already in the firmware. It does not require an EC_EXTEND.
    • AN-389 VRSTRING 16 bits TrioBASIC Function

      VRSTRING combines the contents of an array of VR() variables so that they can be printed as a text string or used as part of a STRING variable. This document explains with an example code.