Posted 16 Nov 2018 I have connected weintek 8103ie with fx3u 128m (Mitsubishi). The problem is when I create a toggle switch to hold an input on PLC it doesn't work. But momentary switch works properly. For eg. I want to keep input x1 of PLC on when I press a toggle switch. Also I want to run a coil when I hold a touch input. I can't achieve this in ebpro (IAM new to hmi ) but ok with PLC program.please help Share this post Link to post Share on other sites
Posted 17 Nov 2018 Be so kind to learn the hardware part of PLC, the principles, how it is working, before to ask and to publish the stupid issue. Because it causes a wild laughter and sobbing, instead of giving an answer to it and helping. Share this post Link to post Share on other sites
Posted 17 Nov 2018 1 hour ago, Sajadh said: (IAM new to hmi ) but ok with PLC program. P.S. Alas, your question also shows, that, sorry, but you are not a specialist or a bad specialist in PLC programming too. And if you have learned the speciality somewhere, you must learn it again from scratch at another school. Share this post Link to post Share on other sites
Posted 17 Nov 2018 8 hours ago, Inntele said: P.S. Alas, your question also shows, that, sorry, but you are not a specialist or a bad specialist in PLC programming too. And if you have learned the speciality somewhere, you must learn it again from scratch at another school. It's easy to criticize than to help Share this post Link to post Share on other sites
Posted 19 Nov 2018 Well, that escalated quickly... I hope that Google translate caused the response to be amplified further than intended, but it's possible it didn't. Sajadh: What have you done so far? I'm not familiar with that particular hardware, but some concepts carry over between hardware brands very well. Is x1 a physical hardware input to the PLC? If so, writing to it with the HMI will almost certainly not have the results you're looking for. The HMI should be writing to an internal memory location in the PLC that will then be used to control the output. 1 person likes this Share this post Link to post Share on other sites
Posted 19 Nov 2018 What I have done is assigned an input for a button in ebpro(weintek software) Eg. |X0|------------- -(y0) where x ,y are inputs and outputs of fx PLC. When I press(and hold) a button assigned to x0 on the hmi it should run y0. But when I assign a memory and use momentary switch it is working .ie |X0|----------[set m0] |M0|---|x0|------(y0) this is working. Share this post Link to post Share on other sites
Posted 20 Nov 2018 (edited) 4 hours ago, Sajadh said: What I have done is assigned an input for a button in ebpro(weintek software) Eg. |X0|------------- -(y0) where x ,y are inputs and outputs of fx PLC. When I press(and hold) a button assigned to x0 on the hmi it should run y0. But when I assign a memory and use momentary switch it is working .ie |X0|----------[set m0] |M0|---|x0|------(y0) this is working. |X0|-------------(M0) |M0|------------(Y0) Then you'll get a possibility to control of M0, somelike you'd control the X0. Keep in mind! Never to use real inputs (X area) inside a program! With the first string of your program all used inputs must be copied into auxilary relays (M area) and then only these auxilary relays must be used in the program! This is the basics, the alphabet of PLC programming! If your teacher did not tell to you the mentioned above, I have a wild desire to kill him with a cudgel... If he told it to you, but you slept at his lections, you must die of the shame! On 17.11.2018 at 2:37 PM, Sajadh said: It's easy to criticize than to help This is not a criticism. Peritonitis is not treated with pills, the appendix is surgically removed. Edited 20 Nov 2018 by Inntele Share this post Link to post Share on other sites
Posted 20 Nov 2018 Thanks for your reply. |X0|--------(mo) will not hold the relay in fx PLC as far as my knowledge if some other conditions doesn't support it. But |x0|------[set mo ] will hold the relay. But even after doing so when I press a switch on hmi the output works just to hold the relay. I can't achieve when I press and hold a switch to run an output Share this post Link to post Share on other sites
Posted 20 Nov 2018 3 hours ago, Sajadh said: Thanks for your reply. |X0|--------(mo) will not hold the relay in fx PLC as far as my knowledge if some other conditions doesn't support it. But |x0|------[set mo ] will hold the relay. But even after doing so when I press a switch on hmi the output works just to hold the relay. I can't achieve when I press and hold a switch to run an output Ohh... I just showed you a common principle of program code. When program is working in simulation mode, the copyring of X0 to M0 is not active! So with controlling of M0 you are able to control Y0. Other case, you must control the output both using X0 and HMI virtual switch. In this case you should activate another bit from HMI, e.g. M100. And the final code will look like: LD X0 OUT M0 LD M0 OR M100 OUT Y0 Joe E. has already said you about it several posts above. Share this post Link to post Share on other sites
Posted 22 Nov 2018 On 11/20/2018 at 3:49 PM, Inntele said: Ohh... I just showed you a common principle of program code. When program is working in simulation mode, the copyring of X0 to M0 is not active! So with controlling of M0 you are able to control Y0. Other case, you must control the output both using X0 and HMI virtual switch. In this case you should activate another bit from HMI, e.g. M100. And the final code will look like: LD X0 OUT M0 LD M0 OR M100 OUT Y0 Joe E. has already said you about it several posts above. Thanks Share this post Link to post Share on other sites