SLC5/04-"remote" control through CH0 , modem and MSG

zap

Member
Join Date
Jul 2005
Location
Milan
Posts
1
Hi everybody,
and thanks to all: in this forum I've often found help, reading the posts. Now I need help again to make the most of MSG instructions in SLC500 for a project that is unusual for me.

This is the "architecture": two pumping stations, 1.5 km apart, each one controlled by an SLC5/04 and supervised on site with RSView through DH+ channel.
Each plant must be controlled also from the remote one.
The odd thing is: the customer won't buy anything but a two-wire copper cable to connect the two CPUs. Obviously this was decided after the CPU were bought, programmed and tested for a DH+ communication between them and with RSView o_O .

So...
The two modems I'm using work pretty fine (Westermo, 19200 bps), the MSG instruction doesn't. Sure not 4 at a time. Communication locks. Ok, it's serial communication, let's say I can use two MSG for each slc ... but no, it doesn't work, the error bit is too often on (ok, ok, it's point-to-point, I can't have both-ways communication) . Maybe 4 MSG in one SLC, the master? It's the same, error on, too often.
By the way, the "Comms servicing bit" and "Message Servicing selection" bits are cleared.
I've plenty of data to exchange (200 integers, 30 floats) and I'm using the ladder I found in this forum to execute 1 MSG at a time (4 read MSG in sequence, write commands on exception). It works. 15- 20 seconds to send a command with feedback, controlling the 2 plants from 1 master, not the reverse... and my testing system is only .5 m apart instead of 1.5 km!!!

Please, do you know how can I improve the use of msg?
In particular, do you have suggestions on how to give higher priority to critical data such as alarms and interlocks?

Thanks for your patience if you've read all this...:sleep:

Ciao.
 
I assume you have "cascading" messages. That is each message waits on the previous one to finish before starting. You could set up one message that only transfers alarm/interlock information, when an alarm/interlock is active, set a bit. Check the status of the bit after each message completion, if true send the alarm message, clear the alarm active bit, then proceed to the next scheduled message. Basically you will be sending your "regular" data on a schedule, and interrupting the schedule if an alarm/interlock is active.
 

Similar Topics

Hi, I made a post about this a little while back but figured I'd remake it as I've made a little progress on it since then. What I'm trying to do...
Replies
6
Views
2,652
Good day all. I am experiencing something with my SLC500 that I haven't seen before. I have the processor in Remote, I am trying to delete a...
Replies
4
Views
1,788
Customer needs a change to SLC5/05PLC program. The change is to a single instruction only. Customer is in Europe Customer has zero PLC skills and...
Replies
14
Views
3,449
Here is my setup 2 1746-A4 4 Slot racks 2 1746-P1 power supplies 2 1747-L552 Processors 2 1747-BSN backup scanner modules Looking at 1...
Replies
7
Views
9,471
hi, i was wondering if can monitor & make real time changes to the program inside the remote plc (SLC 5/05) through broadband internet in my...
Replies
3
Views
2,020
Back
Top Bottom