Personal Data

Username:
justthefacts77
Joined:
2020-04-03 13:11:26+00:00

Projects

  • No projects to display.

Skills

  • No skills entered.

User Activity

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Ok so looking at "ParseJSON"...feed it in a String, then how do I access members of an Element, then an object in an Array, i.e. how does it determine which Type? "coord" : { "lon" : -82.4584, "lat" : 27.9475 }, "weather" : [ { "id" : 804, "main" : Clouds, "description" : overcast clouds, "icon" : 04d } ], ?- What would be the syntax to assign the element to a temp variable, for example temp := JSONVars.weather.main Appreciate any input, gonna have to do my due diligence on the coding aspects for...

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Thank you much TVM! My biggest challenge is to parse out an element from an Array, so i was thinking multiple steps: - Find Key for the Array location - Find item in Array via an Index lookup...etc. Anyway ill dig into it. I am looking at the JSON Utilies SL library right now but hampered by the fact my HTTP Client is outputting a WString (JSON) from the weather API and haven't figured out way to feed into the FBlks they offer. Thank you again!

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Hey Folks, I am obtaining data from a Weather API site using the "WEB_CLIENT" block (HTTP Get). JSON data comes in and is stored off in a "WSTRING" as follows: "{"coord":{"lon":-82.4584,"lat":27.9475},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"base":"stations","main":{"temp":72.48,"feels_like":71.6,"temp_min":68.05,"temp_max":76.15,"pressure":1023,"humidity":43},....." Pretty format... { "coord": { "lon": -82.4584, "lat": 27.9475 }, "weather": { "id": 804,...

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Resolved, Engaging the EIP Master immediatley (xExecute = TRUE)prior to the Slave being ready, timesouts fast. Made this variable conditional in code.

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Project Scanner driver

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    I have a Scanner(CSYS on Win 64)/Adapter(another PLC) setup for "Explicit Messaging". My EtherNet/IP traffic confirmed okay via Wireshark. This Function Block is not sending out the CIP command to "Get_Attribute_Single". Below is the code running in debugger. Constantly get CIP Error "Abort" (but my comms have been verified between the units).

  • Posted a comment on discussion Runtime πŸ‡¬πŸ‡§ on CODESYS Forge

    Thank you very much! Looked at that 10x and still missed. Combination of 2 things: - The Instance Swap like you said and - Change the Target to Scanner format to "Pure Data"

  • Posted a comment on discussion Runtime πŸ‡¬πŸ‡§ on CODESYS Forge

    See for the Compute 3, but no "4". Forthcoming? Regards

View All