lostcontrol

MrPLC Member
  • Content count

    521
  • Joined

  • Last visited

Everything posted by lostcontrol

  1. RXDU

    If you post your code, someone should be able to see where the issue might be
  2. Modbus frame sent to slave - strange size

     Can you send via multi-way & get a response?   my standard goto is to test with multi-way, both as a master & a slave for verification.
  3. Lost Data Memory and SCU Settings

    I’ve seen something similar once before. cant recall the CPU version, but all the module config settings had been cleared out. this rack had a SCU as well from memory
  4. NX1P2 to Indusoft communication

    The product is now InTouch Machine Edition, by Schneider/Aveva... The only results that cousin google has for indusoft-NJ/NX is to use Sysmac gateway or componet ( I think ) What is odd, is that FINS is FINS, so it should work. Only the Indusoft driver developer will be able to say why it is not working...   Update: Have now managed to get this working. There is a setting called 'Ignore non-fatal error' or similar, that defaults to No. Changing to yes enabled the basic FINS to work.
  5. NX1P2 to Indusoft communication

    Old post I know, but the Sysmac series of PLC's support FINS as well, so the OMETH driver should work but does not. I am currently trying to get this to work, but returns error code 64-UDP/IP Receive call returned error So, the question is: why is this, or what driver works with this series of PLC .?   I have an InTouch DASOMFINSEnet driver working to a NX1P2 with no issues, which is pretty much FINS  
  6. possibly, but also unlikely. One setup we have has only a single IOLink module..
  7. Interesting. The only difference I can see is that the GX variant has a higher frequency capability? Still no adjustments though..?
  8. At this stage, perhaps. What frequency will you be requiring to count at?  It is possible that you might not have the noise/interference we have experienced, but is a hard one to determine
  9. The NX-ECO can count 500 kHz yes, but it can’t do any filtering of any noise is present.
  10. Interesting, we are also experiencing similar issues that we have been unable to solve with the NX modules. i have a few thoughts, but nothijg concrete as yet.
  11. Compare not working

    I suspect there is another move further up in program, loading a #6 into H0. The way CX-P works when online, it shows the current value at end of the scan. Because you are comparing H0 to 6, the compare output is correct, then you are clearing it.   As Michael points out, the complet code will help to identify where the issue lies. But also, you don’t need the compare if you stick with the counter.
  12. I’ve never used it, not have no idea on what it even does. But, wouldn’t it be the implementation for the recovery, rather that a fault of the instruction itself.? Unless of course the manual says that it can deal with powe failure events.?
  13. Questions about CJ2M EIP

    I am not sure if PMCR is still about or lurks occasionally, maybe someone will know. It should be relatively easy to modify the code that communicates with the ML1400 to suit the K300...
  14. There should be an 'events & actions' tab somewhere...
  15. Auto Update Failure

    I had exact same issue, & therefore stress about having a workable version & access to recent projects I had not yet exported for backup purposes.   What I think my issue was, the VM was out of c:\ space, so when it did the uninstall it had no room for the install. Simply increasing the size did not solve as the uninstall had already been done. Luckily, I had some older updates that I could run which corrected everything.
  16. Working with arrays

    PLC's are very different to c++ They do support structured text, supposedly to the IEC61xxx standard (I forget the exact number), but not all of them implement them the same (IMO). Perhaps if you describe in more plain text what you are trying to achieve? It looks like you are wanting to multiply each input element by 2? There would be a far more efficient way of doing this using ladder..
  17. Not 100% sure, but is the rung edge triggered, or conditional? From memory, I had similar issues, so just un-latched the Done, Error & Enable flags always (I think), due to similar issues.
  18. How to get screenshots from CXDesigner?

    Run CX-Designer in test mode, connecting to the PLC (if ethernet), then use the windoze snipping tool.
  19. Omron Bit Set Instruction (vs. Mitsubishi PLC)

    If you use IR/DR, bit 128 will indeed me set. Not sure how to do this in text, but something like: MOVR W0.00 IR0 MOV D0 DR0 BSET #0 W0 W100 (or however large your bit array is) OTE IR0,DR0 (Sorry, AB speak for the output instruction...)
  20. ETN21 FINS (udp) 1 PC running 2 applications

    Not in our experience! We have encountered this may times, & just go with the FINS/TCP option. There are best practices when communicating to multiple PLC's as well (different UDP ports), or else the IO Server's tend to hang if a PLC is offline. The different UDP ports also become a problem when doing PLC-PLC comms, you have to make them FINS/TCP as the default is UDP..
  21. We are having difficulties establishing communications to a TM258LF42DT4L. Our setup is: • A XP-SP3 Virtual Machine with SoMachine V3.1 • The VM has a static IP of 192.168.45.90, the magelis was configured for 192.168.45.11. When I added the device to the gateway, it would not connect or find it • The magelis was ‘pingable’ from the VM, so no networking issues. • We changed the VM to 10.10.209.90, as the default IP for the M258 was 10.10.209.229. We can ping this now, & connect to the Web Server from the Host & VM. • Still no connection from SoMachine to the M258, via the auto discovery or by adding the device manually. • Tried the USB programming port. There is no option in SoMachine to select USB connectivity. The VM recognises it & installs the drive. • We can use the Drivers utility to test the connection to the M258 though. We have not been able to find any other manuals, everything points to that the scan network utility should work. The only thing we can think of is that it is the VM. We are going to try & install on a native OS to see what difference that makes. Can anyone provide any assistance on where we may be going wrong? We are very disappointed that we could not even connect in the first instance...
  22. S7-1200 crashing on Cycle Time...

    Hi, I am getting these errors, causing the CPU to stop on us. For the first error, DM18 is not being accessed, so not sure why that is being displayed. Is it possible that a previous DB is having a bounds errors? The machine has a Input interrupts that are consistent intervals depending on the machine speed. Typical cycle time is 10ms, with a max of 13ms been observed. I have tried extending the max cycle time to 500ms from 150ms & it still happened. My suspicion is that it is not interrupt related, but something else, perhaps a bounds error. Any suggestions for narrowing this down? It is intermittent, but happening more frequently now.
  23. Easy Modbus-Rtu Master - Slaves Freezing

    Check the spec's on the parker drives. Some slave devices require regular writes so that they know that their 'master' is present.] Does the drive have anything indicating something like 'master comms fault'? The default setup of PMCR's Easy Modbus only writes on data change, for many reasons I guess. There are a few ways to make it write more reguarly, but no need to explore these until you know the cause of the slave freeze..
  24. Easy Modbus : Hardware Requirements

    You will need to make sure that the slave you are communicating with is RS232 as well, otherwise you will need a 232-485 convertor. Most slave devices I have come across support RS485, hence the reason maybe the CIF11 was spec'd. Not too mention, the CIF11 is easier to wire, no soldering required....
  25. Ethernet/IP to RS232 converter

    Are you trying to modify the EDS file yourself to make it work? Omron follow the standard for EDS files (a good & bad thing), whereas Rockwell allow a generic profile which bypass the EDS requirements There was talk here a while back about creating a generic profile for Omron, but think that was as far as it went. There are ways to make it work, you just have to know certain things about the device to plug in...