MrPLC Member
  • Content count

  • Joined

  • Last visited

Everything posted by lostcontrol

  1. How to get screenshots from CXDesigner?

    Run CX-Designer in test mode, connecting to the PLC (if ethernet), then use the windoze snipping tool.
  2. 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...)
  3. 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..
  4. 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, the magelis was configured for 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, as the default IP for the M258 was 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...
  5. 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.
  6. 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..
  7. 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....
  8. 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...
  9. NS 5 Refreshing

    Display the commanded value instead of the actual value.
  10. Have you tried using the same ModbusTCP driver? The ML range does support modbusTCP as well.
  11. NS5 HMI Connection to CP1W-CIF41

    Can you post your NS application, or a shot of the config? I think in the NS there is a tick box to 'use CIF41'? Have you set the Dip Switch as recommended for slot 2? Can you connect to the PLC with CX-programmer?
  12. NB DataLogging/Trend Graphs

    Hi, Does anyone have an example on doing a standard trend graph with scroll bar..? I can log data, but getting the scroll bar to work as well as display time stamps is a little more work...
  13. CJ2M

    Not forgetting, that REAL datatypes consist of 2x consecutive integer locations (32bits). A lot of newbies are not aware of this.
  14. CJ2M

    Post your PLC & HMI files (or snippets if you are worried about people copying your code... ) The other option is screen shots Also, highlight the sections required.
  15. CJ1M+ETN + Two NB7W Display

    I don't think they need to be different FINS ports, they should all be the same
  16. CJ1-ETN21

    Thanks guys, Hopefully I will get a chance to get back to site today to do this.
  17. CJ1-ETN21

    It would be really good if I could add a gateway to a customers ETN21 without having to stop the PLC, can this be done? I know there are restart bits that can be set independant of the CX-Programmer, but do they work? Or is the only way to set these parameters via the CX-Programmer configuration GUI's?
  18. structured text equalivant of diff up ?

    If MyCondition And Not DifUp Then Count := Count + 1; EndIf; DiffUp := MyCondition;
  19. Automatic parking system

    Unless of course, you are going to 'Map' your IO...
  20. Automatic parking system

    There are a couple of variants, the most similar is the 'UP' instruction.
  21. String searching function

    How is the comparison table structured? One would think that it is done in 7x word blocks? Do you have the address setup?
  22. ONS against bits vs JSR

    Why would you though? To many, this is very bad practice & only adds to confusion.
  23. EIP21 Network Issues

    What is the specific issue you are having? Are you having bandwidth issues, or these 2 PLC's behaving oddly?
  24. Modbus Speed Control Problem

    Your problem has nothing to do with the altivar settings, if what you are telling us about them all having the same setup. The way the EasyModbus function works for DataWrite is that it only writes on a change, since at startup your values are the same the EasyModbus is not seeing a change! Simply have a timer that adds 1 every 10sec, the subtracts 1. This only needs to happen at startup, but won't make any difference if it is always done. There is another way, but I don't have your code so can't be sure. Send it to me & I'll have a look. If you need an example, let me know.
  25. Relation between value at different instances.

    What PLC model are you using? Attached simple example that captures a value every second & shifts the previous values down the stack... ErikRobin.cxp