Hi , I am using the Talk2M DataMailbox Viewer tool to test the syncdata data API function call
I receive a transaction ID and use this ID on the next call, however the history points appear to be the same for each tag
I was expecting to only see updated data on the next call.
Am I missing something ?
Posted by: mickaa - 12-02-2025, 10:09 AM
- Replies (1)
Hello,
I have about ten tags that I update about every second, I would like to save them in the memory so that they are not lost when the system starts. Is there a risk for the Ewon's memory at this rate?
I have ewon to send data JSON format to local server
But i always got error dns: picture1
we use local server API, and use RequestHTTPX for send data
i configure the WAN with static and complete it with ip dns, it using local dns
ewon can't access internet for global [like google or else] but can connect to the local factory network
Here is what i already try to analyze the problem:
1. i try ping to server from my laptop and i got the replay
2. i try ping to ewon from my laptop and i got the replay [because i allow the security wan of ewon to enable icmp]
3. i try to send data use postman, it have error certificate, but if i disable ssl verification at postman it working fine and got response 200 [picture2]
4. i consult with it guys and ask the ssl certificate, i got it and try to insert additional certificate with name cert.pem to folder /usr/certificates use ftp [the reference: hms] and setting the HttpCertDir [picture 3]
5. i reboot the device and try RequestHTTPX it still no response (still got error dns)
6. i try to send data to another API Local Server using ewon, but the address use http, it working fine and got response from server (even it 422)
7. i try to send data to the server again (the real one) using ewon but the address http, it still not response
can someone help me to found out how to fix it?
here is the code:
Code:
Rem --- eWON start section: Init Section
eWON_init_section:
Rem --- eWON user (start)
TSET 1, 5
ONTIMER 1, "GOTO updateDataApi"
//ONCHANGE "M1004", "GOTO updateDataApi"
END
updateDataApi:
histAPI@=0
POSTDATA1$ = '{Test Connection}'
HEADER1$ = "Content-Type=application/json&Accept=application/json"
URL1$ = "http://serverAddress.co.id//api/v1/ccm" //the address like that but it not the real one
PRINT "Update API"
@HttpRequest$(URL1$,HEADER1$,POSTDATA1$)
END
FUNCTION HttpRequest$($URL$,$HEADER$,$POSTDATA$)
histAPI@=1
REQUESTHTTPX $URL$, "POST", $HEADER$, $POSTDATA$
$k% = GETSYS Prg,"ACTIONID"
$CHECKSCHEDULEACTION2:
SETSYS Prg, "ACTIONID", $k%
$m% = GETSYS Prg,"ACTIONSTAT"
IF $m% = -1 THEN GOTO $CHECKSCHEDULEACTION2
IF $m% = 0 THEN
PRINT TIME$ + " REQUEST OK on ActionID " + STR$ $k%
$StatusCode% = VAL RESPONSEHTTPX "STATUSCODE"
PRINT "Respone Code: ";$StatusCode%
IF $StatusCode% = 200 THEN
$HttpRequest$ = RESPONSEHTTPX "RESPONSE-BODY"
//PRINT "Body: ";$HttpRequest$
histAPI@=2
ELSE
$HttpRequest$ = "NOK1"
PRINT $HttpRequest$
histAPI@=3
ENDIF
ELSE
PRINT TIME$ + " REQUEST FAILED on ActionID " + STR$ $k%
$HttpRequest$ = "NOK2"
PRINT $HttpRequest$
ENDIF
ENDFN
Rem --- eWON user (end)
End
Rem --- eWON end section: Init Section
I've written an IO-Server that publishes tags over MQTT. I've had this installed on my Flexy 205 for 3 years now without any problems.
Today I installed it on a Flexy 201 with newer fw 19 vs 16, and I'm getting some weird errors.
Firstly I wasn't able to write new config using the textbox field in the IO-Server list. It just gave me an error saying "Board does not exists".
Then I added the config directly through the Setup - System - Storage - Edit System cfg and rebooted the unit.
It then picked up the config and connected to the MQTT broker and keeps pushing values... until it doesn't. It disconnects without any errors.
But I keep seeing this in the logs, not sure if it's related:
Time Source Event Clock EventID
04/02/2025 22:00:55 JVM ABORT Wonka: tryPutFifo 655: Could not push [B@0x0070e1e8 onto fifo 0x0044e8f8! 210793 28
04/02/2025 22:00:55 JVM 210793 27
04/02/2025 22:00:55 JVM Failed to allocate 4096 bytes 210792 26
Posted by: Ellantra - 30-01-2025, 10:58 AM
- No Replies
Dear Team,
I have found some Threads in this Forum related to Ewon Device and Telegram.
In which they provided script for How to Send Message to Telegram Group and To Read from it.
My requirement is to send Alarm notification in Telegram Group chat and the script should only work when any alarm triggered and only send single message to group Chat.
Posted by: tolis - 30-01-2025, 10:50 AM
- No Replies
Hi all,
we noticed the following behaviour :
We have a Flexy EWON installed on a plant and that allows remote access to local devices on the network. On site there is a Siemens PLC (s7-1500), a Siemens HMI PC with WinCC Runtime Advanced (OS is Windows 10) and several other devices .
Initially we have set the EWON as Plug and Route NAT on LAN (Natltf=3). The client then decide to allow Internet access via the Siemens HMI PC and we have achieved that via NAT and TF on WAN Routing option (Natltf=2). Since we have done that , we can still monitor and program the PLC remotely, we can still access the local devices and we can still access the HMI via VNC. However, we are unable to download any modifications to the HMI PC. To get around this we have to keep switching the routing back to Natltf=3 , do the download and then switch back to Natltf=2.
In a nutshell:
if Natltf=3 : PLC can be accessed and downloaded, various LAN network devices can be accesses, HMI can accesses for monitoring via VNC, HMI program can be downloaded.
If Natltf=2 : PLC can be accessed and downloaded, various LAN network devices can be accesses, HMI can accesses for monitoring via VNC, HMI program cannot be downloaded.
The PLC, the HMI PC and the various local devices are using as gateway the IP address of the EWON. Also, the above was checked with the same outcome when the Firewalls were disabled on HMI PC.
Has anyone came across the above behaviour? Are we missing something.
Hello everyone, I am using an Allen Bradley Micro 850 PLC, an Ewon Flexy 205 and a Weintek HMI to control a process. How can I set Ewon notification email addresses from the HMI ? From what I am seeing, Modbus does not support string data type in Ewon and I am also not seeing the string data type in Weintek. Your help will be highly appreciated.
I have a new ewon flexy that I would like to reset, after a few tries (I don't remember the access password).
I have launched the level 1 and 2 reset procedure several times.
The IP address has been reset to default, but it always gives me an unauthorized password error in eBuddy, when I launch a firmware update procedure with the default passwords.
I am also blocked at the Http login level, it does not want the login/password: adm
I am using firmware version 14.9s3.
I have already performed the system reset several times on Flexy 201 and 205 without encountering this problem.
Do you have another manipulation to suggest to me?