News:

  • June 09, 2026, 01:18:49 PM

Login with username, password and session length

Author Topic: ecom100 email  (Read 10763 times)

rubberboy

  • Newbie
  • *
  • Posts: 9
ecom100 email
« on: March 25, 2010, 06:33:59 PM »
Hi, I am using a ecom100 to send an email to myself on a power outage... the problem is I set the values from v7770 to a v mem location and v7767 to another v memory location and in the body I have "Power on at: " v1612 ":" v1613

what i end up getting is Power on at: 262153:589889mins instead of 9:42 am

I even tried _date:us "and" _time:12  and ended up getting 00/00/00 00:00

Thanks in advance

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3827
    • Host Engineering
Re: ecom100 email
« Reply #1 on: March 26, 2010, 09:42:53 AM »
I'm guessing the _date:us "and" _time:12 did not work because you have an 05, which does not have a built-in clock?  Is it an 05?

rubberboy

  • Newbie
  • *
  • Posts: 9
Re: ecom100 email
« Reply #2 on: March 26, 2010, 11:52:30 AM »
I guess i should have said that I am using 405 450 cpu with an ecom100... sorry

Thanks

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3827
    • Host Engineering
Re: ecom100 email
« Reply #3 on: March 26, 2010, 12:08:00 PM »
You may need to upgrade the firmware in the 450 to get its PRINT/EMAIL instructions to support the _date:us _time:12.  Does anybody know if the latest 450 PRINT supports those PRINT date/time commands?

The 450 did not originally support the _date:us _time:12 commands in their PRINT-type instructions, but I do not know if they ever added support for those PRINT sub-commands to the 450.

You could just format them manually, but you will get leading zeros, I believe.  Use the :BCD format modifier on your command (date/time values are in BCD, but print V locations defaults to binary/decimal format), i.e.

"Power on at: " V1612:BCD ":" V1613:BCD

but it won't look as good as
_date:us "and" _time:12

rubberboy

  • Newbie
  • *
  • Posts: 9
Re: ecom100 email
« Reply #4 on: March 30, 2010, 12:01:06 PM »
Thanks for the help I used the :b and it works... its too bad the _time and _date doesnt work though