Basically what I am looking to do is move some basic digital Inputs and outputs between 3 PLCs. The system is already setup and has
Station 1. - CPU-317, 342-5, 342-5, I/O modules
Station 2. - CPU-314, 342-5, I/O modules
Station 3. - CPU-315, 342-5, I/O modules
Stations are interconnected with 342-5 modules and by Fiber using OLMs
Communication profibus no DP
Station 1 has database tables
Send DB100
Receive DB101
They currently communicate and everything working fine right now...
What I want to add to what is existing is take say on Station 3 take I5.2 and have that output on Station 2 as Q7.2
I think what needs to happen is on Station 3 I add to FC to set
DB92.DBX14.5 = I5.2 (14.5=next unused value)
Then on Station 1 in FC set DB100.DBX14.4(next unused value) = DB93.DBX??.? (here is where I run into problem explain more below)
Then on Station 2 in FC set Q7.2 = DB101.DBX14.2 (next unused value)
My problem is I can't figure out how or where the program takes the DB table and sends/receives the data. I tried to follow some data from the existing code but it goes I5.0 -- DB100.DBX14.2 --- DB92.DBX6.2 -- then to logic...
It would make sense to me if DB100 was sent from Station 3 and on Station 1 that table was repeated in DB92 So DB100.4.1 was the same data as DB92.4.1 but that does seem to be the case. I can't even find where it says.. to load the incoming data in DB92 or send from DB100 etc... Maybe if I can find that I can see the offset or where it does assignments etc. Is this something I can only see on the online code? (Working with just the offline code right now)
Your help figuring this out would be much appreciated.
Ralph
Station 1. - CPU-317, 342-5, 342-5, I/O modules
Station 2. - CPU-314, 342-5, I/O modules
Station 3. - CPU-315, 342-5, I/O modules
Stations are interconnected with 342-5 modules and by Fiber using OLMs
Communication profibus no DP
Station 1 has database tables
Send DB90
Receive from Station 2 DB92
Receive from Station 3 DB93
Station 2 and 3 both have same setup as far as tables go.Receive from Station 2 DB92
Receive from Station 3 DB93
Send DB100
Receive DB101
They currently communicate and everything working fine right now...
What I want to add to what is existing is take say on Station 3 take I5.2 and have that output on Station 2 as Q7.2
I think what needs to happen is on Station 3 I add to FC to set
DB92.DBX14.5 = I5.2 (14.5=next unused value)
Then on Station 1 in FC set DB100.DBX14.4(next unused value) = DB93.DBX??.? (here is where I run into problem explain more below)
Then on Station 2 in FC set Q7.2 = DB101.DBX14.2 (next unused value)
My problem is I can't figure out how or where the program takes the DB table and sends/receives the data. I tried to follow some data from the existing code but it goes I5.0 -- DB100.DBX14.2 --- DB92.DBX6.2 -- then to logic...
It would make sense to me if DB100 was sent from Station 3 and on Station 1 that table was repeated in DB92 So DB100.4.1 was the same data as DB92.4.1 but that does seem to be the case. I can't even find where it says.. to load the incoming data in DB92 or send from DB100 etc... Maybe if I can find that I can see the offset or where it does assignments etc. Is this something I can only see on the online code? (Working with just the offline code right now)
Your help figuring this out would be much appreciated.
Ralph