Riff

MrPLC Member
  • Content count

    18
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Riff

  • Rank
    Sparky

Profile Information

  • Country Norway
  1. Modulus function

    Yeah, and I tried it again and now it works Edit: Some ctrl +z action and I see what my error was.. I had a comma on the line that I didn't see..
  2. Hi. I'm trying to use the MOD function inside a structured text function block, but I don't seem to get the command call correct. Anyone have an explanation on how to use it?
  3. Hi. I have a NX1P2 and need to communicate with another system over fins. I have set local network to 1 in "Controller setup -> Operation settings -> Fins settings" In "Ethernet/Ip port settings -> Fins settings" I have only what is setup as default.   In Global variables I have a bool with %w1.00   Is there anything else that needs to be setup at my end?    Kurt
  4. Cpu send and receive

    And it was a classic case of PEBKAC :P I had at first set Cx-programmer to display hex but before checking the error code that I was getting, I switched back to decimal for some reason.. So the 4101 error was something completly different :P The error was in my routing table, so I got that fixed and now everything is ok. One of the problems was that the IT department had moved the IP of the router.. but the rest was purely PEBKAC Kurt
  5. Inverse engineering to a plc omron cj1m cpu13

    Let's say you have a button in the electrical drawing that is named S1 and that the ID211 is the first IO module on the plc, then you can insert the name you want for it in the symbols (either global or local). In the Symbols you have a column that is called name, and one that is called comment. The name holds whatever name you want for the IO and cant have any spaces in the name. The comment can have spaces in it.
  6. Cpu send and receive

    It's a 4.0 (io-table -> cj1m-cpu13 -> unit manufacturing information) It's good to hear that it should work :D Kurt
  7. Cpu send and receive

    It looks like it's causing some problems yes. I had a chat with the local Omron office, and they seem to agree. As it is now, I have no choice but to use the ETN21, so I'll try to look into the more ETN21 specific ways.. sockets and things like that. Thanks for the answers guys :) Kurt
  8. Cpu send and receive

    Today I tried it the other way around. I set ut one of the CJ2M-CPU31 that is in one of the machines that I'm trying to connect together. With the same setup, same adress location and such (only ip change) everything works. So it seems that it is the CJ1M-CPU13 with the CJ1W-ETN21 that cant connect like that. Maybe I need to use some other FB?
  9. Cpu send and receive

    Thanks for the reply. That error will come up in the PLC error log right? Yes, it is :P I did a test, with setting FAL 4 D800, and with that I got an FAL error on the plc (flashing red on bottom line). I've looked inside the FB, and can find no internal use of the adress space that is in the range of where the FAL errors are set. And there is no use of the FAL instruction inside the FB. The FB has a bool for error where I set w201.02, so that I see if there is an error. There is also a word for the errorcode, and I've set that to w210 and it is that one that says 4101 as errorcode. Kurt
  10. Cpu send and receive

    I have a CJ1M CPU13 with a CJ1W-ETN21, the routing table has been set with cx-integrator and there are no errors on the display of the module (the led's). I used a CJ2M CPU31 that I had to test communication over our ethernet network, and I could send and receive any size I wanted (10 words or 100 words) without any problems from my office. The functionblocks CPU010_Send and CPU011_Recv was used in the CJ2M. When I try to communicate between two PLC's in our production I get an errorcode (4101), and I get no successfull communication. The functionblocks are in the CJ1M CPU13, and I've tried to connect with both a CJ1M CPU12 with ETN21 and a CJ2M-CPU31 that is in our production. I can't find the errorcode 4101 anywhere in the documentation that is suggested. Kurt
  11. Measuring thickness

    Thanks guys :) I'll do some more digging and reading :D
  12. Measuring thickness

    Not so much a CX-One question, but more a "What do you use to measure thickness" question ;) I need something to measure thickness of a veneer sheet, so that I know the exact thickness. The challenges with the measurement is that the sheet travels on a conveyor (rollers between u-bends (not quite sure what's it called in english), and it travels at 2 meters pr second. So it needs to measure things very accuralty and quick. I've tried the zx2 with a calculating unit in between, but for that to work I need to hold it still for a set amount of time and it becomes to slow for the process. Any of you done any high speed measuring while measuring exactly the width down to the tenth of a millimeter? (As in see if the sheet is 1.9, 2.0 or 2.1 for instance) Kurt
  13. Using a servo as a brake

    I think I'll let the teacher figure this one out by himself :P It's not an assignment, but they have just aquired servo's and never used one before, so I'm asked to help, since I use servo's on some of my projects. Thank you for all the reply's guys :) Kurt
  14. Using a servo as a brake

    It sounds like your assumptions are correct :) If you think of the servo motor as coasting (spelled right?), with the async motor driving it and the servo slowly braking to measure torque. I haven't been able to find anything about it in manuals or by googling it, so I really can't see how it could be done. And I see the name thing also :P I need to slow down when I read ;) Kurt
  15. Using a servo as a brake

    NC281 yeah. Sparky, do you have any pdf or url that I can read up on this?