Bryll

MrPLC Member
  • Content count

    349
  • Joined

  • Last visited

Posts posted by Bryll


  1. 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?

  2. 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 ?

  3. 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

  4. 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.

  5. 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

  6. 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.

  7. 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.

  8. Hello, I have a delicate task in front of me at the moment. Communication with a couple of old Stalelectronic 700 control systems for refrigerant compressors. So I need as much information about the Excom communication protocol as I can get. This is an old protocol, but it's new to me. Anyone that have any info about it ? The info I found this far is that it's an ASCII protocol of some kind. I'm planning to use a FX3U CPU with a FX3U-485BD communication card, and use "Non Protocol" to built some library blocks to handle communication with the RS/RS2 instructions. Any better idea ?

  9. 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

  10. 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

  11. 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.