saruans

MrPLC Member
  • Content count

    80
  • Joined

  • Last visited

Everything posted by saruans

  1. Omron PLC problem

    Hello, Maybe somebody know why show this error number and that that mean, how solve this problem? I upload video to youtube https://www.youtube.com/watch?v=Leiya_YreeQ
  2. profibus connetion

    Hello, I want to ask you. Can I connect profibus master device as I drew? If not, when could to explain why?  The 9-pole D-Sub connector:    
  3. 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.    
  4. Two bc9050 PLC IP/tcp

    Hello, Maybe somebody have twincat program example, where one PLC1 send via TCP/IP string to another PLC2. I attached picture. Or have advice how need to do that?
  5. Hello, I want to as you. Maybe somebody know, how need change screen to my wanted picture? I attached touchscreen picture
  6. array set zero

    Thanks to you. It is that, what to need for me.
  7. Hello, Maybe somebody know how make all array make zero. My array is DATAS: ARRAY[1..15, 1..6] OF INT;   I tried it     But it don't help me.  
  8. array set zero

    I find my mistake. It was masyvas[y,i]=0; need to do masyvas[y,i]:=0; Now I want simplify the main code. My Fb block show now that: If I write that: code working well. when have Input is true, when reset array, but I want to do that: Now problem with top picture, that I have input kuku false, but I wrote something to array DATAS,  so immediately reset DATAS. Somebody have advice how solve this problem and update my FB code? fb block text format: IF Leidimas THEN Masyvas1:=Masyvas; FOR i:=1 TO 6 BY 1 DO FOR y:=1 TO 15 BY 1 DO IF(masyvas1[y,i]<>0) THEN masyvas1[y,i]:=0; END_IF END_FOR END_FOR reset:=Masyvas1; done:=TRUE; IF done THEN reset:=Masyvas1; END_IF ELSE i:=1; y:=1; done:= FALSE; END_IF        
  9. array set zero

    I tried to use your advice and wrote FB with this code picture I got error Could somebody  say to me how solve this problem?
  10. Hello, I want control ATV320 inverter through MODBUS protocol. I found, that ATV312 inverter have IEC 61800-7 status chart. I attached picture. I want to ask, maybe ATV320 inverter have same IEC 61800-7 status chart and where need find it. Yesterday I try to find all evening, but don't successful. Somebody could help to me.
  11. Y0 pulse 1 Hz

    Bryll thank for help
  12. Y0 pulse 1 Hz

    I want make output Y0 pulse 1Hz, but my output now it is about 10 Hz. I attached my ladder code. Could somebody give to me advice how make it? PLC Fx3g series.  
  13. My PLC is M241CE24T/U Where are can find Cycle time setting?
  14. Hello, Maybe somebody will say to me how need solve this warning of in the picture
  15. Hello, Could somebody say to me Is it possible M241 plc Synchronization with NTP server? If yes, how need do it?  
  16. I tried conver int number to wstring, but have same problem. My ladder code and error list    
  17. Hello, I have try to write data to file, but I got error and I don't know how solve it this problem My code and error I attached photo. Maybe you could give to me advice how solve it
  18. Hello, Maybe somebody give to me advice, how simple add data of array from bufferrr[1] to bufferrr[24]. I try this, but it is long code  
  19. hello, Maybe somebody know how need send only hex numbers via rs232 in the external device? I tried to use SEND_RECV_MSG function block, but unsuccessful, because send ASCII code. Need send 16#AE number, but I don't have any idea how need do it. I am waiting your advice.
  20. integer number convert to bit

    Hello, I am confused  because need convert 8 bit integer number to bit e.g. If have number in the memory M12, 125 for me need active Output Y0=1, Y1=1, Y2=1, Y3=1, Y4=1, Y5=0, Y6=1, Y7=0. Somebody could give to me advice how need to do it? I am using GX Works2 and fx3g PLC
  21. integer number convert to bit

     
  22. Hello, I have problem with math operation div. I attached picture. In the picture you see I try number 9863 div 100 and answer I get 98, but to me need 98,63. How need do what I get answer under the cable?
  23. How use INT_TO_Real function ladder languages???  
  24. Hello, I want to know It is possible protection press button with password in the web server, if yes, when how need do it?