Search Project: *:*

 
<< < 1 .. 3607 3608 3609 3610 3611 .. 3721 > >> (Page 3609 of 3721)

Archive CODESYS Forge talk (Thread)
Archive
Last updated: 2026-03-10

wiki Discussion ineffectua wiki (Discussion)
Forum for wiki comments
Last updated: 2026-03-10

blog Discussion ineffectua blog (Discussion)
Forum for blog comments
Last updated: 2026-03-10

(no subject) ineffectua wiki (Thread)
Last updated: 2026-03-10

blog Discussion darwin03 blog (Discussion)
Forum for blog comments
Last updated: 2026-03-10

Home ineffectua wiki (WikiPage)
Project Members: ineffectua (admin)
Last updated: 2026-03-10

wiki Discussion darwin03 wiki (Discussion)
Forum for wiki comments
Last updated: 2026-03-10

(no subject) darwin03 wiki (Thread)
Last updated: 2026-03-10

Home darwin03 wiki (WikiPage)
Project Members: darwin03 (admin)
Last updated: 2026-03-10

Dynamically Update JSON Payload CODESYS Forge talk (Thread)
Dynamically Update JSON Payload
Last updated: 2026-03-10

Post by fredashbolt on Dynamically Update JSON Payload CODESYS Forge talk (Post)
I am trying to generate a JSON payload populated with a value that updates for use with a telemetry system, the payload is to be published by MQTT. I have established the MQTT client and can publish a working JSON payload but I can't get the payload to update as the value (iValue) changes. I am using a timer to trigger the .SetValue function periodically, but the JSON will only give the value as it is when it is first initialized using xFirst IF statement. Any suggestions? Thanks VAR pJsonData : POINTER TO JSON.JSONData := factory.Create(); fb_JBuilder : JSON.JSONBuilder; diRootIndex, diObject1Index : DINT; iValue : INT := 10 ; jsonArrayWriter : JSON.JSONByteArrayWriter; wsJsonData : WSTRING(1000); xFirst : BOOL := TRUE; utf8JsonData : STRING(2000); diTempVal : DINT ; PublishTimer : TON ; END_VAR IF xFirst = TRUE THEN fb_JBuilder ( pJsonData := pJsonData , diRootObj => diRootIndex ) ; diObject1Index := fb_Jbuilder.SetKeyWithObject ( "Device" , diParentIndex := diRootIndex ) ; diTempVal := fb_Jbuilder.SetKeyWithValue ( "Temp" , iValue , diParentIndex := diObject1Index ) ; xFirst := FALSE ; END_IF PublishTimer ( IN := PublishTimer.Q = 0 , PT := T#5S ) ; IF PublishTimer.Q THEN fb_JBuilder.SetValue ( iValue , diTempVal ) ; END_IF jsonArrayWriter( xExecute := PublishTimer.Q , pwData := ADR(wsJsonData), udiSize := SIZEOF(wsJsonData), jsonData := pJsonData^, xAsyncMode := FALSE ) ; JSON.Stu.ConvertUTF16toUTF8( ADR ( wsJsonData ) , ADR ( utf8JsonData ) , SIZEOF ( utf8JsonData ) , bStrictConversion := TRUE ) ;
Last updated: 2026-03-10

Home (version 1) discussion ineffectua wiki (Thread)
Home (version 1) discussion
Last updated: 2026-03-10

wiki Discussion fredashbolt wiki (Discussion)
Forum for wiki comments
Last updated: 2026-03-10

blog Discussion fredashbolt blog (Discussion)
Forum for blog comments
Last updated: 2026-03-10

Home fredashbolt wiki (WikiPage)
Project Members: fredashbolt (admin)
Last updated: 2026-03-10

(no subject) fredashbolt wiki (Thread)
Last updated: 2026-03-10

Home (version 1) discussion fredashbolt wiki (Thread)
Home (version 1) discussion
Last updated: 2026-03-10

Home (version 1) discussion osande wiki (Thread)
Home (version 1) discussion
Last updated: 2026-03-10

Post by infinitetool on No connection could be made because the target machine actively refused it CODESYS Forge talk (Post)
Hi! I'm having trouble connecting to a device in Deploy Control SL. I'm able to see the device is available during a scan, and I can ping the device as well, but when I try to connect I get the message "No connection could be made because the target machine actively refused it". I've worked on this for hours including turning off the firewall on the device PC but nothing seems to work. The device is running a fresh install of Windows 11 IoT Enterprise 2024 and the Development System is 3.5.21.50 running on Windows 11. Thank you in advance for any ideas!
Last updated: 2026-03-10

Post by ineffectua on WebClient result empty CODESYS Forge talk (Post)
Since the request works correctly in the browser and returns the full JSON, it seems the API itself is fine. The issue might be related to how the WebClient is reading the response. Sometimes the response is received in chunks or requires waiting until the full content is available before parsing it. You might want to check if the WebClient is reading the complete stream or if there is a buffer/timeout run 3 setting that stops it too early.
Last updated: 2026-03-10

Post by eschwellinger on No connection could be made because the target machine actively refused it CODESYS Forge talk (Post)
if you try to login by a ssh client, does this work?
Last updated: 2026-03-10

JOG continues in WCS ( SMC_GroupJog2 ) CODESYS Forge talk (Thread)
JOG continues in WCS ( SMC_GroupJog2 )
Last updated: 2026-03-11

Post by mascara on JOG continues in WCS ( SMC_GroupJog2 ) CODESYS Forge talk (Post)
I'm using the SMC_GroupJog2 block from the SM3_Robotics library for manual movement of an AxisGroup in WCS coordinates. The observed behavior is: When pressing X+, the X-axis starts moving correctly. If I press Y+ during the movement, the block interrupts the current movement and starts a new movement in X and Y. If I release any button, all axes stop, even if another button is still pressed. Example: Pressing X+ → X moves Pressing X+ and Y+ → X stops momentarily and starts XY movement Releasing X+ while holding Y+ → all axes stop The expected behavior would be: to allow simultaneous continuous movement on multiple axes to not interrupt movement when another axis is added or removed. Is there a correct configuration of SMC_GroupJog2 to achieve this behavior, or is there another block more suitable for continuous manual jog in AxisGroup (WCS)?
Last updated: 2026-03-11

Post by mascara on CloseTargetVisu CODESYS Forge talk (Post)
I need to add a button to the Visualization to close it. And create a shortcut on the Windows desktop to reopen the Visualization. This is necessary to configure, for example, a local IP address. Is this possible? What command closes the Visualization? Which program opens Visualization? System: Win10 Codesys: Control RTE V3 x64 Program: Codesys V3.5 SP20 Using only a touchscreen monitor, without keyboard and mouse.
Last updated: 2026-03-11

Home (version 1) discussion topcoolgames102 wiki (Thread)
Home (version 1) discussion
Last updated: 2026-03-11

<< < 1 .. 3607 3608 3609 3610 3611 .. 3721 > >> (Page 3609 of 3721)

Showing results of 93007

Sort by relevance or date