Cinterion MC52i terminal module is the advance version of MC52. The MC52i module handles all processing for audio, signal and data within the MC52i Terminal. Internal software runs the application interface and the whole GSM protocol stack. This is a dual band modem which can work on GSM 900/1800MHz frequency. This is a good MODEM which can also be used for sending SMS through SCADA system. This tutorial will guide you for making your own Power and Ignition cable for MC52i terminal, if original cable is destroyed or shorted. Subscribe to Automation-Talk by Email.
Jack of MC52i terminal is a female 6-pole Western plug which is used for power supply, ignition and power down. 1st pin of the jack is used for power supply and 8V to 30V can be applied on it. It is donated by PLUS (+). 2nd and 5th pin are free and 3rd is for sending power down signal. 4th is for providing ignition signal. 6th pin is used for ground signal and is denoted by GND. The pin arrangement is shown below.
To make your own cable you can simply use Pin 1 and Pin 6 with a 2 wire cable if you are not using other functions. When MC52i terminal is powered ON, the IGT_IN signal is activated automatically. After start-up, the MC52i terminal enters the net searching state. To turn off the MC52i Terminal use the AT^SMSO command, rather than disconnecting the mains adapter. This procedure lets the MC52i Terminal log off from the network and allows the software to enter a secure state and save data before disconnecting the power supply.
Dec 29, 2012
Cinterion MC52i Power & Ignition Cable
Oct 18, 2011
Reading Messages of Modem Connected with PLC
In the latest applications modems are used with PLC for the remote control applications. Modems have found their way to be sued with PLC for better remote monitoring applications. We have already discussed as How to send Message through GSM Modem and also about the SMS through SCADA & Modem. Today we will see the AT command used for sending the message received on GSM Modem to the Terminal Equipment(TE).
AT Command for Message Transfer to TE
The indication will be sent from the network to TE when TE is active; for example, DTR signal is ON.
If ME does not support requested item (although TA does), final result code +CMS ERROR:
NOTE: Command Select Message Service +CSMS should be used to detect ME support of mobile terminated SMs and CBMs, and to define whether a message which is routed directly to TE should be acknowledged or not.
SYNTAX:- AT+CNMI=
Now let us see the meaning of Mode, <mt>, <bm>, <ds>, and <bfr> and values associated with them.
Mode Values:-
0 -- Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications can be buffered in some other place or the oldest indications may be discarded and replaced with the new receiver indications.
1 -- Discard indication and reject newly received message unsolicited result code when TA-TE link is reserved (e.g. in online data mode). Otherwise forward them directly to the TE.
2 -- Buffer unsolicited result codes in the TA when TA-TE link is reserved (e.g. in online data mode) and flush them to the TE after reservation. Otherwise forward them directly to the TE.
(mt) Value:-
0 -- No SMS-DELIVER (message to ME) indications are routed to the TE. Default.
1 -- SMS-DELIVER is stored in ME. The indication of the memory location is routed to the TE by using the unsolicited result code.
2 -- class 0, class 1 and class 3 SMS-DELIVERs are routed directly to the TE using unsolicited result code.
3 -- Class 3 SMS-DELIVERs are routed directly to TE using unsolicited result codes defined in <mt>=2. Messages of other data coding schemes result in indication as defined in <mt>=1.
(bm) Value:-
0 -- No CBM indications are routed to the TE.
1 -- The CBM is stored and an indication of the memory location is routed to the customer application using unsolicited result code: +CBMI: "BM", <index>
2 -- CBM is routed directly to the TE by using the unsolicited result code:
+CBM: <length><cr><lf><pdu> (PDU mode enabled)
or
+CBM: <sn>,<mid>,<dcs>,<page>,<pages>(Text mode) <CR><LF> <data> (text mode enabled)
(ds) Values :-
0 -- No SMS-STATUS-REPORTs are routed to the TE.
1 -- SMS-STATUS-REPORTs are routed to the TE using unsolicited result code: +CDS: <length> <CR> <LF> <pdu> (PDU
mode) or +CDS: <fo>,<mr>, [<ra>] , [<tora>], <scts>,<dt>,<st> (Text mode)
2 -- SMS-STATUS-REPORTs are stored and routed using the unsolicited result code: +CDSI: "SR",<index>
(bfr) values
Its default value is 0.
0: TA buffer of unsolicited result codes defined within this command is flushed to the TE when
1: TA buffer of unsolicited result codes defined within this command is cleared when
We hope that CNMI AT command is clear after understanding the above things. We will discuss more about GSM Modem Communication with PLC and the AT commands used, till then you can subscribe to get all latest updates by E Mail. Subscribe to Automation-Talk by Email.
Aug 30, 2011
Data Frame and Rate in GSM Modem with PLC
In our earlier posts we have discussed about the how to send SMS through GSM Modem and the most used AT Commands in GSM Modem while interfacing it with PLC. Today, we will see one of important task i.e how we can set the string that is received and sent by GSM Modem. We will discuss this in detail and also see that how can we know the existing Frame and how can we change it.
How to See Character Frame/Data Rate in GSM Modem Communication with PLC
First of all, let us see that how can we see the "Data Rate" at which our GSM Modem is communicating. For this, we have to write the AT Command in the AT command window.
AT+IPR?
This command will give the current data rate at which our GSM Modem is communicating. Now if we want to change the data rate then we can issue an AT command for the same and the data rate will be changed.
AT+IPR=<rate>
This AT Command will change the Data Rate to the New one specified in this Command and OK response will come from Modem Side.
But we have to make a note here that the Data Rate are manufacturer specific, so we have to keep in mind the Higher Limit while setting the Data Rate.
How to See/Change Data Frame in GSM Modem Communication with PLC
If we want to know that what Data frame our GSM Modem accepts and sends i.e Data Bits Stop Bits and Parity then we can easily know that by an AT command.
AT+ICF?
This AT Command we have to issue to the GSM Modem. The response from Modem will be like - +ICF:
You can see the Below table for this.
FORMAT---------------------MEANING
1------------------------------- 8 Data 2 Stop
2------------------------------- 8 Data 1 Parity 1 Stop
3------------------------------- 8 Data 1 Stop
4------------------------------- 7 Data 2 Stop
5------------------------------- 7 Data 1 Parity 1 Stop
6------------------------------- 7 Data 1 Stop
For Parity Refer Below Table:-
FORMAT---------------------MEANING
0-------------------------------- Odd
1------------------------------- Even
2-------------------------------Mark
3------------------------------ Space
So from the response of the GSM Modem, you can get to know that which DATA frame it is using currently. Also, if you want to change the current data frame then, we can do it easily by this AT Command.
AT+ICF=[<format>[,<parity>]]
For example, if we issue an AT command AT=[<1>[,<0>]] then the DATA Frame will be 8,2,Odd i.e 8 Data Bits, 2 Stop Bits and Odd Parity.
So we today learned about the Data Rate and Data Frame in GSM Modem while Interfacing it with PLC. We will discuss in further articles more about the GSM Modem Communication with PLC, till then you can subscribe to get all latest Updates.
If you face any problem feel free to write in comment section.
Feb 6, 2011
How To Connect GSM MODEM For Sending SMS Through SCADA
GSM MODEM are widely used in Remote SCADA or Controlling any process through SCADA or getting any value to SCADA. The most widely used of GSM Modem in Automation is to send Alarm Message when ever there is a Alarm Process which is generated by our SCADA system. In this tutorial we will tell you how to connect and configure your GSM Modem for Sending SMS through SCADA system. In this we are Using Windows XP Operating System. We have also posted Article on SMS Sending SCADA Script and AT command used for SMS sending. Subscribe to Automation-Talk by Email.
How To Setup a GSM MODEM For Sending SMS Through SCADA
1. Go to Phone and MODEM Options of your Computer in which you want to connect GSM MODEM. You can go to Phone & MODEM through Control Panel.
2. Double click in Phone & MODEM Options and click on Modem Tab and then to ADD (as you have to ADD a New Modem).
3. Now Check Don't Detect My Modem and click On Next. You can also choose Auto detect Method. If Auto method Don't work then use Manual Method.
4. Now Select Standard Modem and from right list choose your baud rate you are going to Use. We choose 9600 which is standard.
5. Now choose your COM port to which your Modem is connected and click Next.
6. Now it should show a window which will tell you that Window is installing Modem.
7.After that you Modem will be successfully Installed and click Finish.
You can check installed MODEM at Device Manager & check it's Working if it is installed Successfully or Not. Or Just use Hyper-terminal and AT command to check. You can also Subscribe to Automation-Talk by Email to get more such useful tutorials.
Jan 1, 2011
AT Command Used to Send SMS Through GSM MODEM
AT Commands Stands for Attention Commands which are very important in configuring your GSM/CDMA Modem for sending SMS through PLC or SCADA directly. In this article we will only discuss about AT commands which are used to Send SMS though GSM modem in SCADA. To send SMS through SCADA please first Configure your GSM MODEM according to your need. Subscribe to Automation-Talk by Email. Now for Sending SMS through SCADA there are only two very important AT Commands which you will need. The first one is AT+CMGF and Second is AT+CMGS which you will require to send SMS through your SCADA. These AT commands will be used in your SCADA Script.The Description for both the AT command is given below.
AT Command Used to Send SMS through GSM MODEM
1.The first AT command Used in Sending SMS through your SCADA via GSM modem is AT+CMGF. This command is used to specify input and output format of message to use. In simple terms it is used to select SMS message format.
Example:
AT+CMGF=1
2.The second AT command Used in Sending SMS through your SCADA via GSM modem is AT+CMGS. This Command is used in send SMS to a Mobile Number.
Example:
AT+CMGS=Phone Number
Please
Subscribe to Automation-Talk by Email for more Tutorial on SMS sending through GSM Modem.
Oct 24, 2010
Best SMS Sending Software Using GSM MODEM
There are number of way to send SMS using a a GSM Modem but if you are using a GSM Modem with some third party software such as SCADA to send SMS when a particular Alarm arises then you can make scripts in your SCADA. But making scripts is not a easy task.So if you are Not a Pro in making Script and want to use some Software to send SMS for your when a Alarm arise then you can choose different-different Software but the best which we like is U.C.M.E from Control-See. Subscribe to Automation-Talk by Email.
And U.C.ME-OPC software includes the ability to send alarm notifications very easily. With This Software you can send SMS to both Landlines and Mobile phones by simply defining the number in this software.
You can connect this Software to any SCADA supporting OPC and even DDE. Setup-ing a OPC server is a easy task for that you will be needing a OPC server. In this UCME software you can make Alarm Condition's for which you have to send SMS, Define particular Recipients and even you can make a list of user who can disable these alarms through replying to this SMS alarm.
You can see further information about this software in Control see Website - http://www.controlsee.com/Subscribe to Automation-Talk by Email. and get latest tutorials on Automation.
Oct 22, 2010
Sending SMS Through your GSM Modem and SCADA
If you are an Automation Engineer and working on some SCADA application to send SMS through a GSM Modem then this article can help you a lot. You can Easily send SMS through your GSM Modem through SCADA by using simple AT commands i.e "Attention Commands" to instruct GSM Modem to send an SMS to Predefined Mobile number or you can even also make some points to send SMS to a Number you want to send by typing the Mobile number in SCADA.Subscribe to Automation-Talk by Email.
Some of the basic points you need to keep in mind that, your SCADA should support the opening of the serial port, Setup of COMM port etc. Then You can write a Simple SCRIPT in your SCADA which will send SMS.
Recommended Article: Creating a Simple Application ON/OFF Lamp in CX Supervisor SCADA
Follow the Below steps to Sends SMS through GSM Modem through any SCADA.
1. Setup your COM Port.
2. Open the COM Port and Send AT+CMGF=1 to COM Port.
3. Send AT+CMGS="Phone No." to serial COM Port which will instruct GSM Modem to Send SMS.
4. Close the COM port.
These above steps you can define in your SCADA application. You can also make some condition to execute these scripts. Subscribe to Automation-Talk by Email for more such tutorials.