Help with ST/LD program

Silver TT

Member
Join Date
Mar 2017
Location
Calgary
Posts
1
Hello, I'm working on a program which sends a modbus message and then re-sends the same message if it does not receive a response. I send the modbus message from a ladder diagram and then call a UDFB which checks if the slave sent back a response by monitoring a coil called "successful_Message". The UDFB should allow the message to re-send a certain number of times, and then stop. I can't seem to get it to stop though, it resets to zero and keeps sending!
Any help is appreciated.

PLC_zpsdyy0viwv.png
 

Similar Topics

I have an old Sentry Palletizer (S/O Number 3007 / Serial Number 1172) that has lost its program as the backup battery died years ago. I can...
Replies
0
Views
164
Hi all, hope you are having a great day, I am in need of your help to create a AOI or program that does this kind of job: I have a IO Link...
Replies
26
Views
626
Hi all, I am having issues accessing my Cimplicity software - the site code changed after re-install and I am no longer able to attain a new key...
Replies
11
Views
257
I am completely stuck on building a ladder program that requires a start button to be pressed 3 times to turn on motor 1. Then motor 2 starts...
Replies
20
Views
652
Hi all, I’m new to programming and want to write a simple routine. Push start button, turns on sensor. 2 second delay before anymore logic read...
Replies
1
Views
370
Back
Top Bottom