α
2 Simple Application Controllers
SMS/SMR/CD Functions and the Modem Setting 2
2 - 29
2.7.3 CD Function Block Example
Table 2.16: CD Function Block
Table 2.17: Abbreviated terms
Table 2.18: Phone numbers and Outputs
Function Set Item Description
E Bit input pin for the function block operation
FB
1) Retention
If this flag is set, the CD FB keeps it's output state at the time of
controller power down.
2) Phone Number
Setup short message senders phone number.
By setting the phone number in FB parameter, only the SME with the
setup phone number can manipulate a SMR FB.
Up to 28 characters,including “+ , - * 0 1 2 3 4 5 6 7 8 9 “.
Asterix Character in phone number
The asterix character '*' can be used to terminate phone number or
can be stand-alone.
It takes place for any combination of numbers. Using the '*', one CD
FB can switch for a group of phone numbers.(See Table 2.18)
3) Number of RING
Setup number of RING before call detection(Program Parameter,
common for all CD FBs)
Range:1 to 20
R Reset pin for the function block
Output
The output is set ON, when the caller's number is equal to the stored
phone number and E is ON.
The output state is hold, when E is OFF, and it is reset (set OFF),
when R input is ON.
Term Description
E CD Function Block Input pin
R CD Function Block Reset pin
O SMR Function Block Output pin
FB Function Block
FB number Caller's phone number FB Output
+49 21 02 12 34 56 7 +49 21 02 12 34 56 7 changed
+49 21 02 12 34 56 7 +49 21 02 12 34 56 8 no change
+49 21 02 12 34 56 7 +49 21 02 12 34 no change
+49 21 02 12 34 56 7 +49 21 02 12 34 56 78 no change
+49 21 02 12 34 56 7* +49 21 02 12 34 56 7 no change
+49 21 02 12 34 56 +49 21 02 12 34 56 7 no change
+49 21 02 12 34 56 * +49 21 02 12 34 56 7 changed
+49 21 02 12 3* +49 21 02 12 34 56 7 changed
+49 21 02 12 3* +49 21 02 12 34 56 8 changed
+49 21 02 12 3* +49 21 02 12 34 56 78 changed
* Any phone number changed
+* Any international phone number changed
E
R
O