MrPLC Member
  • Content count

  • Joined

  • Last visited

Everything posted by Nightfly

  1. RS232 Comm with QJ71C24N-R2

    If it streamed data to the PLC continuously then I would query the use of the Bidirectional Protocol. Did you read that this was required somewhere? I would assume Bidirectional may want handshaking other than the software XON/XOFF that your 3 wire connection can give (and if it was streaming continuously to the PLC without software handshaking then the Scales are not using it). If so this could be why you are not receiving data. For streaming data perhaps the Non Procedure Protocol is the way to go.  However, you will probably have to format the data yourself and often even have to find it in within the data array received.
  2. RS232 Comm with QJ71C24N-R2

    Regardless of the serial device (RS232/422/485) I always feed it into a PC first to see what’s happening.  I wouldn’t bother with all the jumpers, just wire 3-2, 2-3 and ground and monitor with your favourite Serial port Monitoring tool (there are a few free ones about). It takes out a lot of the guesswork as you will be able to confirm that the Scales are actually streaming the data, as well as the format it is in (but you will need a serial to usb adapter).
  3. Remote GOT (Visual Only)

    VNC is useless if you are trying to show a single screen continuously.  This is all really basic stuff, are you new to this (this is not a criticism as we all started somewhere)? If you can connect via Ethernet then simply get another HMI to show the data you need. Frankly it doesn’t need to be a GOT, there are cheaper options out there – especially if IP rating is not an issue (the only reason to us a GOT in my opinion).
  4. 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?  
  5. 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.
  6. 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).        
  7. 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).
  8. E-Designer

    This bug was fixed in 7.52 build 363
  9. 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;
  10. 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  
  11. 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  
  12. 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
  13. Version 1.0.0


    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!    
  14. Mapping one PLC into another.

    I agree - absolutly the quickest and easiest way to do this. Simple to set up and bulletproof.  
  15.   from 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:   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.
  16. 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.  
  17. 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
  18. Power LED directly from PLC output

    None at all
  19. Adding an extra remote HMI to an existing Q02U PLC

      This may be of interest (if you do not already have it) Attached is a download link of a very comprehensive listing all of cables (and pinouts) used throughout the Mitsubishi range - connecting everything to everything. Kudos to the guy who made it – it must have took days.    
  20. NEWBIE-Fx3u LED ERROR (BLINKING) error no.6564

    Does you PLC have a CC-Link module attached? This is a module that allows the PLC to talk to other PLC's or control remote I/O.  
  21. GX Works 3 '..Memory is Insufficient...'

      Running fine on 2 x 64bit Windows 10 prof installs here in our office.  
  22. E1000 HMI to Web Page

    image upload A bit basic - but could you not just put a shortcut to each machine on the desktop. We have done this before on the E1000 series (using Tightvnc). The user just clicks on the icon for the machine he wants to control (or just view - setup dependant).
  23.   You should be able to do this using using the HMI. I have not used the T7F-2 but if it is iX just follow the setup in the pdf below.,d.bGg&cad=rja        
  24. FX-ENET-P502 Modbus TCP interface nformation

        Didn’t think you could use an FX3U-ENET-P502 module with FX3GE PLC because the PLC has already got onboard Ethernet. Just like you can’t put two ENET modules on the same PLC (well this is what Mitsubishi told us when we asked a few years ago). I would be interested if anybody knows different.  
  25. Q01U CPU (E71) TO E1101 HMI

      Does the HMI actually come up with an error (Error STN blah blah blah) - or is it just that values of the PLC that are not shown?