For me the same thing when opening the project. But the project is easily compiled!
Hi @eschwellinger, Is the PinGroup attribute no longer supported?
Die im FB 'zeitschalter' deklarierten Variablen sind nur lokal gΓΌltig und global nicht sichtbar. Deshalb kannst du in'PLC_PROG' nicht darauf zugreifen. Hier must du entweder eigene Variablen deklarieren oder globale Variablen in einer globalen Variablenliste (GVL) anlegen. mfg Reinhard
Hello, here is a small test project. The MB slave is just a dummy, you have to insert your slave. The main program is the PLC_PRG, it calls the Prg KOP. Greetings Reinhard
Hello you can use a union to swap the words code UNION RealValue : REAL; MbValue: ARRAY[0..1]OF WORD; END_UNION END_TYPE Here is a function to convert two Mb-Words in a Real-Value. code FUNCTION F_MbConvert : REAL VAR_INPUT MbWord0: WORD; // ModBus-Register 1 MbWord1: WORD; // ModBus-Register 2 SwapWord: BOOL; // true = swapping MbWord0 <-> MbWord1 END_VAR VAR _uMbValue: uModBusValue; // Union END_VAR IF SwapWord THEN _uMbValue.MbValue[0] := MbWord1; _uMbValue.MbValue[1] := MbWord0; ELSE _uMbValue.MbValue[0]...
Hello Felipe, I had the same problem after updating from V3.5.18.0 to V3.5.18.20 . The CODESYS Visualization package was not installed. You need to install the package with the CODESYS Installer Reinhard
Hello Yann, have you made these settings in the Project Settings and the FB settings?
Hello, you have to declare 'SFCReset' in the VAR_INPUT section of your FB 'GRF7_proc'. A little snipet from my FB 'Bohren' Reinhard