Author Topic: outcomm and DEC format  (Read 5765 times)

GMG

  • Newbie
  • *
  • Posts: 3
  • I'm a llama!
    • View Profile
outcomm and DEC format
« on: December 01, 2004, 06:39:18 AM »
I am using outcomm to send counting interger A like this
outcomm 1,A
The outcomm sends interger A in HEX format ,
how can I change interger A to DEC format

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3171
    • View Profile
    • Internet Programmable PLCs
Re:outcomm and DEC format
« Reply #1 on: December 01, 2004, 03:13:11 PM »
OUTCOMM only send out A as an 8-bit binary data, not hex or DEC format. If your intention is to send a string representation of the number in variable A, then use PRINT #1 STR$(A) to send it out as a string of ASCII characters representing the number.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS