Jump to content

Foucault

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Foucault

  1. Ok thank you for those details. Like I said earlier about SB 3, the programm I'm writing will be use by other people who prefer to use other software, therefore the conversion between softwares will be composed of MB and MI only (or ML). And I find how to display a decimal value in the tme function box: use the ladder fonction "NUM TO BCD", so it finally works normally. So the topic has a been resolved =D Thank you all for your help ; )
  2. I don't want to use the Timer in the PLC (T-0;1;2...) because the programm I'm writing may be use by other personn using different PLC like schneider or Siemens. And using this type of timer allows you to change the preset value at any time.
  3. There is above the timer that I have created. As you can see ther is a MB for the start and the end of the timer, the current value ant the preset display on a HMI Diplayer. There is no problem for me to write from the PLC, a value for the preset, but at the end of the process the displayed time is in hexadecimal base. I don't know how to diplay the time in a decimal base. This is how I have create the elapsed time. This is the HMI where I want the display of thee three two times (current, preset) But the display is in hexadecimal base, not decimal. I hope I have dealt with most of the issues you have raised. And I didn't think about using ML so I will replace the MI and ML. For the increment I prefer to use the bit SB3 that I store in MB 5.
  4. I create a timer with MI (Memory Integrer) and MB (Memory Bits) and then I tried to display the current value with the time function. Problem is : the display of the timer is a hexadecimal value. I tried to use others function like "UTC to RTC" or "Numerics" but I don't know how to get the display of the current time and the elapsed time of the timer I made. Wanted display : HH : MM : SS (decimal value) The timer look like : MI 1 : Preset MI 2 : Current MI 3 : Elapsed And there is others nets to manage the proper functionning of the timer. I know that it's possible to use the basic timer already set in the PLC but I don't want to use them.
×
×
  • Create New...