Home

User Manual - Adaptive Modules

image

Contents

1. 5 38 Incoming Data calls command list 91 This Command can be used to program the Maestro Industrial 10 unit to execute certain commands when an incoming data call is received from one of the first 10 numbers in the phonebook Read format 291 lt N gt Write format 191 lt N gt lt String gt Example Operator to Unit 91 5192 1 Answer the incoming call Unit to Operator 91 5 gt 92 1 Operator to Unit 790 5 Request the data command list of user number 5 Unit to Operator 91 5 gt 192 1 Maestro Wireless Solutions 46 2011 All rights Reserved t empowering wireless 5 39 Incoming call control 92 This Command can be used to program the Maestro Industrial 10 unit to answer 1 or reject 0 a call Write format 192 lt Option gt Example Operator to Unit Answer the incoming call Unit to Operator 92 incoming call Answered 5 40 Control allowed users Command 95 This Command can be used to program the Maestro Industrial 10 unit to allow only some or all of the cell phone numbers in the first 10 positions of the SIM Phone Book to send Commands Command Lists to the Maestro Industrial 10 unit Write format 195 lt Allowed user number gt lt Option gt lt Allowed user number gt lt Option gt 295 lt Allowed user number gt lt Allowed user number gt lt Allowed user number Example Operator to Unit 1952041 Disable allowed user number 2 and enable allowed user number 4 U
2. 125degC sensor current Sensor low point 3 4mA 40degC sensor read out 81 25degC 40degC 125degC sensor range input range e If you have a Maestro 4 20mA temperature sensor attached to the 0 20mA analogue input then you need to set up the scaling as follows 190 E gh Sen 4125 degC Formula to calculate the AN 0 Value in a 4 20mA system is AN 0 Value Sensor Low Point sensor range 16 4 Fr Note Any value returned lower than Sensor Low Value means that there is something wrong with the sensor e If you want to use the analogue as an un scaled raw value then use command 58 as follows 158 1 0 2048 Note leave the unit field empty When you query analogue 1 it will return eg 768 Maestro Wireless Solutions 36 2011 All rights Reserved empowering wireless 5 25 SIM slot management 60 This Command is used to set get the SIM card slot selection Read format 260 Write format 160 lt Option gt Options 1 Select SIM card slot 1 2 Select SIM card slot 2 Example Operator to Unit 60 1 y O Unit to Operator 60 SIM1 Operator to Unit 1602 1 y O Unit to Operator 60 SIM2 5 26 SIM PIN management 63 This Command is used to set get the PIN number of the SIM card Read format 63 Write format 163 lt PIN_NUMBER gt Example Operator to Unit 293 O Unit to Operator 63 PIN 12345 PIN enter failed Operator to Unit 163 5670 o O Unit to Op
3. Operator to Unit 11 15 117 Request current phone numbers in positions TTT teangt7rinthe SIM phone book n Write format option2 recommended F The user s number and name Is stored in this format 111 lt Phone book position gt lt Cell phone number gt lt person s name gt lt Phone book position gt lt Cell phone number gt lt person s name gt 211 lt Phone book position gt lt Phone book position gt lt Phone book position gt Example Operator to Unit 11 15 Write phone number 0835638592 in position 27835638592 Peter 15 and phone number 0836479220 in position 117 27836479220 Jhon 117 in the SIM phone book Unit to Operator 11 15 gt 27835638592 Peter 117 gt 27836479220 John Operator to Unit 711 15 117 Request current phone numbers in positions 15 and 177 in the SIM phone book Unit to Operator 11 15 gt 27835638592 Peter 117 gt 27836479220 John Maestro Wireless Solutions 18 2011 All rights Reserved t empowering wireless 5 10 Start up Command List 15 The device can be programmed to perform certain Commands when a start up power up condition occurs for example switching certain outputs on or off sending an SMS message to a specific number in the SIM phone book etc Write format 115 lt Command1 gt lt Command2 gt lt Command3 gt 215 Example Operator to Unit 115 121 3 1 121401412 Start up Command List Number Switch Unit XYZ switched on output 3 on
4. Temp at lt RT gt was Write the string to the log file containing the lt A4CRLF gt time as well as the value of analog input4 Unit to Operator 98 number of logs 1 Operator to Unit 98 100 Read the last 10 records Unit to Operator Maestro Industrial 10 gt 98 Reading last 10 record s Maestro Industrial 10 gt Temp at 13 03 46 was 24 8degC Temp at 13 05 08 was 24 6degC Temp at 13 05 46 was 24 9degC Temp at 13 07 54 was 24 8degC Temp at 13 09 24 was 25 1degC Temp at 13 13 23 was 24 9degC Temp at 13 18 25 was 25 1degC Temp at 13 23 27 was 25 3degC Temp at 13 28 30 was 25 3degC Temp at 13 33 32 was 25 3degC Maestro Wireless Solutions 49 2011 All rights Reserved T empowering wireless 5 43 GPRS Set up 150 161 5 43 1 GPRS activate deactivate 150 This Command can be used to activate or deactivate the GPRS server functionality inside the Maestro Industrial 10 3 Note set parameters in commands 153 gt 161 before setting GPRS manager to ACTIVE Tip first set GRPS manager in active before changing any GPRS parameters 1150 0 Write format 1150 0 or 1 2150 Example Operator to Unit 150 1 Activate GPRS server Note first setup parameters 152 160 before activating GPRS Unit to Operator 150 GPRS active 150 GPRS active S Operator to Unit Request the current status of GPRS manager Unit to Operator 150 GPRS active 5 43 2 GPRS IP address 1 153 This is the IP addre
5. Example Operator to Unit Read counter 1 value Unit to Operator 80 1 gt 250 5 36 2 Counter Increment 81 This Command is used to increment increase the value of any of the counters with a given value Write format 181 lt N gt lt value gt Example Operator to Unit 181 1 1 Increment counter 1 with 1 Unit to Operator 80 1 gt 251 Operator to Unit 181 1 15 Increment counter 1 with 15 Unit to Operator 80 1 gt 266 Maestro Wireless Solutions 43 2011 All rights Reserved empowering wireless 5 36 3 Counter Decrement 82 This Command is used to decrement decrease the value of any of the counters with a given value Write format 182 lt N gt lt value gt Example Operator to Unit 182 1 1 Decrement counter 1 with 1 Unit to Operator 80 1 gt 249 Operator to Unit 182 1 15 Decrement counter 1 with 15 Unit to Operator 80 1 gt 234 5 36 4 Counter low high compare values 83 This Command is used to set get the counter low amp high compare values Read format 283 lt N gt Write format 183 lt N gt lt low compare value gt lt high compare value gt Example Operator to Unit 83 1 10 20 Unit to Operator 83 1 gt 10 20 Operator to Unit 831 1 O Unit to Operator 83 1 gt 10 20 5 36 5 Counter low compare command list 84 This Command is used to set get the counter low command list This command list will be executed when the counter v
6. Operator to Unit Request current user specific init string Unit to Operator 10 User Modem Init String AT IFC 0 0 ATSO 1 EP Note The unit will re start to implement the change Tip init string to set modem for AMR 110 AT CBST 0 0 1 AT CICB 0 AT CSNS 4 ATSO 1 Maestro Wireless Solutions 17 2011 All rights Reserved T empowering wireless 5 9 Write to phone book Command 11 This Command is used to store user s cell phone numbers in the SIM Phone Book The maximum number of cell phone numbers that can be stored will be determined by the SIM card in use typically 200 These numbers can be overwritten with new numbers if required It is important to have the users names and numbers in the phone book as it used for sending and receiving sms Please also see the allowed user command number 95 gt Note These numbers are stored on the SIM card and not on the unit so these numbers will have to be re entered if the SIM card is swapped out or replaced Write format option1 Only the user s number is stored in this format 111 lt Phone book position gt lt Cell phone number gt lt Phone book position gt lt Cell phone number gt 211 lt Phone book position gt lt Phone book position gt lt Phone book position gt Example Operator to Unit 11 15 27835638592 Write phone number 0835638592 in position 117 27836479220 15 and phone number 0836479220 in position 117 in the SIM phone book
7. maestro empowering wireless Maestro Industrial 10 d WO EE EG Hatt JE VE Cu BJJ hav fe en STSTER Ivro connant mOOE COMMARD gt 7 COMMARD gt 3 Fireware Version vai COMMANDO A COMMANDS 4 Serial TF1000101 COMMANDS 6 COMMANDS IFT 0900 COMMANDS OFT 0900 COMMAND ANI E 9 9 COMRAND gt FiO Tes COMMANDS vii 3 COMMANDS dlli 2 gt e27THIL2 IESE Peter COMMANDS 10 COMMANDS lO User Modem Init String ATSCDIT 0 0 1 ATSCICD 0 ATSCINS 4 AT Z ei COMMANDS 7155 COMMAND 155 LOCAL IP ADOPESE 172 206 167 112 COMMAND 184 COMMANDS cidi LOCAL Port ot GATE COMRAND gt 37 COMMAND 392 1 gt 00 00 048 COMMANDO 21 1232 COMMANDS zl OFT 1010 COMMANDS 58 1 COMMAND 56 1 gt 0 000 1029 000 COSRAND gt LG I COMRAND gt i i gt 42 Digital i i e lt i gt 04 4 TAT 4 OBL ORIOL COMMAND SYSTER IEFO JNOGER RIDE RESTORED TruTalk Language Telecommunications Products Maestro Wireless Solutions 1 2011 All rights Reserved empowering wireless TABLE OF CONTENTS INR BT UON enea A T E NA Deel TS ACK OPOUING EE 5 NINE merear E paseesie ipa eataseene ecto act rane needa etseenanseensinaeceed 21 Entering COMIMANGS EE 6 TNT SE Me I EE 1 PEN NE 2 2 Managing the firmware version On board software T 3 COMMANDS amp COMMAND EIST E 3 1 Commands the building blocks of Command Lists rrranornrrnrrrnnrnernnnrnnnennnrr 8 I2 OMEN E 8
8. rrarrnnnnnnrnnrnnnnnnnnnnnnnnnnnnnnnnnnrnnrnnnnnnnnnnnnnnnnnrnnrnnnnnnsnne 32 5 24 4 Analogue high trip command list 24 33 5 24 5 Analogue high recover command list Dm 33 5 24 6 Analogue low recover command list Dap 34 5 24 7 Analogue low trip command list Di 34 9 24 5 Analogue NG E EE 35 Ee en Ee Ee GU E 36 5 26 SIM PIN management Di 36 3 21 SUDMILAT command EE 37 5 28 GSM reset interval EE 37 5 29 GSM data call reset interval oi 38 5 30 GSM house keeping interval D 38 SN RT MEN area 39 SRI DIE TA E 40 5 33 RTC En Disable Time of Day event T75 mmmrurerarennnnnnanennnennnennrnnannnnnennn 40 5 34 RTC Time of Day event time setting D 41 5 35 RTC Time of Day event command list Ir 41 DOO COUNTERS GUC E 42 5 36 1 Counter Value Load 0 42 5 36 2 Counter Increment 8 42 5 00 Counter Decrement Le 43 5 36 4 Counter low high compare values ie 43 5 36 5 Counter low Compare command list 84 rrarrrurnnnnrnnnnnennrnanevarnnnenarnnnenannnnnnnennnnnnennn 43 5 36 6 Counter high compare command list On 44 5 37 Incoming Voice calls command list OU 45 5 38 Incoming Data calls command list Oo 45 3 09 INCOMING CAL COMMON OZ vncccscsccscesccncsataretesacuasidanduncgnssecdaestedeauvaestedescersieactcenes 46 5 40 Control allowed users Command On 46 5 41 LOGGING Records manager i e 47 5 42 LOGGING Write read On 48 943 GPRS le NNN 49 5 43 1 GPRS activate deactivate 10 49 943 2 PRS IP address T ToS EE 49 5 43 3 GPRS
9. Write format 1160 myPassWord 2160 Example Operator to Unit Request the current password Unit to Operator 160 APN user Empty password field password invalid Data Operator to Unit 1160 myPassWord Set password to myPassWord Unit to Operator 160 APN user password myPassWord 5 43 10 GPRS manager configuration 161 The Maestro Industrial 10 is equipped with a GPRS connection manager The manager maintains an always available connection for telemetry devices where no user intervention is possible Write format 1161 lt GPRS attach refresh interval gt lt retry interval when error received gt lt No data flow timeout gt 2161 Example Operator to Unit Request the current GPRS manager setup Unit to Operator 161 240min 5min 75min The Maestro Industrial 10 will detach and re attach every 240min in case of an error typ GPRS network down retries will happen every Sminutes The Maestro Industrial 10 will detach and re attach when a connection was made to the Maestro Industrial 10 but no data flowed within 75minutes Operator to Unit 1161 1440 30 30 This will set the GPRS manager to refresh attachment to the GPRS network on a daily basis with 30min retry intervals on errors and a 30min data flow timeout Unit to Operator 161 1440min 30min 30min Maestro Wireless Solutions 53 2011 All rights Reserved T empowering wireless 5 44 Ping 164 165 5 44 1 Ping IP address 164
10. lt Number of stop bits gt or 1257 lt Baud rate gt Read format 257 Example Operator to Unit 1257 9600 7 E 1 Set the unit to connect to a meter at 9600 7 E 1 Operator to Unit 1257 115200 Only set the baud rate to 115200 Don t change framing set up Maestro Wireless Solutions 57 2011 All rights Reserved T empowering wireless 5 46 6 Set command mode time out 258 This Command is used to set the time out period for command mode to return to modem mode This time out is in seconds Write format 1258 lt time out gt 5 46 7 Set debug on or off 260 This Command is used to activate the debug data Available Options 0 No Debug 1 GSM Debug 2 System Debug 3 Allowed users Debug 4 Command handler Debug Write format 1260 lt Option gt 5 46 8 Enable return sms on commands received via SMS 261 This Command is used to activate return sms to sender Write format 1261 lt 0 or 1 gt 5 46 9 Enable auto remote command mode 262 This Command is used to set device into auto remote command mode on incoming connections either via CSD data call or GPRS connection This is handy when there s no device connected to the serial port and only the TruTalk commands is used over the air Write format 1262 lt 0 or 1 gt 5 46 10 Set communications Port 263 This Command is used to set the link between the Maestro Industrial 10 serial port and the GSM link with the following options Write
11. 76 2 gt 18 00 00 5 35RTC Time of Day event command list TT This Command is used to set the command list to be executed when the preset time of day is reached gt Note A Real Time Clock must be installed if this function is to be used Read format 277 lt event gt Write format 177 lt event gt lt command list gt Example Operator to Unit 177 112110 Switch output 1 off at the time of event 1 Unit to Operator 77 1 gt 21 10 Operator to Unit Query the script associated with event 2 Unit to Operator 77 2 gt 121 1 1 Maestro Wireless Solutions 42 2011 All rights Reserved T empowering wireless 5 36 COUNTERS 80 85 There are 4 separate counters in the Maestro Industrial 10 These commands can be used to load values increment or decrement with values and assign command list to be executed when a counter reaches a certain value Note Counters are signed 32bit integers thus the range is 2 147 483 648 to 2 147 483 648 The value of a counter can also be included in a message by using lt Cx gt inside the message eg 41 1 Counter values inside Maestro Industrial 10 1 lt C1 gt 2 lt C2 gt 3 lt C3 gt 4 lt C4 gt 5 36 1 Counter Value Load 80 This Command is used to load a value into a counter this will overwrite the current value of the counter It is also used to obtain the current value of the counter Read format 280 lt N gt Write format 180 lt N gt lt value gt
12. IP addre55 Dees esst deedee ed AER aa Deania Naa naa Raia 50 5434 GPRS IP address 3 159 anses ainsin e e e E EEn EEN dens aE nEs Aiie 50 5 43 5 TCP Server Port nl ln E E 50 543 6 TCP Client Port NUMDET WF vernes eae Ee aN iie 51 5 43 7 Access Point Name Server 158 rrrarrnarrnanrnanevarenannvannvanevnnrnannnannnnnnnannnnnnnnnnnnnennne 51 5400 User name 199 WE 51 943 9 Password TO resserre E EEEE EE EE AREE 52 5 43 10 GPRS manager configuration Ip 52 5 44 Ping TOTO E 53 9 44 1 Ping IP address 164 rrnnnnnnnnnnnnnnnnnnnnrnnrnnnnnnnnnnnnnnnnnnnnnnnnrnnrnnnnnnnnnnnnnnnnnrnnennnsnnssne 53 5 44 2 Keep alive ping setup Ip 53 5 45 Serial input event 10 211 54 5 45 1 Set Serial input event active inactive 170 54 5 45 2 Command List for the Serial Input Event 17 54 5 47 System Hardware Set up Parameters 251 261 rrrranarennrnnnrnnnrnarennrnneennn 55 5 47 1 Get system uptime le 55 5 47 2 Set up Hardware number of inputs and outputs and Analogues 252 55 Maestro Wireless Solutions 3 2011 All rights Reserved t empowering wireless 5 47 3 Set serial input to RS485 e EE 55 5 47 4 Force a hardware reset 2 WEEN 55 5 47 5 Set up serial port communications parameters Abr 56 5 47 6 Set command mode time out SE 57 5 47 7 Set debug on or off Eeer 57 5 47 8 Enable return sms on commands received via sms Ze 57 5 47 9 Enable auto remote command mode Zp2 57 5 47 10 Set communications Port DO EEN 57 5 47 11 MODBUS DOA
13. SIM phone book etc gt Note Digital input 0 refers to units with an internal battery that has a mains available option Write format 134 lt Input number gt lt Command1 gt lt Command2 gt lt Command3 gt lt gt 234 lt Input number gt lt Input number gt Example Operator to Unit 134 1 1213 112140141 Command List Number in the event of a 2 Door has been trigger on input 1 then the following opened Commands will be performed Switch output 3 on Switch output 4 off Send an SMS message to phone book position 2 that reads Door has been opened Operator to Unit 734 1 Request current Input trigger low to high Command List configuration for input 1 1 134 1 121 3 1 12140 141 2 Door has been opened Maestro Wireless Solutions 25 2011 All rights Reserved T empowering wireless 5 17 Input trigger high to low Command List 35 In some applications one would want the device to perform certain Commands in the event when an input is switched off closed return to its original status or position gt Note Digital input 0 refers to units with an internal battery that has a mains available option Write format 135 lt input number gt lt Command1 gt lt Command2 gt lt Command3 gt lt gt 235 lt Input number gt lt Input number gt Example Operator to Unit 135 1 2130 21 41 41 Command List Number in the off event of 2 Door has been input 1 then the
14. Solutions 62 2011 All rights Reserved
15. Wireless Solutions 2011 All rights Reserved 59 264 t empowering wireless 5 46 13 Dial up mode 266 It is inevitable that customers want to use the Maestro Industrial 10 for modem dial up connections made from PCs running Windows or other operating systems During this mode the Maestro Industrial 10 bypasses ALL internal functions and only act as a modem The user can now do dial up at speeds up to 115200baud TIP this setting can also be used for uploading new firmware to the GSM module Write format 1266 lt 0 1 gt 0 Normal TruTalk mode 1 Dial up mode 5 46 14 Data Flushing Delay 267 Some devices connected to a Maestro Industrial 10 are very timing critical when it comes to data flow To avoid TCP packets segmentation and partial buffer flushing one can use command 267 to first wait a given time before flushing the buffer as a constant output string Write format 1267 lt time out gt lt time out gt Is specified in X100msec Maestro Wireless Solutions 60 2011 All rights Reserved t dt empowering wireless 6 APPENDIX A 7 DISCLAIMER Maestro Wireless Solutionsdoes not accept any direct or indirect liability for the use of any Maestroproduct The customer takes full responsibility for its use and any liability or damage that may arise from the use of the Maestro Wireless Solutionsproduct NOTE This product is not designed or certified for use as medical equipment or with medical equipm
16. be no event script associated with the timer The event script is only executed when the timer reaches zero Maestro Wireless Solutions 20 2011 All rights Reserved t empowering wireless 5 12 Configure timers Command 17 This Command can configure the 5 timers characteristics in hours minutes and seconds to a maximum of 99 hours 59 minutes and 59 seconds If not configured the default will be O no timer Write format 117 lt Timer number gt lt hh mm ss gt lt Timer number gt lt hh mm ss gt 217 lt Timer number gt lt Timer number gt lt Timer number gt Example Operator to Unit 117 1 00 10 30 5 Set timer 1 to 10 minutes and 30 seconds set 06 00 00 timer 5 to 6 hours Unit to Operator 17 1 gt 00 10 30 5 gt 06 00 00 Operator to Unit 717 51 Request current configuration of timers 5 and 1 Unit to Operator 17 5 gt 05 59 51 1 gt 00 10 21 gt Note This Command doesn t physically switch any of the timers on but just configures their characteristics Use the Control timers Command lt 16 gt to switch any all of the timers on Maestro Wireless Solutions 21 2011 All rights Reserved T empowering wireless 5 13 Timer time out Command List 18 The timers can be programmed to perform certain Commands when it runs out for example it could switch certain outputs on or off send an SMS message to a specific number in the SIM phone book etc Write format 118 lt Timer
17. can be specified in Commands and Command Lists with the following 1 lt 0 gt Switch off disable deactivate 2 lt 1 gt Switch on enable activate 3 4 Command text Options Text is entered between quotation marks lt text gt the content will be handled as one parameter One can however add variables into the text area with the use of escape codes Escape codes are placed between triangular brackets lt escape code gt The following escape codes are available lt l0 20 gt Print digital input 0 to 20 status 1 on O off 0 Mains Available on supported units Received signal strength indication 0 100 or if unknown Insert Serial Number lt P1 8 gt Multiple escape codes can be within 2 brackets lt A1 gt lt A2 gt lt A3 gt can also be written as lt A1A2A3 gt Example of sending a sms with the values of counter 1 and timer 2 141 1 The value of counter1 lt C1 gt and the value of timer2 lt T2 gt lf counter 1 was 25 and timer 2 was 14min and 23sec then this sms will display the following The value of counter1 25 and the value of timer2 00 14 23 Maestro Wireless Solutions 9 2011 All rights Reserved t empowering wireless 4 COMMAND SUMMARY Command String Request String Description Sek 6 Quick view will return all inputs outputs and signal strength Serial number 7 8 I7 lt interval gt T Signal logging interval Query signal log v
18. format 1263 lt 0 2 gt 0 internal No link to the GSM more suitable for telemetry applications 1 data Only link during data connections more suitable for AMR applications 2 all Always linked to the GSM more suitable for modem applications Maestro Wireless Solutions 58 2011 All rights Reserved T empowering wireless 5 46 11 MODBUS The Maestro Industrial 10 supports modbus TCP protocol The following function codes are supported 0x01 Read Coil get status of relay outputs 0x02 Read Discrete Inputs get status of digital inputs 0x03 Read Holding registers Address Description 0x00 Signal strength return 2 bytes 0x01 Internal Counter 1 return 2 bytes 0x02 Internal Counter 2 return 2 bytes 0x03 Internal Counter 3 return 2 bytes 0x04 Internal Counter 4 return 2 bytes 0x05 Pulse Counter 1 MSB return 2 bytes 0x06 Pulse Counter 1 LSB return 2 bytes 0x07 Pulse Counter 2 MSB return 2 bytes 0x08 Pulse Counter 2 LSB return 2 bytes 0x13 Pulse Counter 8 LSB return 2 bytes 0x14 Pulse Counter 8 LSB return 2 bytes 0x04 Read Input Registers get values of analog inputs where applicable 0x05 Write Single Coil set digital outputs Enter followed by a pause to re enter command mode Write format 1264 lt 0 1 gt 0 Don t use MODBUS commands 1 Use MODBUS commands to read the I O 5 46 12 Maestro
19. number gt lt Command1 gt lt Command2 gt lt Command3 gt 218 lt Timer number gt Example Operator to Unit 118 4 2131 2140 41 Timer time out Command List Number in the 7 Timer timed out 117 4 event of a time out of timer number 4 the 24 00 00 following Commands will be performed Switch output 3 on Switch output 4 off Send an SMS message to phone book position 7 that reads Timer timed out Re start the timer again recurring timed event Unit to Operator 18 1 gt 21 3 1 121 4 0 141 7 Timer timed out 17 4 24 00 00 Operator to Unit 718 4 Request current Timer timed out Command List configuration for Timer number 4 Unit to Operator 18 1 gt 21 3 1 121 4 0 141 7 Timer timed out 17 4 24 00 00 Maestro Wireless Solutions 22 2011 All rights Reserved t empowering wireless 5 14 Output state Command 21 This Command is used to switch the defined output on or off or to toggle if it is on then switch it off and if it is off then switch it on the output Option Parameters 0 switch output off 1 switch output on 2 toggle output 3 pulse the output Write format 121 lt Output number gt lt Option gt lt Output number gt lt Option gt Example Operator to Unit 121214012 Switch output 2 on switch output 4 off toggle output 1 Unit to Operator OTP 1100 gt Note The status of the standard outputs are volatile thus the outputs will always star
20. return sms 1 return sms default NO OD Auto Remote Command Mode 0 disable default 1 enable Communications Port 1 No link to GSM 2 Only link data 3 Always linked 264 1264 0 1 2264 Modbus enable disable Maestro Wireless Solutions 12 2011 All rights Reserved t empowering wireless 265 1265 0 1 2265 Mains input enable disable 266 1266 0 1 Dial up option Maestro Wireless Solutions 13 2011 All rights Reserved t empowering wireless 5 COMMANDS IN DETIAL 5 1 Query Firmware version 3 This request is used to get the current firmware version installed on the device Write format 23 Example Operator to Unit Request firmware version Unit to Operator 3 Firmware Version Vx xxx 5 2 Query Unit Serial Number 4 This request is used to get the device s serial number Write format 24 Example Operator to Unit Request serial number Unit to Operator 4 Serial TFxxxxxx 5 3 Query Unit Manufacturing Details 5 This request is used to get the device s manufacturing details Write format 25 Example Operator to Unit Request manufacturing details Unit to Operator 5 Manuf details xxxxxxxx Maestro Wireless Solutions 14 2011 All rights Reserved T empowering wireless 5 4 Quick view 6 This request is used to obtain the status of ALL the outputs and inputs as well as the GSM signal strength as a percentage The
21. 3 3 Command Input output Options EE 9 3 4 Command text E del ER 9 A COMMAND SUMMARY EE 10 5S COMMANDS Hei CU ME 14 5 1 Query Firmware version 3 14 5 2 Query Unit Serial Number A 14 5 3 Query Unit Manufacturing Details be 14 GE OT GE EEE EEE 15 5 5 Signal Analyser configuration TA 16 5 6 Display Signal Analyser log gt EE snceee cangenneeencaseeee 16 5 7 Firmware Upgrade Bee 17 5 8 Modem Specific Initialisation 10 17 5 9 Write to phone book Command 1 18 STP NNN 19 5 11 Control timers Command 1p cece eeseeeeseeeseeeseeesaeeeaes 20 5 12 Configure timers Command 17 rrranennnrnnnnnnnnnnanennnnnnnnnnnnnnnnenannnnnennnnnnanennn 21 21 5 13 Timer time out Command Deti18 ccc cccceececeeeceeeeeeeeeeeeseeeseeeseeeeaes 22 2 t4 Output state Command 2T WEE 23 5 15 Input Debounce Command 27 24 5 16 Input trigger low to high Command List 34 rrranenannnnnnnnnnenanenannnnrrnnannnnnenen 25 5 17 Input trigger high to low Command List an 26 5 18 Send SMS message Ai ec ecccseccceeeceeeceseceeeeeeeesaeecaeeseecseeeseeeeeeeeeesees 27 5 19 Send GPRS MESSAGE EE 27 5 20 GUSIOM COMMEN WSU 15 EE 28 5 21 Execute Custom command list Ap 28 9 22 ST SUING NNN 29 5 23 Send HEX Array command A8 29 9 2LAANALOGUE SN 30 5 24 1 Read analogue status 290 EE 31 5 24 2 Analogue debounce 21 31 Maestro Wireless Solutions 2 2011 All rights Reserved empowering wireless AMAIOGUGE NON TID levels EE 32 5 24 3 Analogue low trip levels 53
22. ALL mg mg 1 2 lt ValueHigh gt 4 5 181 lt N gt lt Option gt Increment counter value Decrement counter value Counter Compare Values Counter lt Compare Low Command lists Counter gt Compare High Command lists Incoming calls Voice Commands Answer 1 or reject 0 incoming call 195 lt N gt lt Option gt Control allowed users Query number of logs or erase all logs Write log record or read lt N gt number of logs GPRS Active Inactive GPRS Attached Detached 1152 1 0 GPRS Client Server Maestro Wireless Solutions 2011 All rights Reserved 11 D se em t empowering Malen 153 IP address 1 server mask 154 1154 IP address IP address 2 client connect 156 Server Listen Port no eee E 2170 Serial input Manager Active Inactive 1171 lt String gt 2171 Execute lt String gt when serial input event occurs 1 1 1 1 NO OT 1252 lt digIn gt lt digOut gt lt AnIn gt 252 IO setup 252 6 254 25 5 5 1254 1 0 254 RS485 enable disable 1257 lt BaudRate gt 2257 Set communications parameters lt IO Framing gt 1258 lt seconds gt 2258 Set command mode timeout Debugging to Serial port 1260 0 gt 4 2260 0 No Debug 1 GSM Debug 2 System Debug 261 1261 0 1 2261 262 1262 0 1 2262 263 1263 0 1 2 2263 A 5 0 1 1 6 257 258 3 Allowed users Debug 4 Command handler Debug Return SMS on Commands 0 no
23. CONTAGTING MAESTRO WIRELESS SOLUTIONS Telephone 852 2869 0688 Fax 852 2525 4701 Web www maestro wireless com email contact maestro wireless com Maestro Wireless Solutions LTD 3603 09 36 F 118 Connaught Road West HONG KONG 12 NOTICES amp TRADEMARKS Copyright Notice Copyright 2011 Maestro Wireless Solutions LTD All rights reserved No part of this document may be reproduced in any form or by any means without prior written authorization from Maestro Wireless Solutions LTD Trademarks Maestro Wireless Solutions and the Maestro corporate logo are trademarks of Maestro Wireless Solutions All other trademarks appearing in this guide are the exclusive property of their respective owners General Notice Maestro Wireless Solutions reserves the right to revise this document without obligation to provide notification of such changes Maestro Wireless Solutions provides this documentation without warranty expressed implied statutory or otherwise and specifically disclaims any warranty of merchantability or fitness for a particular purpose Maestro Wireless Solutions may make improvements or changes in the product s and or the program s described in this documentation at any time Maestro Wireless Solutions assumes no responsibility for product reliability and or performance if any party other than Maestro modifies the device configuration or if the installation is not performed in accordance with this manual Maestro Wireless
24. EE 58 5 47 13 Dial up mode 2 6 E 59 9 47 14 Data Flushing Delay SE ee 59 SE E ACEN 60 7 DISCLAIMER a ccc ccccceccccccccceccccceccucuceecccaceceneateneaceneaeeneaeeneaeeneaueeeaeauenueneeseentaneueanentanenes 60 OS A EE 60 9 REVISION INFORMATION 60 10 WARNINGS 61 11 CONTACTINGMAEGIROWIRELEGG 61 12 NOTICES amp TRADEMARKS 2 0 cc ccc ccccccccccececccccccuceccneccenecceneueeaeaeeneceeneateneueuneateneaesneaeans 61 Maestro Wireless Solutions 4 2011 All rights Reserved t empowering wireless 1 INTRODUCTION 1 1 Background The Maestro Industrial 10 telemetry terminal is controlled by aset of commands and parameters called TruTalk Note The commands in this document are related to firmware V3 55 If your current L firmware does not support a specific command that you want to use then please contact Maestro Wireless Solutions for an upgrade option The latest version of this document is available for downloading after login from the following link http www maestro wireless com 2 COMMAND MODE By default the Maestro Industrial 10 main serial port acts as a standard modem However this serial port is also used to enter commands and to configure the unit The AT command ATS TT is used to enter the Tru Talk text mode command prompt In this mode the unit will echo all incoming text and add command prompts and readable carriage returns as well as line feeds The command mode will time out after a default 30 secon
25. Switch output 4 off Send an SMS message to phone book position 2 that reads Unit XYZ switched on Unit to Operator 15 21 3 1 121 4 0 141 2 Unit XYZ switched on Operator to Unit 15 Request current Start up Command List configuration Unit to Operator 15 21 3 1 121 4 0 141 2 Unit XYZ switched on gt Note The unit will re start to implement the change Maestro Wireless Solutions 19 2011 All rights Reserved t empowering wireless 5 11Control timers Command 16 There are 5 separate timers in the Maestro Industrial 10 and this Command can be used to start or stop any of the timers When a specific timer runs out a Command associated with the event could be to start the timer again thereby creating a recurring timed event Tip Remember to first load a time into the timer with command 17 before starting the count down timer Option Parameters 0 stop timer 1 start count down timer 2 start count up timer Write format 116 lt Timer number gt lt Option gt lt Timer number gt lt Option gt lt Timer number gt lt Option gt 216 lt Timer number gt lt Timer number gt lt Timer number gt Example Operator to Unit 11640711 Stop timer 4 and start timer 1 Unit to Operator 16 1 gt 1 4 gt 0 Operator to Unit 716 14 Request current status of timers 1 and 4 Unit to Operator 16 1 gt 1 4 gt 0 gt Note That when the count up option is used there will
26. This command is used to do a once off ping request to the given IP address The unit will attempt 3 pings with 8sec time outs Write format 1164 IP address Example Operator to Unit 1164 10 124 0 1 ping 10 124 0 1 Unit to Operator 164 Packets 1 expired 2 3542ms 3 1235ms 5 44 2 Keep alive ping setup 165 This command is used to setup the interval and IP address to ping in order to make sure the link is always available Write format 1165 lt N gt IP address 2165 Example Operator to Unit Request the current ping keep alive Unit to Operator 165 keep alive ping address 10 124 0 1 every 10min s Operator to Unit 1165 30 Set the interval to 30min Unit to Operator 165 keep alive ping address 10 124 0 1 every 30min s Operator to Unit 11650 disable ping keep alive Unit to Operator 165 keep alive ping disabled Maestro Wireless Solutions 54 2011 All rights Reserved T empowering wireless 5 45 Serial input event 170 171 An instrument or measuring device with unsolicited serial output for example a tag reader can be connected to the Maestro Industrial 10 The unit can be configured to perform certain tasks when such an unsolicited serial event occurs EP Note The serial input buffer size is 150Bytes big thus the event originating data must not be more than 150characters Tip Use the text escape code lt S1 gt to access the buffered serial data amp
27. Tip By entering 3 asterisks followed by a pause will take the unit out of the serial input event to enable the user to access the serial port normally and to be able to deactivate the feature or to set up other parameters 5 45 1 Set Serial input event active inactive 170 This Command is used to enable disable the Serial Input Event functionality Write format 1170 lt 0 or wait time X 100msec gt Read format 2170 Example Operator to Unit Query if Serial Input event feature is active Unit to Operator 170 Serial input event Inactive Operator to Unit 170 1 Set the Serial Input event to wait 100ms before executing associated script Unit to Operator 170 Serial input event Active 5 45 2 Command List for the Serial Input Event 171 This Command is used to set the command list associated with the serial input event Write format 1171 lt String gt Read format 2171 Example Operator to Unit 1171 121 1 3 141 1 Tag Set the unit to pulse output 1 i e a light and number is lt 81 gt then sms the input string to phone book position 1 Maestro Wireless Solutions 55 2011 All rights Reserved t empowering wireless 5 46 System Hardware Set up Parameters 251 261 gt Note The units will always be supplied from Maestrowith the correct hardware configuration loaded Er Note These commands must be used with caution as a wrong hardware configuration might result in the
28. Unit to Operator 51 1 gt 00 00 01 2 gt 24 00 00 Maestro Wireless Solutions 31 2011 All rights Reserved T empowering wireless Analogue high trip levels 52 This Command is used to set get the analogue high trip and recover levels ds Tip See figure An1 for a better understanding to the use of this command Read format 252 lt An gt Write format 152 lt An gt lt High level recover value gt lt High level trip value gt Example Operator to Unit 52 1 854 902 aa Unit to Operator 52 1 gt 852 902 Operator to Unit 25211 O Unit to Operator 52 1 gt 852 902 5 24 3 Analogue low trip levels 53 This Command is used to set get the analogue low trip and recover levels Tip See figure An1 for a better understanding to the use of this command Read format 253 lt An gt Write format 153 lt An gt lt Low level trip value gt lt Low level recover value gt Example Operator to Unit 53 1 301 357 Unit to Operator 53 1 gt 301 357 Operator to Unit 531 1 O Unit to Operator 53 1 gt 301 357 Maestro Wireless Solutions 32 2011 All rights Reserved T empowering wireless 5 24 4 Analogue high trip command list 54 This Command is used to set get the analogue high trip command list ds Tip See figure An1 for a better understanding to the use of this command Read format 254 lt An gt Write format 154 lt An gt lt CMD list gt Example Op
29. alue is smaller or equal to the low compare value set in 83 Read format 284 lt N gt Write format 184 lt N gt lt String gt Example Operator to Unit 184 1 21 1 1 Unit to Operator 84 1 121 1 1 Operator to Unit 78411 Unit to Operator 84 1 121 1 1 Maestro Wireless Solutions 44 2011 All rights Reserved t empowering wireless 5 36 6 Counter high compare command list 85 This Command is used to set get the counter high command list This command list will be executed when the counter value is higher or equal to the high compare value set in 183 Read format 285 lt N gt Write format 185 lt N gt lt String gt Example Operator to Unit 185 112110 Unit to Operator 85 1 12110 Operator to Unit 7851 1 O Unit to Operator 85 1 12110 Maestro Wireless Solutions 45 2011 All rights Reserved empowering wireless 5 37 Incoming Voice calls command list 90 This Command can be used to program the Maestro Industrial 10 unit to execute certain commands when an incoming voice call is received from one of the first 10 numbers in the phone book Read format 290 lt N gt Write format 190 lt N gt lt String gt Example Operator to Unit 190 3 21 2 3 920 Toggle output 2 and hang up the incoming call Unit to Operator 90 3 gt 21 2 3 1920 Operator to Unit 790 3 Request the voice command list of user number 3 Unit to Operator 90 3 gt 21 2 3 1920
30. alues 19 SERIAL Set modem to receive new firmware 111 lt N gt 11 lt N gt Write to phone book me Note NameString optional 116 lt N gt lt Option gt Control timer OJ Ou O1 gt gt A Si Ol O W NI gt gt gt gt Bl Gu NI STO N OO O1 N gt Si N N O Oo 118 lt N gt lt String gt Timer time out Command lists 115 lt String gt Start up Commands 117 lt N gt lt Option gt Configure timer 121 lt N gt lt Option gt 21 Output state N 100 internal GPIOs 132 lt N gt lt Option gt 232 lt N gt Input Debounce 4 Input trigger Commands low to high 135 lt N gt lt String gt Input trigger Commands high to low 141 lt N gt lt String gt SMS Message sending Send event over GPRS fallback by sending SMS to phonebook position N 142 lt N gt lt time gt Event String 2 2 235 245 Define customised list of Commands 145 lt N gt lt String gt 4 Execute custom command list number lt N gt 147 lt Dest gt String Send String to lt Dest gt 2 Serial Port 1A master ext 3 Serial Port 1B slave int 4 I2C add 10010010 48 148 lt Dest gt lt Hex Array gt Send array of HEX chars to lt Dest gt 151 lt N gt lt Option gt Analog Input Debounce 152 lt N gt lt highRecover gt 252 lt N gt Analogue input configuration High Trip lt highTrip gt Points Maestro Wireless Solutions 10 2011 All rights Reserved eg Ee e
31. ands the extra spaces are interpreted as white space and may be used to enhance readability Just keep in mind that these spaces are also included in the maximum of 100 characters allowed in a Command List Double quotes lt gt indicates a text field and any control characters or numbers contained between these double quotes are handled as text only Example send SMS lt 141 gt Control Command Space Parameter 1 Space Parameter 2 Character Number WA Text field i oo Note Multiple commands can be entered at a time in both the command mode and in an sms nit XYZ switched gn 3 2 Command Lists A Command List consists of a Control Character an exclamation mark lt gt for a command or a question mark lt gt for a request and a Command List Number This is followed by several Commands minimum 1 maximum limitless The total length of each Command List may not exceed 100 characters The Command List Number is the association between an event and the following Commands Example start up event lt 15 gt Control Command Command 1 Command 2 Character List Number a Ba an 12131 141 2 Unit XYZ4witched on Note Only one command list can be entered at a time in both the command mode and in an sms Maestro Wireless Solutions 8 2011 All rights Reserved T empowering wireless 3 3 Command Input output Options The state of a specific digital input or digital output
32. commands over the air 2 2 Managing the firmware version on board software The Maestro Industrial 10 includes an application called FLASH MANAGER FM This application resides in the protected boot loader space of the microprocessor At start up it verifies the FLASH memory content and from there starts the application The firmware version is printed out on the second line after start up It can also be checked with command 3 on the TruTalk command line New firmware is loaded onto the unit using Flash Manager The Flash Manager can be set into boot load mode by either sending it lt space gt characters at start up thus holding in the lt space bar gt while switching the unit on or by using command 9 on the TruTalk command line Maestro Wireless Solutions T 2011 All rights Reserved t empowering wireless 3 COMMANDS amp COMMAND LISTS 3 1 Commands the building blocks of Command Lists A Command starts with a Control Character an exclamation mark lt gt for a command or a question mark lt gt for a request followed by a Command Number This number indicates the action to be performed and are followed by different Parameters which are always separated by at least one space Responses by the Maestro Industrial 10 unit are always returned to the Originator person machine who sent the request command in the same sequence as the request command was made Any number of spaces can be used between separate Comm
33. d this field is in seconds EF Note If the connection was made from command mode and a time out field was specified then the unit will quit command mode however if the time out field was set to zero then the unit will stay in command mode after the message was send Write format 142 lt Position number gt lt Connection Open Time out gt lt gt lt Text message gt lt gt Example Operator to Unit 142 3 1 Input 1 sw on Send Input 1 sw on to the IP address 2 on port 2 If unsuccessful then send Input 1 sw on via sms to phone book position 3 Unit to Operator 42 message send status Maestro Wireless Solutions 27 2011 All rights Reserved T empowering wireless 5 20 Custom command list 45 This Command is used to create custom command lists There are 10 custom command lists Tip Use custom command lists when deferent events must execute the same script or when the 100 characters associated with an event is to little Write format 145 lt List number gt lt Command List gt Example Operator to Unit 145 5 141 1 2 Door When custom command list 5 is called then it status lt 14 gt will send a sms to phone book positions 1 amp 2 giving the status of the door switch Unit to Operator 45 5 gt 141 1 2 Door status lt 14 gt 5 21Execute Custom command list 46 This Command is used to generate the event that will execute the associated custom co
34. ds or can be quitted by typing lt ctrl z gt this will return the Maestro Industrial 10 into normal modem mode A simplified command mode is also available for use with serial applications by entering AT RT RawText In this mode there will be no echoing or prompts to simplify the serial encapsulation in a typical application Maestro Wireless Solutions 5 2011 All rights Reserved maestro X empowering wireless 2 1 Entering Commands Commands can be entered via the serial port sms GPRS or even data call 2 1 1 Serial Port Commands can be entered via the serial port once the unit has started up and printed Start up complete on the serial port COMMAND MODE is entered by typing in ATST T lt center gt eo Default serial parameters are 9600 8 N 1 FLASH MANAGER ev ne FLASH Maestro Wireless Solutions 6 2011 All rights Reserved t empowering wireless 2 1 2 SMS Commands can be send via sms Simply sms the command to the unit Multiple commands can be send in 1 sms 3 Tegt message 7 148 1 w abe To 08312345678 E Note make sure you are an allowed user before sending an sms to the unit see commands 11 and 95 2 1 3 Data call GPRS mode Connect to the unit either via data call or TCP connection via GPRS Once the connection is made then command mode can be entered by sending 3 sequential minuses The remote unit will now be in command mode and ready to receive
35. e empowering wireless 5 5 5 5 156 lt N gt lt String gt 256 lt N gt 58 158 lt N gt lt lowLimit gt 258 lt N gt lt highLimit gt lt unit gt 63 163 lt String gt 164 lt String gt lt optional var gt 3 153 lt N gt lt lowTrip gt 253 lt N gt lt lowRecover gt 5 6 Analogue input configuration Low Trip Points Analogue input High Trip Command list Analogue input High Recover Command list Analogue input Low Recover Command list Analogue input Low Trip Command list Setup analog input scaling and units Set prefered SIM card slot Set PIN code Submit AT commands 66 166 lt Option gt GSM Reset setup T 167 lt Option gt 26 Allowed Data Call time 168 lt String gt Housekeeping interval 273 73 173 lt Option gt Day Time setting on clock 14 174 lt Option gt 274 175 lt 10r2 gt lt Option gt 275 lt 10r2 gt Date setting on clock en disable Day Time event 176 lt 10r2 gt lt Option gt 276 lt 10r2 gt Day Time event time setting 177 lt 10r2 gt lt String gt 277 lt 10r2 gt Day Time event script 80 180 lt N gt lt Option gt Counter Value Load 8 8 182 lt N gt lt Option gt 8 8 184 lt N gt lt String gt 284 lt N gt 8 185 lt N gt lt String gt 285 lt N gt 90 190 lt PB pos gt lt String gt 290 lt PB pos gt 191 lt PB pos gt lt String gt 291 lt PB pos gt Incoming calls Data Commands 92 192 lt 0 1 gt 197
36. e current TCP port number Unit to Operator 156 Port 502 Operator to Unit 1156 7800 Set the port number to 7800 Unit to Operator 156 Port 7800 Maestro Wireless Solutions 51 2011 All rights Reserved empowering rn 5 43 6 TCP Client Port number 157 This is the TCP Port where the Maestro Industrial 10 will be writing data to Write format 1157 50030 2157 Example Operator to Unit Request the current TCP client port number Unit to Operator 157 Port 50030 Operator to Unit 1157 7800 Set the port number to 7800 Unit to Operator 157 Port 7800 5 43 7 Access Point Name Server 158 Defines the APN server Typ internet for the Public APN or TRUTEQAPN for the Maestroprivate APN Write format 1158 internet 2158 Example Operator to Unit Request the current APN setting Unit to Operator 158 APN internet Operator to Unit 1158 TRUTEQAPN Set the APN to truteq s APN Unit to Operator 158 APN TRUTEQAPN 5 43 8 Username 159 Username required for connection to the APN Write format 1159 myUserName 2159 Example Operator to Unit Request the current username Unit to Operator 159 APN user name myUserName Operator to Unit Clear the username field Unit to Operator 159 APN user name invalid Data Maestro Wireless Solutions 52 2011 All rights Reserved T empowering wireless 5 43 9 Password 160 Password required for connection to the APN
37. e was a big change in the received signal quality that did not fall on the record interval The received values are between 0 no signal and 31 full signal The unit must have a SIM card that is registered on the network for the logger to log Write format 28 Example Operator to Unit Query the signal log Unit to Operator 8 26 28 25 29 c22 25 29 30 28 30 30 30 c20 c30 28 29 30 29 26 30 28 OANWAUONDO Maestro Wireless Solutions 16 2011 All rights Reserved t empowering wireless 5 7 Firmware Upgrade 9 This Command is used to upload new firmware onto the product using the on board Flash Manager This command sets the new firmware upload flag in the Flash Manager and then restarts the unit Use MaestroYATPro s firmware function to upload the new firmware Write format 19 SERIAL 19 OTA IP_address Port lt APN name gt username password 5 8 Modem Specific Initialisation 10 This Command is used to store a list of AT commands to be performed when the device is powered up The user can use this to enable disable modem specific type of commands eg set hardware flow control to none with AT IFC 0 0 and set auto answer on with ATSO 1 Write format 110 lt STRING gt AT commands must be space delimited 210 Example Operator to Unit 110 AT IFC 0 0 ATSO 1 Set modem H W flow control to none and auto answer incoming calls after 1 ring Unit to Operator 10 User Modem Init String AT IFC 0 0 ATSO 1
38. ent or with medical devices This product is also not designed or certified to be used with any medical services or medical related services 8 GLOSSARY API Application programmers Interface ASN 1 Abstract Syntax Notation One CDR Charge Data Record CSV Comma Separated Values Database DNS FQDN GAIN HTTP HTTPS VR We MMS MMSC PDA SMSC SMPP USSD WIG WAP WML WASP Domain Name System Fully Qualified Domain Name Gateway Application and Interface Node Hypertext Transfer Protocol HTTP Secure Interactive Voice Response Input Output Internet Protocol Multimedia Message Service Multimedia Messaging Service Centre Personal Digital Assistant Short Message Service Centre Short Message Peer to Peer Protocol Unstructured Supplementary Services Data Wireless Internet Gateway Wireless Application Protocol Wireless Mark up Language Wireless Application Service Provider XML Extensible Markup Language 9 REVISION INFORMATION Date Version Comments Author 10 November 2010 1 0 Port to new Maestro Industrial 10 platform Eric Guldemond functions only 29 November 2010 Fixed analog scaling calculation 58 Eric Guldemond H Maestro Wireless Solutions 61 2011 All rights Reserved t empowering wireless pp 1 10 WARNINGS WARNING Do not open this equipment under any circumstances High risk of electrical shock exists that may and probably will lead to injuries and or death 11
39. erator 63 PIN 5670 NEW PIN Operator to Unit 1293 Unit to Operator 63 PIN 5670 PIN OK Maestro Wireless Solutions 37 2011 All rights Reserved empowering wireless 5 27 Submit AT command 64 This Command is used to submit an AT command to the modem via the command mode prompt An optional parameter of 1 can be given to wait for an unsolicited response before returning the result Write format 164 lt AT command gt lt optional N gt Example Operator to Unit 164 AT 64 OK Unit to Operator 64 OK Operator to Unit 164 ATD 100 1 query the account balance Unit to Operator 64 OK You balance is R12 56 OK Operator to Unit 164 AT CCED 0 1 Query the connected base station information Unit to Operator 64 CCED 655 10 278c 3811 40 85 63 0 0 OK 5 28GSM reset interval 66 This Command is used to set get the GSM reset interval in minutes Read format 66 Write format 166 lt Interval gt Example Operator to Unit 66 1 O Unit to Operator 66 GSM reset interval 1440 sr Operator to Unit 166 2880 Unit to Operator 66 GSM reset interval 2880 Er Note It is recommended to keep the interval on 1440 default value Maestro Wireless Solutions 38 2011 All rights Reserved empowering wireless 5 29 GSM data call reset interval 67 This Command is used to set get the GSM data call reset interval in minutes Read format 267 W
40. erator to Unit 154 11212 1 Unit to Operator 54 121 2 1 Operator to Unit 75411 Unit to Operator 54 121 2 1 5 24 5 Analogue high recover command list 55 This Command is used to set get the analogue high recover command list Tip See figure An1 for a better understanding to the use of this command Read format 255 lt An gt Write format 155 lt Antt gt lt CMD list gt Example Operator to Unit 155 112120 E Unit to Operator 55 12120 Operator to Unit 7551 1 Unit to Operator 55 12120 Maestro Wireless Solutions 33 2011 All rights Reserved T empowering wireless 5 24 6 Analogue low recover command list 56 This Command is used to set get the analogue low recover command list ds Tip See figure An1 for a better understanding to the use of this command Read format 256 lt An gt Write format 156 lt An gt lt CMD list gt Example Operator to Unit 156 112110 Unit to Operator 56 12110 Operator to Unit 95611 Unit to Operator 56 12110 5 24 7 Analogue low trip command list 57 This Command is used to set get the analogue low trip command list Tip See figure An1 for a better understanding to the use of this command Read format 57 lt An gt Write format 157 lt An gt lt CMD list gt Example Operator to Unit 57 1121 1 1 Unit to Operator 57 121 1 1 Operator to Unit 9571 1 Unit to Operator 57 121 1 1 Maestro W
41. following Commands will be closed performed Switch output 3 off Switch output 4 on Send an SMS message to phone book position 2 that reads Door has been closed Unit to Operator No response Operator to Unit 735 1 Request current Input trigger high to low Command List configuration for input 1 Unit to Operator 1 135 1 121 3 0 121 4 1 141 2 Door has been closed Maestro Wireless Solutions 26 2011 All rights Reserved t empowering wireless 5 18 Send SMS message 41 This Command is used to send SMS messages to any of the cell phone numbers in positions 1 to 200 of the SIM Phone Book The same SMS message can be sent to multiple phone numbers in a single Command Write format 141 lt Position number gt lt Position number gt lt Position number gt lt gt lt Text message gt lt gt Example Operator to Unit 41 3 55 69 Hello World Send Hello World to the cellphone numbers 1 Hello World was sent in positions 3 55 and 69 and send Hello World was sent to the cellphone number in position 1 in the SIM Phone Book Unit to Operator 41 message send status 5 19Send GPRS message 42 This command creates a TCP Client connection to IP address 2 on port 2 see command 154 and 157 A SIM phone book position must also be supplied in case the GPRS connection was unsuccessful The message will then be send via SMS The connection open time out must also be supplie
42. h command lists are associated with which level Figure Ant Full Scale 1023 Set with cmd 52 d Cmd list 54 exec 7 High Trip Wie Fer Se o past this poin O ion 8 Level Se Cmd list 55 exec 5 High Recv V when level goes Set with cmd 527 pas tals paint Typical Analogue Level Set with cmd 53 d Cmd list 56 exec 7 Low Recv when level goes Y past this point E g 8 gt nn Cmd list 57 exec 5 Low Trip V when level goes EN PE PO Maestro Wireless Solutions 30 2011 All rights Reserved T empowering wireless 5 24 1 Read analogue status 50 This Command is used to read the analogue values The default value format will be an integer between 0 and 1023 gt Note If an analogue was scaled using command 58 then the scaled value will be displayed Read format 250 Example Operator to Unit Read analogues Unit to Operator 50 0 22 3degC 0 15 8Vdc 5 24 2 Analogue debounce 51 This Command is used to set get the analogue delay times Read format 251 lt An gt Write format 151 lt An gt lt debounceTime gt Example Operator to Unit 151 1 00 00 01 2 24 00 00 Set analogue 1 debounce to 1 second and analogue 2 debounce to 24hours Unit to Operator 51 1 gt 00 00 01 2 gt 24 00 00 Operator to Unit 751 1 2 Query 1 and 2 s debounce periods
43. ireless Solutions 34 2011 All rights Reserved T empowering wireless 5 24 8 Analogue scaling 58 This Command is used to set get the analogue scaling The output of the analogue sensor being 4 20mA or 0 5V almost always represents some sort of measurement When queering the analogue value it s always handy to have it already scaled to the correct range and unit of the measured device When for example measuring a temperature or voltage it s much better to have it already converted rather than to receive the raw 0 2048 11bit count and having to do the conversion yourself gt Note Refer to the graph on analogue scaling below for more information regarding point descriptions Read format 258 lt An gt Write format 158 lt An gt lt An 0 Value gt lt Sensor High Point gt lt unit gt Example Operator to Unit 158 1 0 300 Vac Unit to Operator 58 1 gt 0 00 300 00 Vac Operator to Unit 95811 O Unit to Operator 58 1 gt 0 00 300 00 Vac Examples e If you measure mains voltage and your input range on the analogue converter is 0 gt 300V input 0 5V output then use command 58 as follows 158 1 0 300 Vac When you query analogue 1 it will return eg 235 6Vac e If you measure a value as a percentage 158 1 0 100 When you query analogue 1 it will return eg 65 35 Maestro Wireless Solutions 35 2011 All rights Reserved t empowering wireless 4 20mA sensor graph Sensor high
44. mmand list Write format 146 lt List number gt Example Operator to Unit Execute custom command list 5 Unit to Operator 46 Now running cmd list 5 Tip Use command 261 to switch off return sms if the custom command list is going to send the required sms Maestro Wireless Solutions 28 2011 All rights Reserved t empowering wireless 5 22 Send String command 47 This Command is used to send a string to either the serial port Dest 2 or the TWI LCD Dest 4 Write format 147 lt Destination gt String Example Operator to Unit 147 4 Input4 lt 4 gt Write input 4 status to LCD Unit to Operator 47 text message send OK gt Note See appendix A for the various LCD options that can be included in the string send to the LCD ex goto amp cls 5 23 Send HEX Array command 48 This Command is used to send an array of HEX formatted characters including lt NULL gt to either the serial port Dest 2 or the TWI LCD Dest 4 Write format 148 lt Destination gt lt HEX ARRAY gt Example Operator to Unit 148 2 00010305060AFF Write lt x00 x01 x03 x05 x06 x0A xFF gt to serial port Unit to Operator 48 array send OK Maestro Wireless Solutions 29 2011 All rights Reserved t empowering wireless 5 24ANALOGUE Set up 50 58 Separate Command Lists are linked to the events where an analogue value passes a certain level The following diagram explains whic
45. nit to Operator 95 2 gt 0 4 gt 1 Operator to Unit 795 2 Request the current status of allowed user number 2 Unit to Operator 95 2 0 Maestro Wireless Solutions 47 2011 All rights Reserved t empowering wireless 5 41 LOGGING Records manager 97 This Command is used to query the number of log records in the MMC card or to delete some or all of the records Write format This will delete all the records in the log file 197 lt Number to delete gt lt direction option gt lt direction option gt 0 for FIFO lt direction option gt 1 for LIFO Read format This will return the number of records in the log file 97 Example Operator to Unit Query the number of records in the log file Unit to Operator 97 log file size 1565 records Operator to Unit 197 565 0 Delete the oldest 565 records in the log file Unit to Operator 97 log file size 1000 records Operator to Unit 197 ALL Delete all the records in the log file Unit to Operator 97 log file size 0 records Maestro Wireless Solutions 48 2011 All rights Reserved T empowering wireless 5 42 LOGGING Write read 98 This Command is used add a log record or to retrieve a number of the logged records Write format 198 lt Log string gt Read format 98 lt number of log records to read gt lt direction option gt lt direction option gt 0 FIFO lt direction option gt 1 LIFO Example Operator to Unit 198
46. rite format 167 lt Interval gt Example Operator to Unit 67 1 Unit to Operator 67 Data call reset interval 10 16730 gt Operator to Unit 67 30 KL Unit to Operator 67 Data call reset interval 30 gt Note It is recommended to set the interval to 0 zero if GPRS connections is used 5 30 GSM house keeping interval 68 This Command is used to set get the GSM house keeping interval Read format 268 Write format 168 lt Interval gt Example Operator to Unit 68 1 O Unit to Operator 68 HK interval 1 gt Note It is recommended to keep the interval on 1 default value Maestro Wireless Solutions 39 2011 All rights Reserved T empowering wireless 5 31 RTC Time of Day 73 The RTC Real Time Clock is used to execute commands at a certain time of the day There are 2 different time of day events that can be individually enabled and disabled This Command is used to set get the time gt Note A Real Time Clock must be installed if this function is to be used Read format 273 Write format 173 lt hh mm ss gt Example Operator to Unit 73 15 04 00 Set the Time of Day to 4min past 3pm Unit to Operator 73 Time is 15 04 00 73 Time is 15 0400 _ S Operator to Unit Query the Time of Day Unit to Operator 73 Time is 15 04 10 Maestro Wireless Solutions 40 2011 All rights Reserved t empowering wireless 5 32RTC Date 74 This Command is used
47. ss from which a connection is allowed Use 255 255 255 255 to allow all incoming connections Write format 1153 172 24 16 2 2153 Example Operator to Unit 1153 255 255 255 255 Allow incoming connections from any server Unit to Operator 153 IP address 1 255 255 255 255 Operator to Unit Request the current IP address 1 field Unit to Operator 153 IP address 1 255 255 255 255 Maestro Wireless Solutions 50 2011 All rights Reserved T empowering wireless 5 43 3 GPRS IP address 2 154 This is the IP address to whom a client connection is made Write format 1154 172 24 16 2 2154 Example Operator to Unit 1154 172 24 16 2 Make client connection to 172 24 16 2 Unit to Operator 154 IP address 2 172 24 16 2 Operator to Unit Request the current IP address 2 field Unit to Operator 154 IP address 2 172 24 16 2 5 43 4 GPRS IP address 3 155 This is the IP address of the Maestro Industrial 10 received from the network after a successful connection was established This will typ be fixed IP add on a private APN or variable IP add on public APN Write format 2155 Example Operator to Unit 155 Request the current IP address of the Maestro Industrial 10 Unit to Operator 155 IP address 3 172 24 16 7 5 43 5 TCP Server Portnumber 156 This is the TCP Port where the Maestro Industrial 10 will be listing on Write format 1156 502 2156 Example Operator to Unit Request th
48. status will be supplied in the following format Example IPT ABCD Digital input status OPT MN Digital output status ANI a b Analogue input status SIG XX Signal strength Where A is the status of Input 1 1 on 0 off B is the status of Input 2 1 on 0 off C is the status of Input 3 1 on 0 off D is the status of Input 4 1 on 0 off M is the status of Output 1 1 on 0 off N is the status of Output 2 1 on 0 off a is the status of Analogue Input 1 b is the status of Analogue Input 2 Write format 26 Example Operator to Unit Request status Unit to Operator OPT 0001 Return status if only one IPT 1001 Maestro Industrial 10 SIG 85 digital input output card is fitted Maestro Wireless Solutions 15 2011 All rights Reserved t empowering wireless 5 5 Signal Analyser configuration 7 This command is used to set the recording interval for the received signal analyser tool Setting it to 0 switches this functionality off Write format I7 lt interval gt 27 Example Operator to Unit 7 30 Set the unit to log the received signal every 30minutes Unit to Operator 7 signal log interval 30 minutes Operator to Unit Request current log interval Unit to Operator 7 signal log interval 30 minutes 5 6 Display Signal Analyser log 8 This command is used to display the data logged by the signal analyser A c character before a value means that ther
49. t in the off position when the unit is power cycled Use start up command list to set an output to a desired state at start up Maestro Wireless Solutions 23 2011 All rights Reserved T empowering wireless 5 15Input Debounce Command 32 The Debounce period is the amount of time that lapses before a specific task is performed This Command can configure the Debounce period of an input in hours minutes and seconds to a maximum of 99 hours 59 minutes and 59 seconds If not configured the input will by default have no Debounce period gt Note Digital input 0 refers to units with an internal battery that has a mains available option Write format 132 lt input number gt lt hh mm ss gt lt Input number gt lt hh mm ss gt 232 lt Input number gt lt Input number gt lt Input number gt Example Operator to Unit 132 1 00 00 25 Configure input 1 to have a 25 second debounce period before executing the associated Command List Unit to Operator Operator to Unit Request current Debounce period configuration of input 1 Unit to Operator 32 00 00 25 Maestro Wireless Solutions 24 2011 All rights Reserved T empowering wireless 5 16 Input trigger low to high Command List 34 The device can be programmed to perform certain Commands when an input is triggered opened switched on for example switch certain outputs on or off start the timer send an SMS message to a specific number in the
50. to set get the Date gt Note A Real Time Clock must be installed if this function is to be used Read format 274 Write format 174 lt DD MM YY gt Example Operator to Unit 74 21 07 06 Set the Date to 21 July 2006 Unit to Operator 74 Date is 21 07 06 Operator to Unit Query the Date Unit to Operator 74 Date is 21 07 06 5 33 RTC En Disable Time of Day event 75 This Command is used to enable or disable the execution of a command script associated with a Time of Day event gt Note A Real Time Clock must be installed if this function is to be used Read format 275 lt event gt Write format 175 lt event gt lt 0 1 gt Example Operator to Unit 75 1120 Enable event 1 and disable event 2 Unit to Operator 75 1 gt 1 2 gt 0 Operator to Unit Query the status of event 2 Unit to Operator 75 2 gt 0 Maestro Wireless Solutions 41 2011 All rights Reserved empowering wireless 5 34RTC Time of Day event time setting 76 This Command is used to set the time of the day that the event must happen gt Note A Real Time Clock must be installed if this function is to be used Read format 276 lt event gt Write format 176 lt event gt lt time of event gt Example Operator to Unit 76 1 06 00 00 2 18 00 00 Set event 1 to 6am and event 2 to 6pm Unit to Operator 76 1 gt 06 00 00 2 gt 18 00 00 Operator to Unit Query the time of event 2 Unit to Operator
51. unit not responding anymore 5 46 1 Get system uptime 251 This Command is used to get the unit s uptime since it was switched on Read format 2251 5 46 2 Set up Hardware number of inputs and outputs and Analogues 252 This Command is used to set the number of digital inputs digital outputs and analog inputs connected to the device Write format 1252 lt Digital Inputs gt lt Digital Outputs gt lt Analog Inputs gt Read format 252 5 46 3 Set serial input to RS485 254 This Command is used to enable the RS485 if fitted option on the device Write format 1254 lt 0 or 1 gt Read format 2254 5 46 4 Force a hardware reset 256 This Command is used to force a hardware reset Write format 1256 Maestro Wireless Solutions 56 2011 All rights Reserved t empowering wireless 5 46 5 Set up serial port communications parameters 257 The GSM communications is fixed to 8 N 1 character framing The local port parameters can be set to any of the following baud rates 2400 4800 9600 19200 38400 57600 115200 where 57600 amp 115200 will print a warning of high baud rate possible data loss Data bit options are 7 or 8 Parity bit options are N E or O None Even Odd Stop bit options are 1 or 2 Just update the terminal program to the newly set parameters and press lt enter gt after the settings have been changed Write format 1257 lt Baud rate gt lt Number of data bits gt lt Parity gt

Download Pdf Manuals

image

Related Search

Related Contents

PDF: Raider XL Race-Monstertruck BL 1:8 RTR MegaE8 egaE8  WARNING  Outil d`autodiagnostic économique et financier  "Je réduis ma consommation de carburant, mode d`emploi  Istruzioni per l`uso originali Pulsante di emergenza con modulo di  Teltonika user manual 2007 02 07  Emerson Type 119 Switching Valve Instruction Manual  "取扱説明書"    HVR-1500 Service Manual Volume 1  

Copyright © All rights reserved.
Failed to retrieve file