Machine and Motion Control Forum
Support forum for Machine and Motion Control solutions, including Lexium MC12 and robotics, PacDrive, Modicon PLCs and I/Os, EcoStruxure Machine Expert Twin, … - from design, implementation to troubleshooting and more, by Schneider Electric
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-05-13 05:34 PM
I have been trying to get http post to work but just keep getting the error from the block 'Current state does not allow executing Post' in machine expert.
The http post works fine via the browser and also in a vbscript using ("Microsoft.XMLHTTP") no problems.
Have tried all sorts of combination for inputs.
The http library doco does not expand on this error.
Any ideas ?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-04-15 01:57 AM
Hi,
Please refer to our online help for the HTTP Handling library. There you will find detailed information about the state machine and the various functions FB_HttpClient - State machine.
There is also a separate code example that demonstrates how to execute the GET method. Of course, this can also be easily adapted for the POST method. FB_HttpClient - Example code.
Please let me know if you have any further questions.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-05-14 02:59 AM
Resolved this issue, the http library documentation with machine expert is pretty poor but involves a lot more processes to be involved before sending the http post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-03-21 04:54 AM
Please share tips for resolving this, documentation with machine expert is still poor about this.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-04-15 01:57 AM
Hi,
Please refer to our online help for the HTTP Handling library. There you will find detailed information about the state machine and the various functions FB_HttpClient - State machine.
There is also a separate code example that demonstrates how to execute the GET method. Of course, this can also be easily adapted for the POST method. FB_HttpClient - Example code.
Please let me know if you have any further questions.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of