PLC-5 MSG Instruction .TO bit

Steve Cav

Member
Join Date
Aug 2006
Location
Clitheroe
Posts
71
I am currently having problems with MSG instruction taking up to 2 minutes on occasion transmitting 10 words of data between PLC-5s. The data passes from 1 DH+ to another via a DHRIO module. The MSG instruction is configured as a PLC-5 Typed Write.

I thought about using the .TO bit to abort the transfer, but when this is implemented the MSG block does go into error (as it should)and then re-sends when requested. However, despite aborting the transfer ALL of the data has been transferred successfully anyway - so what is the hold-up for?

Could the sending PLC be waiting for an ACK from the receiving one and if so is this likely to be because its bust either sending messages of its own or unable to obtain the token?

Any ideas anyone
 
Steve,

I don't know for sure, but it seems that if the message arrived even though you aborted it, then it must have been sent several times, and only got aborted AFTER a successful transmission.

Indeed the two PLCs must talk back and forth with ACK, and when you abort you must somehow convey the abort to the second PLC. Otherwise it is unaware.
 

Similar Topics

I have a weird problem. HMI response to operator input gets extremely slow under a certain condition: Vendors pallet wrapping machine consists of...
Replies
3
Views
1,902
Hello, confusion on the msg instruction configuration. We cannot find the target PLC-s in the communication path setup; however, we have made...
Replies
3
Views
2,689
Hi, I am trying to communicate between two plc-5's. I have programmed an MSG read instruction in PLC #2 to pull data from an R6: file from PLC#1...
Replies
3
Views
2,309
Hello every one. Here's what im trying to do. I need to use 6 Message instructions to send values from one ethernet processor to another, both PLC...
Replies
8
Views
4,717
Hi all, I'm venturing into new territory, programming MSG instructions for the first time :eek: What I'm wanting to do is send an alarm bit from...
Replies
15
Views
14,168
Back
Top Bottom