Announcement

Collapse
No announcement yet.

OP-620 panel arrow keys pressed together

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • kewakl
    replied
    The forum cr@pped out on me on the last edit. Not sure what I lost. but-- it is lost. Thanks AD and vbulletin
    https://forum.automationdirect.com/f...-minute-breaks
    Last edited by kewakl; 08-29-2019, 07:49 AM.

    Leave a comment:


  • kewakl
    replied
    I have never used the OP-620!
    Can you AND 0X0C00 (&H0C00) to register M+7 (Status Register?) If so, you may be able to compare the result to = 0x0C00 or >0 or =/= 0
    Can you BitShift Right the M+7 by 10 and compare the result to =3 or >0 or =/= 0

    [code]
    Status Register M + 7
    x= position not used, d= down arrow, u= up arrow, ?= unknown/unimportant value
    +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
    | x | x | x | x | d | u | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? |
    +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
    _AND_
    +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
    | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0x0C00
    +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
    should result in
    +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
    | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0x0C00
    +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
    if both arrows are pressed - if firmware allows multiple presses.
    WRT Do-More PE's first response, this may not be allowed (
    split second sooner).

    If multiple button presses are supported, a right shift 10 positions should result in

    +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
    | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0x0003
    +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
    - if you can shift in zero bitvalues on the left.


    k
    Last edited by kewakl; 08-29-2019, 07:34 AM.

    Leave a comment:


  • Do-more PE
    replied
    Have you looked in the manual? https://cdn.automationdirect.com/sta...620/op620.html

    Leave a comment:


  • Anu
    replied
    I have found a function (displaying some mem location content) mapped to pressing up and down arrow keys together.. i wished to know how it must have been done!!

    Leave a comment:


  • Do-more PE
    replied
    IIRC, it doesn't do anything special. Pretty sure it is either nothing, or whichever key might have been pressed a split second sooner.

    Leave a comment:


  • Anu
    started a topic OP-620 panel arrow keys pressed together

    OP-620 panel arrow keys pressed together

    Can I know what happens when up and down arrow keys are pressed together in OP620 panel..
Working...
X