Leaderboard


Popular Content

Showing content with the highest reputation on 06/14/2017 in all areas

  1. 1 point
    Hi, This forum is dedicated for Unitronics PLCs programming. If your program information exchange between STM8S103F2, or STM8S105, and Unitronics PLCs, you are welcome. Your current topic scope i out of this forum. Please Google for "forum programming STM8S103F2 OR STM8S105", and you can find related forums, where forum members can help you with your question. Best regards.
  2. 1 point
    You can't use a local timer, since local tag means that it is being created on the stack when you enter the function, and deleted when you exit the function. This means that it will not count. The same thing happens with a local int16. Everytime you enter the function, a new int16 is being defined on the stack with a value of 0.
  3. 1 point
    It happened to me when I had "Set String Library" called in every scan. Easiest way to find error if you have your program divided into subroutines is to put MBs you don't use in front of "subroutine call" in main routine and call them one by one by setting MBs.