Jump to content

Elad S

Moderators
  • Posts

    9
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Elad S

  1. The feature is available on the latest official UniStream version.
  2. If you change at the PLC side at: It will only close any existing VNC clients connected to the PLC. It will not require any reset. After pressing Apply, any client can connect again.
  3. On your DOK create a folder named "OPCUA". Inside create two folders: "trusted" and "rejected". Put certificates you want to be trusted in the trusted folder and certificated you just want on the PLC but not trusted, in the rejected folder. Then, in UniApps -> Network -> OPC UA -> Auto Import, choose "Import Client Certificates From DOK". In Certificates tab you will see the imported certificates.
  4. Hi @pascal, I can see when you shutdown Kepware PLC B "Current Session Count" stays on 1. If i understand you, no other clients are connected to the PLC, and it should be 0 when Kepware is down. (Like PLC A) It means the PLC server doesn't recognize the client is down, and when you try to connect again you get refused because of unclean exit. I tried to simulate with UaExpert client and two OPC-UA server PLC's, but in my set-up everything works. To be able to help you more please open a ticket on Unitronics "Help center" at https://support.unitronics.com/index.php the Support team will assist.
  5. UniStream currently doesn't support Content-Type : application/x-www-form-urlencoded. We opened a feature request on the manner.
  6. Hi, If you are using 1.33.236, there was a bug " REST: Requests with Hard-coded content parameters did not work" On the latest released version on the site 1.33.348 it is fixed. In your screenshot I don't see the content parameters part (the part where you fill the data you want to POST) What are you trying to POST? I think you tried to put the post data in query parameters instead of the content parameters. You wrote the PLC sends: " /can_test2? Tester=fogonly&Barcode=ABCD", which is a POST request without any data. Try to put the POST data in Content parameters.
  7. Unistream PLC now supports automatic time syncronization. On the PLC in System -> Date & Time you will see Auto-Sync. If it's on the PLC will sync with "http://worldtimeapi.org/api/ip" and get the full time and date inculding timezone according to your PLC IP. The sync will happen each time the panel start-up and also every 12 hours. You can also press "Sync Now" button to force sync. In UniLogic you have four system structs for time: 2 for RTC time and date(RTC Time and RTC Date) which is now the local time. 2 for UTC time and date(UTC Time and UTC Date) which will give you UTC time.
  8. I see your json main brackets are [] which means it's an array and not an object. It's a special case which requires you to mark the "IsArray" checkbox and choose the "Main Array Index". In the example below you can see I asked for the second index. The "Path Preview" is '/' because you ask for values at the first level and they have no key. The "Main Array Index" tells us which member to take when there is no key given on the first level. Your json: [ 1 , 2 , 3 , 4 ,5 , ..., 23] What you tried to do is for a json that looks like this: { "level1": [0, 1, 2, 3] } And you asked for level1[0] (Your "Path Preview" is /level1[0]/). That will get you the value 0. (If you json would actully look like this) Hope this helps.
  9. Hello, It would help if you upload the json you are trying to parse. Also currently there is no support for parsing directly into array. You can parse an array member into a tag. That means you can ask for all the array members and fill an array. You can parse the json into a buffer and then do what ever you want with the data.
×
×
  • Create New...