Forum Replies Created
-
AuthorPosts
-
sperate
ParticipantFinally it worked !! and in ASCII !
No need to send a numerical value I just had to manually set the data lenght of the string array of the TAG in the device properties (tag selector popup window).
This value defaulted to an array of 1 char. I’ve set it to 5 chars and it worked with the proper data format of the server.sperate
ParticipantI have no acces to the server side of the OPCDA. Thus I cannot tell how data is received. The only thing I can notice is that the system responds correctly to the value following the “Val=” statement. In the case of the
Val=0.000 Data=363030
, the system behaves as if it has received the Val=0 value.The only thing I’m a bit sure is that the OPCDA server configuration states that the tag type is “string” and that may be why RapidScada sends ASCII data when comming from OPCUA client even if the tag is configured as a Integer or Double or some other numeric value on the OPCUA client side.
sperate
ParticipantYes, 600 is the value I wanted to send from OPCUA client. But I cannot force some OPCUA clients to consider the tag as a number (UA Expert for example). And even in the case I try to force the OPCUA client to use a number, the value is still passed as a string with Val=0 and the ASCII data, like the line you pointed out.
The other lines with Val=2500 or Val=600 are sent with “commands” through the web interface as tag values updates and are well received by the OPCDA server.
img4sperate
ParticipantI my memory doesn’t fail, Iremember Mikhail told me once that OPCUA input data goes directly to communicator devices (OPCDA servers in my example) without passing throuht RapidScada’s server Tags. Therfore it is impossible to act on their content this way.
sperate
ParticipantTrying to add screen captures with no success ..
http://sperate.free.fr/hebergement_images/Command1.png
http://sperate.free.fr/hebergement_images/Command2.png
http://sperate.free.fr/hebergement_images/Command3.pngsperate
ParticipantOk, I’ll check that later on ..
A
nyway, the automatic ctrl module did the job in it’s trial version so maybe it’s worth considering buying it.Best regards !
sperate
ParticipantI checked, 2001-01-01 is a starting point in demo mode, specified in the source code.
Ok, thanks !
sperate
ParticipantDo you mean that you need to restart a line by another OPC UA client?
Yes
If so, you need a channel that can be changed by the client
How to create such a channel that appers in RapidScada’s OPCUA server’s tag list ?
Till now, I can only see tags configured in the communicator devices on the OPCCUA server.use Automatic Control Module to send a command
Is it the only way to send commands ?
-
This reply was modified 1 year, 2 months ago by
sperate.
sperate
ParticipantMany thanks, that is working very well !
And do you how I could use this “command Channel” from an OPCUA client, since I use OPCUA server capabilities on RapisSCADA 6 ?
The problem is that in RapisSCADA’s OPCUA server I only get the communicator lines tags, not the database channels.I would need to create some sort of a “dummy” tag in the communicator, associate it to the output channel that sends the reset command and update this tag from OPCUA client when I need this reset command to be sent.
Do you know if it’s possible to do that ?
Best regards !
sperate
ParticipantHi Mikhail,
It’s working with the date set to 2001.1.1.
No need to change the file location (Tag name was already read).
Just the driver didn’t like the timestamps.That’s what is reading now :
[4] Ephemerides Soleil 2 ------------------------ Driver : DrvCsvReader 6.0.0.0 Status : Normal Session time : 15/07/2024 09:34:10 Command time : Undefined Sessions (total / errors) : 4 / 0 Commands (total / errors) : 0 / 0 Requests (total / errors) : 4 / 0 Current Data +---+-----------+-----------+---------------------+---------+ | # | Code | Name | Value | Channel | +---+-----------+-----------+---------------------+---------+ | *********************** Main Data *********************** | +---+-----------+-----------+---------------------+---------+ | 1 | Tag1 | Astro | 60.000 | | +---+-----------+-----------+---------------------+---------+ | ******************** Reading Status ********************* | +---+-----------+-----------+---------------------+---------+ | 2 | Timestamp | Timestamp | 1/1/2001 1:35:00 AM | | +---+-----------+-----------+---------------------+---------+ | 3 | Position | Position | 1,024 | | +---+-----------+-----------+---------------------+---------+
I clearly don’t understant what’s the trick with the timestamps because the hours doesn’t correspond to anything (minutes arse sync. though) but it’s working right now, so i’m happy with that 🙂
sperate
ParticipantHello,
I tried with this file but it didn’t work.
Nothing read by the driver except the tag name .Timestamp,Astro 2024-07-09 00:00:00,33 2024-07-09 00:01:00,33 2024-07-09 00:02:00,33 2024-07-09 00:03:00,33 2024-07-09 00:04:00,33 2024-07-09 00:05:00,33 2024-07-09 00:06:00,33 2024-07-09 00:07:00,33 2024-07-09 00:08:00,33 2024-07-09 00:09:00,33 2024-07-09 00:10:00,33 2024-07-09 00:11:00,33 2024-07-09 00:12:00,33 2024-07-09 00:13:00,33 2024-07-09 00:14:00,33 2024-07-09 00:15:00,33 2024-07-09 00:16:00,33 2024-07-09 00:17:00,33 2024-07-09 00:18:00,33 2024-07-09 00:19:00,33 2024-07-09 00:20:00,33 2024-07-09 00:21:00,33 2024-07-09 00:22:00,33 2024-07-09 00:23:00,33 2024-07-09 00:24:00,33 2024-07-09 00:25:00,33 2024-07-09 00:26:00,33 2024-07-09 00:27:00,33 2024-07-09 00:28:00,33 2024-07-09 00:29:00,33 2024-07-09 00:30:00,33 2024-07-09 00:31:00,33 2024-07-09 00:32:00,33 2024-07-09 00:33:00,33 2024-07-09 00:34:00,33 2024-07-09 00:35:00,33 2024-07-09 00:36:00,33 2024-07-09 00:37:00,33 2024-07-09 00:38:00,33 2024-07-09 00:39:00,33 2024-07-09 00:40:00,33 2024-07-09 00:41:00,33 2024-07-09 00:42:00,33 2024-07-09 00:43:00,33 2024-07-09 00:44:00,33 2024-07-09 00:45:00,33 2024-07-09 00:46:00,33 2024-07-09 00:47:00,33 2024-07-09 00:48:00,33 2024-07-09 00:49:00,33 2024-07-09 00:50:00,33 2024-07-09 00:51:00,33 2024-07-09 00:52:00,33 2024-07-09 00:53:00,33 2024-07-09 00:54:00,33 2024-07-09 00:55:00,33 2024-07-09 00:56:00,33 2024-07-09 00:57:00,33 2024-07-09 00:58:00,33 2024-07-09 00:59:00,33
sperate
ParticipantHere’s the content of the csv file
Timestamp,TagTest 2024-07-07 13:00:00,2000 2024-07-07 13:01:00,2000 2024-07-07 13:02:00,2000 2024-07-07 13:03:00,2000 2024-07-07 13:04:00,2000 2024-07-07 13:05:00,2000 2024-07-07 13:06:00,2000 2024-07-07 13:07:00,2000 2024-07-07 13:08:00,2000 2024-07-07 13:09:00,2000 2024-07-07 13:10:00,2000 2024-07-07 13:11:00,2000 2024-07-07 13:12:00,2000 2024-07-07 13:13:00,2000 2024-07-07 13:14:00,2000 2024-07-07 13:15:00,2000 2024-07-07 13:16:00,2000 2024-07-07 13:17:00,2000 2024-07-07 13:18:00,2000 2024-07-07 13:19:00,2000 2024-07-07 13:20:00,2000 2024-07-07 13:21:00,2000 2024-07-07 13:22:00,2000 2024-07-07 13:23:00,2000 2024-07-07 13:24:00,2000 2024-07-07 13:25:00,2000 2024-07-07 13:26:00,2000 2024-07-07 13:27:00,2000 2024-07-07 13:28:00,2000 2024-07-07 13:29:00,2000 2024-07-07 13:30:00,2000 2024-07-07 13:31:00,2000 2024-07-07 13:32:00,2000 2024-07-07 13:33:00,2000 2024-07-07 13:34:00,2000 2024-07-07 13:35:00,2000 2024-07-07 13:36:00,2000 2024-07-07 13:37:00,2000 2024-07-07 13:38:00,2000 2024-07-07 13:39:00,2000 2024-07-07 13:40:00,2000 2024-07-07 13:41:00,2000 2024-07-07 13:42:00,2000 2024-07-07 13:43:00,2000 2024-07-07 13:44:00,2000 2024-07-07 13:45:00,2000 2024-07-07 13:46:00,2000 2024-07-07 13:47:00,2000 2024-07-07 13:48:00,2000 2024-07-07 13:49:00,2000 2024-07-07 13:50:00,2000 2024-07-07 13:51:00,2000 2024-07-07 13:52:00,2000 2024-07-07 13:53:00,2000 2024-07-07 13:54:00,2000 2024-07-07 13:55:00,2000 2024-07-07 13:56:00,2000 2024-07-07 13:57:00,2000 2024-07-07 13:58:00,2000 2024-07-07 13:59:00,2000
Screen captures are here : https://imgur.com/a/nXhc4Dd
Thanks !
sperate
ParticipantI mean I can’t make it work.
I was asking if there’s something I’m missing to make it work.
I can’t find what is wrong in my .csv file.The same way as for the real time mode, what does the driver expect in order to to consider data valid and update the Tag values ?
You said earlier that for axample for the hour period the full hour data must be filled. Ok, I’ve tried with one minute data but nothing was read nor displayed on the communicator. Is there a specific time “step” to use between recordings ?
Thanks
sperate
ParticipantAlso you can delete the existing file and create a new one. It should work.
Ok, maybe I’ll give it a try
This is possible to make a time difference as a parameter. I’ve made a note in the back log. If you need it in time, we can do that on paid basis.
Not in a hurry but it could be an interesting option anyway. Even an “unlimited time” difference coulb be possible as you already have the position counter and , as far as I understand, the driver only reads data that’s after the position counter. Wich means only new data, regardless of the time.
And about demo mode ? What’s the trick to make the driver read data ?
Many thanks !
-
This reply was modified 1 year, 3 months ago by
sperate.
sperate
ParticipantIllustration of the real-time mode working !! 🙂
---------------------- Driver : DrvCsvReader 6.0.0.0 Status : Normal Session time : 02/07/2024 12:09:30 Command time : Undefined Sessions (total / errors) : 219 / 0 Commands (total / errors) : 0 / 0 Requests (total / errors) : 219 / 0 Current Data +---+-----------+-----------+----------------------+---------+ | # | Code | Name | Value | Channel | +---+-----------+-----------+----------------------+---------+ | *********************** Main Data ************************ | +---+-----------+-----------+----------------------+---------+ | 1 | Tag1 | Day/Night | 123.000 | | +---+-----------+-----------+----------------------+---------+ | ********************* Reading Status ********************* | +---+-----------+-----------+----------------------+---------+ | 2 | Timestamp | Timestamp | 7/2/2024 11:57:00 AM | | +---+-----------+-----------+----------------------+---------+ | 3 | Position | Position | 397 | | +---+-----------+-----------+----------------------+---------+
-
This reply was modified 1 year, 2 months ago by
-
AuthorPosts