Search the Community
Showing results for tags 'st ton timer structural text fx5u gxworks'.
Found 205 results
-
Hi all, I have communicated my tp1500 with Ab 1400 B series..the proble is I have setted setpoint of timer is 30min Accum...so 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
-
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.
-
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
-
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?
-
Hi ! I have to Control and Read an Masss Flow Controller (MFC) MKS MF-1, I have give this one an IP Adress (10.46.103.75). 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?
-
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
-
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.
-
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?
-
How can I refine this so that it works properly for this problem?
tiria posted a topic in Mitsubishi
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. -
Mitsubishi FX5U Serial RS485 - non procedural communication
CrustyBurger posted a topic in Mitsubishi
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- 4 replies
-
- fx5u rs485 non procedural
- mitsubishi
-
(and 3 more)
Tagged with:
-
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
-
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 );
- 5 replies
-
- gx works3
- structured text
-
(and 2 more)
Tagged with:
-
Some Conversion Problems from Codesys to GX Works in Structured Text
Levent1970 posted a topic in Mitsubishi
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 -
Need Help for Converting FB from Codesys to GX Works 3 in ST
Levent1970 posted a topic in Mitsubishi
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?- 10 replies
-
- fx5u
- structured text
-
(and 2 more)
Tagged with:
-
Howdy, So the program I have has linked up and I've downloaded to the Omron NS-10 just fine... other than when I go to certain screens the text from all the descriptor labels are gone. I can't figure out if its a setting or if its just getting lost in transmission somewhere. Halp. Thanks,
-
Hello Everyone, I am struggling with interfacing Incremental encoder with FX5U PLC, Does anyone have parameter setting and sample program for same. i am unable to fetch counts... Encoder: 500ppr, 24V line drive, A-B phase, PFA datasheet Hollow Shaft encoder.pdf
-
- high speed counter
- encoder
-
(and 1 more)
Tagged with:
-
Hello Everyone, I am struggling with interfacing Incremental encoder with FX5U PLC, Does anyone have parameter setting and sample program for same. Encoder: 500ppr, 24V line drive, A-B phase,
-
- high speed counter
- encoder
-
(and 1 more)
Tagged with:
-
Good Morning. I'm budgeting an application with the following FR-F720, FR-D720, GS2107 wtbd, FX5U-32MT / ESS equipment, I would like to know what network configuration for the application, I need accessory boards for the inverters, what physical arrangement it would be better for this application, which network would be used in the application, besides which function do I need to read and write in the inverters? Can I do CC link? If possible indicate materials that I can use to configure this application.
-
I am developing an application with fx5u with inverter d700, it fails to send a command to the inverter, only running the application and monitoring the clp does not appear to fail, only when it sends a command. Attached photo of plc configuration and error. Do you have any secrets to doing communication, can I do it with a normal network cable? I'm doing with just one inverter, as the terminator should be at 110 or 330 ohm.
-
I am making an application with a fx5u with 4 d700 inverter, what is the way to communicate with them and the configuration in gxworks3, someone has an example in ladder.
-
How to solve FX5U Security ES:0180840b Error (If you disable write to PLC)
altan posted a topic in Mitsubishi
Hello everybody, I have network from : PC - 192.168.3.11 PLC - 192.168.3.250 I change this option in FX5U PLC in GX Works3 for Network Ethernet port --> Application Setting -> Security -Disable Direct connect with MELSOFT : Enable/disable -DO not respond CPU module search : Respond / not respond and I upload program to PLC. After upload program to PLC and restart it was impossible to connect again. I Have ping between PLC and PC, but could't write program. Always writes me Error <ES:0180840b> So to disable Security Option you should to do : 1. Open Works3 2. New Project (Choose your PLC - FX5U) 3. Online menu 4. Specify Destination Communication 5. Click twice in PLC module 6. Set Connect via hub (In my case i connect PC and PLC directly !) 7. Choose IP Address ( in my project : 192.168.3.250 , PC must be in same network 192.168.3.X) 8. Give OK 9. Connect Test. With steps I disable security options and it was enable to connect to PLC and Write data on it. I Hope that will help to other with same problem. Special thanks to : Piotr Tynor(Mitsubishi, Poland ) , Adam Syrek (Mitsubish, Poland ) , I. Ayvazova (Bulgaria) , K. Raykov (Bulgaria) -
Hello. There is a controller FX5U-32MP in the presence, the inscription "CC-Link IE Field Basic" and the Inverter (FR-A840-00170-E2-60) near the connector, the inscription "CC-Link IE Field Basic" on the front panel. I set up both devices according to the instructions. It turns out to read the state of the inverter (state, frequency). And I can not manage from the controller. Already all the settings that could have changed. Can you scribble what is wrong? p.s. Sorry for the bad english.
- 5 replies
-
- cc-link ie field basic
- fx5u
-
(and 1 more)
Tagged with:
-
How to allocate memory in rcpu to link datas of FXcpu . through CC link configuration
-
Hi, I have a fairly easy assignment for a school project that has the following components: -1 impuls start switch -1 impuls stop switch -2 El-motors When you push start one motor is suppose to run. Then you push stop and it stops. The next time you start the other should run. Only one motor shoud run at the time. I solved this using a KEEP function in ladder logic. But I want to be abel to do the same thing in structured text. So my problem is that I cant fint anything to replace the KEEP function. Any help would be much appriciated.
-
In 1 - sorry for my English level) 2 - please take a Look at the picture - pid with auto-tuning. The problem is the opener, speed want to control using pid. The speed depends on the loop. The idea - the loop above the sensor - the greater the speed of the decoiler. According to the program stored in SD6301 current high (analog input to which you've ultrasonic sensor), D1500 specified value. In D204 - output pid. I have the exit D204 either 0 or 9999. Help me?