pszczepan

MrPLC Member
  • Content count

    438
  • Joined

  • Last visited

Posts posted by pszczepan


  1. 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. Hi,

    I need to start interrupt from built-in input 1. Interrupt should be proceed on falling edge. Regarding manual I set:

    MIL_1.thumb.jpg.a9645c2d9081418a9b325c2a

    MSKS 7 #0 - enable interrupt in direct mode

    MSKS  11 #1 - interrupt 141 detect falling edge

    task no 141

    MIL_2.thumb.jpg.81121db3f1a5a57bd41bdad7

    Problem is that interrupt task is not executed - Q2.11 is not ON when signal goes off

    MIL_3.thumb.jpg.30e3f4f7ecb4a7ccbafabdfa

     

    Maybe you see some wrong settings/code

     

    thankls

    Pawel

     

     

     


  3. 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.

     

     


  4. 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?


  5. 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

     


  6. Hi

    I have servo motor controlled by smartstep 2 and controlled by PLC with pulse output.

    Origin search I have set as below

    cp1h.jpg.3fd18460c669ac7a28efbde17dd8b0f

    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


  7. 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

     

     

     

    ps600-error.jpg


  8. 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?

     


  9. 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?


  10. 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


  11. 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 

     

     


  12. 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


    C200H.jpg.a56e31d270236cadd4c3ef2dcc905e

    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?


  13. 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

    AVG.jpg.67d6490e5951fd3eed066b0f21365d55

     

    regards

    AVG_calculation.cxf


  14. 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?


  15. 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

     


  16. 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

    history.jpg


  17. I have wired, configured  PLC and using ORG I have behavior:

    direction CCW and when proximity is ON after while I get signal from z -phase and stop and get origin.  My setup is as below.

    I would like to get behavior:

    direction CCW, when proximity is ON, change direction to CW and go back. When proximity is OFF I get signal from z -phase and I get origin.

    In manual there is such option - "Detection Metod" - Methd 0. - I think

    When i set this option drive goes CCW and even it reaches proximity it sill goes CCW until get limit sensor.

    What wrong I do?

     

    origin.jpg