I have this connection problem that suddenly appears while working with the device.
When we went back to the web interface, we were unable to reconnect.
But we still have the ewon online on Ecatcher and able to link with the device.
We can access the ftp server but not able to connect to the web interface anymore.
Any hints as to why this is happening.
Note that we do not have access to the physical device.
Hello,
I am trying to get multiple IOServers up and running on an eWon Flexy, however I am running into some difficulties:
I am setting up the servers as follows
Code:
List servers = new ArrayList();
// For testing purposes, this only has 1 server statically generated
servers.add(new MyIOServer());
Iterator it = servers.iterator();
while(it.hasNext()) {
IOServerImpl server = it.next();
Thread serverThread = new Thread(server);
try {
server.registerServer();
serverThread.start();
} catch (Exception e) {
System.out.println(e.toString());
}
}
And I am calling the "runEventManager" function after I finish setting up the servers
Code:
DefaultEventHandler.runEventManager()
1) If I try to send the JAR file to the eWon via FTP (along with the "jvmrun" file), the server does not appear on the IO Server list. If on the other hand I setup the "build.xml" to automatically push the JAR file when building, then the server shows up on the list.
2) If I try to edit the configuration of the new IO Server, I get the error "ERROR: Board does not exist".
3) If I reboot the device, the server is deleted from the list, which means that I have to re-build the solution to have the server show up on the page again.
What's weird is that from the Realtime Logs, everything seems to be working as expected. In the Event Logs I sometimes see the error "jio-IO Server is not ready". Did I make a mistake setting up the server?
I am trying to understand a error code who's now keep appearing every time the function is running.
This function is used to return a message related to an error code.
error code, semi column, message : 123;Message
Code:
FUNCTION GetStatus_CSV($fileString$,$integerValue%,@$statusString$)
// $fileString$: The name of the CSV file to read.
// $integerValue%: The fault code to search for.
// @$statusString$: A string that will hold the result (status) found in the file.
This line of code is the one to give "Quote too long(23)"
$Aint% = VAL $Astring$
Part of the code:
Code:
$ReadNextCode:
IF EOF 1 THEN GOTO $ReadDone
$Achar$ = GET 1,1
IF(($Achar$<>CHR$ 10) AND ($Achar$<>CHR$ 13) AND ($Achar$<>CHR$ 44) AND ($Achar$<>CHR$ 59)) THEN
$Astring$ = $Astring$ + $Achar$
GOTO $ReadNextCode
ELSE
IF($Astring$ = "") THEN GOTO $ReadNextCode
$Aint% = VAL $Astring$
$Astring$ = ""
It worked fine at first, but not anymore...and I can't figure out what's causing this situation.
I have a limited knowledge of Basic, so any help would be appreciated.
I have trouble connecting the OPC UA Server/Value with a S73&400 value on an Ewon Flexy 201.
I have connected a Value on the LAN port with a S73&400 controller and get values from it. I want to transfer that value to an OPCUA Value, which then sends the value through VPN to another Server. I set the settings for the OPCUA Server and enabled everything, but regardless what I do there is the red mark on the OPCUA Value.
Does anyone has any idea what the problem could be? Right now I can't reset the ewon.
Posted by: SIESATI - 10-09-2024, 05:42 PM
- No Replies
Hello everyone!
I'm having trouble connecting to an eWon through OpenVPN with eGrabit, I know there are other forums that talk about similar topics but I haven't found one that fits what I need, I appreciate any help you can give me.
I have a pfsense server on the LAN 192.168.0.1/24 where I created an OpenVPN server, the OpenVPN server works well, connect the eWon to the VPN and it connects without problems, it is assigned the IP (VPN) 10.10.10.2 and a Pinging IP 10.10.10.2 received a response.
The problem comes when I try to access the eWon with eGrabit, fill out the fields requested:
name: ewon1
Hostname/IP: x.x.x.x (MY public IP)
--------------------------------------------------------
As I'm sure you have heard a lot already I would also like to voice my disapproval of the new subscription fees.
I have influenced several customers to acquire eWon-equipment as there was no monthly cost.
Now I get to inform them of the opposite. Thanks for that. ?
Now on to the next "problem".
I started the free trials on all the 7 free accounts I have created for our customers.
After some testing and thinking, I planned on merging all of them into one Pro-account, and separating them into groups/pools.
For some weird reason, there is no support for importing from one Pro-account into another (even if it's a trial account).
I want to combine my accounts now, and not have to wait for the full 3-month trial to expire.
Is there at least a way to deactivate the trial account?
I have 7 accounts and 11 units I need to merge, and none of them are within reasonable driving range, so it must be done remotely. (Cosy 131, all of them).
I have tried adding a new key and using name/account/login, but both these result in me being disconnected before the unit comes back after aborting the Talk2M-connection.
Posted by: Jules - 09-09-2024, 08:05 PM
- No Replies
Hello everyone,
I’m currently facing an issue when handling string data types in my program. I’ve created a function that prints the value of a tag when it changes. This function works correctly for other data types (integers, floats, etc.), but it encounters a problem when it comes to strings.
Here’s the behavior observed with strings:
When the tag value changes, the function prints the result twice, with about a one-second delay between the two prints. In the first case, it shows the old value, and then in the second print, the new value.
Example:
Tag PLC = TEST
Change PLC tag to TEST10
The output is as follows:
TEST
TEST10
Tag PLC = TEST10
Change PLC tag to TEST102
The output is:
TEST10
TEST102
The only case where the function runs just once is when the length of the new string is the same as the previous one.
Problem:
I don’t understand why the function prints the old value first before displaying the new one, and why this behavior doesn’t occur with other data types.
Has anyone encountered this problem before, or does anyone have an idea of what could be causing this behavior with strings?
Here is the code for the function.
st.comment is a String PLC tag (Siemens).
Code:
Rem --- eWON start section: Init Section
eWON_init_section:
Rem --- eWON user (start)
@start()
Function Start()
ONCHANGE "st.comment", '@MQTTPublish("st.comment")'
ENDFN
Posted by: Ken Natton - 04-09-2024, 01:17 PM
- No Replies
I have found other threads on the forum about this topic but a satisfactory explanation I have not found.
Under animations for buttons and check boxes, there is no option for a visibility animation. Equally, as others have pointed out, if you try to hide them by putting something else on top of them, that appears to work in development, but in runtime – simulation or real – the buttons and check boxes promote themselves to the front.
Why can you not control the visibility of buttons and check boxes? It is very frustrating.