Home

User`s manual CMGSM (2006)

image

Contents

1. configuration and may be different for each user DELIMITER Available delimiters are space gt o o o o o gt COMMAND See next chapter Commands Command specifies requested action See the following table for command syntax Command is not case sensitive Meaning GET lt ELEMENT gt PLC element inquiry SET lt ELEMENT gt lt VALUE gt PLC element settings STATE All configured elements inquiry PULSE lt ELEMENT gt Pulse Pulse duration is given by a configuration of an output Y register Default value is approximately 5s Available PLC Registry elements table CMGSM User s Manual COMMAND SMS MESSAGES e 14 Discrete address 5 characters s1usus 3 FT DCT x0000 X9999 0000 Y83999 M0000 M9999 30000 59999 KTO C Counter discrete 50000 C9999 CTR Counter register HR Data register Data register 16 bits register adar 655 6 characters wx0000 wy0000 WMODO0 WS0000 W wT0000 WC0000 Wx9984 WY9984 WM9984 39984 WT9984 WC9984 RTOD00 RC0000 oa R00000 R65535 MIN D00000 D65535 RC9999 Figure 19 PLC elements table Responses FBs CMGSM response on a valid command SMS as follows lt Pref1x gt lt Station name gt Prefix Prefix is sent only if specified in configuration Station name Station name depends on configuration Element of command Element in command SMS Value Element value in
2. different places Basic Characteristics e 4 o Unlimited number of logical and analog inputs and outputs can work with one CMGSM PLC network Specification Mechanical dimension 25x70x93 mm o Plastic case similar to FBs CMxx o Fixing DIN rail or flat panel screw fixing e Power from 5V power supply of PLC main unit or from USB for configuration o Backup power 3 7V 600mAh internal Li Ion battery o Inputs Outputs total 3 function SW selectable o HW log Inputs 12 30V 10mA DC insulated o HW log Outputs max 60V 100mA insulated o Temperature range from 20 C to 50 C o GSM RF power 2W max aerial 50 Ohm SMA con Typical use o all FATEK FBs control systems that should be monitored or remote controlled via GSM net o for GSM monitoring and remote control with high number logical or analog inputs outputs o for GSM monitoring and remote control if inputs and outputs are spread in large space using PLC network CMGSM User s Manual Basic Characteristics e 5 OVERVIEW GSM NET DATA COMMUNICATION MODES FBs CMGSM provides up to four ways of GSM net communication with FATEK PLC Monitoring and remote control of a PLC controlled system by SMS method 1 CMGSM added to PLC enables monitoring and remote control of the system by SMS sent among CMGSM supervisor PC and mobile phones of system owners or system maintenance personal CMGSM is independent on PLC program it behaves like master in communication wi
3. guide o Prepare proper SIM card and insert it to CMGSM o Install USB driver for FTDI on your PC from CD o Connect USB A B cable to CMGSM o Install the POSEIDON configuration software on your PC e Run the Configuration program POSEIDON First Configuration is Start ye O g vF Y hd Tir k g BE ELY FE E OSHE e l Figure 3 Start menu To run the CMGSM configuration program POSEIDON Click START gt Programs gt Sea gt Poseidon gt Poseidon To Select English Language in configuration program CMGSM User s Manual k P 4 es Poseidon BASIC INSTALLATION e 8 EA Poseidon Soubor Zarizeni Z lo ky Pee N pov da Informace o za zen Language d o e tina Twp an Z English M ete pou t Pr vodce menu nebo tla tka Ma ist Zapsat Konfigurace Monitoroyani Figure 4 Language selection Click MENU gt Nastaveni gt Language gt English EH Poseidon File Device Pages Settings Help Information on device Type FES CMGSM version 0 0 Device Analog Inputs Digital Inputs Digital outputs Station name FEs CMGSM PIM 1234 GPRS Typ POP Events when communication with Fatek GPRS APN internet open s Fails ye Resumes m GPRS login Serial port parameters Standard settings GPRS password O Special settings TCP IP mode O TCP client e TCP server at port 300 Read Write Configu
4. inside of CMGSM CMGSM User s Manual Hardware e 31 Guarantee Warranty for software in GSM device microprocessor and programming PC software The software in the microprocessors of the offered devices and the programming PC software 1s offered as is It was developed by our software experts and carefully tested in our laboratory and in operation by our customers Despite all this care the software may reveal errors or problems in relation to a specific property of GSM of given GSM provider at the place of using the device may occur Should you encounter any such errors we shall remove these errors for free provided that you deliver the device with detailed error description to our company and then will take the device back Our company as the producer SHALL NOT BE LIABLE for any damage costs or any other detriments either expressed or implied on the user s side or to any other legal or physical persons to whom these errors occurred or might occur Our company as the producer SHALL NOT BE LIABLE for any damage costs or any other detriments either expressed or implied occurred by non transmitting any SMS message or non establishing connection with GSM network In case of a software error and description thereof delivered to our company best by e mail with attached configuration files or recorded messages we can provide the customer with a new processor with the software or CD with installation of PC software for free The customer shal
5. two minutes Its not possible to make GPRS The SIM card has been changed Check the configuration connection to CMGSM Already another GSM operator parameters concerning GPRS worked before another tariff prepaid SIM card connection Program POSEIDON Eventually contact Your GSM Operator for proper GPRS parameters setting Its not possible to read write Wrong setting of S1 S2 switches Please check the setting of S1 S2 configuration from to CMGSM on CMGSM switches on the CMGSM front panel CMGSM User s Manual CMGSM Troubleshooting e 21 CMGSM How To Q How to configure CMGSM HW signal as an output A HW signal is configured as an output automatically whenever it is not configured as an input These outputs are assigned as HO H1 H2 in SMS commands Q How to assign user s name to HW outputs when using POSEIDON configuration program A It s not possible to assign user s name to HW outputs at all These outputs are named HO H1 H2 in SMS commands Q When using GPRS connection What is the difference between TCP Server and TCP Client Is there a different software in CMGSM A Software and hardware for TCP Server and TCP Client are identical The only difference is in a CMGSM parameter setting and mode of operation see the connection diagram Important recommendation Before testing of CMGSM please check the SIM card price features especially the price per kByte in GPRS connection to avo
6. you GSM provider It is typically apn or empty You MUST fill in correct value GPRS password GPRS settings This value you can obtain from you GSM provider Is is typically apn or empty You MUST fill in correct value GPRS DNS GPRS settings This value you can obtain from you GSM provider Leave empty if not sure TCP port TCP settings Fill in the port number you want device to listen on Fill 500 is not sure CMGSM User s Manual Configuration of CMGSM GPRS e 27 Serial port parameters Settings for serial port to PLC Recommended value is blocking on baudrate 19200 This mean that port will have following settings 19200 baud 8 data bits 1 stop bit no parity You can change baud rate but not count of data bits nor parity CMGSM User s Manual Configuration of CMGSM GPRS e 28 Hardware Power Supply Device is supplied from connected FATEK PLC via flat cable 5 V Backup Power Supply Inside device is built in rechargeable battery used for supplying device when main power from PLC failed CMGSM User s Manual Hardware e 29 Front Panel JP2 HW Logical I O HO H1 H2 1 2 OUTPUT 6 0 60 V 100 mA MAX 3 INPUT1 1 4 INPUT1 5 common OUT1 OUT2 6 OUT1 Y OUl2 8 common INPUT1 INPUT2 9 INPUT1 O INPUT2 S1 USB Communication Switch Debug message output 115 200 baud 8 bit 1 stop no parity no hardware handshake Device configuration PLC monitoring FBs GSM S 9600 ba
7. 12 FIGURE LS dd 13 FIGURE 19S PEC ELEMENTS TAB ICE alec sl a aia 15 FIGURE 20 E RONT PLANE di 30 CMGSM User s Manual List of Figures e 33 Document History CMGSM GPRS 18 02 2005 e Creating of the document version 0 01 o 04 10 2005 Changes for GPRS version version 1 00 a e Poseidon description CMGSM SMS 2006 04 26 V1 00d Preliminary version plu 2006 05 03 V1 00g GPRS SMS all in one document plu CMGSM User s Manual Document History e 34 Errata Doplnit kdy m u ivatel po konfiguraci p epnout S1 S2 Fotografie el ka zretusovat S3 gt S1 S4 gt S2 CMGSM User s Manual Errata e 35
8. DEA CMGSM 2006 version 01 00 User s manual Version 1 00g LICENSE The producer guarantees that it is exclusive owner of the delivered product and of all copyrights associated with the product and that by law it is authorized to provide the license without approval of a third party The producer is not liable for any damage occurred to the user in relation with installation or use of the software The subject of the sale is exclusive license to use the software work program All physical parts of the distribution pack are not subject to sale and are lent to the user all through the license term In case the user discontinues being the licensed owner he shall be obliged to return all the physical parts of the pack to the producer The user becomes the license owner on the purchase date and ceases to be the license owner in case he asks for license cancellation in writing In this case he shall be obliged to return all physical parts of the pack to the producer s address The user acknowledges the holder of all copyrights associated with the provided program is the producer SEA s r o which provides the user with the license for using the program The user agrees to use the program to avoid infringement or danger to the copyrights of the producer The user may create archive copies of the program and of installation diskettes exclusively for archiving and backup purposes The user may not provide the program to a
9. Mame Me Phone 4686123456789 Access code 12468 Prefix 5M5J Figure 15 EA Edition action of type 5M5 Send SIS to Co Mame 420111333333 a4 Johny Figure 16 CA Actions when communication with Fatek fails Selected actions Mame i 1 X Delete MES Figure 17 BASIC INSTALLATION e 12 KA Poseidon File Device Pages Settings Help Information on device Type FES CMGSM version 0 0 Device Analog Inputs Digital Inputs Digital outputs Station name FBs CM655M PIM 1234 POP Events when communication with Fatek GPRS APN jinternet open s Fails l Resumes m GPRS login Serial port parameters e Standard settings GPRS passmordi special settings TCP IP mode O TCP client e TCP server at port s00 Figure 18 Click Write to write Configuration to CMGSM CMGSM User s Manual BASIC INSTALLATION e 13 COMMAND SMS MESSAGES Structure of messages Device is controlled using SMS messages via GSM network Command messages must look like follows lt ACCESS CODE gt lt COMMAND gt Example 1234 GET X0000 ACCESS_CODE Access code is a main security item Access code is string of numerals The command message must begin with valid access code which is located after the first character otherwise the command message is ignored It means anybody who knows access code can send valid command message Access code 1s possible to set in a CMGSM
10. OK e In the Terminal window you can see debug info lines from Java program CMGSM User s Manual Theory of operation e 25 o You can save all the monitoring messages into a file CMGSM User s Manual Theory of operation e 26 Configuration of CMGSM GPRS The functions and properties of device behavior are fully user selectable through a personal computer and the configuration software Poseidon shipped on CD with the standard device nix File Device Pages Settings Help Tmhe SON eh a Warning Configuration is not saved in Type Fas CMGSMIGPRS Version 0 0 s he id Device Station name Station 1 PIM 1234 GPRS Typ PDP JIP GPRS AFM internet GPRS login apr GPRS password apn GPRS DNS 147 146 145 5 TCP port 876 Serial pork parameters blocking on baudrate 19200 Read Write Configuration comio Monitoring j Figure 2 CMGSM configuration software Poseidon Usage This software includes a wizard which runs when you start the software Follow instruction in this wizard Parameters Station name identification of station only for users Leave empty 1f you are not sure PIN PIN code for SIM cars needed to log on You MUST fill in correct value for SIM card you inserted to device GPRS APN GPRS settings This value you can obtain from you GSM provider It is typically internet You MUST fill in correct value GPRS login GPRS settings This value you can obtain from
11. atest software version obchod seapraha cz Find the file like Poseidon setup 0 9 8 1 exe and click on it with a mouse Sorry our company installer of PC software is not available in English so the installation screen is in Czech language Instalovat Poseidon 0 9 8 Saks Vitejte v pr vodci instalace programu Poseidon 0 9 8 Tento pr vodce Vas bude prov zek instalac Poseidon 0 9 8 Je doporu eno zayvrit v echny ostatn aplikace Toto umo n aktualizovat d le it syst move soubory bez restartov n va eho po ita e Pro pokra ov n klikn te na Dal Click Dalsi to continue CMGSM User s Manual POSEIDON THE CONFIGURATION SOFTWARE INSTALLATION GUIDE e 17 Instalovat Poseidon 0 9 8 Zvolte um st n instalace G volte slo ku do kter bude program Poseidon 0 9 8 nainstalow n ry Setup nyni nainstaluje program Poseidon 0 9 8 do n sleduj c slo ky Pro instalaci do jin slo ky zvolte Froch zet a vyberte jinou slo ku Pro pokra ov n klikn te na Dal Cllova slo ka Potrebne misto 1 8ME Woln misto 28 166 Click Dalsi to continue Instalovat Poseidon 0 9 8 volte slo ku Y Nabidce Start Zvolte slo ku w Mabidce Start pro z stupce programu Poseidon 0 9 6 Zvolte slozku w Mabidce Start ve kter chcete vytvorit z stupce programu M ete take zadal nove jm no pro vybyro en nove slozky Bloodshed Dey C Borland C Builde
12. command SMS State If an element is specified in configuration it s zad n v konfiguraci bude v odpov di podle hodnoty elementu uveden 1 stav CMGSM User s Manual 32 bits register address 7 characters DWX0000 DWY0000 DWM0000 DW50000 DWT0000 DWCO000 DRCO0000 COMMAND SMS MESSAGES e 15 DWC DWX9968 DWYS968 DWM9968 DWS9968 DWT9968 9968 DRC9998 lt ELEMENT OF COMMAND gt lt VALUE gt STATE Examples All following examples are based on CMGSM Default Factory configuration Configuration summary o Station name FBs CMGSM o Access code 1234 Register Level MH x0000 SWLILON OBE ON O i HO HWin IAS IVa SPAD O 1 R03840 Voltage low elem IESO YOO PLC Y1 QFE on Ji Command SMS message Response SMS message 1234 GET X0000 FBs CMGSM X0000 0 OFF 1234 SET YOOO4 0 FBs CMGSM Y0004 0 7254 Skt ELM FBs CMGSM PLC Y1 1 on ELZA SO OI FBs CMGSM M0010 1 Zo SA elie al FBs CMGSM H1 1 Ho oo E OO HS OS BS EME SNE 0 0 xOU00 ON OFF x0000 ples OS 200 EIA MG 20000 B0000 OEM XO any text 1234 GET YO FBs CMGSM Y0 0 OFF 1234 state FBs CMGSM VOLTAGE 1880 high SWITCH 0 OFF HWIN 0 PASIVE PLC lel on 1234 pulse PLCY FBs CMGSM PLCY L gt H CMGSM User s Manual COMMAND SMS MESSAGES e 16 POSEIDON THE CONFIGURATION SOFTWARE INSTALLATION GUIDE Insert CD or contact a manufacturer for a l
13. entral PC communicating with more such systems All the PLC elements and HW inputs outputs of CMGSM can be accessed and monitored also under symbolical names DOOR BOILER HEATING AIRCONDITIONER etc that are assigned to PLC elements or CMGSM 1 0 signals in CMGSM configuration data Also each logical status of a variable element can have symbolical name e g for DOOR element logical zero can be named CLOSED and logical one OPENED This is useful if system status message is received on the display of a mobile phone because the message can be full sentence understandable to anybody like DOOR OPENED BOILER OVERHEATED AIRCONDITIONER O K etc Practical use of CMGSM in SMS mode is for instant monitoring of control systems with FATEK PLC or like additional GSM remote control and monitoring system with many inputs and outputs for large systems e g big house with many flats where each user can control and monitor his flat by SMS switching ON OFF home heating system and monitoring input information like Door Open GSM Datacall dial up connection method 2 CMGSM added to PLC acts as a GSM modem that will automatically receive incoming data call and connect the serial port of PLC to the port of a modem initiating the connection e g GSM modem connected to PC The connection can be only incoming for CMGSM that might be initiated from a control center after the event SMS for the purpose of remote system analysis and PLC s
14. id unpleasant surprise in an invoice One of the best solutions is a prepaid SIM card with an unlimited GPRS data for a fix price CMGSM User s Manual CMGSM How To e 22 Technical specifications Parameter Unit Typical Height w o the Dimensions antenna Depth odda im Power Supply 5V max 300mA from PLC or from USB Backup Power Type i Li Ion battery Supply Voltage Voore 2 V Capacity 600 mAh Temperature Storage se LM 0 Operation ta 20 tO GSM module _ M Siemens TC45 Transport service GPRS PE LL m GSM GSM1800 Antenna impedance ZA 10 fJ go P L IESO L 2 wv Antenna connector SMA CMGSM User s Manual Technical specifications e 23 Contents of the delivery The delivery of the CMGSM contains the following components e 1 pe CMGSM device e 1 pc USB A B cable for device configuration e 1pcconfiguration software CD containts documentation and USB drivers e printed documentation Optionally can be ordered e cable for JAVA software upgrade and TC 45 module firmware upgrade e CA xx communication adapter for CMGSM for FBs xx MA units CAO without connector for communication port 1 CA2 with RS232 connector at communication port 1 CA5 with RS485 at communication port 1 CA25 with ORed RS232 and RS485 at communication port 1 CMGSM User s Manual Contents of the delivery e 24 Theory of operation SIM card for CMGSM The GSM net widely used for making ph
15. ion with CMGSM fixed IP address but only one client can be connected any time PLC and FBs CMGSM COMMUNICATION STRUCTURE EXAMPLE STATE GSM SMS REMOTE TECHNOLOGY CONTROL SYSTEM il GSM DATA GALL x0 0 0F ey E GSM GPRS iz M100 1 RUNNING ata R3440 2431 b4 F X Inputs MOBILE PHONE p nha MC ser as PORT 3 connector Fist no additional HW GET X0 FATEK SET Y1 GSM SMS GSM PLC FBs Series GSM DATA CALL Operator MA series CAs Internal PLC Added PORTE Elements R M D Y Outputs 3 HW CMGSM T T VINPUTSIOUTPUTS FYT T TV TTTTTTTY GSM COMMUNICATION CONTROL PLE MODULE 4 WAYS OF COMMUNICATION 1 USER WITH MOBILE PHONE via SMS abr pa E E gt s 2 USER WITH PC MODEM via SMS or GSM DATA CALL A 3 USER WITH PC via INTERNET amp GPRS PC SERVER TCP Server Mode For 4 USER WITH P via PC SERVER amp INTERNET 4 GPRS TCP Client Mode TCP Client Mode Figure 2 PLC and CMGSM communication structure CMGSM User s Manual OVERVIEW GSM NET DATA COMMUNICATION MODES e 7 BASIC INSTALLATION First Steps FBs CMGSM comes preconfigured for a simple example application from a manufacturer The only step the user has to do is to set his mobile phone number parameter in CMGSM parameter list This can be done using configuration software POSEIDON which is available on a CD see section The configuration sw POSEIDON Installation
16. l replace the processor at his own expense and the customer shall be required to return the original processor at his own expense to our company within 14 days to avoid voiding warranty for the delivered devices Until full payment the delivered device remains the property of SEA s r o which reserves the right in case of non payment within 10 days of the first notice to take the device out of service In this case the customer and end user have no right to compensation for any damages or costs occurred and associated with commissioning of the device CMGSM User s Manual Guarantee e 32 List of Figures LIGBRE MG Meco ica Wy aiionweetes 4 FIGURE 2 PLC AND CMGSM COMMUNICATION STRUCTURE csccsssccsscccscccsscessccesccesccesscesccessceusceesscesscesssensces 7 FIGURE 55 TARTMENDS ida T 8 FIGURE A LANGUAGE SELECTION das 9 FIGURE 5 AFTER LANGUAGE SELECTION diana ans sk 9 FIGURE O 5ELECTION OE COMPORTA id A a 9 HGUORE TREAD CONFIGURADO Nissan oporto cerla zato i 10 FIGURES WAIT PROGRESS BAR nac actor oiiocioieeotostacunlo de zada doo 10 E a dd A O Ae eae ee 10 O SR EO RR OCH E E O O O O O aeusee teaser 10 ME AR E a oes se pacer EO L O O O O O at beeen aac tetas cee atee sory 10 ECO C0 PSO RO OY EC L O O O E 11 FIGURE TS 00 lt 11 FIGURE LA 00 al lt 11 PIG URE Lal wad goad biuo asbadid Gin tare dada badadam godauiaudassiaci E E N 12 PIG URE ko P dues henateutbethd eile ianstocssanndacssenstastied E 12 FIGURE V td dt
17. m_________________ PPossiblereason________ Solutin O Unable to connect from Wrong COMx port number Make sure you ve set correct configuration program COMx port number in the POSEIDON to CMGSM locally configuration program via USB cable POSEIDON Especially when using some USB gt COM adapters on Your PC Its not possible to make GPRS Wrong CMGSM configuration bad Check the configuration connection to CMGSM Never GPRS connection parameters parameters concerning GPRS worked before connection Program POSEIDON Eventually contact your GSM Operator for a proper GPRS parameter setting Unable to connect from Possible connection problem Try connection on TCP port 80 WinProladder to CMGSM with caused by network firewall either which is usually not blocked by connected PLC FATEK using TCP on a local computer software firewall connection CMGSM operates firewall or by a firm firewall like TCP Server via GPRS Problems with TCP connection Bad TCP connection Set WinProladder parameters the connection disconnects after CommTime0Out and Retry to a short time maximum After a sudden disconnection of This concerns CMGSM when Wait two minutes before the next GPRS connection it s not possible operates like TCP Server connection to connect again CMGSM tests the connection If there are no data within one minute CMGSM ends the connection CMGSM is then ready for the next TCP connection after approximately
18. ny third party either for money or for free The user may not use the program so that any third party either for money or for free can benefit thereof The user may not make any changes to the program or accompanying files except for the changes made by service programs delivered together with the installation CMGSM User s Manual Content e 2 Content CONTENT BASIC CHARACTERISTICS INTRODUCTION BASIC FEATURES AND PRINCIPLES OF OPERATION HIGHLIGHTS SPECIFICATION TYPICAL USE OVERVIEW GSM NET DATA COMMUNICATION MODES MONITORING AND REMOTE CONTROL OF A PLC CONTROLLED SYSTEM BY SMS METHOD 1 GSM DATACALL DIAL UP CONNECTION METHOD 2 GPRS DATA CONNECTION TCP SERVER METHOD 3 GPRS DATA CONNECTION TCP CLIENT METHOD 4 BASIC INSTALLATION FIRST STEPS FIRST CONFIGURATION COMMAND SMS MESSAGES STRUCTURE OF MESSAGES COMMANDS RESPONSES EXAMPLES POSEIDON THE CONFIGURATION SOFTWARE INSTALLATION GUIDE CMGSM TROUBLESHOOTING CMGSM HOW TO TECHNICAL SPECIFICATIONS CONTENTS OF THE DELIVERY THEORY OF OPERATION SIM CARD FOR CMGSM GPRS OPERATION GPRS ACTIVITY MONITORING FOR DEBUGGING PURPOSES CONFIGURATION OF CMGSM GPRS USAGE PARAMETERS HARDWARE POWER SUPPLY BACKUP POWER SUPPLY FRONT PANEL SIM CARD INSERTION OR EXCHANGE GUARANTEE LIST OF FIGURES DOCUMENT HISTORY ERRATA Copyright 2004 2006 SEA spol s r o All Rights Reserved CMGSM version 1 0 User
19. oftware tuning and modification For managing the PLC via GSM net might be used Winprolad or any other SW communicating with Fatek PLC The delay in GSM net is CONSIDERABLY HIGHER than with line modem it takes 0 5 1 sec to get data block to PLC and back CMGSM works like an infinitely long serial channel cable GPRS data connection TCP Server method 3 GSM GPRS TCP Server full access from WinProllader or user communication program Public fixed IP address of CMGSM required special SIM card from GSM provider GPRS data connection TCP Client method 4 GSM GPRS TCP Client full access from WinProllader or any user communication program Public IP address required at PC initiating the connection Server on internet CMGSM User s Manual OVERVIEW GSM NET DATA COMMUNICATION MODES e 6 The third and fourth way of GSM net communication is using TCP IP protocol The only difference is the way of opening the connection CMGSM opening the connection in GPRS client mode can use any SIM card that can provide internet connection Connection command with TCP IP destination data is sent by SMS to CMGSM that will open the connection to a public and fixed IP address that must be available on the computer where GMSM is making the connection GPRS server mode connects CMGSM to internet like a server with public and fixed IP address special SIM card required for CMGSM in this mode Any computer connected to internet can open the TCP IP connect
20. one calls with mobile phones provides also option of internet connection used usually for notebooks and other computers Normal SIM card providing option of GPRS connection to internet via mobile phone or GSM modem uses dynamical IP address that makes possible to get internet at a notebook computer but it cannot be used for remote PLC connection using the data transfer protocol TCP or UDP The function of TCP is dependent on the knowledge of IP address of the station that should be connected from the computer that means CMGSM IP address on the internet If the address is assigned dynamically it can be different after each restart of the module and so you cannot use this address like destination address for communication program to make a connection to PLC It is the same situation like with a modem with PLC the phone number of which is not known you cannot connect to such modem and PLC It is why the SIM card for CMGSM must be special one WITH FIXED IP ADDRESS and normal SIM card for Internet connection cannot work in CMGSM The same requirements are there for UDP protocol where both IP addresses connected together must be public IP addresses without any port numbers GPRS operation After CMGSM is on power it switches on the GSM module TC45 inside that starts JAVA program inside Java program reads the PIN from configuration file input AT command with PIN and the module is logged on GSM net like mobile phone after switch ON Then after
21. onfiguration or normal function MUST be S2 A position 0 and S2 B position 1 7 FMA Antenna connector connect GSM aerial Green LED indicating state of GSM modem 1 1 flash means not logged in network after power ON long light with short dark means normal function the device is logged on network 9 Indication of state of independent inputs and outputs Light means active input or output 10 Indication of traffic on communication line to PLC Yellow LED Tx will light continuously whenever PLC is on power and CM GSM is temporarily off i e after reset or switch on 11 Indication of traffic on communication line to USB SIM Card insertion or exchange In order for the device to function properly a SIM Subscriber Identification Module card that allows working in the GSM network is also required A SIM card can be obtained from the GSM network operator that is selected for the operation of the device The SIM card reader is located at the bottom of the plastic box in the place where the device is fixed to DIN rail So for inserting or changing SIM card you must remove the device from DIN rail and disconnect it from PLC unit Do this only with PLC power OFF Use some small screwdriver or some other sharp tool and push the circular pushbutton in the hole besides square shape hole After pushing the button the SIM card holder goes a little out of the square hole pull it out insert SIM card into the holder and push the holder
22. possible to make successful call and reset only when there was no client connected to the TCP server of Java GSM module If there was a connection WinProlad to PLC the number was announced like not reachable and so remote reset was not possible For future SW version there is a plan to delay starting GPRS reconnection after CALL reset about 3 5 minutes to get chance to make data call to CMGS and connect with PLC via data call if TCP GPRS connection is not working e g internet connection firewall problem GPRS activity monitoring for debugging purposes Java program that starts automatically in GSM module after Power ON or after RESET sends out messages about its current activity and data processed These messages can be monitored using Posseidon SW the same SW like for CMGSM configuration The massages from Java program can be displayed in terminal window on computer screen and all the messages captured during monitoring session can be saved like text file and send to CMGSM SW making people to analyze it and give proper advice to the user of CMGSM to make the device working correctly Perform following steps o Install USB driver for CP2001 Silicon Labs USB chip o Install Posseidon software and run it o Click Device Monitoring and Next in the Wizard widow o Select proper Virtual Com Port corresponding to USB link to CMGSM o Press Monitoring button o Check if DIP switches are in correct positions and click
23. r 5 Cuan Fatek PLE GeoB ze Prohlizec GIMP Hr Intel Intel Application Accelerator Intel Network Adapters Irfanview Microsoft Office Click Instalovat to continue CMGSM User s Manual POSEIDON THE CONFIGURATION SOFTWARE INSTALLATION GUIDE e 18 Instalovat Poseidon 0 9 8 AE Instalace vy kejte prosim na dokon en instalace programu Poseidon 0 9 6 Rozbalit Poseidon exe Wytyvoren adres C Documents and Settingsipluhar Nabidka Start Programy SEA P webyofen z stupce Ci Documents and Settings pluhar Nabidka StartiProgramyS5E A vytvo en z stupce C Documents and SettingsipluhariPlochalPoseidon Ink Rozbalit Poseidon exe Nullsoft Install System v2 0 pet Dal gt Storno Installation in progress Wait Instalovat Poseidon 0 9 8 DER Dokon en pr vodce programu Poseidon 0 9 8 Program Poseidon 0 9 8 byl nainstalov n na vas po ita Klikn te Dokon it pro ukon en provodce lt Zp t Click Dokoncit to finish installation CMGSM User s Manual POSEIDON THE CONFIGURATION SOFTWARE INSTALLATION GUIDE e 19 ee et A ap Programs m Poseidon ET Poseidon re To run the CMGSM configuration program POSEIDON Click START gt Programs gt Sea gt Poseidon gt Poseidon CMGSM User s Manual POSEIDON THE CONFIGURATION SOFTWARE INSTALLATION GUIDE e 20 CMGSM Troubleshooting Proble
24. ration Monitoring Figure 5 After language selection Select proper serial Com in bottom part of main window Figure 6 Selection of COM port CMGSM User s Manual BASIC INSTALLATION e 9 Click Read to read Configuration parameters from a CMGSM Figure 7 Read configuration Figure 8 Wait progress bar Wait A Figure 9 Property symbol Click on any property symbol CA Actions when communication with Fatek fails E m E Available actions Selected actions Mame 41 A EA has Ea Rows Figure 10 Click on Al KA Actions when communication with Fatek fails E E Available actions Selected actions Mame Al i i Figure 11 Click Edit CMGSM User s Manual BASIC INSTALLATION e 10 EA Edition action of type 5M5 Action Send SMS Message text FATTER OFF Available users Send SIS to Mame Johny ull Figure 12 Click on the name A Edition action of type 5M5 Seles Action Send SMS Available users Send SIS to Mame Johny E a X base Figure 13 Click Edit Phone 420111333333 Access code 2465 Prefix 15157 Figure 14 Change Name and Phone CMGSM User s Manual BASIC INSTALLATION e 11 Click OK Click Cancel Click Close CMGSM User s Manual Action Send SMS Message text FATTER OFF Available users Available actions E7 User Details E E
25. s manual version 1 00f Last change 03 05 2006 14 09 00 CMGSM User s Manual oo G ODO GE AU R A pod gt gt do OD hh pued J 21 22 23 24 25 25 2 23 27 27 z 29 29 29 30 31 32 33 34 35 Content e 3 Basic Characteristics Introduction Basic Features and principles of operation Figure 1 CMGSM CMGSM is the communication module for FATEK PLC systems using GSM net to transfer the data TC 65 JAVA OPEN CODE SIEMENS GSM module 900 1800 1900 MHz is used With the same HW and SW there are four different ways of operation available Highlights CMGSM User s Manual monitoring and remote control by SMS CMGS reads PLC registers to generate status or event outgoing SMS and writes other registers according to the content of incoming SMS In SMS mode module can work with logical inputs X and outputs Y of the PLC system and with any PLC element M R D etc The I O number is limited only by FBs serie PLC capacity that is 255 logical inputs and 255 logical outputs dial up data transfer via GSM net is the second way of communication with PLC via CMGSM The connection can be only incoming for CMGSM that might be initiated from a control center after the event SMS for the purpose of remote system analysis and PLC software tuning and modification GPRS data connection The third and fourth way of GSM net communication is using TCP IP protocol The only difference is the wa
26. th PLC and reads PLC registers to generate status or event outgoing SMS and writes other PLC registers according to the content of incoming SMS If short and fast changes of PLC elements should be monitored these must be latched in PLC registers first and later read by CMGSM that reads the PLC elements only each several seconds CMGS In SMS mode module can work with logical inputs X and outputs Y of the PLC system and with any PLC element M R D etc The I O number is limited only by FBs serie PLC capacity that is 255 logical inputs and 255 logical outputs So typical system will have CMGSM connected to one PLC main unit which can be expanded with one or more I O expansion units to required number of logical and analog inputs and logical outputs For basic use of CMGSM the PLC system is used only like input output interface without any PLC program but it is of course possible to use PLC program for control of the system without any limitation including PLC main units networking CMGSM has additional PLC independent 3 HW logical inputs outputs terminals for 24V logical signals that work also from 600mAh internal Li Ion battery after PLC power failure All the PLC elements and HW inputs outputs of CMGSM can be accessed directly under their own names in PLC or CMGSM X22 M105 H2 hardware i o signal of CMGSM with GET or SET command that are independent on CMGSM configuration and they can be used for communication of PLC controlled system with a c
27. the module is logged on the net Java program sent at command to make GPRS connection to internet and starts TCP server that are waiting for a client connection request Only one client can be connected to CMGSM TCP server The other connection requests are not refused but you cannot get any data transfer Telnet connection can be established even after one client is connected but no data will come from CMGSM When the connection is closed it takes about 20 seconds till the module is ready to connect again this is the feature of Java TCP server implementation and it cannot be influenced by Java program itself This can make problem for some PLC communication software like OPC servers that normally open TCP connection transfer data and close connection for each PLC scan This standard way can be used with CMGSM only if the scan time is not less than 30 seconds otherwise there will be not enough time for TCP server to close the connection and be able to reopen it for next data scan For the case there is a need to make remote reset CMGSM this can be done by calling the telephone number of CMGSM SIM card The call will be refused and CMGSM will reset completely and will again log to GSM network and connect to internet by GPRS and will be waiting for a client asking for TCP connection The behavior of the call made to the SIM CARD of CMGSM depend on the device status and may be different for different GSM providers With EUROTEL CZ it was
28. ud 7 bit 1 stop even parity no hardware handshake FATEK default COMMUNICATION Communication switch controled by MODULE RTS signal on USB port m Do not use S2 TC45 Ignition Switch Normal position automatic ON Firmware upload position a or Do not use Figure 20 Front panel 1 10 pin connector for HW PLC independent inputs and outputs has no function for CMGSM GPRS do not connect 2 Button for switch on the device from internal Li Ion battery Device will start automatically when main power from PLC is present or when USB cable between device and PC is present User can start device manually with this button when no PLC or USB power 1s present 3 Button for shutting down device working from battery power If there is either main power from PLC present or USB cable with power device cannot be switched off It will CMGSM User s Manual Hardware e 30 automatically start again after few seconds for security reasons It can be only reset kept without power during the time the button is pressed After releasing it the device will switch on again 4 A switch for debugging purposes USB port direction For configuration the following settings is needed S1 A position 1 and S1 B position 0 5 USB connector for configuration May be also used for communication with the PLC via USB 6 A switch for firmware uploads Special Siemens software is needed and special cable is needed For c
29. y of opening the connection CMGSM opening the connection in GPRS client mode can use any SIM card that can provide internet connection Connection command with TCP IP destination data is sent by SMS to CMGSM that will open the connection to a public and fixed IP address that must be available on the computer where GMSM is making the connection GPRS server mode connects CMGSM to internet like a server with public and fixed IP address special SIM card required for CMGSM in this mode Any computer connected to internet can open the TCP IP connection with CMGSM fixed IP address but only one client can be connected any time Four ways of GSM net data communication WinProlad remote GSM data transfer connection USB port for module configuration monitoring and local WinProlad use Li Ion 600mAh battery 24 hours of no power operation Lowest level super watchdog function HW PWR OFF Additional 3 hardware PLC independent 24V logical inputs outputs available Can be used directly with FBs xxMC P3 or via CA with FBs xxMA P2 Basic function of the module in SMS mode is completely PLC program independent SMS outgoing messages generated from any PLC register status monitoring of whole system Incoming SMS can modify any PLC register remote control function set parameters via SMS Extended functionality requires PLC program interaction fast changes latching One CMGSM can work for network of PLC units inputs and outputs can be placed at

Download Pdf Manuals

image

Related Search

Related Contents

AXONE Direct AXONE Pad AXONE Palmtop  iTools 9 User Manual  OK-PTZ-KB300  IMPORTANT INFORMATION AIR SERIES  一括ダウンロード【PDF】  VIGIPHARM JUIN 2007 - Centres Régionaux de Pharmacovigilance  

Copyright © All rights reserved.
Failed to retrieve file