Help with Customized Numeric Keypad in FactoryTalk Se

Join Date
Jul 2007
Location
Kiruna
Posts
600
Hi there,

FactoryTalk SE experts can you help me with this one please.

The SE numeric keypad is horrible and not suited for my application so I made my own on a display.

The numeric keypad is basically just all the numbers on buttons. On each button press I use the Send Keys "x" command to write to the tag.

So when i load the display i pass a tag parameter PIN_NUMBER. On the display I have a numeric display connected to #1.

The problem is the data does not get written to tag PIN_NUMBER (DownloadALL command) unless I place a numeric input on display and click it before I start pressing the numbers. Then it will work.

Any ideas how to get around this, i.e bring the numeric input into focus upon loading of display?
 
I've made a SE numeric popup. I used VBA code to capture different passed parameters. One of tem being the tag I want it to write to.
 
From where I want the popup to appear, usually with touch animation: Display NumberPad /T#1,#2.CVOper,0,100,%,1

Then some of the VBA code in the NumberPad:

Set ParamList = Me.TagParameters
TopicName = ParamList.Item(1)
TagName = ParamList.Item(2)
TagMinValue = ParamList.Item(3)
TagMaxValue = ParamList.Item(4)
TagUnits = ParamList.Item(5)
DecimalPt = ParamList.Item(6)

Then create a taggroup to write to the tag:

Set TagGroup = CreateTagGroup(Me.AreaName, 1000)
TagGroup.Add "::[" & TopicName & "]" & TagName
TagGroup.Active = True
TagsOK = TagGroup.RefreshFromSource(TagsInError)
TextBox1.Value = TagGroup(1).Value
 

Similar Topics

I have an old Sentry Palletizer (S/O Number 3007 / Serial Number 1172) that has lost its program as the backup battery died years ago. I can...
Replies
0
Views
93
Hello, I need to write the following program in Ladder language, but I could not integrate the Fibonacci sequence into the ladder. Can you help...
Replies
22
Views
461
this a program to send data to barcode printer I want to integrate a new printer in a new machine and i wanted to adapt the old prgram on it but I...
Replies
4
Views
173
So i've been at this for a long while, i have Citect Scada 2018, i have full access to everything but i can't seem to find any option or...
Replies
0
Views
66
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
26
Views
558
Back
Top Bottom