CIMPLICITY HMI 4.01 & Basic Control Engine - calling external subroutines

zif2

Member
Join Date
Apr 2003
Posts
10
Hi All,

I would like to use the same custom dialog (keypad) through out the entire project.

This keypad BCE file should be initiated by events (attached to buttons on CimView screens) listed int the Event Editor.

For testing, I've created two files. The "called" keypad BCE file contains variable public definitions, Begin Dialog ... End Dialog, Declare Sub Keypad Lib "Keypad" (ByVal Arg1$), Function DialogControl...End Function, Sub Keypad...End Sub chunks of code. The "calling" BCE script contains variable public definitions, Sub Main() ... Keypad Arg1$ ... End Sub.

This works fine if both files are opened in the BCE editor. If "called" custom dialog file is closed, "calling" script generates error ("Error 35; Sub or function not defined") on the line where custom dialog is called.

Has somebody had more success when calling external BCE subroutines?

Regards,
zif
 

Similar Topics

Hi, I am developing project in Cimplicity 9.0 and I want to communicate it with PLC on S90_TRIPLEX protocol. Also want to communicate with...
Replies
1
Views
2,357
I have a question related to the tag definition of a Cimplicity HMI tag. I have an existing application in which I have csv export of the tag DB...
Replies
1
Views
2,061
Hi Members! Can anybody give an useable link where can I download GE-Fanuc CIMPLICITY HMI v6.0 software? I would like to install this software...
Replies
2
Views
2,964
Hello everyone, I'm learning to program the Cimplicity HMI 8.2 recently. Do you have any suggestions where can I find some helpful manuals or...
Replies
1
Views
8,874
Back to forum!📚 I'm working on a project that requires upgrading Cimplicity HMI from Version 7 to 8.2. Does anyone here knows if the new...
Replies
3
Views
4,233
Back
Top Bottom