pirate

MrPLC Member
  • Content count

    13
  • Joined

  • Last visited

Community Reputation

0 Neutral

About pirate

  • Rank
    Sparky

Profile Information

  • Country United Kingdom
  1. Comms failure detection between HMI and PLC

    M1896 is an internal register in the HMI they are not really that well documented.
  2. We have an E1043 HMI connected to an A series PLC the sole purpose of the HMI is log alarms from the PLC and send these via email to various addresses. The HMI is also connected to a GSM Modem and some of the alarms are tagged up to a text block which prints the text block to the GSM Modem which sends out a text message. Power interruptions although not regular do occur to prevent this from being a problem we have connected a UPS to the HMI and the modem. It's not feasible to connect the PLC to the UPS. Now if the comms is lost between the PLC and the HMI we use an internal variable ( M8196) to trigger an alarm. However because M8196 becomes open or off during the comms failure we cannot use this to send a text message to the GSM modem as it will only send the message when the contact closes (when the comms is restored) in the text block one cannot change the state of the alarm like you can in an alarm block. Does anyone know of a way around this? (which does not need external wiring or PLC interface) Many Thanks
  3. E1043 alarms to SMS using GSM modem

    Your english is better than my Norwegian? Thank you very much for your help and I think I understand what I need to do. I have not done any work on number arrays with the A series but don't see this as a problem. Thanks
  4. E1043 alarms to SMS using GSM modem

    Thanks a lot for your help I finally got it to work it seems as before the number was "00756789032" I substituted the ASCII block inside of the inverted comas but when using the ASCII block you do not need the inverted comas. Now that that is sorted does anyone know how I can get the messages sent to two numbers? Many Thanks
  5. E1043 alarms to SMS using GSM modem

    Thanks very much for your response. The idea of inputing the mobile number using an ASCII block is the way forward I believe. However I cannot figure out how to get that ASCII block out and into the AT Command which is used in the text block. The AT Command looks like this and works very well. AT+CMGS=”MOBILE NUMBER HERE”%%13ALARM TEXT HERE%%26 I have created a text block and triggered by the alarm contact on my PLC and I know this works. Now I need to understand how to get the ASCII block (D4096)into the space MOBILE NUMBER HERE Any ideas
  6. I have a E1043 connected to my PLC I have configured it to send alarms directly to email via the LAN. However as 3G is not a certaintity I have got a westermo GDW11 GSM modem and have figured out how to send alarms to SMS by sending script to the modem as a print command. The trouble is that I have to create a text block for every alarm about 100 or so. Even so this would not be too much trouble until I go on leave and then would need to change the mobile number on each alarm. Can anyone point me in the right direction so I can maybe automate this to a task that can be done from the HMI? Many Thanks
  7. PID Control Ladder Logic

    I have an analog signal which I want to use to control 3 fans. In essence the fans will be brought in one by one the further away from the setpoint the analog signal gets. I think this is PI. Does anyone have any ladder that they might have used before for this sort of problem or similar. At the moment I stagger the outputs using timers and one set point. It works but not quite perfectly I'm sure there is a better way.
  8. A1S64AD output problems

    OK so I finally figured it out after much fiddling. Seems the 24vdc supply was not man enough and was only producing around 20v. Hours and Hours Go figure Anyway thanks for your help and valued input.
  9. A1S64AD output problems

    I have a –1 to 20bar pressure transmitter which sends a 4-20mA signal to a Mitsubishi A1S64AD 4 channel Analog to Digital conversion Module. I have managed to write all the “correct” script to initialise the module (at a 1/4000 resolution which gives me a raw data figure of 2000 at 20mA) and the math that converts this to milibar data which can be read from the SCADA. I have checked the accuracy of the set-up using a 4-20mA source across the whole range and that is all good. Although I am not using the other 3 channels at the moment I have set them all up identically to see if the problem exists when I switch channels and it seems like it does. When I go live with the system it seems that the signal is all over the place and every once in a while the correct readings are produced. I initially attributed this to fast fluctuations in the pressure (pulses) which could be possible in our system. So I fitted a little mechanical damping device. Did not make too much difference. Then I checked the movements using a meter in series across the 4-20mA, although it does fluctuate it does not seem to fluctuate that much. I have tried changing the resolution but with no great success. I have also changed the sampling rate and averaged the signal over a set amount of readings however the average seems to be way too low when I get to a setting which produces fairly steady result. I have to admit that the example given in the A1S64AD programming manual leaves a lot to the imagination and I may well have gotten the last line of code wrong. One thing I have not tried is to average the signal across a period of time. Now although this signal is OK for display purposes I will not be able to use it for actual control. Maybe I should give up and use the A1S68AD? Does anyone now of a physical device that I can fit in the 4-20mA signal that will buffer (smooth)the output? Maybe I have the code wrong can anyone help check this for me? Is there something I’m missing? Anyone HELP! Many Thanks
  10. HMI Ping Macro

    Can anyone help me write a ping macro (or tell me where to get a bit more information than available in the Mitsi books) to ping a remote address from our E1043 and see the ping results? Many thanks
  11. E1043 HMI and Modbus Communication

    OK so I spent some time trying to figure out for myself how to write a macro to ping the other address. However despite the fact that there are some clues in the mitsi literature I am still stuffed. I have tried various configurations and to no avail. Now normally with a bit of literature and a pointer in the right direction I am usually able to solve most of my plc problems but it seems that between Mitsi and beijer they are trying to keep this secret. Can anyone assist I would like some additional literature on the HMI programming etc. Or someone just show me how to write the PING Macro. Anything would be of great help. Many Thanks
  12. E1043 HMI and Modbus Communication

    Which driver did you use?
  13. I have a E1043 that is connect to a A series PLC. This all works well. I now want the E1043 (which is connected to LAN) to communicate with a Field Electronics 1000plus (connected to same LAN) (http://www.fieldelectronics.com/) I know the Field product works as I have a Prodigy SCADA which talks to that at the moment. I am stuck when it comes to the Modbus Driver. I have installed the Modicon Modbus Master Driver and set up the IP address however the 1043 just brings up a comms error( 2:Comm err0-). The one thing that I do not seem to be able to adjust is the port. I know that the modbus always looks on port 502 as this is part of the protocol. However is it so on the HMI. Any assistance greatly appreceiated.