Search the Community

Showing results for tags 'codesys'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 20 results

  1. I recently logged into a Schneider PLC (M241)machine and found a coding style I had never seen before. I understand what they are doing after a fashion, just not sure why it works. They have assigned an INT to a coil as a means of avoiding duplicate coil symbols. I have always used a MOV function to write values to INT and do not understand the value change behavior that occurs when doing this. They then simply use a >0 as a means of triggering output Could anyone point me at an explanation or lesson on this? I am not a computer science programmer(can not read ST) and suspect that is why I do not know this technique already.
  2. Hi, How can I communicate Codesys and Intouch. Can you help me.
  3. Hello everyone, I want to use my own computer as plc. I have a molex brand SST-PB3-PCU SST card. I will connect my I/O modules to the profibus adapter, then I will connect the adapter to the SST card. Can Codesys see this SST card and if so how do I make the connection. I can connect this type of connection in the InControl (an old software) program that I used before.  Please Help Me!! The Board I use to connect the I/Os to the computer: SST-PB3-PCU  Profibus Adapter to which I connect I/Os: 1794-APB | Allen Bradley PROFIBUS Adapter Module My I/O Modules: Allen Bradley 1794-IB16 and 1794-OB16 My OS: Win10 64 bit Codesys Version: CODESYS V3.5 SP18 Patch 3
  4. Hello guys, How can I output the I/Os by plugging the Hilscher Brand Card into the PCI input of the computer using Codesys as SoftPLC. Is something like this possible? I'm waiting for feedback from friends who have worked on this issue before. Can you help me?
  5. Hello im using  EcoStruxure Machine Expert  1.2 and i missing IEC Objects  tab  on the Controller properties. thanks for answers!    
  6. Hello Everyone, I am writing one logic and need some help regarding that logic.   CURRENT LOGIC -  -There are two timers TON_1 and TON_2. -TON_1 timer will start as soon as PLC turns on. -After the done bit of TON_1 timer, the TON_2 timer goes on. -After the done bit of TON_2 timer, again the TON_1 timer will start. -This logic cycle will run continuously, both timers will run turn by turn. Code (Codesys/Schneider Eco Structure Machine Expert)- PROGRAM POU_1 VAR      TON_1: TON;     TON_2: TON; END_VAR TON_1(IN:=(NOT(TON_2.Q)) , PT:= T#100S); TON_2(IN:=(TON_1.Q) AND (NOT(TON_2.Q)) , PT:= T#20S);   Actual Requirement -  -There is a BOOL tag. -If the BOOL tag gets high during the TON_1 running, the logic should move to the TON_2 immediately. -If the BOOL tag does not get high during the TON_1 running, the logic should move to the TON_2 after completion of TON_1. -after the completion of TON_2, again restart TON_1. -Logic Runs continuously in a cyclic mode.   Give me your valuable idea to fulfill the logic requirement.
  7. Codesys

    Hello - I stumbled across some mention of Codesys and was curious if anyone here uses it. Pros/cons? prefer it over other programming software. Have it downloading currently (since you can download a free variation of the application) but it looks quite interesting. Also - what PLC hardware is programmed with it? Did not see that mentioned on their website when I was browsing through.
  8. How to use RTU_Master ?

    How to use RTU_Master, Get_Bit_Mbus, Put_Bit_Mbus, RTU_CRC16 to process data from RFID reader? I want to take an RFID input an process its data to run a particular rung, any alternative option is also welcome. Thanks in advance.
  9. Is there a setting somewhere to get the UI to update unused variables? For example, I just need to troubleshoot an Ethernet/IP device I load up an empty project, setup the EDS and I want to view the data. The bit mapping never updates unless I include it in logic. The yellow highlighted items are not used in my program so they do not update. They may be diagnostics or error codes though that I want to see but not use.
  10. Hello,  Greetings everyone, I want to communicate RFID with Nexgenie 2K PLC via serial communication protocol (RS 422), I am using Codesys 2.3 software for the development, may I get any sample program regarding this or someone can suggest me how can I implement my program, Thanks in advance.
  11. Hi all, I have a Wago PLC and sometimes all IO's start flashing on and off. Then I need to be near the PLC and check the error LED's. They are blinking in a certain way with pauses which gives the error and sub-error code. It seemed there was an error with K-bus. An IO module was missing. I removed some IO's and replaced them again and restarted the PLC a couple times with the end module somewhere in between and suddenly the error was gone. All IO modules were in the same place again and everything worked again. I suppose there is a bad contact somewhere? Maybe I need extra power modules? It happens only once every month or so... 1st question: anyone has an idea of what the reason for this fault could be? 2nd question: is there any place where I can see a log of these errors? I can't find it anywhere in codesys or in the web interface. I'm looking for something like "diagnostic buffer" in Siemens PLC's. Thanks!
  12. Getting Started With Wago PLCs

    Hello All, I have some background in Allen Bradly PLCs however am looking at using Wago 750 series PLC for a low cost project.  Doing some quick searches I find that the hardware is plentiful and relatively inexpensive.  I also see that CoDeSys is widely used for programming them and the best I can tell its free?  So, I'm looking a a few hundred dollars for the hardware off eBay and a free download of CoDeSys, is that it, or is there anything else I'm missing to get started? Thanks in advance for your help.
  13. Has anyone had any luck adding Allen Bradley EtherNet/IP devices to the IO tree in Codesys using the EtherNet/IP scanner module from Codesys??
  14. Hi everyone, I am newbie in here. I am associated with a rail integrator company in Finland, which is specialized in providing EN 50126/50128/50129 SIL 4 certified control solution for railway signalling and interlocking. As of now, we have been using HIMA PLCs (HIMax, HIMatrix), a proprietary HIMA OS and HIMA's IDE (SILworX). As of now, we are pretty satisfied about HIMA's performances. But we are also assessing some alternatives, which are based on open standards. As per our findings we are looking into the following: Hardware: Artesyn's ControlSafe Computer Platform and MEN Mikro Gmbh's MH50C Platform OS: VxWorks, QNX, PikeOS, Integrity IDE: SCADE (ANSYS), Prover, Flexisafe (Infoteam), Codesys, Matlab (?) Since SILworX is based on IEC 61131-3 languages, and our applications are made up of function blocks, we are trying to avoid platforms like C, C++, AdaCore etc. It would be great to have some inputs on these, and also about some other alternatives. Thanks in advance! :)    
  15. 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    
  16. 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?
  17. 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.
  18. 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
  19. 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!
  20. 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