You are not registered yet. Please click here to register!


 
 
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.

New Here? Please read this important info!!!


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

Reply
 
Thread Tools Display Modes
Old March 7th, 2005, 08:39 AM   #1
qee
Member
United Kingdom

qee is offline
 
Join Date: Dec 2003
Posts: 23
Question GE Fanuc 90-30 PLC & RS232 PC to PLC Comms

Hello all,

I need to talk to a GE 90-30 series PLC using the RS232 protocol. I need to be able to send data strings in the following format to the PLC via RS232 from a PC:

stx <Data> etx

Is this easy enough to do?

I'm OK with the PC side of things but I'm unsure of how this will be achieved in the PLC. For example, is this possible through the RS232 port of the PLC? and if so how do I “see” or access the data in the PLC?

What I need to do ultimately is fire different PLC outputs depending on the data value received. Again I'm OK with this, it's getting and comparing the data in the PLC that's the problem.

Any help would be greatly appreciated.

Thanks, AJ
  Reply With Quote
Old March 7th, 2005, 08:43 AM   #2
Steve Bailey
Lifetime Supporting Member + Moderator
United States

Steve Bailey is online now
 
Steve Bailey's Avatar
 
Join Date: Apr 2002
Location: The boondocks of Western Massachusetts USA
Posts: 8,245
RS232 is not a communications protocol, it is an electrical standard.

The serial port on the 90-30 power supply is RS485. You can communicate with it using GE Fanuc's SNPX protocol.

Some 90-30 CPU models have additional serial ports. These may be either RS232 or RS485. They can be configured for SNPX, RTU, or CCM protocols.
  Reply With Quote
Old March 7th, 2005, 09:20 AM   #3
qee
Member
United Kingdom

qee is offline
 
Join Date: Dec 2003
Posts: 23
Thanks Steve for your quick reply.

I'm trying to find out the exact PLC CPU type.

So far the only info I have is that the available ports are RS232, RS485 and Line SNP?

The PC application uses the "TDVCmdProtocol", which apparently is a simple text type.

E.g. stx <Data> etx

I will post any more info when I get it.
Many thanks for your help so far.

AJ
  Reply With Quote
Old March 7th, 2005, 09:29 AM   #4
Tom Jenkins
Lifetime Supporting Member
United States

Tom Jenkins is offline
 
Tom Jenkins's Avatar
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 6,270
Hey, Steve, I love your atavar! It is amazing how few people understand that basic business equation.
  Reply With Quote
Old March 7th, 2005, 09:59 AM   #5
qee
Member
United Kingdom

qee is offline
 
Join Date: Dec 2003
Posts: 23
It's a GE Fanuc 90-30 350 CPU.
The PC application can communicate via RS232, Profibus or TCP/IP.

Does anyone know how we can talk to it?

Thanks
AJ
  Reply With Quote
Old March 7th, 2005, 10:36 AM   #6
Tom Jenkins
Lifetime Supporting Member
United States

Tom Jenkins is offline
 
Tom Jenkins's Avatar
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 6,270
You should probably get your local vendor for the PLC and for your PC software.

RS-232 and the related RS-485 are electrical standards for serial communications. EtherNet is an electrical and message packet framing standard. There are hundreds of devices that meet RS232 standards that cannot talk to each other, and there are hundreds of EtherNet devices that can't talk to each other.

A protocol is a format for a message or data communications exchange that defines things like addressing, error checking, data request and response codes, data format, message length, and so on. The same protocol can be used on RS232, or RS-485, or even embedded in EtherNet packets. TCP/IP is one type of message packet format.

Both devices in a communications link must be using the same communications electrical standard and the same protocol to communicate.

The 90-30 Model 350 supports SNP and SNPX (System Ninety Protocols) and Modbus RTU. It also supports ethernet, but I'm not sure of the protocol used. There are also Genius and CCM protocols that you probably won't want to use.

It is probable that Modbus RTU is the easiest for you to implement and is probably available as a canned protocol with your PC software, but you have to check. If not, the Modbus RTU protocol is published and you could write your own or obtain a third party package.

This is a non-trivial task, and it may be beyond the scope of a forum like this to give you the training you need to accomplish it. That is why you need to do some research and vendor contact. If you do a search on this site for some of the key words used above you will find lots of reference material.
  Reply With Quote
Old March 7th, 2005, 12:25 PM   #7
qee
Member
United Kingdom

qee is offline
 
Join Date: Dec 2003
Posts: 23
Thanks Tom for your help.
Much appreciated.

AJ
  Reply With Quote
Old March 2nd, 2006, 10:27 AM   #8
louzar
Member
Tunisia

louzar is offline
 
Join Date: Feb 2006
Location: sfax
Posts: 4
Hi Tom
i am a student in computer inginiering and i must implement an application that program tsx17 20 whith pl7_1 language .
so if you have any documentation about the protocole betwen tsx17 and pc please send me it .this is my email nizarellouze@yahoo.fr
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


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
GE Fanuc 90-30 PLC Stixs LIVE PLC Questions And Answers 15 January 31st, 2018 11:36 AM
GE Fanuc 90-30 Basic (stupid) Question smutza LIVE PLC Questions And Answers 15 June 27th, 2009 12:32 PM
PC to PLC Protocol TheRixta LIVE PLC Questions And Answers 13 December 17th, 2008 01:56 PM
Series one GE Fanuc plc sandro.chiarle LIVE PLC Questions And Answers 7 September 15th, 2002 06:25 PM


All times are GMT -4. The time now is 03:18 PM.


.