pszczepan

MrPLC Member
  • Content count

    406
  • Joined

  • Last visited

Community Reputation

1 Neutral

About pszczepan

  • Rank
    Sparky
  • Birthday 07/07/74

Contact Methods

  • Website URL http://
  • ICQ 0

Profile Information

  • Location Puszczykowo
  • Country Poland

Recent Profile Visitors

3921 profile views
  1. HSC, new interrupt after Z-phase reset

    linked threads are just for beginner. This is clear for me. I tested some solution and it more less works. Now I have A531.00 set to ON and hardware signal Z-phase reset encoder  I checked that if I want to start counting pulses to target value for CTBL and get another interrupt output ON I have to initiate CTBL once again after encoder reset The problem is timing. I set new CTBL declaration when Z-phase signal (0.04) goes off - but I make it from ladder and cycle is 7.3ms. How I have to implement this to avoid delay from cycle time thanks in advance    I tried to set CTBL in subroutine (interrupt task 141) from Interrupt in direct mode ( CIO 0.05). My idea was to connect Z-phase to CIO0.04 ( encoder reset) and CIO0.05 - CTBL registration), but in such a configuration CTBL doesn't work 
  2. Hi, I have encoder and count pulses in mode "Differential Phase Input" - Linear mode Every one turn I have Z-phase reset and counter starts from 0 I set some target value comparison table from D1000 for @CTBL #0000 #0000 D1000  and it works just one to reach target value   After PLC start and HSC reach target value for Interrupt 01 I get subroutine working, but even I reset HSC using Z-phase signal and PV goes to 0 still interrupt is activated. I would like to start and stop interrupt during one turn of encoder and make it every one turn Thanks for clue       
  3. SLC5/03 download program question

    I think so also. The question is, if I have memory installed is there any way to write program modification permanently? 
  4. Hi I am not very familiar with AB, but recently I decided to add some change to original program and after changes I made offline I downloaded  program and it went without any problem. PLC worked with new program until it was powered. When I switch OFF and ON power supply original program came and my changes disapper . Is it normal behavior? Can I change sth in configuratiopn to write my program permanently?   thanks for clue    
  5. CJ2M-CPU35 interrupt inputs

    Hi  In my PLC settings I have tab I/O module, there I can set interrupt inputs. There is no info if I have to add some hardware to do that or not Can you explain that.  I think I need CJ1W-INT01 added on left of CPU, but is not clear thanks      
  6. Modbus frame sent to slave - strange size

    I sent some frame from multiway as I attached and I got some reply but strange is that I get reply only if I sent frame and exktra "0000". If I send just a frame I get no response. I already sent some question to device producer, but not yet answer - just reply that device support standard modbus RTU Maybe you could explain that "0000",     
  7. Hi, I want to sent simply frame using FB mady by JPV from Omron France. It should send just frame  01030FA60002273C  to slave #1 When I check Multiway - it seems that frame is OK, but slave no reply. I checked different soft to monitor serial port and frame looks different - some bytes are sent twice.  I attached   screenshot and you can see the difference - Can you explain why it happened. Both frame I got when I set W30.0 in PLC and I saw just one blink LED Hmm I also attached screenshot from my serail port configuration. I tried also diiferent set of CP1W-CIF11 dip switches, but the same effect. Any clue??? thanks in advance                 
  8. NS Runtime 1.30 v 8.1

    Hi  I prepared test application (attachment) and all the time when I start Runtime I get error: "Failed to initialize communication processing. Exit the application except Run and re-start the system." I think I did everything correct. Below my specs. CX Designer 3.730 NS Runtime 1.30 NS Runtime is on PC WIN7 64 bit  res. 1024x768 Maybe you can help to find the problem     test3.7z
  9. MACRO MOVAPARTS, same ID, different screen

    Thanks for clue which is useful. Maybe it is problem of CX simulator and Cx designer tester, but I noticed that the object is blinking when encoder position is not changing. The project is prepared for NS runtime. The solution I found is triggering bit for macro execution only when drive is working - that's why I cannot use $SB0 to pulse generate. If you confirm that in NS HMI or NS-runtime blinking will not  exist, then I can use $SB0            
  10. MACRO MOVAPARTS, same ID, different screen

    I need to move object according to encoder values in PLC. The only way to refresh position I found to use bit trigger in project macro
  11. I did some movement for object for ID 0057 on scrren 3 Problem is that when I switch screen to f.e 1 some object with the same ID no. - 0057 is moved. This object sholud be static  How to block it? or set ID of my object which should be moved some high number manualy to avoid repeating  
  12. NS-runtime and resolution

    Hi, I have PC with screen 1200x800.  Do you know what happens if I set screen resolution in CX-designer more than PC screen resolution?   I will loose some data outside of PC screen or I can scale bigger screen to PC screen or I can move original screen size partialy on PC screen ( it will be just section)     
  13. Ethernet/IP setting IP of devices

    I got some API for IP setting in my encoder and I did it. When encoder is connected directly to my PC network card I can PING it, but when I connect encoder through switch ( standard - not optimalized for Ethernet/IP devices) Pings doesn't work. It is my first experience with ethernet/IP and maybe I ask some stupid question - Do I need special switch or it should work. When I connect encoder directly to my CJ2M and connect Network Configurator through USB I can't find my encoder IP it simply doesnt exist. Is important to use crossed wire or straight? - Anyway LEDs on encoder are blinking thanks for support             
  14. Ethernet/IP setting IP of devices

    Hi I want to set ethernet/IP network with CJ2M and 3 posital fraba encoders. I have problem to find out a way to set unique IP for encoders with MAC. Posital has example for AB something like BOOTP/DHCP from RSNetWorx.  How I can do it in Omron software? 
  15. I found such a FB for Modbus https://www.myomron.com/index.php?action=kb&article=1245 If I have CP1W-CIF11 in my CJ2M I could be able to send and receive some registers to and from modbus slave? Do you have any experience with that?