Home
Table of Content
Contents
1. by Chunchin Wang E mail chunchin wang delta com tw Transfer Setup Select Operation Write to PLC Range Setup Whole Range Step Range Specification Start 0 End ea Write to PLC WPLSoft No Errors Step 11 Monitor Ladder Diagram b WPL Editor Dvp0 Monitor Ladder Diagram Comments M Search S View V Communication C Window W Help H H kz DB e gz r Q K129 MOV H D1120 OV 81 RST M1143 K500 M K500 D1129 KD Replace Row 5 Col 2 Scan time 0 1ms 604 15872 Steps Bl SES PLC COM 1 115200bp EH Series Delta Electronics Inc Confidential Page 16 of 57 APPLICATION NOTES Page 17 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Example 3 The GSM MODEM in PC Master site can dial to the 56K MODEM in PLC MPU Slave site by using WPLSoft Once connection is done PLC MPU can upload program to PC for program modification and PC can download program modified to PLC MPU with monitoring function PC Master R J inis w lt IN be J DVP ACAB2A Execute e MODEM C 30 WPLSoft GSM MODEM Tmportant Information The SIM card phone number of the GSM MODEM should be specific number of mobile MODEM phone number is provided by local telecom carrier 2 The phone number of 56K MODEM can t be an extension number 3 The format of GSM MODEM commu
2. n Wf be de 85 pid i3 EH G m vo Read from PLC Replace Row 0 Col 1 0 15872 Steps a EH Series Step 7 select either Whole Rang or Step Range Specification to download program and finally click Execute Transfer Setup Select Operation Read from PLC Range Setup aa Step 8 Read from PLC dialog box will show on the screen and click OK when communication is finished Read from PLC 100 WPLSoft Communication is finished Delta Electronics Inc Confidential Page 20 of 57 APPLICATION NOTES Page 21 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Step 9 The ladder diagram window of remote PLC will show up WPL Editor Dyp0 Ladder Diagram Mode Fief EditE Compiler P Comments M Search S View V Communication C Options O Window W Help H amp SRERHBCESOODHHRL ADE HAZ Go AS pid El amp G mW vo SET M1120 RST M1143 SET M1161 D1129 H41 DO H54 Replace Row 0 Col 1 604 15872 Steps EH Series Step 10 Finishing program modification in WPLSoft ladder diagram window click the icon Write to PLC to upload modified program to remote PLC MPU WPL Editor Dvp0 Ladder Diagram Mode File F Edit E Compiler P Comments M Search View V Communication C Options O Window W Help H SRM Q QS PERERA CHEeOODHRI LTS rh m tsi
3. Note 1 regarding Converter 1 information refer to the wiring method of PLC MPU Slave and MODEM Note 2 regarding connection cable information refer to the wiring method of PLC MPU Slave and MODEM CONNECT4 56 MODEM 56K MODEM refer to AppNotes document AN09292005 56KMODEM a In Slave site connect to 56K MODEM via COM port RS 232 b In Master site connect 56K MODEM to general phone line By dialing via phone line 56K MODEM will connect to the 56K MODEM of PLC MPU in Slave site C In Slave site connect 56K MODEM to PLC MPU COMI RS 232 via converter 2 see Note 1 and DVPACAB2A30 Or 56K MODEM can directly connect to the COM2 DVP F232 of EH MPU via RS 232 see Note 2 Delta Electronics Inc Confidential Page 3 of 57 APPLICATION NOTES Page 4 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw PC MASTER i PLC RS 232 E Converter 2 slave om d T 10518 MODEM MODEM DVP ACAB2A30 J Execute WPLSoft Note 1 regarding Converter 2 information refer to the wiring method of PLC MPU Slave and MODEM Note 2 regarding connection cable information refer to the wiring method of PLC MPU Slave and MODEM CONNECTS PLC sends message via GSM MODEM refer to Example 5 6 GSM MODEM connects to PLC MPU RS 485 via RS 232 lt RS 485 Or it can connect to EH MPU COM2 DVP F232 via RS 232 B
4. 9 PIN D SUB male 9 PIN D SUB male PLC COM1 Port 9 PIN D SUB male MODEM COM Port 9 PIN D SUB male Tx Tx Rx Rx GND GND X 6 DSR X 8 CTS DTR 4 DTR DCD 1 DCD RTS 7 RTS X mean no used pin X 9 RI b Please see the following instruction to make Converter 2 that is the interface for GSM MODEM connects to the cable DVPACAB2A30 of PLC MPU PIN details are shown as follow ON Ns OOOOO CA INI O O O O O ON 9 PIN D SUB male 9 PIN D SUB male MODEM COM Port PEC COMI Port 9 PIN D SUB male 9 PIN D SUB male Tx Tx Rx Rx GND GND DTR DTR DSR DSR RTS RTS Delta Electronics Inc Confidential Page 54 of 57 APPLICATION NOTES Page 55 of 57 Edit by Chunchin Wang E mail chunchin wang delta com tw c PC HMI COM Port ELC COM1 Port 9 PIN D SUB female 8 PIN MINI DIN d Ifthe PLC is EH MPU it is possible to connect the RS 232 of MODEM to EH MPU COM2 DVP F232 card directly EH MPU supports MODEM connection function that can be activated by setting M1184 M1188 PIN details are Qo 9 6 99 Q 9 ao Q eJ 5999 9 PIN D SUB male 9 PIN D SUB female shown as follow MODEM COM Port PLC COM 1 Port 9 PIN D SUB male 9 PIN D SUB female DCD DCD Rx Rx Tx Tx DTR DTR GND GND DSR
5. The format of GSM MODEM communication port connected to PLC MPU should be ASCII 9600 8 N 1 COMI setting D1036 M1138 COM2 setting D1120 M1120 Step 1 design a program in PLC of sending SMS message to owner s cell phone when error happens New version WPLSoft provides message wizard for program design Delta Electronics Inc Confidential Page 31 of 57 APPLICATION NOTES Page 32 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw im Message Wizard Detect if GSM MODEM registration is successful Send data Send message by TEXT mode Send data Receive data Send message by PDU mode Send data Receive data Step 2 Message wizard will automatically generate communication format 9600 8 N 1 ASCII 8 bit Example Program is as below h41002 SET M1120 SET M1161 hy KS 11128 Step 3 Message wizard will detect if GSM MODEM registration Is successful Message Wizard Delta Electronics Inc Confidential Page 32 of 57 APPLICATION NOTES Page 33 of 57 DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw 1 Tick Detect if GSM MODEM registration is successful 2 Conditional clause for trigger RS instruction MO 3 Indicated start device number for sending data DO Data group number 9 4 Indicated start device number for receive data D100 Data group can be defined by users
6. pid ELO ata bo 1 Write to PLC Replace Row 5 Col 2 604 15872 Steps EH Series Delta Electronics Inc Confidential Page 21 of 57 APPLICATION NOTES Page 22 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Transfer Setup Select Operation Write to PLC Range Setup Whole Range Step Range Specification Start 0 End 60 Write to PLC WPLSoft No Errors Step 11 Monitor Ladder Diagram WPL Editor Dvp0 Monitor Ladder Diagram Comments M Search S View V Communication C Window W Help H m zsumERSGESGg 49q v K129 MOV H D1120 OV 81 RST M1143 K500 M K500 D1129 KD Replace Row 5 Col 2 Scan time 0 1ms 604 15872 Steps Ml SES PLC COM 1 115200bp EH Series Delta Electronics Inc Confidential Page 22 of 57 APPLICATION NOTES Page 23 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Example 4 The 56K MODEM in PC Master site can dial to the GSM MODEM in PLC MPU Slave site by using WPLSoft Once connection is done PLC MPU can upload program to PC for program modification and PC can download program modified to PLC MPU with monitoring function PC Master 2 Slave J RS 232 p 4 Converter 1 MODEM vip DVP ACAB2A30 Execute WPLSoft GSM MODEM Important Informat
7. K32 5 Wizard message trigger RS instruction to send A H41 T H54 H2B C H43 R H52 E H45 G H47 P H3F CR HD total 9 records If registration is successful it will reply G 7 0 1 Program can check if GSM MODEM is able to send message from return data 5 Message Wizard Detect if GSM MODEM registration is successful Conditional clause for trigger R3 instruction Send data Receive data Start device D 0 m Start device D 100 r Data group number Data group number M 32 Send message by TEXT mode send data Receive data Send message by PDU mode send data Receive data Example Program Delta Electronics Inc Confidential Page 33 of 57 APPLICATION NOTES Page 34 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw MIC C _ J C lt cm lt T HJ Ln 3 bh e I I hu L3 Lo C lt T tn R um I e lt T I m LJ m C M _ D MO H3F Br Mov HD D SET M11122 Mio RS DO Ka 0100 Kaz Step 4 It is able to select English message sending in Message Wizard Text Mode Message Wizard 1 Tick Send message by TEXT mode to send English message 2 Conditional clause for trigger RS instruction M1 3 Indicated start device numb
8. for dialing Modem Communication tore Factory Configuration and Store as profile oft Reset AND Restore profi Write S0 1 Auto Answer On and Store as profiled C Init Modem with AT command Dialing combines AT command Auto sending Sending Data TEL number 033626301 nas S Dialing count l o Se Receiving Data Dialingtime 100 Sec Cancel Step 5 Once completing dialing a dialogue box MODEM is connecting successful will show up and click OK Modem Communication Modem Wire Modem Restore Factory Configuration and Store as profiled Soft Reset AND Restore profiled CSM Mak Pool Write 50 1 Auto Answer On and Store as profiled AT Command Setting C Init Modem with command Dialing combines AT command Title Anto sending AT Command Sending Data TEL number 03362690 Stop Dialing count 1 Receiving Data o De Cancel Time remain 95 Sec Delta Electronics Inc Confidential Page 19 of 57 APPLICATION NOTES Page 20 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Modem 1s connecting successful Step 6 click the icon Read from PLC to download program from PLC b WPL Editor Ladder Diagram Mode Fief Edit E Compiler P Comments Search S View V Communication C Options O Window W Help H Sah SO ert OOo Ke a
9. nit Modem with AT coramand Dialing combines AT command x Title Restore Factory Configuration and Store as profiled AT Command Setting is completed Step 7 ATZ Soft Reset and Restore profileO Setting is completed will show up once AT instruction setting is done Delta Electronics Inc Confidential Page 7 of 57 APPLICATION NOTES Page 8 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Modem Communication Modem Wire Modem ey GSM Modem Protocol Write SQ amp 1 Auto On and Store as profiled AT Command Setting hit Moder with AT command C Dialing combines AT command Title Soft Reset AND Restore profileO AT Command Step 8 ATSOZI amp WO Write S021 for Auto Answer ON and Store as ProfileO If write S020 Auto Answer will OFF Setting 15 completed will show up once AT instruction setting is done Modem Communication Modern C Wire Modem GSM Modem Protocol AT Command Setting Pit Modem with AT command Dialing combines AT command x Restore Factory and Store as profiled Restore profiled Title Write S01 Auto Answer On and Store as profiled gt AT Command gt amp W EI WPLSoft setting 1s completed Step 9 click Auto sending to send AT instructions in order via WPLSoft program Setting is completed will show up when AT instructions setting via WPLSoft is don
10. setting Communication Setting Data Bits 2 Default Stop Bits 1 6 Baud Rate Station Address Py Response Setup The times of auto retry jo jm The interval of auto retry sec o jm PC baud rate setting 15 consistent with PLO Baud Rate gt bps Update Close Step 3 select Option O select MODEM Setting M to dial connection see illustration as follow b WPL Editor Dvp0 Ladder Diagram Mode mi File F Compiler P Comments M Search View V Communication C Options O Window W Help H t i8 m Communication Setting P B Change PLC Type U Cirl Alt M pid 183 El CD Bb vo M Font Setting and Comment Format x Modem Settinz M 7 Set PLC Date and Prompt to Edit Device Comment H TC 01 KEY Setup K Language Setup L gt Replace Row 0 Col 1 0 15872 Steps EH Series Delta Electronics Inc Confidential Page 18 of 57 APPLICATION NOTES Page 19 of 57 DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw Step 4 When MODEM Communication dialogue box shows up please choose GSM MODEM and select AT instruction that is set to dial phone number Key in the phone number of the GSM MODEM in Slave site and click dialing to proceed connection See illustration down left side For example the phone number of the GSM MODEM is 033626301 please fill in 033626301 in TEL number
11. 120 5 How to get phone number of message service center in system operator 1 Contact system operator directly 2 using WPLSoft set AT instruction via MODEM connection AT CSCA GSM MODEM will reply CSCA 886962400841 145 And then 886962400841 is the phone number of message service center Delta Electronics Inc Confidential Page 41 of 57 APPLICATION NOTES Page 42 of 57 DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw Modem Communication Modem C Wire Modem Restore Factory Configuration and Store as profiled uet Soft Reset AND Restore profile G GSM Modem Write 50 1 Auto Answer On and Store as profile0 AT Command Setting Init Modem with AT command C Dialing combines AT command 886932400841 145 OK Step 1 design a program in PLC of sending SMS message to owner s cell phone when error happens New version WPLSoft provides message wizard for program design tr Message Wizard lv Detect if GSM MODEM registration is successful Conditional clause for trigger RS instruction Send data Receive data Start device 0 m Start device 100 r Data group number Y Data group number 32 m Send message by TEXT mode Send data Receive data m Send message by PDU mode Send data Receive data pa z und za Next Cancel Step 2 Message wizard will automatical
12. APPLICATION NOTES 1 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Revision History Revision Revision Description Date Application Notes Release 2005 12 28 5 applications 2 Operation example example 1 initial 56k MODEM or GSM 5 example 2 GSM MODEM Master site lt gt GSM MODEM Slave site 11 example 3 GSM MODEM Master site lt gt 56K MODEM Slave site _ 17 example 4 56K MODEM Master site lt gt GSM MODEM Slave site lt a 23 example 5 GSM MODEM Slave site send out message text mode ASCII only 31 example 5 GSM MODEM Slave site send out message text mode English 4 Wiring description converter and converter2 54 pin definition of RS 232 on PC HMI and PLC COM 55 pin definition of RS 232 on MODEM and EH MPU COM2 DVP F232 card 55 pin definition of RS 232 on GM29 Sony Ericsson and TC35 Siemems 56 General parameter Explanation 57 Delta Electronics Inc Confidential Page 1 of 57 APPLICATION NOTES Page 2 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail
13. DSR RTS RTS Gis CTS RI RI 1 2 3 4 5 6 7 8 9 Delta Electronics Confidential Page 55 of 57 APPLICATION NOTES Page 56 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw e GM29 GSM MODEM RS 232 PIN DEFINITION Pm Signal Dir Voltage Description levels DCD O gt 4 Data comer detect lt 4V 2 RD O gt 4V Received data lt 4 V d ID 22W Transmitted data 08V 4 DTR 22V Data terminal ready lt 0 8V J GNO DV Ground connection DSF O gt 4V Data set ready lt 4 V Fi RTS l 22V Request to send lt 0 8V CTS oO gt 4 Clear to send lt 4 V 1 DCD E m 9 RI O 44V Ring indicator lt 4V f TC35 GSM MODEM RS 232 PIN DEFINITION Signal PIN VO Description Parameters name DCD 1 O The functions active high 25V correspondtothose low b5V of a serial interface 2 0 onthe basis of s x ipid V 24 protocol ui Washa TAD 3 active high gt 2 4v RS232 interface 9 pin pm DTR 4 active high 22 4V TOR M low lt 1 8V 10 GND 5 0 V DSR 5 active high 25V low 5V RTS 7 active high gt 2 4V low lt 1 8V CTS 8 O active high 25V low RI 3 O active high 25V HET Delta Electronics Inc Confidential Page 56 of 57 low 5Y APPLICATION NOTES Page 57 of 57 DVP PLC Perform Remote Control via GSM
14. MODEM by Chunchin Wang E mail chunchin wang delta com tw General parameter Explanation X For more Information of MODEM please refer to each brand s user manual 1 There are 4 parameters available inside MODEM The active file Profile 0 Profile 1 and Factory default profile Profile 0 1 are used to store user defined parameters The active file Current parameter of the MODEM RAM Profile 0 User defined parameter EEPRAM Profile 1 User defined parameter EEPRAM Factory default profile Factory setting parameter 2 Frequent instructions when initial MODEM Set the content of register the value v e S0 1 AT amp C0 RLSD DCD Option AT amp D0 DTR Option AT amp W W1 Store current parameter in profile0 1 ATV Display profile 0 profile 1 and active profile AT amp F F9 MODEM restore to factory setting Use WPLSoft to orderly key in AT instruction as follows l AT amp F reset MODEM to factory setting 2 ATZ equal to ATZO reset and select profile 0 as initial parameter 3 ATSOZI amp WO save the instruction of Auto Answer function in profile Once the instructions above are completed Auto Answer function of MODEM will remain ON whenever power on due to the instruction of profile 0 Also by key in ATSO 1 amp W1 when initialing MODEM AA led will remain ON when next power on No matter what parameter will be loaded in table when next power on the used paramete
15. R H52 LF HD 11 Click Finish message wizard will automatically generate program code Delta Electronics Inc Confidential Page 36 of 57 APPLICATION NOTES Page 37 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw 5 Message Wizard Text Mode Send message dial Mobile phone number 0963365585 Conditional clause for trigger R3 instruction Send data Receive data Start device D 300 r Start device D 400 m Data group number K v 32 ud Send message Conditional clause for trigger R instruction T X lo r send data Receive data Start device 320 r Start device D 500 Data group number K v 32 Message HAPPY NEW YEAR SMS dialing mobile phone number 0963365585 M2 D300 MOV D302 Delta Electronics Inc Confidential Page 37 of 57 APPLICATION NOTES DVP PLC Perform Remote Control via GSM MODEM Page 38 of 57 Edit by Chunchin Wang E mail chunchin wang delta com tw M2 Send message content HAPPY NEW YEAR MOV H47 D305 MOV H53 D306 MOV H3D D307 H22 MOV H30 D309 MOV H36 D311 MOV H35 D318 SET M1122 Delta Electronics Inc Confidential Page 38 of 57 APPLICATION NOTES Page 39 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw M3 TMR TO K10 TO TO SET M1122 Delta Electronics Inc Confident
16. TR TEL number me Extension top Dialing count 1 Sul Dislingtime I0 Sec Cancel BFS Atm 53 5 AT Command List ATEn Command Echo ATOn Chet Results Codes Control ATan Read Write Register Write amp Register Read 5 Register ATVn Result Code Fora AT amp zZn Soft Rest and Restore Profile T FLSD DCD Option AT amp Dn DTE Option AT amp Fn Restore Factory Configuration Frotile Delta Electronics Inc Confidential Page 10 of 57 APPLICATION NOTES Page ll of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Example 2 The GSM MODEM in PC Master site can dial to the GSM MODEM in PLC MPU Slave site by using WPLSoft Once connection is done PLC MPU can upload program to PC for program modification and PC can download program modified to PLC MPU with monitoring function PC MASTER PLC MPU p RS 232 k j KRY dm m NM lt es Bt vip DVP ACAB2A30 WPLSoft GSM MODEM GSM MODEM Important Information 1 The SIM card phone number of the GSM MODEM should be specific number of mobile MODEM phone number is provided by local telecom carrier 2 The format of GSM MODEM communication port connected to PLC MPU is ASCII 9600 8 N 1 COMI setting D1036 M1138 COM2 setting D1120 M1120 MODEM File F Edit E Compiler P Comments M Search S View V Communication C Options
17. Window W Help H amp tbr zm 8s m us lt es Communication Setting P i E Change PLC Type U Ct pt 6 L Pa MI ba deb kS pid 122 m EH A i vo 2 Setting and Comment Format 3 Modem Setting 7 Set PLC Date and Time T Prompt to Edit Device Comment H TC 01 KEY Setup K Language Setup L 4 Replace Row 0 Col 1 0 15872 Steps EH Series Delta Electronics Inc Confidential Page 11 of 57 APPLICATION NOTES Page 12 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Step 2 Set communication baud rate 9600 which is fixed without modification flexibility For example set the communication port of MODEM as COMI decided by the PC port that MODEM exactly connect to Baud Rate as 9600 Station Address as 1 Response Setup for both The time of auto retry amp The interval of auto retry sec as 10 and finally click OK to finish communication setting If communication quality is bad please increase the value of The time of auto retry amp The interval of auto retry sec to improve quality problem See illustration as follow WPLSoft will send instructions according to communication setting Communication Setting Data Bits 1 Default Stop Bits 1 Baud Rate on Station Address 1 m Response Setup The times of auto retry The interval of anto retry sec PC band rate settin
18. ad from PLC Replace Row 0 Col 1 0 15872 Steps a EH Series Step 7 select either Whole Rang or Step Range Specification to download program and finally click Execute Transfer Setup Select Operation Pedion Range setup o Cmed Step 8 Read from PLC dialog box will show on the screen and click OK when communication is finished Read from PLC 100 WPLSoft Delta Electronics Inc Confidential Page 26 of 57 APPLICATION NOTES Page 27 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Step 9 The ladder diagram window of remote PLC will show up WPL Editor Dyp0 Ladder Diagram Mode Fief Edit E Compiler P Comments M Search S View V Communication C Options O Window W Help H i SOOTHE AD noi Go AR Ro El A G fh vo Write to PLC Replace Row 5 Col 2 604 15872 Steps Series Step 10 Finishing program modification in WPLSoft ladder diagram window click the icon Write to PLC to upload modified program to remote PLC MPU WPL Editor Dyp0 Ladder Diagram Mode mi Fief Compiler P Comments M Search View V Communication C Options O Window W Help H amp mmmmcGESQO0OQa AR LTS nd ds AS pid Ba EL bo Write to PLC D1120 M1120 Replace Row 5 Col 2 604 15872 Steps Series Delta Electronics Inc Conf
19. age dial and set 1 APPLICATION NOTES Page 47 of 57 DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw second delay for data sending 8 When select Send message start device number of send data 15 D500 Data group number is decided by the length of message 9 When select Send message start device number of receive data is D600 Data group number is decided by users K32 10 Message Wizard will generate RS instruction to send message AT CMGS 28 A H41 T H54 H2B C H43 M H4D G H47 S H53 H3D 2 H32 8 H38 CRCHD 11 PDU code for sending message triggered by RS instruction 07 91 889623048014 11 00 OC 91 88968170506100 08 A7 OE 53F0 9054 96FB 5B50 0041 0042 0043 0 H30 7 H37 9 H39 1 H31 8 H38 8 H38 9 H39 6 H36 2 H32 3 H33 0 H30 4 H34 8 H38 0 H30 1 H31 4 H34 1 H31 1 H31 0 H30 0 H30 0 H30 C H43 9 H39 1 H31 8 H38 8 H38 9 H39 6 H36 8 H38 1 H31 7 H37 0 H30 5 H35 0 H30 6 H36 1 H31 0 H30 0 H30 0 H30 8 H38 A H41 7 H37 0 H30 E H45 5 H35 3 H33 F H46 0 H 30 9 H39 0 H30 5 H35 4 H34 9 H39 6 H36 F H46 B H42 5 H35 B H42 5 H35 0 H30 0 H30 0 H30 4 H34 1 H31 0 H30 0 H30 4 H34 2 H32 0 H30 0 H30 4 H34 3 H33 H1A 12 Click Finish message wizard will automatically generate program code 5 Message Wizard PDU Mode Send message of modem content Conditional clause for trigger RS instruction send d
20. al clause for trigger RS instruction Send data Receive data Start device D 0 Start device D 100 x Data group number Data group number M 32 Send message by TEXT mode Send data Receive data Send message by PDU mode send data Receive data Example Program Delta Electronics Inc Confidential Page 44 of 57 APPLICATION NOTES DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Step 4 It is able to select Chinese English message sending in Message Wizard PDU Mode Message Wizard 1 Tick Send message by PDU mode to send Chinese English message 2 Conditional clause for trigger RS instruction 3 Indicated start device number of send data DIO Data group number 10 4 Indicated start device number of receive data D200 Data group number can be defined by users K32 5 Wizard message trigger RS instruction to send A HA41 T H54 H2B C HA3 M HAD G H47 F H46 H3D 0 H30 CR HD total 10 records 5 Message Wizard Detect if GSM MODEM registration is successful Conditional clause for trigger R3 instruction Send data Start device 0 Data group number Send message by TEXT mode Send data Send message by PDU mode Conditional clause for trigger RS instruction Send data Start device 10 Data group number Reset Receive data S
21. and Dialing combines AT command Title AT Command TCS Outside line Mo TEL nuraber Diali ialing Extension Dialing count Dialing time 100 Sec Step 5 In MODEM Communication dialog box there are 3 built in AT instruction as follows for MODEM initial process 1 Restore Factory Configuration and Store as profile AT amp F amp W 2 Soft Reset AND Restore profileO ATZ Delta Electronics Inc Confidential Page 6 of 57 APPLICATION NOTES Page 7 of 57 Edit by Chunchin Wang E mail chunchin wang delta com tw 3 Write SO 1 Auto Answer On and Store as profile0 ATSO 1 amp W Modem Communication Modem C Wi acto Wire Modem i ORO GSM Modem Protocol Write 501 Auto Answer On and Store as profiled AT Command Setting Init Modem with AT command Dialing combines AT command Title Restore Factory Configuration and Store as profileO AT Command Init M Step 6 The initial AT instruction is AT amp F amp WO Restore Factory Configuration and Store as profileO and transmit AT instruction by Send Also it is available to set Sending Data and Receiving Data After these setting success WPLSoft will display Setting is completed Modem Communication Modem Wire Modem Restore Factory Configuration and Store Soft Reset AND Restore profiled 9 GSM Modem Procol Write 50 1 Auto Answer On and Store as profiled AT Command Setting
22. ange Setup aa Step 8 Read from PLC dialog box will show on the screen and click OK when communication is finished Read from PLC 100 WPLSoft Communication is finished Step 9 The ladder diagram window of remote PLC will show up Delta Electronics Inc Confidential Page 14 of 57 APPLICATION NOTES DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw WPL Editor Dvp0 Ladder Diagram Mode ilef Edit E Compiler P Comments M Search View V Communication C Options O Window W Help H se aaa ALEG OEELA L LELLE r orm ba le ke pid 123 m E A gl bo E D1120 M1120 M1143 M1161 MOV K500 D1129 MOV H41 D MOV H54 Replace Row 0 Col 1 604 15872 Steps EH Series Step 10 Finishing program modification in WPLSoft ladder diagram window clike the icon Write to PLC to upload modified program to remote PLC MPU WPL Editor Dvp0 Ladder Diagram Mode mi Fief EditE Compiler P Comments M Search View V Communication C Options O Window W Help H ERmEGBSO9egaR ku ai ME ES Ae AS pid 83 BD ata bo 1 Write to PLC D1120 M1120 M1143 M11651 MOV D1129 Replace Row 5 Col 2 604 15872 Steps Series Delta Electronics Inc Confidential Page 15 of 57 APPLICATION NOTES Page 16 of 57 DVP PLC Perform Remote Control via GSM MODEM
23. ata Receive data Start device G gt Start device 400 Data group number K 132 Message Number of message service center 996932400841 E BF ABC Mobile phone number 0963365585 PDU Code Conditional clause for trigger R3 instruction T 1 r Send data Receive data Start device D 500 m C Start device D 600 z Data group number K y 32 Ta Back Finish Cancel Length of message content AT CMGS 28 Delta Electronics Inc Confidential Page 47 of 57 APPLICATION NOTES Page 48 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw M2 i MOV H41 D300 MOV H32 D308 M2 SET M3 PDU code of sending message 07 91 889623048014 11 00 OC 91 88968170506100 08 A7 OE 53F0 9054 96FB 5B50 0041 0042 0043 Delta Electronics Inc Confidential Page 48 of 57 APPLICATION NOTES Page 49 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw M3 TMR T1 K10 T1 RST M2 T1 MOV H30 D500 MOV H38 D504 Delta Electronics Inc Confidential Page 49 of 57 APPLICATION NOTES Page 50 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw MOV H33 D509 MOV H34 D511 MOV H38 D512 MOV H30 D513 MOV H31 D514 MOV H31 0517 MOV H30 D518 MOV H30 D519 MOV H41 D521 Delta Electronic
24. ation as follow Communication Setting Data Bits Stop Bits Band Rate Station Address o m Response Setup The times of auto retry mu The interval of auto retry sec p PC baud rate setting Is consistent with PLC Baud Rate 0600 bps Update Delta Electronics Inc Confidential Page 5 of 57 APPLICATION NOTES Page 6 of 57 DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw Step 3 select Option MODEM Setting Setting to initial MODEM WPL Editor Dvp0 Ladder Diagram Mode File F Edit E Compier P Comments M Search S View V Communication C Options O Window W Help H wr ig Communication Setting P amp g 8 E eG E CE Change PLC Type U Ctl Alt M 8 Kh be lel RS pid 123 ma EH Z d gt o Font Setting and Comment Format E 21 Set PLC Date and Time Prompt to Edit Device Comment H TC 01 KEY Setup K Language Setup L 4 Replace Row 0 Col 1 0 15872 Steps EH Series Step 4 MODEM type selection the communication format of cable MODEM is 9600 7 E 1 and the communication format of GSM MODEM is 9600 8 N 1 GSM MODEM and some 56K MODEM brands support 9600 8 N 1 only Modem Communication Restore Factory Configuration and Store as profiled Soft Reset AND Res tore profi GSM Modem Protocol Write 501 Auto Answer On and Store as profiled AT Command Setting Init Modem with AT comm
25. chunchin wang delta com tw 5 applications CONNECTI1 GSM MODEM GSM MODEM see Notel Please refer to Example 2 a In Master site connect PC to GSM MODEM via COM port RS 232 b Connect the GSM MODEM in Master site to the MODEM in Slave site of PLC MPU via SIM card dialing C In Slave site connect GSM MODEM to PLC MPU COMI RS 232 via converter 1 see Note 2 and DVP ACAB2A30 Or GSM MODEM can directly connect to the COM2 DVP F232 of EH MPU via RS 232 see Note 3 PC MASTER PLC MPU Co SLAVE RS 232 k A d Converter 1 gt ay mE e 7 Lig DVP ACAB2A30 WPLSof IN 2 GSM MODEM GSM MODEM Notel the SIM card phone number of the GSM MODEM should be specific number of mobile MODEM phone number is provided by local telecom carrier Note2 regarding of Converter 1 information refer to the wiring method of PLC MPU Slave and MODEM Note3 regarding connection cable information refer to the wiring method of PLC Slave and MODEM CONNECT GSM MODEM lt 56K MODEM refer to Example 3 a In Master site connect PC to GSM MODEM via COM port RS 232 b Connect the GSM MODEM in Master site to the 56K MODEM in Slave site of PLC MPU via SIM card dialing see Note 1 C In Slave site connect 56K MODEM to PLC MPU COMI RS 232 via converter 2 see Note 2 and DVPACAB2A30 Or 56K MODEM can directly connect to the COM2 DVP F232 of EH MPU via RS 232 see Note 3 PC Master PLC 7 l eee
26. e Delta Electronics Inc Confidential Page 8 of 57 APPLICATION NOTES Page 9 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Modem Communication Modem C Wire Modem GSM Modem Protocol AT Command Setting it Modem with AT command C Dialing combines AT command x Title Write SO Auto Answer On and Store as profileO nd AT Command C tC s C Init Modem Dialing Step 10 the AA led of 56K MODEM will be lit after setting and it will remain ON at next time power on that means MODEM initial completion Some MODEM or GSM MODEM doesn t have AA led but the function is the same Important Information l For more information about AT instructions please refer to MODEM user manual 2 For MODEM communication please click Help of AT command icon for brief explanation See illustration as follow Delta Electronics Inc Confidential Page 9 of 57 APPLICATION NOTES Page 10 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Modem Communication Modem Cornmand List Wire Modem cC GSM Modern Protocol AT Command Setting nit Modem with AT command Dialing combines AT command x Title Restore Factory Configuration and Store as profile AT Command AT amp F amp WO Ad Outsideline A
27. en power on b Please refer to Example I for re initial instructions for the MODEM of PLC MPU 3 When communication quality is bad the message of Redial please will show up as following illustration to check again if MODEM connection is normal Modem Communication Modem Wire Modem Restore Factory Configuration and Store as profileO Soft Reset AND Restore profile GSM Modem Write S0 1 Auto Answer On and Store as profiled AT Command Setting Init Modem with AT command Dialing combines AT command gt WPLSoft 00 7 Sending Redial please Owsidelne f TEL number 0937831246 Dialing Extension f _ 1 Dialing count 1 Dialing time 100 Sec Off line state 2 Delta Electronics Inc Confidential Page 29 of 57 APPLICATION NOTES Page 30 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Follow up action 1f above dialog box shows up a Please properly Increase the value of The time of auto retry amp The interval of auto retry sec to improve quality problem See illustration as follow Communication Setting Data Bits Stop Bits gt Baud Rate Station Address 1 I Response Setup The times of auto retry p m The interval of auto retry sec o lm PC baud rate setting is consistent with PLC Baud Rate 9600 bps Update Close b Phone number and ext
28. ension number can be keyed in TEL Number and use comma gt to distinguish the phone and extension number The more commas the more delay for communication Please properly use the comma to prevent too much delay from too many commas See illustration as follow Modem Communication Modem um aces oft Reset AND Restore profile COM Mo Protocol Write 50 1 Auto Answer On and Store as profiled AT Command Setting nit Modem with AT command Dialing combines AT command 00 See Time remain 98 Sec Delta Electronics Inc Confidential Page 30 of 57 APPLICATION NOTES Page 31 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Example 5 Use RS 232 to RS 485 Converter for GSM MODEM connect to the COM2 RS 458 of PLC MPU By using PLC program set the PLC to send message to owner s cell phone when error happens Text mode support ASCII only PLC Converter A oe i d GSM MODEM ns 485 mportant Information 1 It is very convenient to send or receive short message via Text mode PDU mode can be applied to support both Chinese and English message There are three formats for PDU mode to send or receive message 7 bit 8 bit and UCS2 7 bit is for ASCII word 8 bit for sending message and UCS2 for sending Unicode word 2 The SIM card of GSM MODEM should have SMS function supported by local telecom carrier 3
29. er of send data D10 Data group number 10 4 Indicated start device number for receive data D200 Data group can be defined by users K32 5 Wizard message trigger RS instruction to send 41 T H54 H2B C H43 M H4D G H47 F H46 H3D 1 H31 CR HD total 10 records Delta Electronics Inc Confidential Page 34 of 57 APPLICATION NOTES Page 35 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw 5 Message Wizard Detect if GSM MODEM registration is successful Conditional clause for trigger R3 instruction send data Receive data Start device D 0 r Start device D 100 r Data group number Data group number v 32 v Send message by TEXT mode Conditional clause for trigger R instruction Send data Receive data Start device D 10 r G gt Start device D 200 m Data group number Data group number v 32 Send message by PDU mode r Send data Receive data Example Program hM1 H43 013 MOW D1 Delta Electronics Inc Confidential Page 35 of 57 APPLICATION NOTES Page 36 of 57 DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw MOS H31 Dio Mon HD 019 SET M11122 MT RS D10 KIO D200 32 Step 5 click Next in Message Wizard to enter English m
30. essage mode Message Wizard 1 Key in the mobile phone number to send message 0963365585 or with international dialing code 886963365585 2 When select Send message dial additional clause for trigger RS instruction is M2 3 When select Send message dial start device number of send date is D300 data group number is decided by the length of mobile phone number 4 When select Send message dial start device number of receive date is D400 Data group number can be defined by users K32 5 When select Send message Conditional clause for trigger RS instruction is TO Cooperate to Send message dial and set 1 second delay for data sending 6 When select Send message start device number of send data 15 D320 Data group number is decided by the length of message 7 When select Send message start device number of receive data is D500 Data group number is decided by users K32 8 Key in English message HAPPY NEW YEAR 9 Message Wizard will generate RS instruction to proceed message sending via Send message dial SMS A HA1 T H54 H2B C H43 M HAD G H47 S H53 H3D H22 70 H30 9 H39 76 H36 3 H33 73 H33 76 H36 5 H35 5 H35 78 H38 5 H35 H22 LF HD 10 Message Wizard will generate RS instruction to proceed message sending via Send message H HA8 A HA1 P H50 P H50 Y H59 space H20 N HABP E H45 W H57 space H20 Y H59 E HA45 A HA41
31. etry sec as 10 and finally click OK to finish communication setting If communication quality is bad please increase the value of The time of auto retry amp The interval of auto retry sec to improve quality problem See illustration as follow WPLSoft will send instructions according to communication setting Communication Setting Data Bits Default Stop Bits 1 Baud Rate l Station Response Setup The times of anto retry o The interval of anto retry see m PC band rate setting 15 consistent with FLO Baud Rate bps Update Close Step 3 select Option O select MODEM Setting M to dial connection see illustration as follow b WPL Editor Dvp0 Ladder Diagram Mode a File F Edit E Compiler P Comments Search S View V Communication C Options O Window W Help H ing m r Communication Setting P SSR ERE SE Change PLC Ctrl Alt M ba lel KS pid 123 EH Z H vo A Font Setting and Comment Format e Modem Setting M 2 Set PLC Date and Prompt to Edit Device Comment H TC 01 KEY Setup K Language SetuptL gt Replace Row 0 Col 1 0 15872 Steps EH Series Delta Electronics Inc Confidential Page 24 of 57 APPLICATION NOTES Page 25 of 57 DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw Step 4 When MODEM C
32. g 15 consistent with PLC Band Rate Close Step 3 select Option O select MODEM Setting M to dial connection see illustration as follow WPL Editor Dvp0 Ladder Diagram Mode mi File F Edit E Compiler P Comments Search S View V Communication C Options O Window W Help H t ing Communication Setting P is E 8 E zz a E Change PLC 5 Kf bu deb ke pid 123 a EH Z gb vo Font Setting and Comment Format 3 2 Set PLC Date and Time Prompt to Edit Device Comment H TC 01 KEY Setup K Language Setup L Replace Row 0 Col 1 0 15872 Steps EH Series Delta Electronics Inc Confidential Page 12 of 57 APPLICATION NOTES Page 13 of 57 DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw Step 4 When MODEM Communication dialogue box shows up please choose GSM MODEM and select AT instruction that is set to dial phone number Key in the phone number of the SIM card of the GSM MODEM in Slave site and click dialing to proceed connection See illustration down left side For example the phone number of the SIM card in GSM MODEM is 0937831246 please fill in 0937831246 in TEL number for dialing Modem Communication Modem Wire Modem iay spa and Store as profiled tore profi amp GEM Mode Protocol Write SO 1 Auto Answer On and Store as profiled AT Com
33. ial Page 39 of 57 APPLICATION NOTES Page 40 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw K15 K32 M1123 RST M1123 M1127 M1123 RST M1123 Delta Electronics Inc Confidential Page 40 of 57 APPLICATION NOTES Page 41 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Example 6 Use RS 232 to RS 485 Converter for GSM MODEM connect to the COM2 RS 458 of PLC MPU By using PLC program set the PLC to send message to owner s cell phone when error happens PLC A ay RS 232 n w 3 GSM MODEM RS Important Information 1 115 very convenient to send or receive short message via Text mode PDU mode can be applied to support both Chinese and English message There are three codes for PDU mode to send or receive message 7 bit 8 bit and UCS2 7 bit is for ASCII word 8 bit for sending message and UCS2 for sending Unicode word For sending Chinese message UCS2 should be selected Unicode 2 The SIM card of GSM MODEM should have SMS function supported by local telecom carrier If receiving cell phone doesn t support Unicode Chinese message won t be displayed by the phone 4 format of GSM MODEM communication port connected to PLC MPU should be ASCII 9600 8 N 1 COMI setting D1036 M1138 setting D1120 M1
34. idential Page 27 of 57 APPLICATION NOTES Page 28 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Transfer Setup Select Operation Write to PLC Range Setup Whole Range Step Range Specification Start 0 End ea Write to PLC WPLSoft No Errors Step 11 Monitor Ladder Diagram 5 WPL Editor Dvp0 Monitor Ladder Diagram Comments M Search S View V Communication C Window W Help H EESE t OOD amp amp K129 MOV H D1120 OV 81 RST M1143 K500 M K500 D1129 KD Replace Row 5 Col 2 Scan time 0 1ms 604 15872 Steps E SES PLC COM 1 115200bp EH Series Delta Electronics Inc Confidential Page 28 of 57 APPLICATION NOTES Page 29 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw X Notes l After step 5 MODEM is connecting successful is done via WPLSoft the operations of program upload download or program edit for remote PLC MPU is as same as the operations of PC directly connecting to PLC via cable DVPACAB2A30 2 After PLC MPU connection successes sometimes the following dialog box may show up when WPLSoft executes upload download or monitor WPLSoft PERS A EE BURR UD EORR RI Follow up actions when the above dialog box shows up a Make sure MODEM is properly connected to PLU MPU Also check if PLC works normally wh
35. ion 1 The SIM card phone number of the GSM MODEM should be specific number of mobile MODEM phone number 15 provided by local telecom carrier 2 The format of GSM MODEM communication port used to connect to PLC MPU is ASCII9600 8 N 1 COMI setting D1036 M1138 COM2 setting D1120 M1120 Stepl Use WPLSoft to select Option Communication Setting P to set communication port that is connected with MODEM br WPL Editor Dyp0 Ladder Diagram Mode a Fie F CompilerP Comments l D Search View V Communication C Options Window OW HelpiH pes di dem Communication OUS pe Cale AE be lelke pid 123 mu EH A CD m wo A Font Setting and Comment Format 3 Modem Setting M Set PLC Date and Time T Prompt to Edit Device CommentiH TC 01 KEY SetuptK Language Setup Li lit hl Replace Row 0 Col 0 15872 Steps EH Series Delta Electronics Inc Confidential Page 23 of 57 APPLICATION NOTES Page 24 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Step 2 Set communication baud rate 9600 which is fixed without modification flexibility For example set the communication port of MODEM as COMI decided by the PC port that MODEM exactly connect to Baud Rate as 9600 Station Address as 1 Response Setup for both The time of auto retry amp The interval of auto r
36. k 97 NO Converter 2 RUE Exc 1 EXR P LN es im MODEM DVP ACAB2A30 Execute WPLSoft GSM MODEM Delta Electronics Inc Confidential Page 2 of 57 APPLICATION NOTES Page 3 of 57 DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw Notel in Slave site the phone line should be dedicated to 56K MODEM Extension number is prohibited Note2 regarding Converter 2 information refer to the wiring method of PLC MPU Slave and MODEM Note3 regarding connection cable information refer to the wiring method of PLC MPU Slave and MODEM CONNECT3 56K MODEM GSM MODEM refer to Example 4 a In Master site connect PC to 56K MODEM via COM port RS 232 b In Master site connect 56K MODEM to general phone line By dialing via phone line 56K MODEM will connect to the GSM MODEM of PLC MPU in Slave site C In Slave site connect GSM MODEM to PLC MPU COMI RS 232 via converter 1 see Note 1 and DVPACAB2A30 Or GSM MODEM can directly connect to the COM2 DVP F232 of EH MPU via RS 232 see Note 2 In Slave site connect 56K MODEM to PLC MPU COMI RS 232 via converter 2 see Note 2 and DVPACAB2A30 Or 56K MODEM can directly connect to the COM2 DVP F232 of EH MPU via RS 232 see Note 3 PC Master PLC T Slave J RS 232 ay Converter 1 _ L E TM Hype c I MODEM w DVP ACAB2A30 Ld Execute WPLSoft GSM MODEM
37. ly generate communication format 9600 8 N 1 ASCII 8 bit Program code is as Delta Electronics Inc Confidential Page 42 of 57 APPLICATION NOTES Page 43 of 57 DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw below h41002 Moy 01120 SET h41 120 SET M1161 MO KS 11128 Step 3 Message wizard will detect if GSM MODEM registration Is successful Message Wizard 1 Tick Detect if GSM MODEM registration is successful 2 Conditional clause for trigger RS instruction MO 3 Indicated start device number of send data DO total 9 records 4 Indicated start device number of receive data D100 Data group number can be defined by users K32 5 Wizard message trigger RS instruction to send A HA1 T H54 H2B C H43 R H52 E H45 G H47 H3F CR HD Total 9 records If registration is successful it will reply G 7 0 I If registration is not successful it will reply 7 707 72 Program can check if GSM MODEM is able to send message from return data Delta Electronics Inc Confidential Page 43 of 57 APPLICATION NOTES Page 44 of 57 DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw Message Wizard iv Detect ifGSNI MODEM registration is successful Condition
38. mand Setting hit Modem with AT command Dialing combines AT command 4 Tide Command N Cs 2 TELnunbe 937348 Das Stop Dialingcount I Dialingtime 100 Cancel Modem Communication Modem Wire Modem actory Configuration and Store as profile Soft Reset AND Restore profiled 9 GSM Mode Protocol Write SO 1 Auto Answer On and Store as profile0 AT Command Setting C Init Modem with AT command Dialing combines AT command x Title AT Command gl it Modem TEL mumter 9537931246 Dialing ount f 59 Diling me 7 Sec __ Idialing Time remain 95 Sec Delta Electronics Inc Confidential Page 13 of 57 APPLICATION NOTES Page 14 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Modem is connecting successful Step 6 click the icon Read from PLC to download program from PLC WPL Editor Ladder Diagram Mode mi Fief EditE Compiler P Comments M Search View V Communication C Options O Window W Help H B a s 9 az pt PR be lel kS pid 123 A fin vo Read from PLC Replace Row 0 Col 1 0 15872 Steps m EH Series Step 7 select either Whole Rang or Step Range Specification to download program and finally click Execute Transfer Setup Select Operation Read from PLC R
39. nication port used to connect to PLC MPU is ASCII9600 8 N 1 COMI setting D1036 M1138 COM2 setting D1120 M1120 MODEM File F Edit E Compiler P Comments M Search S View V Communication C Options Window W Help H wr Tats ae B Communication Setting P E Change PLC Type U Cu ARM Pa be deb k pid 123 mu EH A gn vo Font Setting and Comment Format amp Modem Setting M 7 Set PLC Date and Time T Prompt to Edit Device Comment H TC 01 KEY Setup Language Setup L gt EH Series Replace Row 0 Col 1 0 15872 Steps Delta Electronics Inc Confidential Page 17 of 57 APPLICATION NOTES Page 18 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw Step 2 Set communication baud rate 9600 which is fixed without modification flexibility For example set the communication port of MODEM as COMI decided by the PC port that MODEM exactly connect to Baud Rate as 9600 Station Address as 1 Response Setup for both The time of auto retry amp The interval of auto retry sec as 10 and finally click OK to finish communication setting If communication quality is bad please increase the value of The time of auto retry amp The interval of auto retry sec to improve quality problem See illustration as follow WPLSoft will send instructions according to communication
40. ommunication dialogue box shows up please choose GSM MODEM and select AT instruction that is set to dial phone number Key in Outside line number with 0 and TEL number with the phone number of the SIM card of GSM MODEM in Slave site Finally click dialing to proceed connection See illustration down left side For example the outside line in Master site is 0 and the phone number in GSM MODEM Slave site is 0937831246 please fill O in outside line and 0937831246 in TEL number Finally click Dailing Modem Communication Modem Wire Modem Restore Factory Configuration and Store as profiled ais Soft Reset AND Restore profile GSM Moder Protocol Write 501 Auto Answer On and Store as profileO AT Command Setting C Init Modem with AT command Dialing combines AT command gt Stop Modem Communication Modem Wire Modem iud NT RN and Store as profiled tore profi GSM Mode Protocol Write SQ41 Auto Answer On and Store as profiled AT Command Setting C hit Modem with AT command Dialing combines AT command Title xn AT Command Outside line o TEL number 0937831246 Extension Dialing count 1 e Dialing time Idialing Time remain 98 Sec Delta Electronics Inc Confidential Page 25 of 57 APPLICATION NOTES Page 26 of 57 Edit by Chunchin Wang E mail chunchin wang delta com tw r 8 E Re
41. r will always be ATSO 1 Auto Answer function remain ON Delta Electronics Inc Confidential Page 57 of 57
42. s Inc Confidential Page 50 of 57 APPLICATION NOTES Page 51 of 57 DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw MOV H30 D536 MOV H30 D540 MOV H45 D541 Delta Electronics Inc Confidential Page 51 of 57 APPLICATION NOTES Page 52 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw MOV H39 0550 MOV H36 0551 MOV H46 0552 MOV H30 D557 MOV H30 D556 MOV H30 D559 e H34 D560 MOV H31 D561 MOV H30 D562 MOV H30 D563 MOW H34 D564 MOV H32 D565 MOV H30 D566 MOV H30 D567 MOV H33 D569 Delta Electronics Inc Confidential Page 52 of 57 APPLICATION NOTES Page 53 of 57 DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw MOV 1 D570 K71 M1127 RST M1127 M1129 RST M1129 Delta Electronics Inc Confidential Page 53 of 57 APPLICATION NOTES Page 54 of 57 DVP PLC Perform Remote Control via GSM MODEM Edit by Chunchin Wang E mail chunchin wang delta com tw Wiring Method of PLC MPU and MODEMIin Slave site a Please see the following instruction to make Converter 1 that is the interface for GSM MODEM connects to the cable DVPACAB2A30 of PLC MPU PIN detail is shown as follow QN O OOOOO O ON
43. tart device 100 m Data group number K 32 Receive data Receive data Start device 200 Data group number v 132 x Next Cancel Delta Electronics Inc Confidential Page 45 of 57 APPLICATION NOTES Page 46 of 57 DVP PLC Perform Remote Control via GSM MODEM by Chunchin Wang E mail chunchin wang delta com tw 1 Step 5 click Next in Message Wizard to enter Chinese English message mode MOV H41 D10 MOV H2B D12 MOV H43 D13 MOV H4D D14 MOV HAT D15 MOV H3D D17 OV D13 SET M1122 K32 Message Wizard 1 When select Send message dial additional clause for trigger RS instruction is M2 2 When select Send message dial start device number of send date is D300 data group number is decided by the length of mobile phone number 3 When select Send message dial start device number of receive date 15 D400 Data group number can be defined by users K32 4 Key in the phone number of message service center 0932400841 or with international dialing code lt 886932400841 gt 5 Key in the mobile phone number to send message 0963365585 or with international dialing code 886963365585 6 Content of sending message Delta Electronics ABC click OK and then you will see the Unicode of the message in the window 7 Whenselect Send message Conditional clause for trigger RS instruction is T1 Delta Electronics Inc Confidential Page 46 of 57 Cooperate to Send mess
44. y using PLC program set the PLC to send message to owner s cell phone when error happens to PLC system PLC l i Converter Slave A Qro 5 v 2 GSM MODEM ns 485 Delta Electronics Inc Confidential Page 4 of 57 APPLICATION NOTES Page 5 of 57 DVP PLC Perform Remote Control via GSM MODEM edit by Chunchin Wang E mail chunchin wang delta com tw Operation Example Example 1 Use PC WPLSoft program to initial 56K or GSM MODEM to activate the Auto Answer function that will remain ON after re power on Step 1 Properly connect GSM MODEM or 56K MODEM to PC by RS 232 cable At the same time install SIM card in GSM MODEM connect 56K MODEM to phone line After that enter WPLSoft WPL Editor Dvp0 Ladder Diagram Mode mi File F Edit E Compiler P Comments M Search S View V Communication C Options O Window W Help H w ze m mus ae Communication Setting P i t Change PLC Type U my 5 Kf bu deb ke pid 123 a EH Z og 50 A Font Setting and Comment Format amp Modem Setting M 7 Set PLC Date and Time T Prompt to Edit Device Comment H TC 01 KEY Setup Language Setup L Replace Row 0 Col 1 0 15872 Steps EH Series Step 2 select Options select Communication Setting P to set communication port as MODEM connection port No modification for other setting For example if COMI is used to connect MODEM and PC select COM1 and click OK See illustr
Download Pdf Manuals
Related Search
Related Contents
Hunter Scope with H130/H59/H425 Manual Copyright © All rights reserved.
Failed to retrieve file