MrJensen

MrPLC Member
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About MrJensen

  • Rank
    Newbie

Contact Methods

  • ICQ 0
  1. dde opc

    Sorry if i dont understand the problem quite right, but Why not using the "Copy DDE-link" feature in the edit menu of RSLinX? Browse to the wanted tag, copy and paste special in Excel?
  2. pump logic

    Hey, generally I would control this as follows if I understand it correctly: Based on the situation I would have a variable which contains the need of pumps as e.g. a number from 1 to 4. This variable could be set to 1,2,3 or 4 depending on the pressure and other conditions, e.g. a timer which ensures that the pressure shuld be less than xxx in xxxx seconds, before demanding other pumps to start. This handle for need of pumps does not have to know anything about which pumps are running, unless the pumps have different capacity. afterwards I would create the logic for each pump saying; If all primary conditions for running (e.g. sequence started and so on) and required number of pumps is 2, then the start conditions for pump number 3 is: If pump 1 or pump 2 has a fault. Conditions for pump 4 is: If pump 1 and 2 has a fault or if pump 2 and 3 has a fault or if pump 1 and 3 has a fault If the pumps need to have a variable startup priority you have to add an "extra level" of variables off course, but generally...seperate it in smaller parts. As soon as you have made a variable which allways contains the number of required pumps, then you can focuse on getting that number of pumps started... it all becomes very easy suddenly this is off course a simple way of writing the logic and it take some program memory, but unless you have a little experience, this should be enough challenge for now
  3. Hey, I am using a ProSoft 3100 MCM module to communicate with a Telemecanique PLC fra my PLC5. This communication failes sometimes, and the ERR1 LED is lit. Does anyone have ideas to solve the problem. by the way... the problem has occured after 2 years of perfect function. No program changed or other changes. The phone line is tested OK. The communication often failes over periods of 24 hours, then works for som hours and so on, without no obvius connection to the production or something. I know that there is some free MODBUS scanners on the marked (PC software) Coul this be used or is it possible to read out some diagnostics for the module? Please help...
  4. Hey, I am using a ProSoft 3100 MCM module to communicate with a Telemecanique PLC fra my PLC5. This communication failes sometimes, and the ERR1 LED is lit. Does anyone have ideas to solve the problem. by the way... the problem has occured after 2 years of perfect function. No program changed or other changes. The phone line is tested OK. The communication often failes over periods of 24 hours, then works for som hours and so on, without no obvius connection to the production or something. I know that there is some free MODBUS scanners on the marked (PC software) Coul this be used or is it possible to read out some diagnostics for the module? Please help...
  5. Hey, I am new in this forum, but I try anyway. I need to control som digital motor valves without feedback. I have a signal to "open valve" and a signal to "close valve". The valve is used to regulate waterflow through a heat exchanger and it has an opening/closing time of 45 seconds. I could of course program a simple pulse regulator for this applikation, but to make it more efficient to large changes in temperature, and to make use of the PID-principle, I have an idea about using a PID-regulator. The PID-regulator can not be used directly, since the control variable has a value of e.g. 60% of max i a certain situation with no errors. This would cause my valve to open and then close, open and then close.... not useful. Therefore I have an idea about saving the current value of the control variable, wait a time (variable according to the size of the error) then compare the new value of the control variable and from this compare decide to either open or close the valve and for how long time the open or close signal should be ON. Furthermore I would calculate a new value for the pause timer, according to the actual errer value. This is because of the dead time in the process. Does anyone have experience with this kind of situations? I would like to hear if it sounds as a good solution, or if somebody has better ideas? If someone has experience with this kind og position control I would like to hear how to calculate the times. My idea is to make a variable for min pause time, max pause time, min puls time and max puls time. From these variables I would calculate e.g. the puls time as a factor to the change in the control variable. If the control variable over the last pause time has made a change of e.g. 2%, I would multiply by 10 and open or close the valve in 20% of the max puls time and then I would calculate the pause time to be 20% of the max pause time. Is this crazy? Looking forward to see if there are any other smart ways to do this. MrJensen, DK Somebody help my with this stone age PLC