pszczepan

MrPLC Member
  • Content count

    438
  • Joined

  • Last visited

Everything posted by pszczepan

  1. Recipe search video sharing

    Above video is recipe table done since beginning. I used CX-Designer default table and it works, but I have many records and I would like to implement "Search" button. It doesn't exist  - at least I can't find. Do you have any idea how to do that - any  info, script, macro, where data is in NS memory, etc.?   Thanks for any clue  
  2. Built-in input and interrupt - Input 1

    Maybe not - I stop only PLC program and run again. I'll check soon and see if it was just the reason    
  3. Built-in input and interrupt - Input 1

    Hi, I need to start interrupt from built-in input 1. Interrupt should be proceed on falling edge. Regarding manual I set: MSKS 7 #0 - enable interrupt in direct mode MSKS  11 #1 - interrupt 141 detect falling edge task no 141 Problem is that interrupt task is not executed - Q2.11 is not ON when signal goes off   Maybe you see some wrong settings/code   thankls Pawel      
  4. Origin search - different position

    Hi I have servo motor controlled by smartstep 2 and controlled by PLC with pulse output. Origin search I have set as below Sometimes I have problem with correct home position. Normally when original Input signals become ON drive slows and after 1 cm I have home position due to slowning ramp, but somtimes drive stops immediately on the edge of original input sensor. I have no idea why it is like that. Maybe you can advise sth or get some clue thanks in advance for any help
  5. Origin search - different position

    Yes I have 2 input signals, but "origin input" comes from Servomotor encoder's and it is phase-Z input; I cannot change physically any distance between origin proximity and origin input or I don't know how to do that.    
  6. Origin search - different position

    This is a link https://assets.omron.eu/downloads/manual/en/v1/w450_cp1h_cpu_unit_operation_manual_en.pdf   and origin search starts from page 256 (pdf 290).   Thanks for your time
  7. Origin search - different position

    Maybe you are right, I am not very familiar with that. From page 254 mentioned manual there are descriptions of each searching method, but for me it is hard to choose the most accurate. Maybe someone who uses Omron and these searching method can write sth from his practice?
  8. Origin search - different position

    I used method 2, because I wanted to have better accuracy as you see below Now you suggest to change to method 1. - OK, I can do that, but why manual say sth. different?    
  9. Origin search - different position

    What do you mean two-phase homing operation. I connected smartstep2 and PLC as it is in manual W450-E1-02  - page 232. I have 2 more axles in this project with smaller motors 400W and there I don't have any problem with home position - similar origin search method. Some speeds only are different  
  10. CJ1M - upload and rung error

    Hi, I faced strange thing. From working PLC I uploaded code and in few places I have such a error What can be the reason of that - it is uploading . I use CX programmer 9.78 and original code was written in much older Cx programmer What to do to get right code?   thanks Pawel      
  11. CP1L autoonline

    If I know IP address I can connect without any problem, but sometimes IP is unknown for me and Middleware solution would be useful for me. Did you investigate how to switching off such a blocking?  
  12. CP1L autoonline

    Hi I can't find IP of PLC. I tried to use below procedure https://www.myomron.com/index.php?action=kb&article=1487 but still no success. I attached printscreens and I don't know how I can get mentioned IP 169.254.XXX.XXX . I did as Myomron suggested - tick OFF and ON "Disable The direct Ethernet"   Any clue?    
  13. CP1L autoonline

    I decided to check it on other PC, and it is working as it should. The same system win7 64bit, the same software Problematic PC has a problem to get second IP IP 169.254.XXX.XXX.  No switch, direct connection. Do you have any idea what global network/windows settings can block it?
  14. CP1L autoonline

    As I wrote i did tick OFF and ON and nothing changed
  15. CX Programmer only

    Hi,   On remote PC I want to install only CX programmer to have temporarly access to PLC. Does Omron has such a version to connect to PLC CP1 series without installing whole CX ONE. I heard that some student version has this feature   thanks for info
  16. PLC is old one, but I need to add one feature, Signal can be very short and when I get it I want to stop auto mode. I am afraid that signal can be so short and skipped by normal input. How I can set input as an interrupt input. I read that PLC has events processing and it can be triggered by " inputs 0 - 3 of position 1 module, on rising or falling edge"  - in first slot I have card TSX DMZ 64DTK. ( 32 inputs and 32 outputs) is it true ? -  and how I associate it. Maybe I create new Events and as an input I use f.e %I1.0  or I configure it somewhere?   thanks for help     
  17. O thanks - it is exactly what I wanted.  When I write code in event associated to %I1.0 - simply set M95 when I1.0 is going down I should write ladder as first line or second line in attached picture
  18. More than fast treatmant I expect quick Acquisition of inputs to be sure that even short signal is collected    
  19. Panasonic FPG-C32T2H - E45

    Hi, I have PLC with Error E45. I am not very familiar with Panasonic and in manual, explanation is not very clear for me. Any help appreciated    
  20. NT2S-SF121B - old and new firmware

    I am trying to find a solution to my problem but till now no success. Now I have old HMI -  NT2S (NT2S-SF121B-E   V2.00C   Driver 06.00E) connected to R88A-MCW151 From Old HMI I uploaded api using NT2ST To new HMI - NT2S (NT2S-SF121B-E   V2.10A    Driver 06.00D) I connect using NTXS 1.04 only I made code migration and it is probably done correct - If you have time and programs please verify - https://we.tl/t-2n0uFUN80P Unfortunately, when I connect new HMI I don't get any prepared screen Thats why I have some question In NT2ST communication is set as HostLink C200H What PLC model should I set in NTXS - I set some "H" model  I don't see C200H. Polish Omron support wrote me that NTXS doesn't support C200H - is it true? Connection cable - pin out, between HMI and MCW151 should be the same in both HMIs?
  21. Hi Old NT2S-SF121B has a problem with key and we decided to exchange to new NT2S-SF121B. With old HMI I could only connect via software NT 2ST ver 1.3C and I was able to upload application. Using NTXS ver 1.04 I couldn't connect to old HMI. New HMI I can connect only to NTXS ver 1.04, but I can't connect to old software NT2ST.  Finally original application I have with extension *.HMI from NT2ST, but for NTXS I need file with *.pzm. Is any way to connect to both HMI from the same software - maybe I need some special version of NT2ST or NTXS?  The only way to migrate application from old HMI to new one, is to rewrite HMI code from NT2ST to NTXS? thanks for clue  
  22. LOVE THE AVG[195] FUNCTION - BUT!?

    Hi I wrote some code to calculate AVG value - what I needed. It can be useful for others. I attached FB for AVG calculation. trigger is just a flag when calculation should be processing. If last parameter - "work_without_timer" is OFF, "trigger" starts values counting with interval parametrized in parameter "TimeH_value" - BCD #1 = 10ms. parameter "work_without_timer" =1 makes calculation when "trigger" changes values from 0 to 1 ( DIFU) Parameter 'Samples Quantity" indicates how many samples are used for average value calculation "D-Stack_memory" - indicates memory area used for store previous samples. &120 means that samples are in D120, D121, D122...D129 ("Samples quantity" =10)  "Analog value"  is a value used for AVG calculation. Attached FB uses samples in WORDS WITHOUT SIGN Output AVG_value is a average value from last 10 ( in this example) samples   regards AVG_calculation.cxf
  23. LOVE THE AVG[195] FUNCTION - BUT!?

    Hi, I need to average values from analog input and I wanted have parameter with quantity of samples and set cycle time for data collecting. I realized that AVG counts only every cycle. Maybe you already made some FB - average function with parameters indicate above and you can public here?
  24. 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
  25. Hi   I am working on Alarm history display and I use Event Display for that. I faces 3 problems:   How I set width of message column - Why it is so wide on attachment Is possible to set event display history when trigger goes from OFF to ON only  ( I don't want to see when it came from ON to OFF) How I can clear Event display in offline Simulation. When I will download API to NB I can set Event history clearance, but in offline simulation ?   Thanks for clue Pawel