Search the Community

Showing results for tags 'codesys'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 6 results

  1. Hi, I Have some Problems with this Function Block written in Codesys ST: Variables: FUNCTION_BLOCK FB_Powder_Test VAR_INPUT     bEnable: BOOL;     bPowder_On_Button: BOOL;     bPowder_Test_OnOff: BOOL;     iTime_Powdertest: INT; END_VAR VAR_OUTPUT     bReset: BOOL;     iActual_time_powdertest: INT; END_VAR VAR     PowderTest_Ton: TON; END_VAR Function Block: IF NOT bEnable THEN     bReset := TRUE;     PowderTest_Ton.IN := FALSE;     iActual_time_powdertest := 0; ELSE     IF bPowder_On_Button THEN         PowderTest_Ton(IN := bPowder_Test_OnOff, PT := (INT_TO_TIME(iTime_Powdertest) * 1000));         iActual_time_powdertest := REAL_TO_INT((TIME_TO_REAL(PowderTest_Ton.PT) - TIME_TO_REAL( PowderTest_Ton.ET)) / 1000);         bReset :=  PowderTest_Ton.Q;     END_IF END_IF and GX Works3  Variables: bEnable                                  Bit                        VAR_INPUT bPowder_On_Button            Bit                        VAR_INPUT bPowder_Test_OnOff          Bit                         VAR_INPUT iTime_Powdertest                Word [Signed]    VAR_INPUT bReset                                    Bit                        VAR_OUTPUT iActual_time_powdertest    Word [Signed]    VAR_OUTPUT PowderTest_Ton                  TON                     VAR   Function Block: IF NOT bEnable THEN     bReset := TRUE;     PowderTest_Ton.IN := FALSE;     iActual_time_powdertest := 0; ELSE     IF bPowder_On_Button THEN         PowderTest_Ton(IN := bPowder_Test_OnOff, PT := (INT_TO_REAL(iTime_Powdertest) * 1000));         iActual_time_powdertest := ((TIME_TO_INT(PowderTest_Ton.PT) - TIME_TO_INT( PowderTest_Ton.ET)) / 1000);         bReset :=  PowderTest_Ton.Q;     END_IF; END_IF; I have this Error: No.    Result    Data Name    Category    Content    Error Code 1    Warning    FB_Powder_Test    Syntax Check    Convert data type from INT type to REAL type automatically.    0x11042FD4 2    Error    FB_Powder_Test    Syntax Check    Data type of argument does not match.    0x11041F61    
  2. Hi, Many Programms we have are written in Codesys and in ST Language  and now we have a FX5U and I'm trying to Convert some of them. But the both Systems are different, I miss the Librarys like util.lib and FB like RAMP_REAL, BLINK, LIMITERROR which are in Util.lib. Are there Librarys like util.lib for GX Works 3 ? Is it possible to convert Ladder to ST? (I dont have any Idea from Ladder and I'm new in Programming)  Have someone Sample Programms for me for Training?
  3. AnyViz is probably the easiest way to monitor, operate and analyze your PLC remotely, thanks to the cloud from any location. No need of additional hardware or software licenses. More info at www.anyviz.de Functions: Real-time process data visualization with just a few clicks Record and analyze machine data easily Targeted Condition Monitoring Remote control - from anywhere in the world Connecting machines, beyond location boundaries Access with any modern browser and any kind of device like notebook or smartphone Have a look at our YouTube Channel to see AnyViz in action.
  4. FX3U-ENET and Modbus

    Hi There i have heard from our local mitsubishi dealer, that there is a Fx3U-ENET module which also supports Modbus TCP. so i ordered one, because i am planning to do a Project using a atv71 FU and a Codesys PLC, so the plan is, that these 3 Devices are able to communicate together over Modbus. has anyone done something similar before? what do i need to setup in FX-Configurator EN, and how can i send modbus commands through that module. i am using GX-Works 2 and have a Structured project. any help would be appreciated. thank you jason
  5. PLC Programmer Job

    Hi there! I`m a PLC programmer from Romania and i work in automotive industry. I know to program in Step 7 and in Codesys. I`ve been working with S7-300 from Siemens and Wago 750-881. I am also designing the electrical drawing for my project in a software called WSCAD. I am trying to leave abroad because i have a low salary here and i am wasting my knowledge. Can anyone give me an advice or help me with finding a normal paying job in plc programming? Thank you very much in advance and have a really nice day!
  6. Hi, I have a program for FX2N-48mr written in GX Works (gxw). I'd like to convert the software to CodeSys. If possible, can anyone send me the best procedure for it? Thanks. Oren