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

Subdirectories and User.fxg

$
0
0
Is there any way to specify a subdirectory within the PIC folder that is recognized by iFix?

I would like to bring in a set of existing pictures into my SCADA system. However, the set of pictures was designed by another group with different naming conventions, its own global variables, and its own configured User.fxg file. Ideally, I would like to keep the pictures in a subdirectory with its own user.fxg. This way, its preconfigured user.fxg does not conflict with the standard user.fxg.

I have tried using the "User.fxg import utility" found on the support site to combine the user.fxg files. However, I would prefer to keep the pictures, variables and modules separate in a subdirectory.

Thanks.

Block Commenting in editor

$
0
0
I am used to editing scripts in iFix & recently started using cimplicity for projects. I was looking to find similar features in script editor that I used frequently in iFix. Is there any way to add or remove "comment" from multiple lines of code in cimplicity? I had the Edit toolbar in iFix that would let me do that but here I need to add apostrophe for each line of code I want to edit.

Also, I lose I cant save my code unless I exit out of the script & save the screen. Sometimes I lose my changes when it shuts down abruptly.

Bit Access to a Point

$
0
0
Hi everyone!

Just one silly question!

I need to change the visibility of an object depending of the second bit of a Point. I have tried: (POINT_INT AND 2) GT 0, but is not working as I expected...

I have searched in the Help, but there's nothing of bit-addressing....

Can anyone help me?

Thanks a lot!

Using LineChart - can I put buttons on it?

$
0
0
I am using a linechart for the first time - been using the standard charts till now and trying something different.

I find that I can't put buttons on top of the chart. I cant put ANYTHIGN on top of the chart. is that expected?

Also can't "unzoom" the trend once I have zoomed in on a point.

Change Tag's Sign

$
0
0
I have a floating point value being read into the PDB over Modbus via the IGS driver. The only problem is the device wasn't set up properly and the value is negative when it should be positive. Rather than reprogram this device, is there a cheap and dirty way to change this value from negative to positive? I've attempted to mess with the scaling, but nothing I tried seemed to work very well. Considering using a CA block at this point....

Make trends use specific server?

$
0
0
I have a replicated SQL server outside the firewall that holds the control system and I'd like the view nodes on that side to use the replicate server for trends.
Is this possible?

Thanks,
Charles

GE Fanuc 90-70 CMM711 Comms Issue

$
0
0
I've currently got a Micropack F&G system which I'm trying to get to poll a 90-70 PLC via the CMM711 Communications Coprocessor.

Currently the Micropack system is the Modbus master and successfully transmitting messages into a Modbus simulator. The Micropack system transmits RS485 signals which go through a MOXA RS485 to RS232 convertor into the Modbus simulator. All is ok up to this point.

However, when I remove the RS232 cable from the back of the modbus simulator and plug it into the CMM711 comms simply stops. The LEDs on the CMM711 show steady green for the state of the co-pro meaning all is well and good but the LEDs foreach comm port show absolutely nothing.

After that ramble here's my question; the CMM711 ports are both RS232 and RS485 compatible but is this set somewhere in the code or does the PLC autodetect whatevers plugged in to the port and simply go with it? Previous engineers have constructed their own RS485 cables and by-passed the MOXA unit but have had no success in achieving comms with the PLC which is why I wanted to stick with pre-manufactured serial cables so as to avoid any cable build quality issues.

Does anybody have any ideas what's going on? Iffy cables? Iffy PLC co-pro?

Thanks in advance.

Open screen based on node name

$
0
0
Hi, I am writing a script for an object on my screen. When I click this object it should invoke the script that will check the name of the computer & decide if it should open a pop-up screen or not. I defined a variable for this object under variables tab:
NODE - $LOCAL.COMPUTER

This is my script:

Function Popup_open () as String

Dim CimScr as GefScreen
Dim CimScrs as GefScreens
Dim node_name as CimObjectVariable
Dim obj as CimObject

Set CimScr = CimGetScreen
Set CimScrs= CimScr.Parent

Set obj = CimGetEvent().TriggerObject
Set node_name=obj.Getvariable("NODE")

If node_name = "PROJHMS1" or node_name ="PROJHMS2" then
CimScrs.Open "Pump_popup.cim",,True
End If

End Function



When I run the screen on node PROJHMS1 & click on the object, its not opening the pop-up as its supposed to, based on the if...then statement. I put a breakpoint in code & it just skips the if... then statement. Dont think its capturing the node name.

Any suggestions what I am doing wrong? The script compiles fine.

Thanks.

Custom Excel Reports and ASP linkage in PA

$
0
0
Looking for some help here to link a new asp page with a new procedure and link it to the new excel template with a macro.

We basically are trying to create new page and pass the paramters selected from the drop down on that page to the excel template.

Any one knows how to do it ?

Login Timeout Issue

$
0
0
I was attemting to post a fairly lengthy response to another user in the CIMPLICITY forum, and it took me quite a while to complete. (I was interrupted and had to assist someone locally before I finished my reply.) So when I completed my response and clicked on the "Preview Post" button, I got a "you have been logged out - You must log in again" message. I logged back in, and got a page telling me to use the back button to recover my information. However, when I went back in the browser, I got a completely empty entry form - all my reply text was gone.

I don't necessarily expect you to be able to save/recover what I had spent a long time entering; however, it would have been nice to be notified that my session was about to be, or had already been, timed out before I clicked on the button, or even to have the button warn me of that before it erased all the text I had entered. If I had known or even suspected that might happen, I could have at least copied the text into an alternate location (i.e. Notepad) before hitting the button and losing all my work.

So I like to suggest that you investigate adding some type of "warning" functionality to help prevent one losing such content.

Based on the user's original post, and the responses he'd received, I felt like I might really be providing some much needed detailed help. However, after losing all the work I previously entered, unfortunately I don't think I have the time to repeat that now.

Redundant Ethernet status in redundant RX7i

$
0
0
We have a redundant RX7i CRE040 system; two processor racks configured as Hot Standby, each with redundant network connections to the HMI (Cimplicity PE 8.2). One connection uses the Ethernet port built into the processor, and one into anIC698ETM001. There are four different IP addresses (192.168.101.1 and 192.168.102.1 in the primary rack, and 192.168.101.2 and 192.168.102.2 in the secondary rack) and four different status addresses, with starting addresses chosen to avoid overlap of the 80 bit length. I am trying to set up monitoring of the 12th bits (LAN OK) of each to initiate a SVC_REQ 26 to perform a role swap if the active processor loses both of its Ethernet connections. This happened to us once already; we could see all activity in the HMI because the two Ethernet connections to the secondary rack were still OK, but because the primary rack was still active, we could not execute any HMI commands until we activated the role swap switch on the IC698RMX016 Redundant Memory Exchange card. This was not a problem that time, since we were at the control room location, but many of our operations are performed from a remote control room during hazardous operations; under those circumstances it would be dangerous or impossible to return to the processor racks, and inability to regain control would be a real problem. The issue here is that the status bits on the system do not seem to be visible all at the same time (in the logic); we can see the ones on the primary rack when the primary processor is active, and those on the secondary rack when it is active, but not both at the same time. This makes it difficult to program the role switch we are after.

Has anyone run into this type of situation, and can offer a potential solution?

Thanks in advance...

iFIX Client PowerTool

$
0
0
Hi!

I need some help because I can't find the solution and it's making me crazy...

I have one computer configured as Server, it reads from an OPC Server installed in the same computer, it works great and without problem.


I have another computer in the same net, that I need to connect with the Server. When I open the PowerTool and select remote node, I can see the PC in the net, but when I click to connect it appears the message: Connection not Established: Error=0X80070005.

I have checked that the two nodes have the same name as the Computer Name, both computers have license...

I think it's something I have missed in the SCU... in "network configuration", do you have to Add the node of the Server in the Client or it's in the Client that you have to enter the Server Node? Y also haven't touch the Advanced configuration because I don't understand the fields...


Can anybody help me with the basic steps to connect with a remote node?

Thanks a lot!

VBA Reference for Cimplicity

List of events for an object? and heres why.

$
0
0
Is there a way to show all the events available for an object? The iFix Automation manual shows all the events available to iFix and then under each event shows the objects that can use it, but that is the opposite of what I am looking for. I want to see a list of all events, _Click, _OnChange etc, that pertain to a specific object i.e. datepicker, button, chart etc.

The properties and methods show up in a listbox after the "." is typed so I can usually look those up, but I can't find anything about the events that are possible for me to use, the details on the parameters that some can return, and example code if possible.

This has come up for me again while trying to use a new datepicker object. I stumbled onto the "_valuechanged" event which is supposed to return a string. As does "_text" from another datepicker.

But the returned string doesn't work when applied to a standard chart. the VBE says that the datatype is not the right one. Using the watch function I see that .StartTime = 5/5/13 12:00:00 and ValueChanged = "5/5/13 12:00:00" (has quotes around it)

So thats the current problem. But the bigger problem is that I have to stumble onto available events (or ask here) and I would really like to see a list. Surely such a thing must exist?

PME 6.5 on Windows 8

$
0
0
This may be of help to user who would like to run PME on Windows 8. It appears to me, albeit based on only a few hours of use, that PME 6.5 runs on Windows 8 provided that 1) PME is set to run in Windows 7 compatibility mode and 2) that Windows 8 large fonts are not used.

-- Vic Grappone

batch file execution

$
0
0
I am trying to run a command line in CImplicity but it doesn't appear to work. I have a button I want to execute a batch file. the batch file works when I click on it on the desktop but not in Cimplicity. Any ideas ? The command I want to execute is tscon RDP-Tcp#0 /dest:console

It resets a remote desktop session back to the previous session. This worked well in iFix but having trouble here. Any ideas ?
Jim

Phantom class objects...

$
0
0
Hi all,
I'm maintaining an existing Cimplicity 8.2 project in which there are a number of classes and objects, with the original graphics on templates.cim and templates2.cim. I noticed a little while ago that I don't have all the entries on the class or object lists that I expected, and sure enough I can't add the missing class objects to the screen. The graphic is still there on templates2.cim. No mystery so far, except for one little thing: without adding the class or object I can add any random object from templates2.cim and then right click on it and change it to the missing object.

So here's the question: Is there somewhere besides class.dat/class.idx/object.dat/object.idx, or simply those file tree lines in Workbench that objects might live? Could the fact that the object is still in use in some screens make the object available to CimEdit?

Thanks.

Display of No. of used tags in Workspace

$
0
0
Is it possible to display no. of used & spare tags in iFIX workspace/ Is it possible to run Database summary in runtime.

Error backing up Historian archives

$
0
0
I'm trying to backup our archives. This are saved on remote SQL Server. Historian Alarm archiver writes alarms on remote SQL server without a problem. And Historian also reads them back from this remote SQL server without a problem (I can see them in Historian administrator).

But when I try to backup an archive in Historian administrator, I allways get the error bellow. The .zip file after this error message is created, but includes only .iha file and no alarms.dat file.

All 3 services (Alarm arhchiver and Data archiver on PC1 and SQL server on PC2) are running under the same domain name (eq. MYDOMAIN\myuser). Default backup path in Historian administrator is set to \\PC1\folder and is a sharede folder with full permisons for erveryone including MYDOMAIN\myuser and is acessible from both computers.

Does anyone know what the problem is? Stack trace in Alarm archiver log:

[7.6.2013 11:52:12.813] Failure occured while backing up alarms: System.Data.SqlClient.SqlException: A file activation error occurred. The physical file name '[5BD47494-D633-4807-BCC7-37B4F1A0EE53].mdf' may be incorrect. Diagnose and correct additional errors, and retry the operation.
CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
The database '5BD47494-D633-4807-BCC7-37B4F1A0EE53' does not exist. Supply a valid database name. To see available databases, use sys.databases.
Database '5BD47494-D633-4807-BCC7-37B4F1A0EE53' does not exist.
Database '5BD47494-D633-4807-BCC7-37B4F1A0EE53' does not exist.
Database '5BD47494-D633-4807-BCC7-37B4F1A0EE53' does not exist.
Database '5BD47494-D633-4807-BCC7-37B4F1A0EE53' does not exist.
Database '5BD47494-D633-4807-BCC7-37B4F1A0EE53' does not exist.
Database '5BD47494-D633-4807-BCC7-37B4F1A0EE53' does not exist.
Database '5BD47494-D633-4807-BCC7-37B4F1A0EE53' does not exist.
Database '5BD47494-D633-4807-BCC7-37B4F1A0EE53' does not exist.
Database '5BD47494-D633-4807-BCC7-37B4F1A0EE53' does not exist.
Database '5BD47494-D633-4807-BCC7-37B4F1A0EE53' does not exist.
Database '5BD47494-D633-4807-BCC7-37B4F1A0EE53' does not exist.
Invalid object name '5BD47494-D633-4807-BCC7-37B4F1A0EE53.dbo.Alarms'.
Invalid object name '5BD47494-D633-4807-BCC7-37B4F1A0EE53.dbo.User_Defined_Events'.
Database '5BD47494-D633-4807-BCC7-37B4F1A0EE53' does not exist.
Could not locate entry in sysdatabases for database '5BD47494-D633-4807-BCC7-37B4F1A0EE53'. No entry found with that name. Make sure that the name is entered correctly.
BACKUP DATABASE is terminating abnormally.
Cannot drop the database '5BD47494-D633-4807-BCC7-37B4F1A0EE53', because it does not exist or you do not have permission.
at System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at BackupRequest.HandleRequest()

iFIX GlobalView

$
0
0
Hi!

Just one quick question... is it possible to publicate the Pictures of iFIX 5.5 in a WebSite??

In Cimplicity I have used GlobalView or IIS (Internet Information System) to publicate the Screens on Web, and using the Internet Explorer I can connect to the project... but is it possible to do something similar in iFIX??

Thanks a lot!
Viewing all 2516 articles
Browse latest View live


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