Transistor

MrPLC Member
  • Content count

    143
  • Joined

  • Last visited

Everything posted by Transistor

  1. MAC e910 web server, .JAR applet and "remote desktop"

    Months later ... I revisited this and got remote viewing of the HMI to work. This can be used for remote diagnostics or to keep a system going using a PC should the backlight or LCD fail on the HMI. Originally posted on 7 Sep 2008. Updated in Dec. 2023! The ancient hardware is still in use! 1. Go to http://www.e-terminals.com/index2.html, click on Sitemap, Downloads, search for "applet" and select the model you're using. (Mine was an e910.) 2. Read the page and download the files at the bottom. Save them all in the one folder. e910appl.zip E910.htm (optional) E910adv.htm (better) Unpack the Zip file to the same folder. (It's the applet .cab file.) The applet only works with Microsoft's Java Virtual Machine. (MS didn't keep theirs compatible with Sun's. Sun own Java and made MS stop distributing the MS version and XP SP2 removes the MS version and replaces it with Sun's.) Microsoft don't support or offer their JVM anymore. So ... 3. Download JVM from Laplink (or anywhere else). http://www.driverskit.com/dll/msjava.dll/2234.html. Install it and don't reboot the machine yet. 4. If it's looking for msjava.dll you can download it from http://www.driverskit.com/dll/msjava.dll/2234.html. Unpack the zip to \windows\system32\msjava.dll and the JVM installation should continue. 5. On Internet Explorer go Tools -> Options -> Advanced. Scroll down to Java (Sun) and un-check "Use JRE". (This will allow Explorer to use the JVM.) 6. Open E910adv.htm in Notepad, find the IP address and change it to that of your terminal. Save and quit. You're supposed to reboot at this stage but I didn't have to ... 7. Open E910adv.htm in your browser. You should see a small applet icon. If not reboot. If that doesn't improve the situation check that you've done all the steps above and that I haven't made any mistakes. 8. Click on the applet icon. OK any warnings and the terminal applet should open in another window. It takes mine about 20 - 30s to load each change in screen. Be careful with this if allowing others to use this. If it allows remote control of machinery there could be danger to operators. 9. To make this more widely available ftp the web page and the cab file onto the terminal. The remote control will be available to anyone on the LAN once they've installed JVM. (You can use HMI-Tools for the transfer but it's much easier with something like FileZilla.) A bit of work but could save you a drive to a remote plant ...
  2. I am exploring a new machine with NX701 CPU. If I browse to the CPU on port 80 I get an authentication popup (username / password) which suggests that there is a web server running on the CPU. I can't find the username / password on the web or in the Sysmac Studio CPU configuration. Anyone know? Many thanks.
  3. I'm editing a dual language project for an NA5 HMI. It's working fine except for the message at startup. To modify the project I've had to update the firmware on the HMI. I'm using Sysmac Studio 1.15. Startup language seems to be set correctly. Any ideas?
  4. Selecting alternate POUs on FX5U

    I've to modify this program I wrote back in 2015 and modify the sequence in Seq100Bins. I'd like to work on a copy Seq101Bins during development and toggle between the two POUs. I can't find or remember how the various POUs are called. In most other systems I've used they'd be called from the MAIN / Program but the logic isn't in there. Can anyone jog my memory or correct my understanding?
  5. Selecting alternate POUs on FX5U

    > 70 views so far and no replies! After some consideration I think I should just create the second POU and use `CP` Conditional Jump instruction and matching program pointer in each to skip to the end of the routine if not required.
  6. I barely remember writing this. I can't think how I solved it. If I remember anything I'll ping you. Sorry.
  7. OS: Windows 7 on VMware virtual machine. Sysmac Studio V 1.13. What works: Ping to PLC. Sysmac Studio -> Controller -> Controller Communications -> Ethernet via hub -> Test -> "OK". What doesn't work: Starting with new project for NX701-1600 (correct PLC): Sysmac Studio -> Controller -> Online. -> Controller -> Transfer ... -> From Controller. The task seems to run to about 90% before stopping with the error:  I can't find any reference to this error in the manuals. Has anyone got any suggestions to fix this?   Many thanks.
  8. I'm modifying an STL program I wrote some years ago. I need to split an STL sequence (to let the first part restart while the second part runs on). The original POU runs from STL S100 to STL S138 in steps of 2 and the STL sequence ends in a RETSTL instruction. The modified program ends at STL S134 with a RETSTL instruction followed by the new sequence which runs from STL S140 to STL S146 and ends with another RETSTL. This modification causes the PLC to fault with error code 33E7 - Program structure error. Can anyone explain what's causing the error and suggest a fix or workaround? Many thanks.
  9. FX5U error code 33E7 with STL RETSTL

    Thanks, Ron. Where can I read up on this? The document I've got is https://www.mitsubishifa.co.th/files/dl/jy997d55801j_FX5%20Programming(Instructions).pdf (jy997d55801j_.pdf). Chapter 9 is about the STL but there's no mention of STL breakout. 1. Can you think of any reason that the STL breakout would have to start with a normal coil rather than a SET? All the examples use SET. 2. Did you mean RETSTL rather than RET? Thanks.
  10. I'm making some changes to a project at a customer's site using all the same software, etc., that I created it in. I only use GX3 for this project so I'm not an expert. When I try to transfer I get ... ... immediately followed by ... Now I've got a red ERR light, P.RUN is blinking and we're out of production for a few hours. The error flags M8060 to M8069 are all zero. It may be related to two function blocks at the end of the transfer but the F4 Rebuild All function works fine. Can anyone help? Thanks!
  11. I restored the previous version from a backup. I have it working. I will have to investigate another day. Danke schön.
  12. Danke, Andreas. Where do I find the automatic module labels? I don't think I changed any module configuration (I don't know how to) and I didn't change GX3 version. I see that I have some red labels in the Navigation tree. Does that point me to a problem somewhere?
  13. Thanks Andreas. I transferred the program without the comments and got ... which I don't understand, and, ... ... which seemed to be already set correctly. I can't get the PLC to go into RUN mode. To my eye there seems to be plenty of memory. Am I missing something?
  14. I'm doing some remote support on an FX5U with GX Works3 on the remote desktop. I've been doing this for a couple of weeks without difficulty. Yesterday the ladder monitoring stopped working. There is no ladder contact monitoring showing and D registers and timer values are blank. The Watch windows are working correctly. Online Write Monitor is selected in each case. All Tools | Options seem correct and match my local copy of GX Works3 that I used on site. Any ideas?  
  15. SoMachine Motion Logic Builder V4.31. Can anyone guide me on how to read the execution time of the STL logic in my application? Thanks.
  16. We've had intermittent trouble with a PID control loop on a simple electrical heater with RTD feedback. The heater heats a block of aluminium and disc-shaped tool which is pressed down to preheat a part. If the setpoint is 90°C the temperature might rise to 95 or 97°C and stay there. The PID.SO is remaining at 8% or so when I would expect it to drop to zero. My initial thought was that it sounded like integral windup. I'm not too familiar with the data structure but .DATA[0] looks like the integral value. It was at 44 so I set it to zero and the loop has stabilised with DATA[0] at about 0.02. Has anyone any wisdom to offer on this? Is there any good anti-windup practice (if that's what I'm seeing)? Many thanks.
  17. CX-Supervisor Version 3.50(7) on Windows 7. I've just had a vendor add a function to a HMI. It's a single button to save the recipe and it's near the bottom centre of the screen. Sometimes it works. Sometimes it works if I slide my finger around on it. Usually it doesn't work. It always works if I use a VNC viewer and press the button remotely. The PC has two touch monitors (on VGA splitter). Both monitors have the same problem. If I run PBrush (Paint) I can draw all over that area of the screen without missing a pixel. Has anyone ever seen anything like this before? And, more importantly, how did you fix it? Thanks.
  18. This is hard work! I've installed the CODESYS OPC Server V3 in the hope of using it to communicate with my Schneider PacDrive LMC. Apparently the PLC doesn't support OPC tag browsing so I need to export the symbols from the SoMachine Motion project file in a format that the OPC server can use. I've got the Symbol Configuration panel open and can see the symbol tree. What do I do next?
  19. In relation to my post MAC e910 HMI doesn't update discrete objects unless there is transparent comms traffic I'm checking to see if there's a later driver for the Mac e910 / FX3U. I select File -> Update terminal drivers -> From Internet -> Use direct connection (no proxy). It connects to the server and downloads a list of available drivers and compares the versions with what I've got. I select the FXCPU32 (Version 3.13.00 / Installed is 3.01.00) and hit Download. I get error message: InternetOpenUrl, error code: 12006. I've tried it with proxy and get the same error. Any ideas?
  20. I wish to print from a Panelview Plus 7 1500 to a Konica Minolta 'bizhub' 4402P. The printer is not on the same network as the machine but is reachable through a router to the corporate network. I already have this working on one machine but don't know how we succeeded in setting it up. The setup that works is: Manufacturer: Hewlett-Packard (it's actually a Konica Minolta 4402P). Model: Color LaserJet 3800. Port  10.xx.xx.xx (the WAN address of the printer). Driver: wt5hpspd.dll (v52.1070) We never had a Color LaserJet 3800 but we may have had a black and white HP laser printer that worked with this driver and now works with the Konica when our IT department replaced it. When using Add Printer the system tries to connect with the specified IP address and fails (even though we can ping it) and then the drive installation stops. Does anyone know a way to force the installation so I can try to replicate the working setup?  
  21. Original FX3U project written with GX Developer FX Version 8.45X. I now want to program an FX5U with the same program (well, slightly modified). I have MELSOFT GX Works3. How do I import / convert the original project? I have done a web search but can't find the answer. The installed help files don't seem to cover the topic either. Many thanks.
  22. How do I edit an array size ARRAY[0..13] OF REAL to ARRAY[0..15] OF REAL? Sysmac Studio doesn't allow it to be done online, as far as I can see. If I do it offline and then go online and Synchronise, Transfer to Controller I receive error Any ideas?
  23. I have a legacy application with [PRINT] buttons on many of the screens. The screens are very simple with text and boxes as frames around the text. The [Print] button calls the CX-Supervisor script: where FALSE suppresses the print dialog. Figure 1. One of eight of the temperature control boxes. I have upgraded to CX-Supervisor 3.41 Developer and Runtime for a couple of modifications. Now when we print the text comes out OK but the graphics (the boxes) are about eight times the correct size and overlay the text. This happens when printing to the printer and to XPS. Figure 2. The eight temperature texts and the giant boxes on an A4 XPS file. (It's the same when printed directly to printer.) Has anyone seen anything similar? Is there a fix? Many thanks.
  24. I use Netgear routers with multi-NAT capability to attach machines to the company LAN. One of the advantages is that similar machines can have identical network addressing schemes while a multi-NAT router on each machine can be used to assign unique external addresses. The usual error on these setups is to forget to assign a gateway IP address and so the PLC can't respond to requests from outside its subnet. I have the router set up as normal (as I have done a hundred times before on other machines). PLC has correct IP address, subnet and gateway (that of the router LAN address). Router has NAT rule configured, correct LAN subnet, etc. I can PING the PLC from the company network. This implies that the router, wiring, etc., are all OK. If I disconnect the PLC ethernet cable during a PING I get errors. This implies that the address is unique, etc. Controller --> Communication Setup --> Ethernet connection via hub --> Ethernet communication test --> "A communication error has occurred." Has anyone seen this? Any reason why it shouldn't work as I expect? Many thanks.  
  25. I don't know. I'm using the NX701 and it doesn't have the OPC server.