
adccommunitymod (AutomationDirect) asked a question.
OP-620 panel arrow keys pressed together
Created Date: August 28,2019
Created By: Anu
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Can I know what happens when up and down arrow keys are pressed together in OP620 panel..
Created Date: August 28,2019
Created by: Anu
Can I know what happens when up and down arrow keys are pressed together in OP620 panel..
Created Date: August 28,2019
Created by: Do-more PE
IIRC, it doesn't do anything special. Pretty sure it is either nothing, or whichever key might have been pressed a split second sooner.
Created Date: August 29,2019
Created by: Anu
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!!
Created Date: August 29,2019
Created by: Do-more PE
Have you looked in the manual? https://cdn.automationdirect.com/static/manuals/op620/op620.html
Created Date: August 29,2019
Created by: kewakl
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
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
Created Date: August 29,2019
Created by: kewakl
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/forum/give-us-your-2-cents/124870-forum-is-still-taking-5-minute-breaks