lostcontrol

MrPLC Member
  • Content count

    521
  • Joined

  • Last visited

Everything posted by lostcontrol

  1. Help with 'search for origin' command on CP1L

    So it looks like you ahve everything as per the manual, it would be good to test the CCW direction also, but I think this would work if the CW does. How come you have not got the Limit's configured? I wouldn't think that this would affect the origin search though. Have you been able to test the input signals from the smartstep? Does the smart step have an origin search function when online to it? This may help to test the z-pulse? There is another flag, A280.04, which is pulses being output, you could try monitoring the status of this also. I am not sure if this is enabled when in origin search mode though. And just to be sure, you have cycled power when changing the origin setup settings?
  2. How are UDT's counted?

    I don't know RsView at all, but I would think that it is based on tags in database, not tags in use.
  3. Help with 'search for origin' command on CP1L

    I'm assuming that you have all the wiring complete & correct? From the CP1 Operational manual, 0.06 is the Origin Input signal, and 0.10 is the Origin Proximity Input signal, do you have both of these wiring and working? So when you say nothing happens, you cannot see any pulses being output at all? Does W0.00 also enable the Smart Step drive? (I have not used the smart-step, so don't know how they need to be wired, but am assuming they need a run command also.) What book did you follow the example from? Your example is different to the one in the book that I have. Some more information about the complete setup could prove to be more useful
  4. CJ2H PID

    Horses for courses, every system has its quirks & issues. The longer you work with something, the more familiar you become.
  5. BCD to Binary - Double Word Conversion CPM1A

    Maybe you could break the values up into 1000ths? Then have the display read 2x words instead?
  6. Modbus from Serial Port?

    Has anyone used this config before? I am assuming that the NS functions as a slave, so I would need to read/write from PLC as with any Modbus slave. We have an application that we are looking at, that only requires a CP1L, but also requires a VSD. I was going to write the speed to the VSD over modbus, so that we don't need to go to an analogue module. But they also want a HMI, so that this parameter can be adjusted.
  7. Modbus from Serial Port?

    Kinda defeats the purpose, no point using modbus with the NS to a CP1 when NT link is available. I was hoping to stick with the L range, and avoid the extra serial port, as the IO count for this one does not dictate going to the M range. The other option could be the NP series, these can be a slave by the look of it, and also 422/485 via terminals on-board.
  8. Modbus from Serial Port?

    I am ok with the Easy-Modbus Master, but does the NS function as a slavo Or master? When I look at the config, my intuition tells me it is a master, whereas I would prefer it to be a slave.
  9. Omron USB Driver

    Thats what they always say, until it doesn't, then what do they do??
  10. dupilicated outputs/inputs with universal program

    Yes, this sounds correct.
  11. Weird Error when editing ST Online

    Hello, I was doing some edits to a ST section of a CJ1 recently, and got this error? There was nothing untoward, and everything continued as I expected, was just an odd error thats all. Anyone seen anything like this before??
  12. Weird Error when editing ST Online

    Thats what we use ST for, just makes developing formulas and placing in the PLC easy. Even simple decimal -> float and reverse conversions I do these days, ie Integer_01 := Real_to_Int(Real_01 * 10.0); Obviously, it does sometimes get more complex than this, but the good thing, is that a lot more of the simple stuff (especially math) can be seen a lot easier, rather than looking at a multitude of instructions. Comes down to preference/style I guess, same for FB's.
  13. dupilicated outputs/inputs with universal program

    Ok, When you define if each node is a master or slave, you are also defining the slave address? I haven't looked up how the serial setup function sets the parameters since you last posted on this, and your comments don't lead to what each address is allocated for. Anyway, correct me if I am wrong, you are using the method in the image I have attached? If so, then in rung 7 of your xx_UPGRADE program, you use set_master_plc (H2.09) to determine if the unit is a master or slave? Then, if this is a slave (H2.09 = Off), then the state of the inputs are reflected to the master. If the unit is a master, then the inputs are reflected to the slave(s)? So, if this is all correct, then again in rung 7, and this PLC is a the master, you are trying to turn on the outputs received from the slave (3110.00 - 3110.15), this is where I think the logic race is happening.. Again, if this is all correct, then you need to replace the outputs that are in the range 3110.00 - 3110.15, to 3100.00 - 3100.15. Does this make sense? The basic concept is: The master writes to 3100-3109 in all slaves, Slave 0 writes to 3110 in all other units, including master Slave 1 writes to 3120 in all other units, including master This is all in the manual, page 356. I have added an example on the last rung after the END instruction in the attached file. At the least, this is how I would approach it, I do not have any hardware to test this, so am not providing any guarantees that this is correct. CP1L_PC_Link.cxp
  14. dupilicated outputs/inputs with universal program

    So if you try to turn on slave output xx from the master, then that output chatters in each slave? And if output xx is turned on in a slave, then the output chatters in the master? Sorry for repeating what you have probably said already, just trying to understand your application/issue.
  15. dupilicated outputs/inputs with universal program

    Can you point us to the specific outputs that are having the problem, is it the siren & alarm, or the others? This will save us spending more time than necessary trying to work out what is going on.... By the look of it, you have got the serial port setup working correctly??
  16. Weird Error when editing ST Online

    Now now Bob, everything has it's uses... Too many famous Red's?
  17. dupilicated outputs/inputs with universal program

    First, Have you got any logic to determine if the slave is a master/slave/broad-caster? It sounds like the PLC serial Link ( if this is what you are using ), is writing to the 3100 area, which is writing to the output, which is being turned off by your program, causing to switch every scan. Good practice would be to have a condition that only allows the OP to switch if it is required to be. But, with the method you are using, you probably cannot do it quite this way. What you probably need to do, is to prevent the bit in question being transmitted if you can? I would probably allocate memory areas per node address, that should make it more deterministic as to each nodes function, and to when local outputs are required to be switched. If you can post an example of what you are doing, we can have a look so we understand for sure. (I am not sure I understand exactly yet). It doesn't have to be the whole application, just an example so it can possibly be replicated.
  18. Ethernet Issue

    Are you able to ping the remote devices over the wireless network? I would start here. Is it feasible to link the devices physically as a testing measure? Does the PV+ communicate with all 5 of the L32's, or just the 1756 CPU? Can you setup the PV+ to point to 1 of the L32's to see if this changes things. Whilst there are 'known' issues with certain firmware revisions, I would start with the wireless....
  19. Weird Error when editing ST Online

    Really? Well, there was no on else connected to this PLC or doing online edits. But, there is a local touchscreen & scada communicating with the PLC, perhaps this caused it?
  20. CP!L PLC UM protection not set from memory cart download

    1. Do you have a specific reason for wanting to protect the PLC program with a password? 2. You cannot write to the system area directly, CX-Programmer gives an error. 3. I can't find in the manuals don't specify how to set the password apart from via CX-P, it has to be there somewhere... 4. I have a thought on what may be able to do it, but don't have any hardware to test at the moment, will do so at the end of the week.
  21. Intouch with OPC server

    Can you post some screen shots of your intouch access name & kepware configs?
  22. CitectScada (HMI version) OmFINS ethernet issue

    For this to happen, it is assumed that both PC's are on the same network, which then leads me to ask the question, why not run the IOServer on 1x PC only, and point the 2nd PC to the IOServer on PC1. I have not used Citect, so am not sure if this is possible, this is the way WW & iFix do it. I have had similar issues however, and think it is to do with Ports etc. If you could set 1 PC to be UDP, and the other to FINS/TCP, then this may work, but is a bandaid to a larger problem, I think anyway.
  23. CP1L-RXD Problem - Please Help

    If you post your CX-P file, it may be easier for everyone to see what you are doing, and what you have configured. Including mnemonic descriptions is fine some of the time, but for what you are asking, you need to post you config settings as well.
  24. An answer was given here... http://forums.mrplc.com/index.php?showtopic=18177
  25. Definitely seems long winded, what are you trying to achieve? 1. If the Real value is 231.45, then FIX'ed, this will be 231, 2. If the Real value is 231.55, then FIX'ed, this will be 231. If you add 0.5 before the FIX, the Real will become 232.15, which when FIX'ed, = 232.