Jump to content

SaaHar

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

SaaHar's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. which is true, and this should be followed. In my case sb 80 is set every 3 seconds with a timer (which is not shown in example) and just had to plonk it in there to complete the example. This works aswell, but you should follow the worded quide, and as Joe T. said, set the SB 80 AFTER you have set the variables in the SI's
  2. If the only requirement is to send the value in an SMS, the display variables are the preferred way, since you need to set one up regardless for the SMS. If your intention is to use the linearized value anywhere else, try placing your measured low value in SI 80, your measured high value in SI 81, your adjusted low value in SI 82 and adjusted high value in SI 83. Then place your measured value in SI 84 and call SB80. The linearized value will be placed in SI 85. Attached is an example piece of code (in a little different order, but works), which i use to measure pressure from 0 to 11Bar using 0-10V analog input. PressureLinear.U9N
  3. I am trying to save the contents (sender's number and message contents) to an integer or string form, but this proves difficult even though everything else works fine(sending and receiving messages). What i have so far tried: 1)After enabling the SB199 "save SMS to Memory Vector" and setting SI199 to MI199 and receiving an SMS message, i get aprx. 20 rows of intangible integers (presumably PDU) in the MI's following MI199. SDW13 contains the phone number without country code. 2)sending the modem an AT command "AT+CMGF=1" to get something to read on my sniffer card, i get readable data going between the modem and SM43 unit, but the data written to all the memory integers are just numbers, again. Any ideas how to accomplish saving the SMS in text or string form to device memory?
×
×
  • Create New...