Search the Community

Showing results for tags 'st ton timer structural text fx5u gxworks'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 143 results

  1. FX5U comm with A1SJ71QE71N3-T

    Hi, does anyone has program example of ethernet communication between FX5U (GX Works 3) and A1SJ71QE71N3-T (GX IEC Developer). I need to read and write in both directions. Thanks
  2. how to set up timer in st

    Hello all I m new in st programming in omron I want to use timer in st please help me regarding this
  3. FX5U Modbus communication

    Hello, It is necessary to manage 34 inverters via serial communication RS485. If a Modbus protocol is used according to the documentation, only one RS485 channel can be master. Then the maximum number of inverters will be 32. Can anyone share their experience on this case? Thanks in advance to all those who participated!
  4. I have a fx5u plc connected to 2 keyence sr 1000 qr code scanners using plc link. On random times the plc error light will light up and all ethernet connection will be disconnected and i cannot connect to the plc with gx works 3. If i put the plc in stop mode tho i can connect to the plc. I do not know what error code is causing this because each time i connect the error code is missing. The problem starts when the plc is in run mode. Can anyone help me with this as this is a persistent bug that keeps on happening in my system?
  5. Hello everyone, I am new to Mitsubishi PLC. My device is  IQ-F series FX5u-80 and GX Works 3 to set up parameters using ST. I need to implement a function that waits for a confirmation signal in order to continue to the next step of the program.  I though about another way by using a delay function instead of confirmation single for testing purpose
  6. GX Work2 Comments in Arrays

    I am very new to the Mitsubishi PLC world (I have a lot of experience with A/B and Omron though).  I am having an issue trying to assign comments to an array of Globally scoped bits - I am also using Structured Ladder - NOT simple ladder.  Is it possible to do this?  I have contacted there tech support group and they were of little help.  I don't care if I update the label comment or the device comment, I just want to assign a simple comment that can be displayed (i.e. I am using this for step sequences).   Any help would be greatly appreciated!  
  7. Hi. This regards ventilation. A room has two air inlet dampers (pretty much like a big air valve in a ventilation duct). Only one is used at a time to regulate temperature in the room, and the other is then closed. When switching the inlet of air from one damper to another; i have not decided what method to use yet. I consider splitting the regulator output in two and let the one damper ramp down to this value, and the other ramp up.  When these values are reached one ramps up to the full regulator output and the other to zero. Not quite sure this is the best solution, and the code is not written yet :) Anyone done anything similar or has suggestions? Cheers!
  8. New to OMRON

    Hi group. I am trying to improve on an existing program however I am not very familiar with OMRON. I am programming an OMRON CP1H using CX Programmer V.9.6 I would like to display an alphanumeric display on a Proface HMI.  I would like the display to show different text based on a user input.   In the screen shots below a user would load a battery into a specific row/column, I will call it a "slot".  The way the program is now the FIFO would load for example the number value 2009, which illogically represents "Row 2, Column 4, which would be slot 9. How can I program a text display to say "Row **, Column **, Slot ** ?  Seeing 2009 in the FIFO stack makes no sense. The images below: 1 - Current Logic that generates the 2009 based on row and column selected.  In this case Row 2, Column 4 would equate to slot 9. 2 - User input screen 3 - FIFO stack based on how the battery was entered.  In this case 2009 would go into the FIFO.  If the operator then loaded Row 1, Column 1, the next number generated would be 1001 (Row 1, column 1.  
  9. Hello:   I need to link  a lot of variables, pointing to CIO address, like "AT" field, but is a large volume of tags to create, so, I have a chance to assign a memory location to a variable in ST like:  my_tag := %100;  (trying to assign tag address to CIO 100) ? If not, there is a method to import tags from a Excel ?   Thanks.    
  10. Hey guys, I've question about Transient transmission (TT) via CC-link using FX5 as a master. According to chapter 4.3 in "FX5 User's Manual (CC-Link)" only way to access TT is via computer with GXworks3. Is there some workaround to use standalone FX5?   Thanks again
  11. TIA TP1500

    Hi all, I have communicated my tp1500 with Ab 1400 B series..the proble is I have setted setpoint of timer is 30min I read my timer pv in hmi in that time ##will shows in hmi in that case I cross checked my program its twr running properly.   Another how to set date for tp 1500
  12. Hello, I want to count rotation time or cycle. I am using bellow code in the picture. If I set timer 10 ms, when counter working well, but I set timer 1 ms the counter working same how set timer 10 ms. I have question in my code is slow timer or counter and somebody give me advice how need count the rotation ms accuracy.    
  13. Does anyone have any experience with the recently released user web interface for the iQ-F and iQ-R series. Supported by GX Works3 version 1.047Z or later, the firmware Version 1.100 or later. We have the sample user web interface running in a FX5U, its working very smoothly. I am currently looking into how to edit the html page, does anyone have any tips or useful tools/resources that I could use to work things out.       iQ-F Customer News regarding FW Update 08-2018.pdf
  14. FX5U Modbus-TCP Server (Slave)

    Hello everybody. I need a solution for Modbus-TCP server on the PLC. With the FX3U it would work with the FX3U-ENET module. The internal interface of the FX5U should actually be able to work with the library of the FX3U (FX3GModbusTCPServer_GW2_V100) or not? Because a socket connection is now possible. I would be happy about suggestions. Dave
  15. Hello Everyone I have a problem to connect FX5U with Inverter Mitsubishi D700. ( no  respond from inverter) . I did read and following the manual. Could any one can help me?
  16. Hi ! I have to Control and Read an Masss Flow Controller (MFC) MKS MF-1, I have give this one an IP Adress ( How can I Control it over Modbus TCP? I found in GX Works 3 in Tool/Predifined Protocol Support function the Modbus Menue, but i have no Idea how to Config it, i have no Idea how Modbus works..... Have someone an Example for a Configuration? 
  17. Continuous sine wave problem

    Hi,  I encountered specific problem during work with PLC&HMI application. The main task of that system is controlling torque changes of induction motor with inverter&analog PLC output. There are few built-in functions to change torque: exponential, constant, trapeze and unlucky sine. All functions are implemented as array of 1500 values. When array reaches 1499 element, it comes back on first position and so on. It works without any problem for exp, constant, trapeze and sine wave with natural numbers of frequency e.g. 1Hz, 3Hz etc. The trouble appears when we want to control torque with float value of frequency and unfortunately its the most important part of that project. When the float value frequency is chosen, the last element of array is totally different than the first one. In result, in every period of array, appears drop of value. Check the attachments to comprehend what's going on. The first image shows GXWorks restriction of index. The second image shows how does it look on simulate screen, where it's representation of PLC registers D2000 - D3499. On third and fourth images you see values of registers in Device Memory Batch of GXWorks. Fifth image shows the script which I work on. Do you have any ideas how to implement float values of frequency in correct way? I should make an opportunity to online change of sine frequency in continuous way between 0 and 10 Hz, with 0.2Hz step. I will be very grateful for any advice.  Greetings, J
  18. I am using CJ2M PLC.I want switch on a output for certain time by a timer and holding bit if interlocks satisfied.If interlock not OK timer has to hold the time and output should be off. if again interlocks OK again output has to ON upto balance time completion and has to give timer done output for reset holding bit.please suggest.
  19. 1ms TON and TOF GX Works 3 FX5U

    Hi everyone I'm new to FX5U, 'cause I previously used Q-series PLC. So, is there any possibility to make on delay timer with 1ms PT?
  20. Develop a program that will latch on an output Y0, 20 seconds after input X1 has been turned on. The timer will continue to cycle up to 20 seconds, and reset itself, until input X1 has been turned off. After the third time the timer has timed to 20 seconds, the output B will be unlatched.
  21. Hello, I have managed to send output to a terminal using a serial channel.  I have not been able to send data from the terminal to the Mitsubishi PLC. I am not using terminating resistors but I have a slow baud rate of 4800.  I am just using regular wires (1.5mm square) .  I think the hardware is okay as I can see the output from the PLC on the screen. Attached is the code.  I just send from the terminal the character 22 every second, I hope this is not too incomplete to get some help.   The plan I guess later is to interface with LabVIEW probably using Modbus but I need to try to get this working first.     UL9.gx3
  22. I have the following array received from the RS232 port: RD_data[0]=H0020 RD_data[1]=H0030 RD_data[2]=H0030 RD_data[3]=H0030 RD_data[4]=H0031 RD_data[5]=H0035 RD_data[6]=H002E RD_data[7]=H0032 RD_data[8]=H0036 which means " 00015.26" how do I convert it to the real number 15.26 in FX5U PLC? SOLUTION: I used BTOW to set the data for EVAL instruction  
  23. Hi, I am searching for a  Possibility to Set bits in Set or Reset State. How can i do that? in Example the Code in LD: and in ST EQ_E( Merker79 AND Referenzfahrt_TP_Ein_Aus = TRUE , bDummy , P_Achse_Istpos_pulse , 0 ); PLS( bDummy , Drehrichtung_P_Achse AND M8140 AND Loeschen_Positionszaehler_Achsen AND Startpos_anfahren_nach_Referenzi AND P_Achse_Referenziert = TRUE );
  24. 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    
  25. 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?