Short Message Receiving Block - Mitsubishi a2 Series Programming Manual

Simple application controller
Table of Contents

Advertisement

α
2 Simple Application Controllers
6.31

Short Message Receiving Block

A GSM short message (SM) can be sent from a cell phone, a normal phone (with SM
functionality) or PC to a GSM modem that is connected to an α2 controller.
α2 controller detects the delivery of SM by the modem and downloads the SM from the
modem.
The Short Message Receive FB (SMR FB) searches for the occurrence of a command in the
SM. The command is given as text string in the FB parameter. In case the command text is
exactly included in the SM, outputs are changed.
A command can consist of max. 32 characters. A received short message can contain up to
160 characters (7 bit) or 70 characters (UFT-16, 16bit).
The difference between SMR and SMRm is allowable maintenance (m) from the TopMenu
"Parameter" in the
Table 6.45: SMR Function Block
Function
0
0
0
E
P
O
R
S M R
α
2 controller for direct programming.
Set Item
E
Bit input pin for the function block operation
Refer to the Communication Manual for detailed explanations
concerning the GSM functionality of the
1) Cmnd String(Cmmand String)
In case of Word output mode, only one command text can be setup.
In case of Bit output mode, a command text for switching bit output
ON and a command text for switching bit output OFF can be setup.
2)SM Age(Short Massage age)
Setup maximum age of received short message.
a) 5 to 720minutes(Unit:5minutes)
b) 12.5 to 24Hours(Unit:30minutes)
c) 2 to 30day(Unit:1day)
d) 5 to 63week(Unit:1week)
3) Phone Number
Setup short message senders phone number.
By setting the phone number in FB parameter, only the Shor t
Message Entity(SME) with the setup phone number can manipulate a
SMR FB.
FB
Up to 28 characters,including "+ , - * 0 1 2 3 4 5 6 7 8 9 ".
4) Password
Setup authentication password (4 digit code). The password is
common for all SMR FB and stored in Programm Parameter area.
5) Acknowledge
If this parameter is set and the FB output was manipulated by SM, a
acknowledge message is send back to the sender.
6) Retention
If this flag is set, the SMR FB keeps it's output states at the time of
controller power down.
7) Upper Limit (Word output mode)
In case the transmitted value is bigger than the max. value, max.
value becomes active. Max. Value can be [(min.value + 1)...32767].
8) Lower Limit (Word output mode)
In case the transmitted value is smaller than the min. value, min.
value becomes active. Min. Value can be [-32768...(max. value - 1)]
Description
α
2 Series controllers.
Function Blocks 6
6 - 89

Advertisement

Table of Contents
loading

Table of Contents