BenJones

MrPLC Member
  • Content count

    108
  • Joined

  • Last visited

Everything posted by BenJones

  1. Mitsubishi FX3u - Counters and Timers

    BRILLIANT !!! Thanks Kaare ! That works really well Just showed my boss and he's impressed too...I owe you one ! I've also found the back-up battery 'latched' registers which are D200-D299 so I've used them Great stuff. Ben
  2. E1101 + E-Designer

    Hi there, I'm using an E1101 panel and E-Designer. I have a setup using a 3G/HSDPA router and sim card with static IP address so I can use it for remote monitoring, (no LAN installed on remote site). Works nicely. I have also set up the eqipment to send me alarms via email (SMTP) which can be done in E-Designer, and this also works nicely. Does anyone know if there is a way to use E-Designer and the E1101 to send alarms with sms messages to phones ? Thanks, Ben
  3. E1101 + E-Designer

    Ok, well the E1101 comes with I think its REAL VNC (Remote viewing software). You need to set up the E1101 up as the server and your pc as the client (viewer). Unless LAN is available, you need a sim card with static IP address which plugs into your remote router (which is then connected to you HMI and PLC). You heed to create a network, and on that network is the E1101, the PLC and the router. I've also got a pc on it as well. I remotely log into that pc with windows remote desktop and use that computer to control the HMI and PLC. You will need to open certain ports on your firewall on your pc to allow you to see the HMI. (Need to open port 3389 to use remote desktop for example) You may need to configure the router (your westermo device) with ''port forwarding'' or ''port mapping'' as its sometimes called to allow you to see the remote devices. Takes a while to set up but its possible to do.
  4. E1101 + E-Designer

    Ok, yes I see how to do it. Looks like I have to sign up withsomeone like these guys : http://ws.textanywhere.net/web/Products/textEmail.aspx '' TextEmail: Enables any registered user to send text messages from any email system by sending an email to <phone-number>@<textanywhere-domain.net>. We receive the email, verify the user, extract the recipient(s), subject and message body and send out the message(s). '' Not sure how much it costs but maybe there is a cheaper alternative. Inside my Telewell TW-EA511 3G router is also an SMS sending option. Where you enter the SMS centre number (+447785016005 for Vodaphone), my tel number and then press 'Send'. This doesn't seem to work and it's not explained in the manual. Will keep investigating.
  5. E1101 + E-Designer

    Ah, ok. Doesn't look like it'll be too straightforward to do the SMSing then. I'll get in touch with the guys we got the SIM cards with staic IPs from (Wirelesslogic) maybe they can help. Hi Veganic, What do you need exactly ? The router I'm using at the moment is the Telewell TW-EA511. This is basically the cheapest available which does the job and has just dropped in price. Hasn't been military tested like the westermo ones (surviving being dropped out of a helicopter like my mitsubishi sales guy was trying to explain), but it does the job at £400 cheaper with a lot of westermo routers at about the £600 bracket. I bought mine from amplicon for £200, but I think you can get them even cheaper from the site below. http://www.telewell.fi/english/tuotteet2.php?tuote=11 http://www.alibaba.com/product-free/217569...l_TW_EA511.html Ben
  6. Multiplying large numbers

    Hi all, I'm new to PLC programming and I'm having a few issues when multiplying large numbers. When multiplying two numbers using the MUL function, the number bottoms out at 32768 and then changes sign (16 bit signed number). I thiink I need to use a floating point number with two 32 bit inputs creating a 64 bit output number which will be sufficient. This should allow an output of up to 2,147,483,646. I've read the programming manual and believe I need to use the DMUL function which save the multiplication result in two consecutive registers but I'm struggling to get the correct output result. This is what I have done (attachment) : It obviously doenst like me putting inputs or outputs as Data registers but I do not understand why as this is what it states in the programming manual. There is also talk of turning on Memory register (either M8023 or M0283) which one is it as it quotes both in the programming manual (must be a typo). And how do you turn this on ? Is itas simple as doing a line from the left (in ladder) to an output relay, naming this as M8023 and double clicking it and saying SET / RESET ? Many thanks for any help in advance. Thanks, Ben
  7. Multiplying large numbers

    Great, I've done it. Works perfectly so thanks for your help ! I think what was confusing me the most was that I didn't realise that I needed to input varible names and define them in the global list. Heres what I did : Much thanks, Ben
  8. Multiplying large numbers

    Ahha ! I see, got it thanks. (I have used Type DINT for Data32Bits). And obviously I need to make sure that I don't overwrite the next memory location as this is keeping the value of the upper part of the calculation. That is clear, thanks. And now if I want to divide this number (which would in some cases mean I get a fraction shall I use DDIV or DIV ? And what type would I specify the output ? Would it be either FLOAT or BOOL) ? Thanks, Ben
  9. Mitsubish FX3u - GX IEC developer.

    Awesome Kaare ! That is just too easy. Wish you'd have told me that 6 days ago In less than a minute I've just scaled all my analogues. Thanks everyone for your help, Ben
  10. Mitsubish FX3u - GX IEC developer.

    Ha ! Yes done it ! Kaare that was easy, why didn't you tell me that 6 days ago ? thanks very much !!!!!!
  11. Mitsubish FX3u - GX IEC developer.

    Got it ! YES ! I just installed IEC dev. 7.03 on another pc and was able to load it into that. For some reason it worked ok ! Right, I'l give this a crack ! Thanks a lot for wishing me luck too (I'l need it), will let you know how it goes ben
  12. Mitsubish FX3u - GX IEC developer.

    it gets to 65 % of the restore and then asks me to insert diskette 2. I don't think the whole of the file is there, Ben
  13. Mitsubish FX3u - GX IEC developer.

    Ah no it's not that ! I've already unzipped it with WinRar. Its definately the FX ANALOG SCALING PROJECT.PCD file I'm trying to upload.
  14. Mitsubish FX3u - GX IEC developer.

    Hey Pocko, think I've fond the poblem : http://www.mitsubishi-automation.de/servic...name=faq_search Strange because I'm not running any virus scan software !
  15. Mitsubish FX3u - GX IEC developer.

    mmm, no joy I'm afraid. I tried that exact file path and also changed the IEC developer 7.01 bit to 7.03. Still no joy. Is there any other way that I can upload it ? Thanks again for your help, Ben
  16. Mitsubish FX3u - GX IEC developer.

    It's IEC developer 7.03. I'll try that file path now
  17. Mitsubish FX3u - GX IEC developer.

    It says in the help file for 'Project Backup' that if the project is too large to fit one one disk then it is automatically split across the required number of disks. Is there maybe another disk or smething ? Thanks also for the tips on the data registers, you confirmed what I thought which is always good Once I get can the analogue scaled value to one or two decimal places I'll then try and view it on the HMI we are using (E1101) with E-Designer. There is a block called Analogue Numeric and you can specify the number on decimal points and the type of number. Hopefully this will work.
  18. Mitsubish FX3u - GX IEC developer.

    Great Pocko, thanks for this, one preoblem though, when I click extra's and then fill in both fields (Project restore file and project path) it then asks me to 'Please insert source diskette # 2'. What is this and what do I do here ? Thanks again, Ben
  19. Mitsubish FX3u - GX IEC developer.

    Hi there POCKO, The file you sent is a .pcd file. Is this a kodak camera file as I can't open it. Is it possible for you to post the .SUL or .ASC file and I can try and upload your modified function block and use it with GX IEC deleloper my end. I'm getting really frustrated now as I've spent days trying to scale something to one decimal place; all I'm trying to do is scale 0 - 4.0. I'm no expert but surely it shouldn't be this hard ! I can scale with integers no problem at all. I have used the Beijer function and I'm not too worried about about the memory usage for that block as it is much smaller the IntScale FB. This is what I have done so far. I've tried to use the DIV and MOD function and combine them so the output shows the quotient + the Modulus (to 1 decimal place). This would give eg. 2 + 0.6 i.e. 2.6 for example up to 4.0. The ladder logic that I've done here compiles but doesn't give the desired value to 1 decimal place. The other thing that I can think of is that I've not allocated my memory usage correctly. Do I need to change something in options from 'D' to 'R' as I think I need a 32 bit output for a floating number. I'm not sure if I should use a D register (is this just int?) or where I should save the quotient and modulus in the memory. The only 32 bit memory slots I have are Couters. I realise that I may have to use one data register to store the INT quotient part and the next register to store the modulus (decimal) part, but not sure how to re-combine this using E-Designer. Getting confused about all this. If my boss was nicer he'd send me on a training course but I think he enjoys watching me struggle in pain....hmmm. Ben
  20. Mitsubish FX3u - GX IEC developer.

    Hi, With this scaling function, does it only take INT values ? I wish to scale between 0 and 3.5 so do I have to use REAL number ? If I change this in the header from an INT to REAL it doesn't work. How can I get around this ? Muchos thanks again, Ben
  21. Mitsubish FX3u - GX IEC developer.

    Oh sorry, pay no attention to my last reply....got it working no problem at all ! Thanks very much for that ...brilliant ! Ben
  22. Mitsubish FX3u - GX IEC developer.

    Great kaare_t, Thanks very much for that, very useful ! I have installed the .sul library and it has compiled no problem at all but it won't transfer to the PLC. Not sure why. I've ran it in software version GX IEC Delevoper 7.03 with an FX3U plc. Do you know if it is compatible with this ? Thanks again, Ben
  23. What an earth am I doing wrong ?

    Hi, I'm very new to all this PLC programming stuff. Just started last week and I have programmed a few simple things. I'm now trying to use a function block for Scaling (I am using IntScale). When in monitoring mode I can see the input change (from 0 to 4000) but there is no scaled output. Does anyone know what I'm doing wrong ? I'm looking at Analog I/P card 1, channel 1 in voltage mode, this corresponds to M8260. Maybe its a problem with the data register D2 that I've assigned, I don't know ? Many thanks in advance, Ben
  24. What an earth am I doing wrong ?

    Yes ! Finally done it (thanks to your help). Spent all day doing it but I am very new to the program so just learning how to do function blocks and small programs, but we are slowly getting there. Thanks again for your help, and have a great weekend yourself cheers, ben untitled.bmp
  25. What an earth am I doing wrong ?

    Ok, I've put in X0, y0 and T#5s but it is coming up with errors. Do I put anything on the ET pin ? I see that you have Tijd ?