×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

using com port in xcel vba
2

using com port in xcel vba

using com port in xcel vba

(OP)
hi all
  I am searching for a clue. I have a protocol to interigate a plc via a serial link.
I can prepare the strings and open the com port in turbo basic and get the reply string etc etc.
  So the next step was to do this direct from the xcel sheet. And here  it all falls over. I can  Open com1: 9600,8,1, etc etc and this is ok but now I would normally print #1 message$ , then delay then read #1 but xcell really hates me trying to write, print, put, to any thing related to the com port.
   I am using the same port as turbo basic and com set up values but I get syntax errors (not time out type problems).
 has any one had any luck doing this if so, how?
Any clues greatly appreciated
thanks Don

RE: using com port in xcel vba

(OP)
hi ivymike
 heaps o thanks there. It's really late tonight but I'll hit those sites tommorrow straight after work.
again your response appreciated
& will advise results
 Don

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources