FATEK FBs-CMGSM Скачать руководство пользователя страница 6

140903 FBs-CMGSM User's Manual EN v3-04 

Page #

6 of 7

 

5.5

 

Examples of Configuration Strings 

5.5.1

 

SIM without PIN 

Configuration string: 

CMGSM3;ACODE=998877;$ 

Translated for human this string says: 

 

CMGSM3 – It is configuration for CMGSM. 

 

ACODE=998877 – Access code for 

Service SMS Commands

 is 998877 

 
 

5.5.2

 

Use registers D1000-D1100 for sending SMS 

Configuration string: 

CMGSM3;PIN=7608;REGSEND=D1000;$ 

Translated for human this string says: 

 

CMGSM3 – It is configuration for CMGSM. 

 

PIN=7608  –  PIN  code  7608  for  SIM  card  in  order  to  register  into 

network. 

 

REGSEND=D1000 – Begin of the 

Send Record

 

[default Access code for SMS control is 1234] 

 

5.5.3

 

Only CSD (without GPRS) 

Configuration string: 

CMGSM3;PIN=7608;$ 

Translated for human this string says: 

 

CMGSM3 – It is configuration for CMGSM. 

 

[default Access code for SMS control is 1234] 

 

5.5.4

 

SIM without PIN, GPRS connection 

Configuration string: 

CMGSM3;APN=internet;SERVER=test.server.com;PORT=5700;AC
ODE=998877;$ 

Translated for human this string says: 

 

CMGSM3 – It is configuration for CMGSM. 

 

APN=internet – Access Point (APN) is ‘internet’. 

 

SERVER=test.server.com – Connect to ‘test.server.com’ 

 

PORT=5700 – Use TCP connection to port 5700 

 

ACODE=998877 – Access code for SMS control is 998877 

 

6.

 

Usage scenarios for SMS 

Usage  examples  can  be  found  on  CD  with  documentation  or  on  the  web  pages 

http://fatek.seapraha.cz/

In category 

FAC-CMGSM

 are examples of programs 

for receiving and sending of SMS from PLC. 
 

7.

 

Usage Scenarios for GPRS 

7.1

 

Explanation of Important Terms 

Term 

Description 

GPRS 

The  way  how  to  transfer  data  through  the  GSM  network.  It  is 
charged according to transferred bytes (and not per minutes) and is 

much  more  suitable  for  remote  monitoring  than  data  connection 
(CSD). 

TCP/IP 

It  is  protocol  which  is  used  while  communicating  through  GPRS. 
(Like Fatek protocol is used to communicate between computer and 

Fatek PLC). 

TCP 

It is one of protocols in TCP/IP family used with CMGSM. It may be 

imagine as a bidirectional stream of bytes through the Internet and 

the GSM network from your computer to a Fatek PLC 

Firewall 

It  is  a  security  device.  It  located  between  you  LAN  and  Internet. 

Main purpose of the Firewall is to protect your LAN against an attack 
from Internet. 

Port 

It  is  a  number  of  a  service  in  your  computer.  Complete  address 
needed to connect your computer is composed from IP address and 

Port  number  and  may  be  seen  as  11.22.33.44:5700  (IP-
ADDRESS:PORT). 

 
 

 

 
 

 
 

 

 

7.2

 

Simple Use 

We recommend this scenario for your first step with CMGSM. 
 

 

Internet

Firewall

Your computer in LAN 

of your company

GSM Network

LAN

FBs-

CMGSM

FATEK

PLC

PWR

COMM

 

 
You need to prepare following items in this scenario: 

 

External (WAN) IP address of your firewall. Rest of the Internet sees you 

with this IP. Warning: it is NOT your IP address in LAN (i.e. 10.0.0.25). 
Your external IP address may  be obtained  from various  WEB sites, i.e.  

http://www.whatismyip.com/. 

 

A  redirection  of  port  5700  from  external  side  of  your  firewall  to  your 

computer. 

 

Cooperation of your IT department will be necessary for all of these items.  

We  offer  simple  program  that  acts  like  a  server.  CMGSM  connects  to  this  server. 
This program is only a demonstration for one connection and elements X0-X3 and 

Y0-Y3. It may be obtained from our WEB site (

www.seapraha.cz

). 

 

 

Details:

  Program  listens  on  TCP  port  5700  for  incoming  connection.  Port  5700  is 

default  port  where  CMGSM  connects  to.  Program  periodically  queries  status  of 
inputs X0-X3 from remote station. You can change any of output Y0-Y3 by click on a 

check box Y0-Y1. 
 

8.

 

Technical Specifications 

8.1

 

General 

Parameter 

Symbol  Conditions  MIN. 

TYP. 

MAX.  Unit 

Dimensions 

Width 

 

 

25 

 

mm 

Height  

 

 

90 

 

mm 

Depth (without 

antenna) 

FBS-CMGSM 

B1-CMGSM

 

 

80 

55 

 

mm 

mm 

Fixing 

 

DIN rail or flat panel screw fixing 

Power 

 

5V DC / 120mA (max.)  

                from power supply of PLC main unit  

Backup power   

Internal Li-Ion accumulator for 2 days working without 

charging. Full capacity will be after 2 day of charging. 

Digital input 

DC  

(any polarity) 

Number 

 

 

 

Voltage log H 

|VIN| 

 

12 

30  V

DC

 

Voltage log L 

|VIN| 

 

 

<4 

V

DC

 

Current 

IIN 

 

 

 

mA 

Digital outputs 

DC, AC  

Number 

 

 

 

-

 

Voltage DC 

VOUT

DC

 

 

 

50 

V

DC

 

Voltage AC 

VOUT

AC

 

 

 

 

35 

V

AC

 

Current DC 

IOUT

DC

 

 

 

 

100 

mA 

Current AC 

IOUT

AC

 

 

 

 

70 

mA 

Temperature 

Operational 

t

A

 

 

-20 

 

+45

 

°C

 

Humidity 

Operational 

h

A

 

 

 

 

90 

GSM 

RF power 

 

 

 

 

GSM  

frequencies 

Worldwide 850 / 900 / 1800 / 1900 

MHz 

Antenna 
connector 

 

 

 

SMA female 

GSM-ANT05S 

recommended 

 

Communication interface 

Flat cable connected directly to PLC FATEK: 

FBs-xxMC: Port 3, (Port 4*)  

 

* PLC Port is not usable, but is not is not accessible for another expansions. 
 

PLC1.ir

Содержание FBs-CMGSM

Страница 1: ...just to set several PLC registers No PLC program support is necessary for CSD and GPRS operation LEDs for indication of the CMGSM status and data flow signalization Unlimited number of logical and analog inputs and outputs can work with one CMGSM PLC network 1 GSM antenna connector 2 IO connector 3 SIM card holder 4 USB connector 5 DIN rail holder 6 FUNC button 7 Indication LEDs Rx Tx 8 Flat cable...

Страница 2: ...800 SendFlag 0x0000 Idle 0x0001 Command to send written by program in PLC 0x0003 SMS is sending written by CMGSM 0x0000 SMS sent successfully written by CMGSM 0x0004 Failed while sending SMS written by CMGSM D3810 D3819 SendDestAddress Phone number where to send the message Length 20 characters D3820 D3899 SendUserData Text of the message Length 160 characters This range of registers cannot be use...

Страница 3: ...respond with confirmation SMS and restart itself PLC is not affected This command is used after change of configuration in PLC register to accept the changes by CMGSM CONFIG Device will respond with current configuration Current configuration is a default configuration with some values changed by configuration string in PLC see Chapter 5 Configuration FACTORY CMGSM will respond with confirmation S...

Страница 4: ...running without restart so called Uptime D3510 D3529 Gprs Reserved for GPRS diagnostics See chapter TCP over GPRS for details D3530 D3539 DiagOperator String with name of operator when registered Empty string if not registered Length 20 characters D3540 D3549 DiagCredit Reserved D3550 D3699 DiagAtCmd Sending AT commands to modem directly Write a command to this place and set D3506 DiagAtFlag to 0x...

Страница 5: ...re shown in table below Unknown keys are ignored no spaces are allowed inside keys or values Order of pairs is not important Keys are not case sensitive values are case sensitive Maximum length of configuration string is 200 characters At the end of each part MUST be character semicolon after last pair MAY be character semicolon and MUST be character dollar 5 2 Basic parameters Key Description Def...

Страница 6: ...ct your LAN against an attack from Internet Port It is a number of a service in your computer Complete address needed to connect your computer is composed from IP address and Port number and may be seen as 11 22 33 44 5700 IP ADDRESS PORT 7 2 Simple Use We recommend this scenario for your first step with CMGSM Internet Firewall Your computer in LAN of your company GSM Network LAN FBs CMGSM FATEK P...

Страница 7: ...998877 because CMGSM reads the configuration until the first character 10 Warranty General warranty period is 12 months after purchase when eventual malfunction device will be repaired free of charge in SEA company while shipping to SEA is paid by customer and SEA pays for shipping back to customer For SW there is 24 months warranty under following conditions Both CPU and PC software is sold as is...

Отзывы: