Jump to content

bjarni

Members
  • Content Count

    22
  • Joined

  • Last visited

Community Reputation

0 Neutral

About bjarni

  • Rank
    Member

Recent Profile Visitors

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

  1. Hi, can I send it to you? Don't feel comfortable leaving the whole stuff here in the open...
  2. Hello, I ran into problem where I had a screen with two instances of the same Custom control (see picture). Parameter to the control on left is TestFlag1 and on the right it's TestFlag2. Accordingly THe light on left shows TestFlag1 ad the other is TestFlag2. When a button is pressed, a message box pops up and when OK is pressed there the value of the parameter (TestFlag 1-2) is toggled. Problem is that it doesn't matter which button I press, there is only the value of TestFlag2 which gets toggled (i.e. light on right toggles no matter which button I press) If I skip the message box and do the toggle directly in the button press, the correct flags are always toggled. Am I missing the correct way to do this or is it just something I have to work around ? Thanks, Bjarni
  3. Hello, I've been trying to load a string from a c-function - without luck. Made few approaches though. One example here: -------------------------------------------------- char arr[3][32] = { "String 1", "String 2", "String 3" }; // User code ends above this comment static void getString(unsigned short Index, volatile char* TheString, int TheStringLen) { // User code starts below this comment TheString =arr[Index]; // User code ends above this comment } ----------------------------------------------------- TheString defined as here: Is there a way to do it? Thanks, Bjarni
  4. THanks - it has been solved now. THe main issue was nonmatching Slave ID. Totally my error.
  5. Looks like the issue lies on the other site as I get similar error when trying to read it from my PC...
  6. Hello, I'm trying to poll some values from Laumas weight transmitter - and I'm kind of stuck. I've tried to read some addresses according to the Laumas manual, but the power-up value in the receiving variable is never overwritten. I get modbus status as -11, which I don't know what means. THe setup: It should be reading all the time if set up as periodic and the active bit is set ? The values when running: Anybody with any hints for me? Thanks, Bjarni
  7. 👍 I'll keep it in mind, Thanks
  8. Thanks DanT, I'll have one unit shipped to me...
  9. Hi Aus, Encoder is TURCK RI-12H14T-2B4096-H1181 Thanks, Bjarni
  10. Yes, but encoder isn't just a counter. I need to stop/start motor at different positions at predetermined but variable degrees and I believe that I read somewhere (maybe these forums) that fast counter isn't enough.
  11. Hello, I have an Unistream panel and EX-RC1+ D16A3-RO16 + LC3 units hooked to it via CAN bus. I have to read position from an encoder (with A, B and Zero inputs) and wonder if someone here would give me an suggestion regarding hardware for the job? Should I just add an IO unit (and which one) or could I replace the D16A3 unit with another which also supports encoder readings? Thanks, Bjarni
  12. Hi, here are the programs. Thanks, Bjarni bara io.vlp UniTest.ulpr
  13. Thanks sgull, but they are the same on both ends - RGYBB. Not so clear on photo though
×
×
  • Create New...