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 February 12th, 2007, 08:19 PM   #1
Automation_Tech
Member
United States

Automation_Tech is offline
 
Join Date: Dec 2006
Location: USA
Posts: 27
New application, ASCII output...hey Bernie Carlton!!!

Hi Guys and the master Bernie

I need more advice….I know very little about ASCII transmission via RS-232

I am considering purchasing this electronic display

These are some of the listed features,

·A 4-digit serial data interface display receives RS232 or RS422/485 data and displays it.
·Features a floating decimal point.
·Data protocol: 8 data bits, 1 stop bit & no parity.
·Field-selectable baud rate that is factory set to 1200. Five selectable baud rates.
·Easily connect dozens of displays in a multi-drop network
·A 6,8,10 or 12 digit serial data interface display receives RS232 or RS422/485 data and displays it.
·Data string (ASCII) protocol: <2-digit address> <6-12 digit data, optional decimal point>
·Field-selectable address factory set to 01 for one display and in sequence for multiple displays


I will be using a DL06 and reconfiguring Com port 1 (4-46 in the manual) then configuring a Non-Sequence protocol output (4-50) to the display via the rs-232

I thought of using the Ethernet but the 232 seems like it may be easier, it’s about 15ft away, so the distance should not be a big deal.

But before I spend 500.00ish, do you think it will work? would the Ethernet be better? Should I not us a Non-Sequence protocol?

I already have the DL06 and its on the Ethernet

Many thanks
  Reply With Quote
Old February 13th, 2007, 08:39 AM   #2
pinworm21
Member
United States

pinworm21 is offline
 
Join Date: Jul 2003
Location: New York
Posts: 31
If all your looking to do is play around with ASCII strings then I would use a PC and run hyperterminal or even get a smaller display (and more cost effective).
  Reply With Quote
Old February 13th, 2007, 11:30 AM   #3
bernie_carlton
Member
United States

bernie_carlton is offline
 
bernie_carlton's Avatar
 
Join Date: Apr 2002
Location: Yakima, Washington
Posts: 2,869
Only port 2 can be used in this manner. Otherwise your plan should work. The instructions on 4-50 concerning Non-Sequenced protocol gives you most of the information. The PRINT instruction will probably give you all the power you need for pure number output. But if you feel creative the VPRINT followed by the PRINTV commands give you more flexability with more complex messages.
__________________
Controlling outputs is the PLC's way of getting its inputs to change.

thePLCguy
  Reply With Quote
Old February 14th, 2007, 08:46 AM   #4
Automation_Tech
Member
United States

Automation_Tech is offline
 
Join Date: Dec 2006
Location: USA
Posts: 27
Thanks Bernie,


I'll give it a try
  Reply With Quote
Old March 8th, 2007, 08:06 PM   #5
Automation_Tech
Member
United States

Automation_Tech is offline
 
Join Date: Dec 2006
Location: USA
Posts: 27
Quote:
Originally Posted by bernie_carlton
...The PRINT instruction will probably give you all the power you need for pure number output....
Worked great!, thanks Bernie

Just in case anyone else is looking to do this, this may save you a little (or a lot) of time

I used the PRINT like Bernie said and the string is/was "$0200" VXXXX:B "$03"

{"$02"} STX
{00} address of the display
{VXXXX} this is the address mine V1200 also V20:B for a test
{:B} 4 digit BCD diplay
{"$03"} ETX

Thanks again
  Reply With Quote
Old March 8th, 2007, 10:40 PM   #6
bernie_carlton
Member
United States

bernie_carlton is offline
 
bernie_carlton's Avatar
 
Join Date: Apr 2002
Location: Yakima, Washington
Posts: 2,869
I used the VPRINT and PRINTV instructions to create strings to write information into an Excel-like cell structure of a vision system. I was doubtful at the start but it worked in the end. These are very powerful instructions.
__________________
Controlling outputs is the PLC's way of getting its inputs to change.

thePLCguy
  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
Encoder output types Orn Jonsson LIVE PLC Questions And Answers 10 May 9th, 2007 04:25 PM
OPTO22 Question Terry Woods LIVE PLC Questions And Answers 0 August 2nd, 2005 06:54 PM
Ge Fanuc 90-30 PLC & PCM Module ASCII Data Application Drewie LIVE PLC Questions And Answers 2 April 6th, 2005 10:34 PM
1 input 3 outputs guest LIVE PLC Questions And Answers 26 February 8th, 2004 04:33 PM
Sequential Logic to AB PLC Tze LIVE PLC Questions And Answers 7 January 4th, 2003 11:41 AM


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


.