Bryll

MrPLC Member
  • Content count

    349
  • Joined

  • Last visited

Everything posted by Bryll

  1. GT1675 to Q02CPU

    Would it be possible to control the visibility of your objects with the tag you ´select the PLC from? If M0=1 make object visible for PLC1 If M0=0 make object visible for PLC2
  2. Connecting to FX3GE remotely

    I have only set up remote connections with the FX3U cpu and GX IEC Developer, so my questions might sound a bit stupid Is GX Works using port 5556 towards the cpu? GX IEC is using port 5551 to the FX3U. Did you activate the "Router Relay function" with the correct router IP address ?
  3. E1012 HMI and Custom FT90 serial printer

    Printer cable drawing E1000 series (DB9) to Printer (DB25).
  4. FX3S contacts not energizing

    Have you checked that you supply the common supply for the outputs? Some of the systems has one common supply for 4 to 6 outputs, and some has separate supplies for each of the outputs. I've been there myself
  5. Then try this for master communication Or this one for slave communication There are some program examples that are easy to use for your communication. It's for GX Works II Edit: Corrected Links
  6. I opened the communication manual today to check some things. Then did I think about your communication problem. What value do you have in D8400 and D8401 ?? Can't find them in your ladder.
  7. No, it wasn't Modbus, it was a "home made" protocol. I'm currently working on a protocol called Excom (very old) to transfer data to a bunch of ancient cooling compressors. It will be done with RS instructions. I use GX IEC Developer 7.04 today, I have GX Works 2 on the computer too. But everything I do is quicker and easier with GX IEC Dev. Are you going to use Modbus RTU to your AVR?
  8. Don't give up, it can be done. I did it with a Microchip controller many years agoo. The PLC was (if I remember correctly) a FX1S with a 485 BD card. PLC was master and a couple of external Microchip controller where slave units. Communication settings: 9600, 8, N, 1 Don't think the PLC software is on my computer today, but it was done with GX IEC Dev. 7.x What PLC software are you using ?
  9. Hi, I had a couple of very nervous temp sensors one time, so I made a small function block to handle that problem (attached). This block has also been used to change a target value slowly when the operator jumps between different values. Example when using it with a temperature in °C The temperature (as I use it) is in integer format with one decimal, eg: 125 is representing 12,5°C in my program. The ramp up and down change is then given in 10'th of a second. If the constant 10 is used for one of the inputs, will the temperature change be 0,1°C per second. If the constant 5 is used for one of the inputs, will the temperature change be 0,2°C per second. You can select if you'd like a quick ramp up and a slow one down. TimedRamp.zip
  10. Mitsubishi USB cable for FX series

    Your Com port is set to 1, do you really have that address on the USB port you are using? Or do you have a RS232 port on the computer?
  11. Mitsubishi USB cable for FX series

    kaare_t, I agree fully ! Most USB-RS232 converters are useless, I had problems giving me a blue screen a couple of times per day when I used SC09 with USB converter. Never happened when I used Ethernet communication to the PLC. When it was time to buy a new laptop was the speed not so important, it was if it had a RS232 port or not. While using this laptop with a RS232 port, is it no problem anymore with crashes.
  12. Mitsubishi File Register Memory Usage

    Hi, It's possible to select the latched memory area for the Q-CPU, at least for the ones I've been using. Attached is a picture from GX IEC Developer showing how to select latch areas for the D-registers on a Q02U.
  13. Mitsubishi E200 HMI program uploading.

    Hello, 1. Doesn't the panel show HW and SW version when rebooting? The E1000 series of panels does that, not sure of the E100 series. 2. It should switch over automaticly to transfer mode when you select "Download" or "Upload" in E-Designer. 3. Attached is a drawing of the CAB 5. CAB 5.pdf
  14. ES: 0180840b

    The SC-09 cable you have, is it a USB connector on it at the PC end or is it a 9-pole D-sub (RS-232) connector on it? When I tried to use a USB to RS-232 converter and my SC-09 (RS-232 to RS422) programming cable did I have big issues when monitoring the PLC code. I had a "blue screen" if I was connected to the PLC for more than a minute. When I bought a new PC was the only requirement a RS-232 port on it, and I have no problems after that. Try to reboot computer the first and try again. If that doesn't help, reboot the PLC too.
  15. S7-300 Modbus

    I made a project recently with a 317F CPU and a Modbus RTU slave module. To get this one to work do you not only need the module itself, you also need a small dongle to insert to the module. When this dongle is inserted to the module can you download the modbus driver to it. The dongle to get the modbus module working, is as expensive as the modbus module Welcome to the world of Siemens.
  16. File Name: Calculate Range (Scaling) GX IEC Developer File Submitter: Bryll File Submitted: 19 Sep 2013 File Category: PLC Sample Code A simple Function Block used to scale and unscale values. Input is in Integer format. Output is in Real format and also in Integer Format. Min and Max input values specifies the range of the input signal. Min and Max output values specifies the range of the output signal. Example: We have a 0-10V input module with a 0-6V sensor connected to it for pressure measurement. The sensors pressure range is -1,2 to 4,5 Bar. The Analog raw value is 0 to 16000. The settings should then be: "MinLimit_In" = 0 "MaxLimit_In" = 9600 (60% of max input) "MinLimit_In" = -12 (Assuming we shall use Integer output and use one decimal) "MaxLimit_Out" = 45 (Assuming we .........). Click here to download this file
  17. Version

    1463 downloads

    A simple Function Block used to scale and unscale values. Input is in Integer format. Output is in Real format and also in Integer Format. Min and Max input values specifies the range of the input signal. Min and Max output values specifies the range of the output signal. Example: We have a 0-10V input module with a 0-6V sensor connected to it for pressure measurement. The sensors pressure range is -1,2 to 4,5 Bar. The Analog raw value is 0 to 16000. The settings should then be: "MinLimit_In" = 0 "MaxLimit_In" = 9600 (60% of max input) "MinLimit_In" = -12 (Assuming we shall use Integer output and use one decimal) "MaxLimit_Out" = 45 (Assuming we .........).
  18. Scaling and Unscaling in GX IEC Developer.

    Thanks I haven't yet checked out the download area, will do it later on and perhaps add it there. Attached a snapshot how I normally use the block.
  19. Scaling and Unscaling in GX IEC Developer.

    Hi, I've attached a small FB I made to scale different input values in integer format, to whatever I specify as to be the output range. If you have an input signal of let's assume it's raw value is 0-4095 Then you set "MinLimit_In" to 0, and "MaxLimit_In" to 4095. Let's assume that the input signal comes from a pressure transducer with the range of -0,5 to 12 Bar. Then you can put -5 as the value to "MinLimit_Out", and 120 to "MaxLimit_Out". Now will you have an output range from -5 up to 120 in integer value, this will give you one decimal. The block also got one output in REAL value if you prefer to work with that. Hope you find it useful CalculateRange.zip
  20. PLC I/O Recommendations

    I use Mitsubishi FX3U-16MT/DSS (8 DI/8 DO) with a FX3U-ENET-P502 for (almost) all my projects. The ENET module is communicating with a Crevis I/O node that's equipped with all the digital and analog I/O I need. When using the ENET-P502 ethernet module am I using Modbus TCP/IP for I/O communication. The have several different network units for Modbus RTU, Profibus DP ........ If you haven't heard of Crevis, take a look at their website. I normally use the FnIO S-Series from Crevis. Don't think I had more than one faulty I/O-slice in the last two years. (The faulty one might be a result of a colleagues curiosity) Normal usage is a couple of hundred I/O slices per year, so I'd say the quality is good to.