export data from touch screen

jim-garcia

Member
Join Date
Oct 2003
Location
Reynosa
Posts
42
hello everybody

try to do the next configuration

cpu AB 5/03
conected to a touch screen HG2F IDEC
conected to a pc using the WindSRV software from IDEC
My question is It's possible to export the data from the touch screen
that already is readingthe register from the plc and send to a excel
page to make columns

thanks any help
 
yo creo que si...

yes sr. you can, and It's possible to export the data from the touch screen that already is readingthe register from the plc and send to a excel format.
1.- do you want to export xisisting dataform the touch screen?
 
yo creo que si...

Yes sr. you can, and It's possible to export the data from the touch screen that already is reading the register from the plc and send to a excel format.
1. - Do you want to export existing data from the touch screen?
 
[WindSRV Quick Reference Guide]
In WindSRV:
1. Define a Channel
A channel is the hardware connection between WindSRV and a
device.
With WindSRV the channel connection can be the following:
- RS232
- Modem
- Ethernet
2. Define a Device
The device in this example will be the IDEC
- MicroSmart
3. Define a Tag Name and PLC Point Address
In this example the Tag Name and the Address will be the
same.
- I0
4. In WindSRV when you're done, you should have the following
information defined:
Channel: RS232
Device: MicroSmart
Address: I0
5. If you're using MicroSoft Excel to display the data, start
Excel and enter
the following in any cell to view I0:
=kepdde|_ddedata!RS232.MicroSmart.I0
The format is: Program name | Topic name ! Channel . Device
. Point Address
Remember, in Excel you can use copy/paste or the auto-fill
feature so you
do not have to re-type the entire string over again for
other addresses.
6. To create a "Toggle Button" in Excel to toggle a MicroSmart
output
Select
- View
- Toolbars
- Control ToolBox
Click-on "Design Mode" and then "Toggle Button"
Draw your "Toggle Button" anywhere on the screen and then
- Right Mouse click
- Select Properties
- Caption, enter a label for your button, say Q0 for
the first output
- Linked Cell, enter a cell number which will change
from 0 to 1 when the button is clicked

In WindSRV make sure Q0 is defined as a Read/Write
address
Enter the following code in the VBA editor by selecting
"View Code" in the Control ToolBox:
Private Sub ToggleButton1_Click()
channel = Application.DDEInitiate("kepdde",
"RS232_MicroSmart")
Set Value =
Application.Worksheets("Sheet1").Range("H11")
Application.DDEPoke channel, "Q0", Value
End Sub

Explanation: H11 in this example is the Linked Cell that
will toggle between
0 and 1 every time you click the toggle button Q0.
That value, 0 or 1 is then transferred to tag name point
address "Q0" in WindSRV.
7. To create a "Scroll Bar" control to send analog data from
Excel to WindSRV
Select
- View
- Toolbars
- Control ToolBox
Click-on "Design Mode" and then "Scroll Bar"
Draw your "Scroll Bar" anywhere on the screen and then
- Right Mouse click
- Select Properties
- Linked Cell, enter a cell number which will change
from "Min" to "Max"as defined in the "Properties" dialog
box.
Enter the following code in the VBA editor by selecting
"View Code" in the Control ToolBox:
Private Sub ScrollBar1_Change()
Channel = Application.DDEInitiate("kepdde",
"RS232_MicroSmart")
Set Set_Point =
Application.Worksheets("Sheet1").Range("C26")
Application.DDEPoke Channel, "SetPt", Set_Point
End Sub
Explanation: C26 in this example is the Linked Cell that
will contain a value between Min and MAX every time you move the scroll button.
The Min/Max value, say 0 to 100 is then transferred to tag
name point address "SetPt" in WindSRV.

This can be found at http://www.idec.com/usa/index.html.
Goto Products then Software then WinSRV, this is the Quick Reference Guide
 

Similar Topics

Software Tool box has released a great new product for users of Intouch history log files (*.lgh). Finally the abillity to export directly from...
Replies
3
Views
11,617
Hello! I have a datablock in a PLC witch contains about 700 variables. I must save this data once a day on a Windows PC in a XML or CSV file. Eg...
Replies
0
Views
388
Hello, I'm digging all over the internet to find a solution for this but haven't come up with anything yet. We have 3 nearly identical machines...
Replies
2
Views
959
as already mentioned in the title, document 1756-rm014_-en-p.pdf mentions a limit of decorated data (XML format) to 100k. Is there a way to...
Replies
0
Views
609
Hi all! I would like to be able to export some data from a Siemens Comfort panel. I want to end up with a nice PDF document, but I am...
Replies
6
Views
3,237
Back
Top Bottom