Quantcast
Channel: GE Intelligent Platforms e-Forum
Viewing all 2516 articles
Browse latest View live

CIM 9 crashing ?

$
0
0
a colleague of mine is experiencing crashing in version 9. Does anyone have version 9 and seen any issues ? the problem :
Cimplicity 9, experiences frequent screen “crashes” in the editor and runtime

How to Get Cimplicity Point Data onto a VB Form?

$
0
0
I am fairly knowledgeable in Cimbasic, but what I'm trying to do now is to put point data (including timestamps), on Form controls in VB. I understand it involves PTMap.dll. I have Cimplicity Developer installed, so that means in my Cimplicity/HMI/api/ directory I have C programs.

First, my 'C' knowledge is fairly limited. I know some of the basics, but it's been a long while. Second, essentially what I need is not all the 'bells and whistles'; rather, just enough to create a connection to the project, and get the point properties and values. Any assistance would be greatly appreciated.

I need point data that may come from either a device or virtual point. I need to be able to access array points as well.

Bulk edit recipe file (using Excel, etc.)

$
0
0
Is there any way to bulk edit an .RCC file? Client I'm working at is using the recipe to run a sequencer and wants to modify a bunch of steps. The total recipe is over 500 lines and all the steps are pre-coded, so editing the sequencer involves shifting the recipe values, and the way it is coded, we need to shift the values in a few places, so using Excel would make it faster and less error prone.

I couldn't see any obvious ways to export to CSV from the recipe builder. I tried opening the RCC in Notepad and it's not plaintext, so editing that directly doesn't appear to be an option.

I suspect doing it line by line will be the only way, but wanted to check with the experts here first to see if there is another way.

Any assistance appreciated...

Historian database type

$
0
0
Hi :)

can someone tell me, what type of Database has iHistorian?
i'm looking for a software for Trend analysis, and i have to stake it with iHistorian. there are several Tools, but i need to know the Type of iHistorian?

thanks in advance

Time stamp difference

$
0
0
I have an issue with the time stamp on alarms differing by 1 hour from the server.
Here is what we did:
1. the clients had DST = on , Server did not. we set the server to DST = ON. the clients time was correct.
2. turned off DST on Server and a client . the alarms on the client were off by 1 hour

it seems that the time is in sync only when DST is set. Does this make sense to anyone? Were are using NTP for time syncing

Jim

Cimplicity WebView Create WebPage-Supporting files are missing

$
0
0
When trying to create the html page using "WebView- Built-in Web Server" am getting below error:
Unable to open the template file
"E:\Program Files(x86)\Proficy\Proficy CIMPLICITY\WebPages\WebView\template\screen-template.html"

But I found a different file in that location
'proficywebspace-screen-template.html' and I tried manually renaming it to 'screen-template.html' and able to create the html page.

When I open this html page in editor I found below js files are NOT available in the server, so I am not able to see the CIM screens, I guess.

<SCRIPT LANGUAGE="JavaScript1.1" SRC="./version.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.1" SRC="./logon_PluginFunctions.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.1" SRC="./DynamicCIMPLICITYApplication.js"></SCRIPT>


Can any one please help me, is this the right way to copy the required files, if yes where can I get it?

Thanks,
Nova

Create a PI Processbook OLE Object in iFix 5.8 at runtime

$
0
0
I'm trying to create a PI Processbook OLE Object in iFix 5.8 at runtime. I've installed the proper PI reference libraries and used a slightly modified version of script from a PI instruction course that works fine running in Excel. The only difference is how the OLE object is created. I'm using the create from progid method to create the OLE object. See entire script below.

The error (440) occurs at line #3 while attempting to set a pointer to the OLE object's object property.

I've been stuck here for a while. Is there another method to point to the object property? I don't have any other ideas. Help???

FYI, there is no space in ("oleobject") as shown below. I don't know why it's showing up like that...
Also, the OLE object does get created after line two.

Private Sub CommandButton4_Click()
Dim trendX As Object
Dim myobj As Object
Dim tag1 As String
Dim tndZ As PBSymLib.Trend

On Error GoTo errHandler


'Create PI Display Type OLEObject by ProgId
1 Set trendX = Application.ActiveDocument.Page.BuildObject("oleob ject")
2 trendX.CreateFromProgId "PIDisplayType"


'Set a variable to have a reference to the object property
'of the "PIDisplayType" OLEObject

3 Set myobj = trendX.Object'!!!!! Produces Automation Error 440 !!!!!'[

'Assign Tags to be added to trend
4 tag1 = "ALAC2:GM1911L_CYL"

'Add a new symbol of the appropriate type (trend) to the symbols collection.
'Note: we can use pbSymbolTrend because we made reference to the
'PBSymLib and PBObjLib libraries in Tools->References.

5 Set tndZ = myobj.Symbols.Add(pbSymbolTrend)

'Change the shape and location of the new trend to fit the display.
6 tndZ.Top = 15000 - ((myobj.Symbols.Count - 1) * 200) ' Moves the top down to make room
7 tndZ.Left = -15000
8 tndZ.Height = 200
9 tndZ.Width = 1000
10 tndZ.Maximize True


'Add tags to the trend created above.
11 tndZ.addtrace (tag1)

Exit Sub

errHandler:
MsgBox ("Error occurred: " & Err.Description & " " & Err.Number & vbCrLf & "Error Line: " & Erl)

End Sub

IF then else statements Lomira

$
0
0
Folks, need to know how (or if) I can use an if, then else statement to animate (color/visability) tags in our IFIX 5.0.

I have 2 digital tags that I would like to use so when one is on and the other is on it tells the operator they can run the process.

I might be "having brain freeze" but cannot figure how to do this.

Would like to avoid running a script if I can?

Ideas ???

ME 8.6 Sim 2

$
0
0
ME does not respond for 5-10 minutes after I add new variable to existing UDT... CPU loads 100%.
It says Updating EGD..... even I do not touch that part.

Any way to fix it?

IGS driver behaviour when PLC communication lost

$
0
0
Hello,

I have configured iFix 5.8 SCADA to work with Siemens S7-400 PLC over Siemens TCP/IP Ethernet IGS v7 driver.
I have 2 channels with 4 devices on each channel.
On IGS driver side I use dynamic approach (no IGS static tags).
On IGS devices I have set Respect client specific scan rate and default Timing options.
In IGS project properties I unchecked Enable Latched Data.
All devices on same channel are configured identically (almost all default settings).

In normal operation everything works as expected.

Problem occurs when I disconnect PLC cable from network, SCADA animations start turning red (indicating comm. loss) after a minute or two, and gradually (device per device) indicating comm. loss. Overall, it takes too long time to indicate comm. loss.
Problem is that iFix PDB is still getting last known data from IGS driver (even though Latched data is not enabled) for a long period of time.

IGS logs when PLC comm. is lost:
<remark: PLC cable unplugged: 16:48:18>
16.4.2015 16:38:20 Warning Siemens TCP/IP Ethernet Device 'PLC31.P31_2' with ID 172.17.145.203 is not responding.
<remark: SCADA objects with tags on this device turned red>
16.4.2015 16:38:24 Warning Siemens TCP/IP Ethernet Device 'PLC31.P31_1' with ID 172.17.145.203 is not responding.
<remark: SCADA objects with tags on this device turned red>
16.4.2015 16:39:42 Warning Siemens TCP/IP Ethernet Device 'PLC31.P31_3' with ID 172.17.145.203 is not responding.
<remark: SCADA objects with tags on this device turned red>
16.4.2015 16:42:48 Warning Siemens TCP/IP Ethernet Device 'PLC31.P31' with ID 172.17.145.203 is not responding.
<remark: SCADA objects with tags on this device are left in last known state and gradually in a period of 10 minutes turned red or ????, until Device goes to error state>


Order in which devices loose communication is always different as well as com. loss indication on SCADA.
Also, device internal tags _Error does not indicate comm. loss immediately.
What I noticed is, when device _Error state is 0, SCADA is getting last known value from driver.
This Error state is not acting as supposed.

If I disconnect cable from SCADA server, SCADA animations turns red immediately.

It seems like problem on driver side, SCADA PDB is just reading the data from driver.
Is there a way to indicate comm. loss immediately?

VBA - Access iFix5.8 OLE Object's Object Property?

$
0
0
Which property of an iFix OLEObject should be used to access the OLE Automation object? (eg OLEobject.Object)

In the example below, I create an OLEObject (trendX) and I attempt to set a pointer object (myobj) to trendX.Object. The last line shown below is where I get error 440.

FYI, there is no space in ("oleobject") as shown below. I'm not sure why it shows up here...

Private Sub CommandButton4_Click()
Dim trendX As Object
Dim myobj As Object


'Create PI Display Type OLEObject by ProgId
Set trendX = Application.ActiveDocument.Page.BuildObject("oleob ject")
trendX.CreateFromProgId "PIDisplayType"


'Set a variable to have a reference to the object property
'of the "PIDisplayType" OLEObject

Set myobj = trendX.Object 'Produces Automation Error 440

Historin Add-In Not Functioning

$
0
0
I am using windows 7 64 bit OS and 32 bit Office 365. I am also using the excel historian add in version 5.5. This configuration works on my old pc, however, with my new pc (same software and OS), I get errors. I can select the add-in from the add-in section of excel, however, when I run excel, I get an error which states "compile error in hidden module: utilities". I do not understand as this works with my other PC which has the same OS and same version of office 365. I installed the add-in as administrator, etc. Also, when I try to uninstall the add-in using control panel, I get an error which states "there was a problem starting c:\program - the specified module could not be found" Any ideas?

Script Conversion from FIX32 TO IFIX 5.5 with Fix desktop

$
0
0
HI,

I am working on a project migration from FIX32 7.0 to IFIX 5.5 with Fix Desktop. All the functionality is working good except one issue. That is with the script conversion.

In Fix32, Whenever the new alarm is generated (Unacknowledged alarm), Alarms.odf picture will appear as pop up window on the Mainscreen.odf. Once the opeartor acknowledges the alarm, Alarms.odf popup window closes automatically. This is working in FIX32.

FIX 32 Script for Alarm.ODF picture:

DECLARE #UNAC NUMERIC
DECLARE #ACCALL NUMERIC

#OPENalrm =1

&LA
GETVAL saipem:ALARMS.F_CV #UNAC
IF #UNAC == 0
#OPENalrm =0
PAUSE 1
CLOSEPIC
ENDIF

GOTO LA


FIX32 Script for Mainscreen.ODF:

DECLARE #UNAC NUMERIC GLOBAL

DECLARE #OPENa NUMERIC GLOBAL
DECLARE #OPENb NUMERIC GLOBAL
DECLARE #OPENc NUMERIC GLOBAL
DECLARE #OPENalrm NUMERIC GLOBAL
DECLARE #OPENd NUMERIC GLOBAL
DECLARE #UNACKALM NUMERIC GLOBAL

CLOSEPIC ALARMS
#OPENa = 0
#OPENb = 0
#OPENc = 0
#OPENalrm = 0
#UNACKALM = 0

&LA
IF #OPENalrm == 1
GOTO LA
ENDIF

GETVAL SAIPEM:ALARMS.F_CV #UNAC
IF #UNAC >= 1
OPENPIC ALARMS
#OPENalrm = 1
ENDIF

SETVAL SAIPEM:UTOT_OUT.F_CV #UNAC

pause 2
GOTO LA

These two above scripts are not getting converted into IFIX.

Can someone help me how to write VBA script to get the same functionality in IFIX. I am new to IFIX and VB script..?

Thank you,
Pavan

Use of Hardware Keys going forward?

$
0
0
I prefer to use my existing hardware keys.
Is this going to be possible going forward or will we be required to switch?

Thanks,
Charles

FilterALM.ini with self-reference

$
0
0
Does anyone know if it's possible to use the FilterALM.ini file to filter alarms for the node they are generated on? The scenario I have is a site with ~20 SCADA nodes, one of them is connected to a central monitoring system PLC that has alarms hardwired from equipment that is operated using the other nodes. We want to send alarms from the monitoring node to the operating nodes, but don't want all of them to show up on monitoring node itself. There is a subset of critical alarms we do want to show up on the monitoring node so we'd need to use alarm areas as well to sub-divide it.

Due to the way the displays have been setup (not using a common alarm banner) using filtering at that level would be very difficult, so we wanted to see if it could be handled with the FilterALM.ini file.

Any assistance appreciated,

-Greg

modbus communication

$
0
0
i want to communicate electrical multifunction meter with my cimplicity, multifunction meter supports RS 485....how to estblish communication betweeen these two...plz help..

Network Transaction is in Progress

$
0
0
Hi,
I already checked all the past threads but none of them seems to relate to the problem I am facing right now. We have a failover system with two SCADA nodes on iFix 5.8 with the latest SIMs, connected to them there is a TS Client machine where 10 iClients are available for connection. From time to time the "A Network Transaction is in Progress" error message pops up on all the machines. Normally the message shows up when there is a user interaction, such as, alarm acknowledgement, set point change, etc.
One interesting fact is that the problem seems to occur more frequently when a Windows domain user is logged in, if an ifix user is logged in the problem almost disappear. Also, sometimes it is impossible for the user to log in using a Windows domain user, every time they try to log in the NT error pops up.
This problem is causing a lot of frustration among the users. Any ideas what might be happening?
Thanks,

Dan

Script Issue for XY Plotting

$
0
0
Good Morning.

I have a issue where i have a ComboBox on 1 screen, below it i have a button that opens a Trend screen and on the trend screen i need it to plot the file selected in the ComboBox on a XP Plot.

I CAN
Im able to select a folder and display the files in the combobox
Im able to plot a file on the Trend page no problem

I CANT
Im not able to get the selected file in the combo box to plot.

SCRIPTS
Im using the following script in the comboBox
--------------------------------------------------------
Private cimOleObj As MSForms.IMdcCombo

Sub OnScreenOpen()

' Set the path
mypath = "C:\Users\Administrator\Desktop\Solutions Project\SolutionsProject\HTR\*.csv"
' Retrieve the first entry
myfile = Dir(mypath)
' Start the loop
Do While myfile <> ""
'and add in combobox
cimOleObj.AddItem myfile
'get next entry
myfile = Dir
Loop


'ALPHABETICK ORDER
Dim result
Dim strTemp As String
ReDim Preserve myArray(i - 1) 'redimension array with preserving data

For j = 1 To UBound(myArray) - 1
result = StrComp(myArray(j), myArray(j + 1), 1)
If result = 1 Then
strTemp = myArray(j + 1)
myArray(j + 1) = myArray(j)
myArray(j) = strTemp
End If
Next j

'fill in the combo box
cimOleObj.clearItem
For k = 1 To UBound(myArray)
cimOleObj.AddItem myArray(k)
Next k

End Sub
--------------------------------------------------------
Im using the following script on the Trend Page
--------------------------------------------------------
Private cimOleObj As CimGraphLib.DCimGraph

Sub OnScreenOpen()
'Open profile file
profileFile = "C:\Users\Administrator\Desktop\Solutions Project\SolutionsProject\HTR\W01-CIV1-2015-03-21.CSV"
Open profileFile For Input As #1

'Read the x and y axis names
Input #1,a1$,a2$

'Declare x and y value arrays
Dim xVals() As Double
Dim yVals() As Double

'Declare integer for number of points
Dim noPoints As Integer '
noPoints = -1

'Copy x and y values into an array
Do While Not EOF(1)
noPoints = noPoints+1
Input #1,x%,y%
ReDim Preserve xVals(noPoints)
ReDim Preserve yVals(noPoints)
xVals(noPoints) = x%
yVals(noPoints) = y%

Loop
' Close the file
Close
'Get Profile xyplot object
Dim xyPlot As CimGraphLib.DCimGraph
Dim screenObjects As GefObjects
Set screenObjects = CimGetScreen().Object.Objects
Set xyPlot = screenObjects("Profile").OleObject

' Add the series:
xyPlot.Series.Add "Profile Plot", apSeriesStandard
' Add a title
xyPlot.Title.Value = "Profile"
'Set the x and y axis names
xyPlot.X(0).Title.Value = a1$
xyPlot.Y(0).Title.Value = a2$

'Resize Series to number of points
xyPlot.Series("Profile Plot").Data.Count = noPoints

' Set the x and y points to the values in the array
xyPlot.Series("Profile Plot").Data.Y = yVals
xyPlot.Series("Profile Plot").Data.X = xVals

'Set the x axis limit to the last value in the x axis array
xyPlot.X(0).Limit.Set 0, xVals(noPoints)
'Set the y axis limit to the last value in the y axis array
xyPlot.Y(0).Limit.Set 0, yVals(noPoints)

End Sub
----------------------------------------------------
WHAT I WOULD LIKE
----------------------------------------------------
I want to have the Trend script look at the Combobox selected file.

Thank You Everyone

OPC to give datas from iFix to an other tool for Trendanalysis??

$
0
0
Hi all

I have to display the Trend of analogue inputs like Temperature and Pressure with a Tool (Trendviewer.Net) and not with iFix, but i have to get datas from iFix. those datas are saved in files witch have the type H.24
Can i find with OPC a solution for my Problem?
i never worked with OPC and iFix, and i m new in the domain.
and witch softwares i will need to create an application witch do this.
An important information: iFix and Trendviewer support both .NET!


thank u in advance for every small Information :)

iFix toolkit adapter

$
0
0
Hi all

has someone worked with iFix toolkit adapter?
I have to display the trends no more with iFix5.5 but with an other tool (Trendviewer.Net witch support .NET) , that means I have to get access of the data from iFix witch saved in files with the type.H24. that is why I thought with iFix integration toolkit witch has the toolkit adapter, I can write an application witch transmit data from iFix to Trendviewer
until now I know that I need visual studio to write this program, but I don't know how exactly? because for Trendviewer.Net i will also need visual studio, and I don't know in witch language should I write this application (I think VB but I m not sure?!)?
Finally, what should I select in Visual Studio, Windows application it is right?

Thank you in advance for every small information? :)
Viewing all 2516 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>