Compax3 Sofware - T30/T40 - IEC Programming Tips and Code Examples
This posting is a launch page for various FAQ's on the Compax3 IEC programming.
Tips
How do I add a C3 IEC library?
T30 and T40 - Where are the Analog Input Status?
What does the PIO_Init Device input refer to?
How do I change the homing mode after configuration?
C3_Input and C3_Output function blocks need EN enable in Ladder
Â
Samples
Compax3 Series Sample files
Below samples included in the IEC_Samples.zip file, right-click on link and Save Target As... and extract and then open in CoDeSys v2.3
  Includes:
C3 with Xpress HMIÂ
Array
Basic Motion with IO CFC LD ST
Counters Timers CFC LD ST
Custom Function  Exponential
Cyclic Motion  LD ST
Discrete Motion CFC LD ST
Gearing CFC LD ST
Homing CFC LD ST
Jog on Inputs CFC
Motion Status CFC LD ST
Retain Variables CFC LD ST
Case Statement Template
Torque Block Sample CFC LD
T30 as T11 - CFC and ST -Â Makes a T30 work like a T11 with BCD inputs
Â
Video: Sample Program: Life Test Cycle
Video: Analog position / Joystick program for Compax3
Toggle Function - Useful IEC Functions (for Codesys and Compax3)
Torque Control Sample - Useful IEC Functions (for Codesys and Compax3 with Interact Xpress Panels)
Convert Binary Pattern to Integer - Useful IEC Functions (for Codesys and Compax3)
Convert Integer to Binary Pattern - Useful IEC Functions (for Codesys and Compax3)
Moving/Not Moving Signal - Useful IEC Functions (for Codesys and Compax3)
Reset - Enable - Home Function Block - Useful IEC Functions (for Codesys and Compax3)
Read Analog Inputs - Useful IEC Functions (for Codesys and Compax3)
Â
Related FAQ:Â
Â
Â
glh 10/18/12
5/22jh .pro blocked move to zip file