Algorithms 1

Algorithms 1. Start 2. Initialize timer, interrupt, counter, GSM modem 3. Read ADC and calculate voltage and current 4. If starter is in auto mode give the call to the registered no 5. Wait for command 6. If*xxxxa(10-digit mobile no.)hash then add registered mobile number, if not go to next. 7. If*xxxxd(10-digit mobile no.)hash then delete registered mobile number, if not go to next. 8. If *xxxxlsthash then to get registered mobile number list, if not go to next. 9. If *xxxxonhash then start motor, if not go to next. 10. If*xxxxoffhash then stop motor, if not go to next. 11. If *xxxxspchash then set motor current If not go to next 12. Check all command given in the Following table 13. Stop
39
1 To Select IVRS Language 1 *XXXXLAN1hash *1234LAN1hash 2 To Select IVRS Language 2 *XXXXLAN2hash *1234LAN2hash 3 To Select IVRS Language 3 *XXXXLAN3hash *1234LAN3hash 4 To Select IVRS Language 4 *XXXXLAN4hash *1234LAN4hash 5 To Add Registered Mobile Number *XXXXA(10Digit Mobile No.)hash *1234Amob no.hash No Number 6 To Delete Registered Mobile Number *XXXXD(10Digit Mobile No.)hash *1234Dmob no.hash 7 To Get Registered Mobile Number List *XXXXLSThash *1234LSThash 8 To Start Motor *XXXXONhash *1234ONhash 9 To Stop Motor *XXXXOFFhash *1234OFFhash 10 To Set Motor Current *XXXXSPChash *1234SPChash 11 To Change Password *XXXXCPWD(4 Digit PWD)hash *1234CPWD1234hash 1234 12 To Load Factory Setting *XXXXLFShash *1234LFShash 13 To Get Motor Status on Site *XXXXSTShash *1234STShash 14 To Check Parameter Settings *XXXXPSEThash *1234PSEThash 15 To Check Measurement Values *XXXXREADhash*1234READhash
Table3.12: IVRS Commands