![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|||||||
![]() |
If you're really looking to learn about PLCs, you NEED our book... "Your Personal PLC Tutor - A Guide to Understanding PLCs" Easy to read and uses 'plain' language!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
![]() Join Date: Mar 2006
Location: Toledo, Ohio
Posts: 1
|
communication between slc 5-04's
I have two machine's with slc 5-04's. I have them connected on a Dh+ network. I need to have one send a bit to the other when task are complete. Does anyone have a peer to peer script for this?
Thanks in advance After looking at other post has it looks like I can use a Global Status Bit. Has anyone used this? Last edited by seracing; March 14th, 2006 at 10:37 PM. |
|
|
|
#2 |
|
Member
|
I think youll find you need to use the MSG instruction
Take a look at this article http://domino.automation.rockwell.co...F?OpenDocument If you mean Global Status Word S:99 then this is reserved and whilst you can transmit this word to another 5/04 i dont think it will help you... Example of GSW http://domino.automation.rockwell.co...6?OpenDocument
__________________
Regards Dave "When you are courting a nice girl an hour seems like a second. When you sit on a red-hot cinder a second seems like an hour. That's relativity." Albert Einstein (1879-1955) Last edited by 504bloke; March 15th, 2006 at 01:22 AM. |
|
|
|
#3 |
|
Member
|
It appears that you can use the Global Status Word (S:99) for this purpose. I don't have a second 5/04, but I was able to either the MOV or COP instructions to move data from a file to S:99. Using a custom data monitor with my source file (N10:30) and the GSW (S:99), I could change the value of the source and watch S:99 immediately update with the new value. I have never tried this before today, but I have had a number of customers tell me that they use the GSW to pass discrete bits between 5/04's.
|
|
|
|
#4 |
|
Member
|
I have used Global Data several times, it is great if you only need to send or receive one word from each processor.
From the help files: Global Status Word S:99 This is the word reserved to hold the SLC 5/04 (OS401) controller's global status data that is to be transmitted with each DH+ token pass packet over channel 1. Transmit Control Bit S:34/3 When this bit is set (1), the controller transmits the global status word with every token pass. When this bit is clear (0), the controller passes the token without the global status word. The default state of this bit is 0. Receive Control Bit S:34/4 When this bit is set (1), the controller places the global status word that it receives from other nodes on the DH+ network into the Global Status word (S:100 through S:163). When this bit is cleared (0), the controller ignores the global status word that it receives from other nodes on the DH+ network. The default state of this bit is 0. S:100 to S:163 Node These words comprise the System Status file. This file size is consistent with the number of nodes on the DH+ network and contains the global status words received by these nodes. When received, each DH+ node's global status word is placed in this file and indexed to its node number. You can use the Global Status File to send a high-speed broadcast to all processors on a network in one token rotation. Using an MSG instruction would require as many MSG instructions and token rotations as there are processors on the network. This is useful for such activities as sending start/stop signals, synchronizing processors, and synchronizing clocks. RSLogix 500 - Copyright Rockwell Software 2000, 2001, 2002
__________________
"To give real service you must add something that cannot be bought or measured with money; and that is sincerity and integrity." - Donald A. Adams |
|
|
|
#5 | |
|
Member
|
Quote:
__________________
Regards Dave "When you are courting a nice girl an hour seems like a second. When you sit on a red-hot cinder a second seems like an hour. That's relativity." Albert Einstein (1879-1955) |
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Allen Bradley Basic Card | XEV2005 | LIVE PLC Questions And Answers | 15 | August 24th, 2006 12:47 AM |
| problem communication an Experion C200 with SLC controllers on a DH485 Network | jagatiello | LIVE PLC Questions And Answers | 0 | December 27th, 2005 08:55 AM |
| SLC 500 and Panelview Communication | radarwolfe | LIVE PLC Questions And Answers | 5 | June 2nd, 2005 02:07 PM |
| SLC 5/03 PC Communication | jerry_smith | LIVE PLC Questions And Answers | 8 | June 17th, 2004 02:56 PM |
| Communication between PanelView 1000 and SLC 5/04 | RP | LIVE PLC Questions And Answers | 50 | December 9th, 2003 12:50 PM |