Help me decipher Smartscreen key file

harryting

Lifetime Supporting Member
Join Date
May 2002
Location
Puget Sound
Posts
2,595
Is there anybody out there with experience on TCP Smartscreen? Help me, please. I am trying to figure out how this button works. The PLC is a AB PLC5. The key file for this button is:

F2 key
No Screen Operation
Absolute
Pointer - B230:02/05
Min - 0 Max - 1
Address Table
Index Address Press Release
----- ------- ----- -------
0 B230:01 0002 0000
1 B230:01 0400 0000
4 B130:01 0400 0000
8 B130:01 4000 0000
9 no address set 0000 none
10 B130:01 4000 0000
35 B130:01 0400 0000
259 B130:01 4000 0000

I think I know that the pointer is a feedback/indication and the number are in BCD format. But I got confused by the "Address Index", most key(button) only got two index, so those are simple. This one really throw me a ride.
 
I dont know anything about Smartscreen but is it possible that is a reference to Multistate pushbutton? Most HMI's offer these. Since its using an address table it seems more appropriate its being used in a multi-state manner....IE Selector List????? or similar.
 
You got it, it's almost certainly a multi-state button. This one is giving me problem because the state, which i "think" is the *pointer* is only one bit, so it's 0 or 1, while there are 3 sets of value it can set (all momentary, reset back to 0000)

0002 DEC => BCD 0010
0400 DEC => BCD 0100 0000
4000 DEC => BCD 0100 0000 0000

I already got a few of the button configured where there only 2 state with 2 index, so they are simple. This one is weird. I have the screen shots showing just one button. Nope, I don't have access to the actual system to watch what happens @ PLC when the button is pushed :(
 
Is there anybody out there with experience on TCP Smartscreen? Help me, please. I am trying to figure out how this button works. The PLC is a AB PLC5. The key file for this button is:

F2 key
No Screen Operation
Absolute
Pointer - B230:02/05
Min - 0 Max - 1
Address Table
Index Address Press Release
----- ------- ----- -------
0 B230:01 0002 0000
1 B230:01 0400 0000
4 B130:01 0400 0000
8 B130:01 4000 0000
9 no address set 0000 none
10 B130:01 4000 0000
35 B130:01 0400 0000
259 B130:01 4000 0000

I think I know that the pointer is a feedback/indication and the number are in BCD format. But I got confused by the "Address Index", most key(button) only got two index, so those are simple. This one really throw me a ride.

Hi
Looks like you ran into a seriously corrupted Smart Screen archive.
The whole thing you post is a contradiction in Smart Screen terms:
NO Screen Operation : Fine just means this key will transmit data and NOT trigger screens
Absolute- Also fine. .Absolute is one of the four available addressing modes for this key. The other three are Relative, Direct and indexed.
MIN – 0 Max -1 means that the address table has only two entries, corresponding to the “Pointer address, having just two states (0 & 1)
The address table would make sense, if the indexes 4, 8, 9, 10, 35 & 259 were discarded.
My guess is that they are garbage anyway. If you do that, you have a key that works as follows:
When Bit B230:02/05 is OFF, and F2 is pressed, The Smart Screen transmits the number 2 to the word B230:01 and when it is released, it transmits a 0 to the same location.
In addition, when the bit B230:02/01 is ON and F2 is pressed, the Smart Screen transmits 400 HEC (1024 decimal) to the same word. Also 0 on release
Depending on how the PLC processes this data, another way of looking at this is:
Pointer bit OFF momentarily SET/RESET BIT # 1 in word B230:01
Pointer bit ON momentarily SET/RESET BIT # 10 (or 12, the way AB numbers bits) in word B230:01
Hope this helps and forgice the length – I don’t get to talk about this much any more
Spencer Persik
Gpretro Systems LLC
262 – 945 – 9157
[email protected]
 
Last edited:

Similar Topics

Hi all, hope you are having a great day, I am in need of your help to create a AOI or program that does this kind of job: I have a IO Link...
Replies
0
Views
60
please help me . I have to make this ladder diagram and I can’t figure it out :(
Replies
12
Views
337
Hi Everyone, i was hoping for a little help with this module. i have data that needs to be read from a different plc through the Modbus plus...
Replies
11
Views
205
Hello, I am trying to replicate a piece of logic on the PLC5 onto an SEL RTAC. I am using ladder on SEL and FBD. I am having issue on the ladder...
Replies
13
Views
223
Back
Top Bottom