1/1/2015 3:02 PM | |
Posts: 3 Rating:
|
http://www.hw-group.com/products/hercules/index_cz.html |
This contribution was helpful to
1 thankful Users |
1/5/2015 10:28 PM | |
Joined: 9/8/2009 Last visit: 7/17/2023 Posts: 1410 Rating:
|
7000hex for send_ptp means its not busy, it is normal because the message at high baudrate is sent immediately, you won't see it in the monitor The setting is done with correct program algorithm by checking status of both functions rcv/send. First you need to know if the recieve or transmit are busy, when its idle it means that receive has finished and something is in the buffer. If NDR is high, then valid data are in the buffer, at no matter of validity you can sendcommand query again. You can also try with start chars, but more important are the timeouts at end characters. With timeaouts you can set up such that RCV_PTP will stop receiving if message takes to long, comm is disconnected, or normaly when message will arrive and your instrument ends transmittion. In all cases the send command will be issued automaticly, thus repeating without any special program in plc. In attachementis my idea, don't know if it works. Attachmentptp..zip (482 Downloads) |
This contribution was helpful to
1 thankful Users |
1/6/2015 10:58 AM | |
Joined: 9/8/2009 Last visit: 7/17/2023 Posts: 1410 Rating:
|
Try something like this.
AttachmentPtp_Program blocks.pdf (606 Downloads) |
This contribution was helpful to
2 thankful Users |
Follow us on