Nightfly

MrPLC Member
  • Content count

    73
  • Joined

  • Last visited

Community Reputation

7 Neutral

About Nightfly

  • Rank
    Sparky

Profile Information

  • Gender Male
  • Country United Kingdom

Recent Profile Visitors

2145 profile views
  1. Remote GOT (Visual Only)

      Well normally you would just configure another port on the PLC and simply connect the new HMI to that. Is there a problem doing this? We have often shared a port for overview screens without problems.  Usually this has been on Fx PLC’s specifically on the old E-NET module where ports are limited. Yes it can slow the HMI’s down if you have them both polling rapidly. However, if you change the overview screen to only update every few seconds then normally it’s not a problem. On one site we have an overview screen polling 14 different PLC’s using this method (because all the other ports on the 14 machines are being used by OPC or direct PLC to PLC communication). Only works on certain protocols though.   What PLC are you using?  
  2. Beijer Exter T100 IP change and download request

    You can enable the web server and pull data in real time, alternately you could set up the data logging function in the HMI and save the data to a CSV file. Then copy the file over to the PC via FTP. Both solutions will work fine.
  3. MXComponents - Decting connection failure in C#

      You could always ping the PLC first to see if it is online? When you say it freezes what do you mean? Are you creating the Mx instance on the GUI thread - if so that’s probably why it is freezing. Stick it in a separate thread and it can hang all day if it wants and it won’t affect the GUI. If you are just wanting the PLC and Robot to talk to each other have you considered using a protocol converter?  We have used the Beijer Box 2 range quite a lot for such things (the base model we get for just over £200) and it includes drivers for around 80 different protocols. There are other similar devices (Red Lion for example) but we prefer these because you can add your own C# code to it (to cache data etc).        
  4. MXComponents - Decting connection failure in C#

    Perhaps it has improved over the years but we gave up on MX Component about 10 years ago for similar reasons (think this was on version 3).  We found that it just wasn’t reliable when communications fell over – usually because the guys on the shop floor had turned the machine off/on. If I remember correctly we ended up having the PLC send a watchdog value that incremented once a second. We had the PLC Mx communication on one thread, and another monitoring thread checking for the watchdog value to change over time. If the watchdog value didn’t change then the monitoring thread killed the Mx thread and started a new one up. Not ideal by any means but it sort of worked ok. We moved on to using kepserverex OPC and later to getting the data via the HMI (as it saves the cost of an OPC Sever and can also cache the data for when the PC is down).
  5. I need help to convert .dat to .mpa file. could you please help.

  6. E-Designer

    This bug was fixed in 7.52 build 363
  7. Timers do not work in Sturctural Text

    I think you are confusing Mitsubishi PLC programming with .Net or Java etc.  There are no instances of objects created or destroyed (no reference types so nothing to garbage collect). When you use VAR_INPUT_OUTPUT  its not referencing the variable but copying its value, then using it, then copying the result back to the original variable.   As other have said the timer needs to be scanned all the time – no different than ladder. It's the same in other PLC's as well. For example below is a timer in Allen Bradley ST. If you commented out (or deleted) the timer on line 2 the timer would stop working.   1.       DelayPumpStart.PRE := 5000; 2.       TONR(DelayPumpStart); 3.       DelayPumpStart.TimerEnable := ValveOpen_Verified_V45LEX;
  8. Fxu3 _Ad4

    Why do you want to use 0-10V? The A800 should accept 4-20mA as a signal input (you would need to change the parameters as well as the voltage/current switch then apply the 4-20mA on terminals 4&5).   If you really want to use 0-10V you could (as I mentioned in an earlier reply) use the 0-10V output of the first inverter as the reference speed for the second inverter using terminals AM & 5. Regards  
  9. Fxu3 _Ad4

    I am assuming you want to give the same speed reference signal to both inverters. If that is the case, then yes, it is possible. Just set the Inverters up to use 4-20mA as the speed input and wire the 4-20mA in series with both inverters. You can often achieve the same result by feeding the 4-20mA output of one inverter into the 4-20mA input of the other (you can also ratio the speeds this way).     Regards  
  10. HmiConverterGui.exe View File Program to convert Mitsubishi / Beijer E1000 projects to Beijer Exter projects (and back again if required). This can actually be done by modifying the main project text file and the re-naming it but as the company I work for has nearly a thousand E1000 series on site I thought I would write a small app to do it.     Submitter Nightfly Submitted 12/30/17 Category Demo Software
  11. Version 1.0.0

    55 downloads

    Program to convert Mitsubishi / Beijer E1000 projects to Beijer Exter projects (and back again if required). This can actually be done by modifying the main project text file and then re-naming it but as the company I work for has nearly a thousand E1000 series on site I thought I would write a small app to do it. This is not a demo - just didn't know where else to put it!    
  12. Mapping one PLC into another.

    I agree - absolutly the quickest and easiest way to do this. Simple to set up and bulletproof.  
  13.   from http://www.chipkin.com/hubs-vs-switches-using-wireshark-to-sniff-network-packets/ A switch will never forward 'other' traffic (traffic that is not directed to your ethernet mac address + broadcast) to your port unless you tell it to do so. So, if you did not configure a mirror port on the switch, you will only see this kind of traffic. your own traffic traffic to multicast and/or broadcast addresses Please read the following Wiki article: http://wiki.wireshark.org/CaptureSetup/Ethernet   Basically you need an old hub not a switch (or a programmed managed switch) - personally I bought an old Netgear DS104 hub to use with wireshark which works great.
  14. Remap I/O addressing

    Personally I would do this but leave all inputs as flags within the program and then simply at the beginning of the program map the physical inputs to the ones declared as flags. I'ts then easier to simulate inputs for testing etc. Same if you need to change your IO around. The program becomes independent of it's physical I/O.  
  15. Indirect Indexing

    I personally find structured text is much easier (and clearer) to use when dealing with arrays/indexes With “Dollies” declared as a zero based array of 1000 int’s starting at ZR60000  [0..999] and “CarrierID” declared as an Int and D990 has a value 888   When “CarrierID” has a value of 0 then the statement... Dollies[CarrierID] := D990 would put the value of 888 into ZR60000   When “CarrierID” has a value of 123 then the statement... Dollies[CarrierID] := D990 would put the value of 888 into ZR60123   When “CarrierID” has a value of  990 then the statement... Dollies[CarrierID] := D990 would put the value of 888 into ZR60990