plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Get the book!

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!
Get $$FREE$$ priority mail shipping too!!!
You WILL be glad you did!!

Click Here now to order

Reply
 
Thread Tools Display Modes
Old March 14th, 2006, 10:03 PM   #1
seracing
Member
United States

seracing is offline
 
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.
  Reply With Quote
Old March 15th, 2006, 01:14 AM   #2
504bloke
Member
England

504bloke is offline
 
504bloke's Avatar
 
Join Date: Jan 2005
Location: South Coast
Posts: 2,319
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.
  Reply With Quote
Old March 15th, 2006, 07:25 AM   #3
mgvol
Member
United States

mgvol is offline
 
mgvol's Avatar
 
Join Date: Dec 2004
Location: Knoxville, TN
Posts: 746
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.
  Reply With Quote
Old March 15th, 2006, 07:44 AM   #4
Ken Moore
Member
United States

Ken Moore is offline
 
Ken Moore's Avatar
 
Join Date: May 2004
Location: Upstate South Carolina
Posts: 2,246
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

  Reply With Quote
Old March 15th, 2006, 10:57 AM   #5
504bloke
Member
England

504bloke is offline
 
504bloke's Avatar
 
Join Date: Jan 2005
Location: South Coast
Posts: 2,319
Quote:
Originally Posted by Ken Moore
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
The old saying "you learn something new every day" is certainly true for me today !
__________________
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)
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 12:01 AM.


.