Try AiFixThat

An example shows which diagnostic program AiFixThat generates from an existing PLC program. Soon a PLC program can be uploaded as well.

Example: alarm messages for a reversing contactor circuit

A reversing contactor circuit drives a motor in both directions of rotation. Using this PLC program, we show which diagnostic program AiFixThat generates from it.

PLC program (unchanged)

FB_ReversingMotor.st

FUNCTION_BLOCK FB_ReversingMotor   VAR_INPUT      i_bCmdRight    : BOOL;   // Command clockwise      i_bCmdLeft     : BOOL;   // Command counter-clockwise      i_bFbK1        : BOOL;   // Feedback contactor K1      i_bFbK2        : BOOL;   // Feedback contactor K2      i_bMotorProtOk : BOOL;   // Motor protection Q1 OK   END_VAR   VAR_OUTPUT      q_bK1 : BOOL;            // Contactor K1 (right)      q_bK2 : BOOL;            // Contactor K2 (left)   END_VAR   q_bK1 := i_bCmdRight AND NOT i_bCmdLeft             AND NOT i_bFbK2 AND i_bMotorProtOk;   q_bK2 := i_bCmdLeft AND NOT i_bCmdRight             AND NOT i_bFbK1 AND i_bMotorProtOk;END_FUNCTION_BLOCK

Generated by AiFixThat

FB_ReversingMotor_Diagnostics Generated

No.Message textSignalClass
1001Motor M1: feedback K1 missingi_bFbK1Fault
1002Motor M1: feedback K2 missingi_bFbK2Fault
1003Motor M1: motor protection Q1 trippedi_bMotorProtOkFault
1004Motor M1: feedback K1 and K2 at the same timei_bFbK1 · i_bFbK2Fault
1005Motor M1: contactor K1 does not drop outi_bFbK1Fault
1006Motor M1: clockwise and counter-clockwise requested at oncei_bCmdRight · i_bCmdLeftWarning
Illustrative example · Reversing contactor circuit · 17 lines → 6 messagesDemo files in preparation
  • Sample PLC program The original PLC program of the reversing contactor circuit.
  • Generated diagnostic program The result with monitoring and fault messages.
  • Download Sample PLC program and result to download.
Coming soon

Upload for the PLC program

A PLC program can soon be uploaded here — the upload is being built. Encrypted transfer, processed exclusively for the agreed purpose.

  1. 01Upload
  2. 02Generate
  3. 03Pay & download

Upload a PLC program

Soon a PLC program can be uploaded here. AiFixThat generates a diagnostic program from it, which can be downloaded after payment. The PLC program is processed exclusively for the agreed purpose.

  • Upload PLC programUpload a PLC program according to IEC 61131.
  • Generate the diagnostic programAiFixThat generates monitoring and fault messages for the actuators.
  • Paid downloadDownload the generated diagnostic program after payment.

Prefer to look at it together?

Book an appointment — AiFixThat is shown live with an example.

  • Free & non-binding
  • Live demo with sample PLC program
  • about 30 minutes
Julian Kräutler
Ansprechpartner