hit counter script
FATEK FBs-CMGSM User Manual
FATEK FBs-CMGSM User Manual

FATEK FBs-CMGSM User Manual

Communication module
Hide thumbs Also See for FBs-CMGSM:

Advertisement

FBs-CMGSM
User's Manual
1. Introduction
FBs-CMGSM (CMGSM for short) is communication module for FATEK PLC systems
FBs-xxMC. CMGSM uses the GSM network to transfer the data. CMGSM is based
on the quad band GSM module (850/900/1800/1900 MHz). CMGSM is backed
up by Li-Ion accumulator.
CMGSM offer three different ways of communication with connected PLC.
The first one is monitoring and remote control of PLC via SMS. CMGSM reads
periodically PLC registers containing a flag to send SMS, if the flag is set, CMGSM
reads destination phone number and string of characters (text), sends SMS and
clears the flag. If there is a SMS received by CMGSM, it is written into PLC registers
including another flag "SMS received" to be processed by PLC program. At the end
the PLC program clears this flag. So these operational SMS must be processed by
PLC program both on SMS reception and SMS sending. Some status and event SMS
are predefined in CMGSM (e.g. "Connection to PLC failure") and only the destination
phone number have to be set in PLC registers.
The second way of communication with PLC via CMGSM is dial up data transfer
via GSM network (CSD). The connection can be only incoming for CMGSM, that
may be initiated from a control center for the purpose of remote system analysis
and PLC software tuning and modification by WinProladder SW.
The third way of CMGSM communication over the GSM network is GPRS data
connection using TCP/IP protocol. CMGSM opens the connection in TCP client
mode. Any SIM card, that can provide internet connection over the GSM network,
can be used. CMGSM connects to IP address and port specified in from PLC. It is
important to notice, that the connection can be opened in direction from CMGSM to
PC (server) only. PC cannot open a connection to CMGSM because CMGSM has no
server implemented and usually does not have public IP address. GPRS has special
data transfer properties (data grouping, data transfer delay 1 ... 10 seconds), which
are not suitable for WinProladder SW. WinProladder must use dial up data
transfer (so called CSD) only.
Main features
Three ways of GSM network use – SMS, GPRS, Data Call CSD (all of
them practically at the same time)
WinProladder remote GSM dial up data transfer connection (CSD)
USB port for module monitoring
One digital input IN and one digital output OUT
Firmware update via GSM available
Li-Ion backup accumulator – min. 2 days of operation w/o charging
Lowest level super watchdog function (Hardware Power OFF)
FBs-CMGSM can be used directly with PLC FBs-xxMC (Port 3)
SMS functionality is fully under PLC program control
Configuration of CMGSM means 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 for connection to PLC
9)
Indication LEDs GSM, ERR
2. Content of the
Delivery
1 pc of FBS-CMGSM
1 pc of antenna GSM-ANT05S
1 pc of 6 pin connector, pitch 3.81 mm
1 pc of CD with documentation
140903 FBs-CMGSM User's Manual EN v3-04
PLC1.ir
1
8
9
2
3
7
4
6
5
3. Typical Application, Installation
GSM
Antenna
CMGSM
RS 232 Communication
Power + 5 V
Flat cable
Note: FATEK PLC is not part of the delivery of this product. It is needed to order
independently.
Warning
Turn off all power supply during installation of CMGSM to PLC to
prevent damage to equipment!
3.1 Configuration
If a SIM card does not need PIN code, no configuration for basic use is necessary.
For the SIM card with PIN code the configuration in PLC is necessary. Read chapter
5.1
Configuration
for more.
3.2 Hardware settings
Switch off the power supply of PLC
Connect GSM antenna
Insert SIM card
Connect the flat cable between CMGSM and PLC
3.3 Startup
Device status is indicated with blue GSM LED on the CMGSM front panel. Valid
statuses are as follows:
Term
permanently off
No power or STAND BY mode.
Device is not logged into the GSM network.
This state occurs after start of device for approx. 30 seconds.
600 ms on /
If it remains, check: SIM card (is inserted?, is valid?)
600 ms off
Antenna (is connected?)
Configuration (is SIM PIN correct?)
Device is logged into the GSM network and is idle. (It means
75 ms on /
3 s off
that no GPRS nor CSD connection is active.)
75 ms on /
75 ms off /
GPRS active, no data
75 ms on /
3 s off
500 ms on /
GPRS active, data transfer in progress
50 ms off
permanently on
CSD (data connection) in progress
Expressed line is common operating state.
3.4 Front Panel
Name
Element
ANT
Connector
GSM Antenna connector
GSM
LED blue
GSM status
(see the previous table)
ERR
LED red
Error
IO
Connector
IN (input), OUT (output)
FUNC
Button
Multifunction Button:
DOUT2 change, RESTART,
STAND BY mode.
SIM
SIM card
Press
CARD
Holder
remove it from holder
USB
Connector
USB connection to PC for
debugging purposes
RCV
LED yellow
Receiving SMS
SND
LED green
Sending SMS
3.4.1
Pushbutton "FUNC"
Pushbutton "FUNC" has several functions. Short press
changes the state of the output OUT (DOUT2). Long press (longer than 3 seconds)
will either RESTART CMGSM (if CMGSM is powered by the PLC) or enter the
STAND BY MODE (if the CMGSM is powered from the internal accumulator - PLC is
either disconnected or turned off).
FATEK PLC
DC
Description
+
Description
-
IN
the
SIM
card
to
USB
FUNC
FBs-CMGSM
COMMUNICATION
GSM MODULE
Page #1 of 7
GSM
ERR
OUT
SIM
RCV
SND

Advertisement

Table of Contents
loading

Summary of Contents for FATEK FBs-CMGSM

  • Page 1 FBs-xxMC. CMGSM uses the GSM network to transfer the data. CMGSM is based Flat cable on the quad band GSM module (850/900/1800/1900 MHz). CMGSM is backed Note: FATEK PLC is not part of the delivery of this product. It is needed to order up by Li-Ion accumulator. independently.
  • Page 2 If the length of a phone number is exactly 20 characters (or 160 characters of text)  then the character 0x00 at the end is omitted! Outgoing SMS from PLC FATEK are sent by PLC program, that writes the text and destination phone number into PLC registers and orders CMGSM to send the Base of...
  • Page 3 One of the primary functions of this device is to establish and maintain TCP characters ends with special character 0x00. Examples: connection from PLC to a server. In order to achieve this goal FBs-CMGSM has to String with one character – “A”: D3720 = 0x0041 make following steps after power up: ...
  • Page 4 5. Configuration 5.1 How to Configuration for CMGSM is located inside PLC Fatek. Range of internal PLC registers D3900 – D3999 is used. Configuration itself is a string of characters. This string is created via WinProladder (software from PLC FATEK manufacturer), see following images.
  • Page 5: Basic Parameters

    PLC is found. (In this case SIM card without PIN authorization is requested.) IP address of DNS server. Optional. <empty> If SERVER is omitted no GPRS connection is made and device waits for a data CSD call only. 140903 FBs-CMGSM User's Manual EN v3-04 Page #5 of 7 PLC1.ir...
  • Page 6: Technical Specifications

    Backup power It is protocol which is used while communicating through GPRS. charging. Full capacity will be after 2 day of charging. TCP/IP (Like Fatek protocol is used to communicate between computer and Number Digital input Fatek PLC). Voltage log H |VIN| It is one of protocols in TCP/IP family used with CMGSM.
  • Page 7: Warranty

    – 1) PLC FATEK must be in mode. Use WinProladder to run declare under our sole responsibility, that product equipment for remote control and monitoring type FBs-CMGSM and B1-CMGSM is in conformity with the following standards: the PLC. Health and safety:...

Table of Contents