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
»
Strings
« previous
next »
Print
Pages: [
1
]
Author
Topic: Strings (Read 9863 times)
Ted Schafer
Newbie
Posts: 1
I'm a llama!
Strings
«
on:
October 14, 2005, 12:05:10 PM »
I need a little help!
I am new to this software and am trying to display the current counter value "cnt1"
I don't know how to id the counter to a string.
I tried the following
A=cnt1
SetLCD 1, 1, str$(A)
It did not like what I called the counter.
Can any one help!
Thanks
Ted
Logged
support
Global Moderator
Hero Member
Posts: 3174
Re:Strings
«
Reply #1 on:
October 15, 2005, 12:02:07 AM »
If what you want is the present value of the counter, then it is accessible as a system variable CtrPV[1] to CtrPV[64]. So depending on which counter you are using choose the appropriate one:
SetLCD 1, 1, str$(CtrPV[1])
Logged
Email: support@triplc.com
Tel: 1-877-TRI-PLCS
Print
Pages: [
1
]
« previous
next »
Internet PLC Forum
»
General
»
Technical support
»
Strings