Internet PLC Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Internet PLC Forum
»
General
»
Technical support
»
Print commands
« previous
next »
Print
Pages: [
1
]
Author
Topic: Print commands (Read 11179 times)
tipster
Newbie
Posts: 7
Print commands
«
on:
November 15, 2004, 11:53:48 AM »
Is it possible to append a <LF> AFTER the default <CR> character, while using the PRINT command?
I am trying to send commands to an RS-485 device which requires this protocol "command character",<CR>,<LF>
Logged
Joel Moore
Full Member
Posts: 128
Re:Print commands
«
Reply #1 on:
November 15, 2004, 02:05:17 PM »
I doubt it. Have you tried using OUTCOMM to send your commands instead? A little more work but you'll have more control I think.
Logged
support
Global Moderator
Hero Member
Posts: 3174
Re:Print commands
«
Reply #2 on:
November 16, 2004, 08:54:21 PM »
Try this:
PRINT #1 "This is a test string"+CHR$(13)+CHR$(10);
don't forget the semi-colon at the end of the statement!
Logged
Email: support@triplc.com
Tel: 1-877-TRI-PLCS
Print
Pages: [
1
]
« previous
next »
Internet PLC Forum
»
General
»
Technical support
»
Print commands