Download Print this page

Cybrotech GSM-1 User Manual

Cybrotech gsm/gprs module for cybro-2

Advertisement

Quick Links

G
S
M
-
1
U
s
e
r
M
a
n
u
a
l
G
S
M
-
1
U
s
e
r
M
a
n
u
a
l
rev. 1.10
applies to GSM-1 v3.0, v3.1 and v3.2
use CyPro 2.6.0 or later
Cybrotech Ltd © 2010-2014

Advertisement

loading

Summary of Contents for Cybrotech GSM-1

  • Page 1 1.10 applies to GSM-1 v3.0, v3.1 and v3.2 use CyPro 2.6.0 or later Cybrotech Ltd © 2010-2014...
  • Page 2 Index ............................1 Overview ............................. 2 Quick setup ..........................3 1. Insert SIM ........................3 2. Edit configuration file ..................... 3 3. Send configuration file ....................3 4. Check operation ......................4 Connection options........................6 Configuration ..........................7 Description ........................7 Configuration file .......................
  • Page 3 - remote data transfer with CyBro OPC server GSM-1 connects to IEX bus, together with other i/o modules. CyBro serial port is not used. To use GSM-1, no programming is needed. Set a few configuration options, and module is ready.
  • Page 4: I N S E R T S Im

    Password=38591 DnsIp=212.91.97.3 [Push] NAD=8031 PushIp=myhome.getmyip.com - Connect CyBro, GSM-1, power supply and ethernet. - Start GsmLoader, select CyBro and GSM-1. - Open and send GsmIniDemo.ini. - Close GsmLoader (don't skip this). - Start CyPro. - Open GsmIniDemo.cyp, autodetect and start.
  • Page 5 GSM and GPRS LEDs will be green. If configuration file has errors, GSM LED will blink. Send SMS "cybro_qx02=1" to GSM-1. In a few seconds, relay will turn on. Confirmation message (if configured) will be received soon. - Open variable monitor. - Call GSM-1 from your mobile phone. - Variable gsm_incoming_call becomes 1, and gsm_incoming_rings increments on each ring.
  • Page 6 - Remember CyBro IP address and port number, and close CyBroPushServer (don't skip this). - Start CyPro, open GsmIniDemo.cyp. - Configure communication for WAN, using push connection. Turn on Extra retries for unreliable connection. You may also need Extra timeout for slow connection.
  • Page 7 1. PC-CyBro using VPN SIM cards 2. CyBro-CyBro using VPN SIM cards (UDP broadcast support is required) Note: VPN should be configured to pass broadcast messages. 3. PC-CyBro using Internet connection Note: Symbol represent a known address, static IP or dynamic DNS. 4.
  • Page 8 GSM-1 is configured by sending configuration ini file. Use text editor to edit, and GsmLoader to send file. Configuration depends on plc program. When allocation is modified, configuration file should be updated. Parameters are divided by groups. The group name appears in square brackets ([ ]). Semicolon (;) is used to comment a line.
  • Page 9 [SMSAlarmTrigger] 1024 1025 [SMSAlarmText] Alarm: fire in cellar! CO=%co_measured:1% Alarm: valve %valve is broken! Pressure is %pressure:2 Alarm is sent when trigger variable is set to 1. Module will automatically reset variable to 0. [Voice] ;0-leave incoming call ringing, 1-hangup after first ring RxHangup=0 RxHangup tag defines weather the incoming call is leave ringing or hanged up.
  • Page 10 gsm_ix00..gsm_ix03 - digital inputs, 0-off, 1-on gsm_iw00..gsm_iw03 - analog inputs, voltage 0..10V, 0..1023 gsm_qx00..gsm_qx01 - relay outputs, 0-off, 1-on note: digital and analog inputs share same terminals gsm_general_error - one or more system errors occurred (timeout, program or bus error) gsm_timeout_error - communication failed, no messages are coming from the module gsm_program_error...
  • Page 11 SMS function provides reading and writing CyBro variables. Read commands are given as: <variable>=? Write commands are given as: <variable>=<value> SMS may contain multiple commands, separated by spaces. Mix of reading and writing is supported. If reading succeeds, read value is returned. If writing succeeds, read value and 'ok' is returned (only when ControlAck is 1).
  • Page 12 10 for each decimal place. Real variables are printed as-is. If the number of decimal places is not specified, floating point numbers will default to 6 decimal digits. Note: if trigger variable is permanently forced to 1 by CyBro program, GSM-1 will send SMS messages repeatedly.
  • Page 13: O U T G O I N G S Ms

    Note: this section applies to GSM-1 v3.1 only. CyBro program has complete control on voice calls and SMS, both received and sent. An example for such operation is GsmPlcDemo.cyp. Interface functionality is given in VoiceAndSMSAPI. To use in your application, copy/paste all functions and variables.
  • Page 15 For a stand-alone operation, connect power supply to +24V and GND terminals. When operating on internal antenna, it is recommended to mount GSM-1 away from CyBro and other modules. Placing at top of cabinet will provide a better signal, resulting in more stable communication.
  • Page 16 Released versions: hardware code firmware version cypro version applicable demo GSM-1 v1.1 v3.0 v2.5.6 and later GsmIniDemo.cyp GSM-1 v1.1 v3.1 v2.5.8 and later GsmIniDemo.cyp GsmPlcDemo.cyp GSM-1 v1.1 v3.2 v2.6.2 and later GsmIniDemo.cyp GsmPlcDemo.cyp As hardware for all versions is same, each module can be upgraded to latest firmware. Upgrade options are:...