Jump to content

timboekhorst

Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

timboekhorst's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. @Saragani Could you share an example project? Since I'm trying to do the same.
  2. Controller: Unilogic US7-B5-T24 I'd like to input a particular value into a DataTable, specifically in column 3, row 5, without affecting any existing data. The "Set Column in DTI" does does job. However, I'm not able to set an instance of a DataTable. Can this be solved?
  3. Hi, Controller: Unilogic US7-B5-T24 The following data I received Com Rx buffer: 2B,20,31,35,38,2E,39,30,20,47,65,53,0D,0A 2B translates to the plus sign (+) - - - - - - - - -- - - - - - - - - - - - - - - Data: 20 translates to a space 31 translates to the number 1 35 translates to the digit 5 38 translates to the digit 8 2E translates to a dot (.) 39 translates to the number 9 30 translates to the number 0 20 translates to a space I want to save the data into one tag as decimal number. How can this be done?
  4. @Saragani Thank you for your suggestion. Implementing the timer function within the MAIN function did indeed accomplish the task effectively. While I tend to lean towards keeping the conditions and timer within the actual function for structural reasons, for now it does the job.
  5. @Saragani Please see links: (edited by Aus so links work) https://i.ibb.co/1KJvrrc/Knipsel1.png https://i.ibb.co/hMQwVfj/Knipsel2.png
  6. Thank you all for your input. How about retaining (in a different variable) the final timer output (TIMER.Current) when transitioning from the state? Then, when the state resumes, reinserting it into the timer (TIMER.Current)?
  7. The TA Stage Timer is an Input Variable in the UDFB, which is linked to a Global Variable. The reason to make it globally is indeed to preserve its value. The Stage Timer is only used in this function. Example situation: Step 1: PackML State Execute: Func call M1100: Timer starts counting down (preset 00:30:00:000). Step 2: PackML State Hold: Func M1100 is not active anymore. Looking at a global variable list the timer is stopped (example time: 00:28:21:532). Step 3: PackML State Execute active again after two minutes, meaning Func M1100 is also active. The timer jumps to 00:26:21:532) and continues counting down. Any ideas?
  8. Controller: US7-B5-T24, Unilogic When the PackML states "Execute," "Completing," and "Completed" are active, the function EM10 M1100 is invoked. Inside the function M1100, there is a TA timer (stage timer) that becomes active during specific steps in the program. When the PackML states are not true (not in "Execute," "Completing," or "Completed" states), the timer inside the function stops. However, the problem arises when one of these conditions becomes true again, as the timer appears to have jumped ahead, as if it had never stopped in the first place.
×
×
  • Create New...