Home
User manual (Preliminary Edition)
Contents
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11. for the timer To use TIMER as the input event Click on the arrow near the Input event drop down list box and select the TIMER input event Add Condition Input E vert Add Output Event Dutput Evert DUTPUT 1 w FOREVER wl Hemeve this event Figure 40 Input Event Timer 1 48 cz Duetech
12. 3 Click OK Buzzer Output Event You can have the STP Basic give a buzz of a specific frequency when it receives the input event This is the Buzzer feature of the STP To set the Buzzer as the output event 1 Click on the arrow near the Output Event list box and select BUZZER 2 Select the buzzer tone sound in the Output Value box You can type ina value between 0 1023 Alternatively you can select the number from the drop down list Add Condition Input Event INPUT 1 HIGH s Add Output E vent Output Event BUZZER ng Remove this ewent Figure 59 Output Event BUZZER 3 Click OK Reset Output Event The RESET Output Event will reset the device upon receiving the specified input You can use this for example to turn off an alarm that has been triggered by a previous input event To make RESET as the output event for the STP 1 Click on the arrow near the Output Event list box and select RESET 2 Click OK Add Condition Input Event EIEN HIGH ng Add Output Event Output Event RESET We Remove this event
13. Add Condition Input Event INPUT 1 HIGH Add Dutput Event Output Event To 523123871 Remove this event Output message GEED 13554 052 r 054 Turning on the alarm system 052 CALLER ID Output Event OUTPUT 1 ng CLOSE np FOREYER ak Remove this event Figure 54 Output Event SMS 6S 22 57 c Duetech Beres Ltd 3 Fill in the message text for the SMS in the Output message text box 4 Click OK GPRS Output Event You can have the STP Basic send a GPRS message to you via your Internet server in the event of something triggering the specified input or a power failure The GPRS message is sent to the IP Address or domain name and Port that you specify To set the STP Basic to send you a GPRS message 1 Click on the arrow near the Output Event drop down list box and select GPRS as the output event 2 Supply the IP or the domain name and Port in the To text box The format for the IP PORT combination is IP ADDRESS PORT For example 192 168 1 1 1023 where 192 168 1 1 is the IP Address and 1023 is the Port The IP Address is in the format 0 0 0 0 and the Port is any number up to 65000 The
14. 43 Importing a List of Phone Numbers into the Phonebook 43 SECTION 4 4 SETTING THE STP S INPUT EVENT esse es ese ese ees ee ee see ee se see ee ee ee 44 Digital Input Event df EP ee eo ke ee ae se AE ee ke ea 46 OUTPUT Input Event SE ed ee ee ke AGE Re RE 46 Main Power Input Event 47 Vout Input Event lb ia MMs RE EE RE RR Re 47 Timer Input Event gt a saaan 48 SMS Input Event 49 RS232 INpi vent a EA EER RE ERA EES ER EE RE ERA EE ER EE ke Ee RE Ee 51 DISARM Input Event 52 EI lee EED AE EE EE EE Ee 52 Tag Change Input Even iese ss se ss ee se eek se eek Ge ee Ee ee Ee ee Ee ee ee ee ee ee ee 53 SECTION 4 5 SETTING THE STP s OUTPUT EVENTS ee esse ee ee ese ee ee ee ee ee ee ee ee 54 Digital Output Event iss esse see see ee see ee Ee ee Ee ee ee ee ee ee ee ee ee ee ee ee ee 55 yet OO EN ee EE GE N N GE EG Ge EE Ee 56 Timer Output Event a 56 SMS Output Event 57 GFR OU UFE VORE APA rua pk ES NAPAG EE NE seine EE EG 58 MEDE Ge DE EV o OE EO OR N EE EE N 59 Outgoing Call Output Event iese esse ee aaa 59 Buzzer Output Event 60 RESE OUD TV CI ae A E 60 DISARM Output Event 61 ALARM EUIBULEVERE see NIPA NG AAO GENE ee oe 61 cz Duetech Beres Ltd MODBUS READ Output Event sesse aa 62 MODBUS WRITE Output Event 64 SE
15. Figure 60 Output Event RESET 60 cz Duetech Beres Ltd DISARM Output Event DISARM is a command that is useful in implementing an alarm system Let s say you have a sensor set as the input to the STP when someone triggers the sensor an alarm will sound If you use DISARM as the output event you can voluntarily arm or disarm the security system so that it sounds off the alarm only at specific times See section 4 8 Some Useful Examples To make DISARM as the output event of the STP 1 Click on the arrow near the Output Event list box and select DISARM 2 Set the DISARM value you want to set in the box Add Condition Input Event INPUT 1 a Add Dutput Event Output Event DISARM Remove this event Figure 61 Output Event DISARM e TRUE Disarms the system turns off the alarm when receiving the specified input e FALSE Enables the alarm system to detect trespassers when receiving the specified input e TOGGLE Alternates between the TRUE and FALSE state upon receiving the specified input event 3 Click OK ALARM Output Event You can use the STP Basic device as an alarm When you set ALARM as the output event the STP Basic will emit a high pitched alarm sound until you reset the STP Basic device To set ALARM as the output event 1 Click on the arrow near the Output Event list box and select ALARM 2 Set the alarm status in the list box Select TRUE to turn the alarm on and FA
16. Figure 70 Output Event Write to Multiple Output Coils This function will send multiple data values to multiple output coils addresses located at the output location of the slave device e Set the slave ID number e Set the Start ADD number 0 65535 e At the DATA text box write the data value Maximum number of data values to be sent is 16 bits separated by comma on a single command e Click OK Below is an example of sending data values to multiple output coils with start address number 100 located at slave device ID number 1 Add Condition Input Event EE we HIGH ng Add Dutput Event Output Event MODBUSWRITE ww Remove this event d EA Slave ID 1 Command Multi output coil EE 100 ka Ox0000 O0xFFFF DATA 101100101110 The start address will get the most left value and so on Figure 71 Output Event Write to Multiple Output Coils example 67 cz Duetech Beres Ltd Section 4 6 Editing the STP Basic Instruction Set Saving a set of instructions in a file After you have supplied a series of instructions to a particular STP Basic device you might want to save it for later use For example if you move the STP Basic unit temporarily to a different circuit you will want to restore the previous set of instructions when you go back to the first device Logic Flow Basic has a facility for this in the File menu To save a set of instructions 1 Click on the File menu at the top of the screen and selec
17. Connect the RS232 cable supplied with the STP Basic to the STP Basic unit via the socket labeled RS232 PWR Relay Outputs Digital Inputs OUT 3 2 1 3 2 1 tlc nocl c noc lc Nod 0000000000001 1 2 3 4 5 6 7 8 9 10 11 12 Figure 10 View of STP Basic showing the RS232 socket If RS232 connector is not located on your computer than a converter of USB to RS232 not supplied in kit will be needed instead Attaching the Relay Output The STP Basic has three relay dry contact outputs These outputs are configured by default using jumper to be at normally open NO status To change the default connection to normally closed the user can replace the jumper located on the PCB to the appropriate location ATTENTION e When attaching the inputs and outputs be sure to use wire within the range of 24 16 AWG 0 25 1 5 mm gauge 1 Didital Inputs Relay Outputs out 3 2 1 3 2 1 FIT node nodc Noal 4 09000000P000 IE 5 6 Figure11 Input Output side of STP Basic illustrating where to attach the relay output The terminal blocks used by the relay outputs are enumerated in the following table 22 cz Duetech Beres Ltd Table 6 Ports for Attaching the Relay Outputs U Terminal Block Number Terminal 3 C Common 3 Terminal 4 NO C3 Normally Open Close Connects the circuit when the relay is activated Disconnects the circuit when the relay is inactive
18. click on the symbol next to the input event 72 cz Duetech Beres Ltd Section 4 7 Writing Logic to the device Procedure for Writing the Instructions to the STP Once you have specified the inputs and outputs to the STP Basic in the Logic Flow Basic software you now have to write the commands to the device This is performed using the Flash command To write the instructions to the STP 1 When you have completed adding input and output conditions to the STP Basic write the conditions and setups to the controller by clicking on the Write Logic to Device option in the main screen i Com Port Add Condition Remove Al Phonebook Write Logic To Device Read Inputs Configurations LOGIC FLOW BASIC Digital Input 1 Cu Digital Inputz ma Digital Inputs Digital Outpur1 MEA Digital Output DMA Digital Outputs Id ent Dat Vi ey gt Hash Phonebook Flash Phonebook Yes 3 Click Yes The status bar at the lower part of the Logic Flow Basic opening screen will show the progress of the writing to the STP and you will be informed that the program is flashing the Phonebook le ce End5ession 16 1 26 578 lt LogicConfgD one Status Bar Event Report COM1 9600 RTS CTS OTR DSR RING DCD Flashing Phonebook Figure 78 STP Progress Status 73 cz Duetech Beres Ltd If the write to the device was successful you will receive the prompt Flash Success Flash Success Section 4 8 Some
19. Agriculture Home automation Security The STP Basic accepts three digital inputs three dry contact relay outputs and has one voltage output Section 1 1 About This Manual This manual will guide you through the setup and major uses of the Smart Terminal Plus Basic STP Basic a powerful remote control and monitoring device This manual includes A list of the uses of the STP Basic STP Basic features and benefits A general description of the STP Basic Instructions for installing the STP Basic hardware Instructions for installing the Logic Flow Basic software Instructions and examples of using the Logic Flow Basic interface Section 1 2 Uses of the STP Basic The STP Basic owes its name to the fact that it employs a minimal number of inputs and outputs and the ability to communicate with up to 32 devices using MODBUS RTU communication However this poses no limitation on the range of uses for the STP Basic You can employ the STP Basic in Security Home and Industrial automation Gate Control General Warning System Gateway Telemetry solutions Agriculture Climate Monitoring Cooling Control Automation cz Duetech Beres Ltd Section 1 3 Safety Advice The STP Basic designed to be used only under the prescribed conditions Ensure that all the specifications stated in this manual are observed Tampering with the hardware or software or failure to observe the warnings stated in this manual may lead to serious physic
20. Beres Ltd SMS Input Event A useful feature is using an SMS as the input event You can send an SMS to the STP Basic device and that can serve to trigger the STP Basic to give the programmed output To set an SMS message as the input to the STP Click on the arrow near the Input event drop down list box and select SMS Click on the arrow near the From list box and select from the possible senders of an incoming SMS message to the device Add Condition Input E vent 0523123871 Add Output E vent Input Message FOREVER F Remove this event Figure 41 Input Event SMS Select ALL to allow all SMS senders to activate the STP Basic by sending the specified SMS message to the device Select GROUP to allow only SMS senders listed in your Phonebook to activate the STP Basic by sending the specified SMS message to the device You can also enter in a specific phone number that will be able to send an SMS to activate the specified output event Either select the number from the drop down list which are the entries in your Phonebook or type it in manually in the From list box Enter the text of the SMS message that will serve to activate the device in the Input Message box The message length should be no longer then 60 English characters Add Condition Input Event From 0523123671 v Add Dutput Event Input Message Turn on the boiler Dutput Event OUTPUT 1 vw OFEN we FOREVER ngk Remove this event Figur
21. Mounting the STP Basic Unit Ee ER ER ee Ee ee Ee ee ee ee ee 18 Connecting the GSM Antenna iii Ee ER EE ER RR EE ee Ee ee ee Ee ee ee ee 19 Installing the SIN Card VEE WEE RES RE EE RE EE AE EE AE EE 20 OV GE Ti EE N 22 Attaching the Relay Quitput aano EE ee Ee ek ee ee ee ee ee ee ee 22 Installing the Voltage OulDU ee ee ER Ee ee ee ee ee ee ee ee ee 24 Instaliingpihe Digitalgput ee EE RE aaa 25 Connecting the Power Supply ie Ee ER ee EE ek ee ee ee ee ee ee ee 26 Establishing RS485 COMMUNICATION ee ee Ee ee ee Ee ee ee ee ee 28 SEETIONS S STE OPERATION RA GR GE RE N RE AA ee Sk Ee 30 Status da Po N N ee ee 30 Reset BUUON RE IE OE EE N ON ER Naan 32 cz Duetech Beres Ltd CHAPTER 4 USING LOGIC FLOW BASIC ese ee ee sek koe se RR ee EER Rae EER Rae e 33 SECTION 4 1 GETTING STARTED WITH LOGIC FLOW BASIC ee ees ee ees ee ee ese 33 STP Basic Menus and Toolbar ees ee ee ek ee Ee ee ee EE ee ee ee ee 34 SECTION 4 2 CONFIGURATION SETTINGS sees a 38 Configuration Settings Screen aaa 38 SECTION 4 3 READ INPUTS COMMAND 0scccceececeeceeceecesseeeesseeeessaeeesaeeesaaes 41 PHONEBOOK SE TUP aa AA EE EE EO EE 41 Adding a Number to the PhonebDOOK eeuse ees ee eek Ee ee Ee ee ee Ee ee ee ee 41 Removing a Phone Number from the Phonebook iese ses see seek ee 43 Exporting a List of Phone Numbers from the Phonebook into a File
22. Option of Normally Open or Close is decided by jumper C2 Common 2 Terminal 6 NO C2 Normally Open Close Connects the circuit when the relay is activated Disconnects the circuit when the relay is inactive Option of Normally Open or Close is decided by jumper C1 Common 1 Terminal 8 NO C1 Normally Open Close Connects the circuit when the relay is activated Disconnects the circuit when the relay is inactive Option of Normally Open or Close is decided by jumper The STP Basic device can be used to control three digital outputs In the following illustration one load is attached to the STP to the Normally Open terminal Upon receiving the specified input the load attached to NO Cx will be part of a complete circuit Digital Output 3 N _ po Q ar po O O Digital Output 1 23 cz Duetech Beres Ltd RELAY OUTPUT Figure 12 Simple circuit illustrating the STP Basic Attached to an output load Installing the Voltage Output The STP Basic has one controlled Voltage Output The value of this can be changed according to the main input voltage of the STP Basic Practically the source input voltage can range from 9 24 VDC and therefore the output voltage can range from 9 24 VDC For example If main input voltage is 20 VDC the Vout will be 20VDC If main input is 12 VDC the Vout will be 12 VDC PWR F Relay Outputs Inputs OUT 3 2 1 2 1 J fo NOTE NOodIE nocd H l
23. Useful Examples Finding out the STP s Phone Number In the event that you received the STP Basic device and dont know the phone number associated with it Logic Flow Basic can help you easily find out the number To find the Phone Number of the STP 1 On the Logic Flow Basic opening screen click on the Add Condition command 2 Set the Input Event as STARTUP 3 Set the output event as either OUTGOING CALL or SMS If you choose SMS supply an identifying output message 4 Provide your cellular phone number in the To box Add Condition Input Event STARTUP ng Add Output Event Output Evert To 052312387 Remove this event Output message here is the STP Lite s phone number 5 Click OK and save the instruction 6 Click on Write Logic to Device The STP Basic will automatically execute a Startup It will then proceed to send an outgoing call or SMS to the cellular phone number you have provided The Caller ID on your cellular phone will tell you the source of the incoming call or SMS that is the number of the STP Basic device 74 cz Duetech Beres Ltd Using the STP Basic s DISARM Option to Set an Alarm One of the major uses of the STP Basic is in setting an alarm for a security system The task may involve setting an alarm or disabling it for a certain specified time To use the DISARM to disable an alarm system In the Logic Flow Basic opening screen click on the Add Condition com
24. format for the domain name and port combination is DOMAIN NAME PORT the quotation marks are needed For example www cnn com 80 where www cnn com is the domain name and 80 is the port The port is any number up to 65000 Add Condition Input Event INPUT 1 ka HIGH Add Output Event Output Event GPRS To 192 168 1 1 1023 Remove this event Output message turning on the alarm Figure 55 Output Event GPRS IP address Add Condition Input Event INPUT 1 ni HIGH nf Add Output Event Output Event GPRS ng To Remove this event Output message HELLO Figure 56 Output Event GPRS Domain Name 58 mah cz Duetech Beres Ltd Fill in the message text in the Output Message text box The message length should be no longer then 60 English characters Click OK RS232 Output Event You can have the STP Basic send you an Event Report screen see Section 5 6 of the Logic Flow Basic interface when the STP Basic device receives the input specified This is termed the RS232 Output output delivered via your computer s serial port You can then select the text of the Event Report and paste it into a Word or Excel file To set the RS232 Port as the Output device Click on the arrow near the Output Event list box and select RS232 Fill in the message text on the Output Message text box Add Condition Input Event INPUT 1 ay Add Dutput Event Output Event geese Remove this event Out
25. other materials related to such distribution and use acknowledge that the software was developed by Duetech Beres Ltd THE SOFTWARE IS PROVIDED AS IS AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE cz Duetech Beres Ltd TABLE OF CONTENTS TABLE OF CONTENTS AA 3 CHAPTER 1 INTRODUCTION sesse asses Sen een ee ese der ee eo ede see ee le 6 SECTION ABOUT THIS MANOR es ES ER GE ES RE GE GEE ee Ge AG 6 SECTION 1 2 USES OF THE STP BASIC 6 SECTION 1 3 SAFETY ADVICE sees see ee see ee ee ee ee ee ee ee ee ee Ee ee ee ee ee ee ee ee ee ee 7 SECTION 1 4 STP BASIC FEATURES AND BENEFITS esse see see ee see ee ee ee ee ee ee ed 8 CHAPTER 2 OVERVIE Was ss ae sees ese see ee eer se se He see es dee se ae ed eed ees ee 9 SECTION 2 1 STP BASIC GENERAL DESCRIPTION ee ee ee ees ee ees ee ee ee ee ee ee ee 9 STP Basic DIMENSIONS ees es ees ees eens ee ss df EP ee N nananana 9 Input Events eks sees esse ss ee ss ae se ng BB na EE aaa 11 Output Events aan sees eo df eo ee se se see EE rn 13 Hardware Description Mp MB ee ee ee ee 15 CHAPTER 3 INSTALLING THE STP BASIC ees ese see ee e esse kaas seke ee ese ee ed 17 SECTION 3 1 PACKAGE GONTENTS ees see ese see see ee see ee ee ee ee see ee ee ee ee ee ee ee ee ee 17 SECTION 3 2 HARDWABEINSTALLA NON APE seer sees sides idee ee 18
26. power is applied or that the backup battery is properly attached Table 11 PWR LED Indications LED Indication Operation Status Red blinking When STP unit is sending a SMS or GPRS message Red steady Power on As we will see later on in the section dealing with the Logic Flow Basic software the red light will flash when the STP Basic sends an SMS or GPRS message 30 cz Duetech Beres Ltd Green GSM LED The green GSM LED indicates that the unit registers to the network When you first power up the STP Basic or press Restart the device emits 4 beeps and in a few seconds the green LED lights up The green LED will remain lit continuously for five seconds while the device is searching for the cellular network A lower pitched beep then indicates that the device is connected and functioning and the green LED subsequently flashes periodically During normal functioning of the device the green LED serves as the modem registration indicator This light is on when the modem powers up and flashes when the STP Basic is registered with the cellular network Table 12 Green REG LED Indications LED Indication Operation Status Green steady Device is searching for the network connection Green blinking Connected to a network Orange IND LED The orange IND LED is acting as a user indication signal The user can configure using the STP Basic Logic Flow the operation status of the LED such as e Duration blinking t
27. set will appear in the upper left hand corner of the Logic Flow Basic opening screen Also the instructions from the condition file you selected will appear on the Logic Flow Basic Screen Removing instructions from the list Logic Flow Basic has two options for removing conditions from the list on the screen e Removing all the instructions displayed e Removing individual instructions Remove all the instructions displayed on the screen After you ve saved the previous set of instructions on the screen you want to configure the STP Basic from scratch You will first have to erase all the conditions presently on the screen To remove all the instructions on the screen 1 From the menu at the top of the screen click Remove All You will receive a prompt asking you to verify the erasure Remove Are YOU sure TEE 2 Click Yes All the instructions on the screen will be erased 70 cz Duetech Beres Ltd Remove selected instructions To remove selected instructions Right click on the instruction you want to remove from the list A box of editing options will appear Digital Inpuki Digital Inputz Digital Input3 Digital Cutput1 GO Digital Output2 Md Digital Gutputs Mg INPUT 1 HIGH DO Send SMS to Oo23l 236 71 Turning on the alarm system po OUTPUT 1 CLOSE FOREVER Hul Edit Remove INPUT 1 DO RESE IRIM IT d Collapse All Expand All Figure 75 Remove Instruction Click Remove T
28. status of output coils located in addresses 100 114 in slave id 1 For these set of command parameters we will tag them with the Tag Number 1 This tag number will be recognized in the input event due to related trigger effect The second output event will be to read the status of analog output holding register located in address 19 in slave id 5 For these set of command parameters we will tag them with the Tag Number 2 This tag number will be recognized in the input event due to related trigger effect 63 cz Duetech Beres Ltd MODBUS WRITE Output Event This command will enable to set a various write commands options in the command text box Add Condition Input Event MENA owl HIGH w Add Dutput Event Output Event MODBUS WRITE w Remove this event ee 0 655235 avelD Command ma v StartADD Ox0000 OxFFFF Single Output Coil Single Output Reg Multi Output Coil Figure 65 Output Event Write to MODBUS Device Click on the arrow near the Output Event list box and select MODBUS WRITE Inthe Slave ID text box set the slave device address The address can range from 1 to 247 The id number located in the text box must be identical to the referred slave device id number located on the slave device itself Inthe commana text list box you can choose a desired command from three available command choices e Single output coil function 05 this command will write data to a si
29. the device and device s processing a green LED indicating whether the device is registered with the cellular network and orange LED that indicates the user about various conditions for his choice e Backup Battery The STP Basic also features an internal rechargeable Li ion backup battery which allows it to send a power failure alarm either via SMS or GPRS in the event that the 9 24 V DC main power fails e Reset button The STP Basic also features a reset button Indicator LEDs Ng Reset Button L STP Basic Figure 4 Front view of STP Basic showing placement of indication LEDs and Reset Button 16 cz Duetech Beres Ltd Chapter 3 Installing the STP Basic Installing the STP Basic is a simple procedure that should take no more than a few minutes This chapter contains instructions for installing both hardware and software Section 3 1Package Contents The STP Basic unit comes in a kit with the accessories listed in the table below The table lists the contents of the kit and their part numbers Table 5 Package Contents pat beseipioo Lov PN STP Basic Controller Unit LIN Power Supply 12 V DC PS220121 Voltage Transformer Noa DIN Rail STP00701 GSM Antenna AP001A00 GSM Antenna 90 deg RUBOO9A CD of Documentation and 1 CDR0001 Logic Flow Basic installation software 17 cz Duetech Beres Ltd Section 3 2 Hardware Installation The installation of the STP Basic can be completed in minutes You
30. you to set the device s eUNIT ID is the identification of the controller maximum character 10 eAccess Point Name APN for the cellular service providers that require it maximum 18 characters eUser name that was configured in the SIM CARD maximum 18 characters ePassword that was configured in the SIM CARD maximum 18 characters eTo set the number of seconds to delay sending an outgoing call 10 30 sec ePIN code of the SIM CARD maximum 10 numbers eTCP timeout between 10 86400 sec elo enable disable output events Configurations eTo enable disable input output change report to Logic Flow eBaud Rate setting the baud rate communication 9600 14400 19200 38400 57600 115200 128000 eParity Type none even or odd STP Basic Logic Flow Basic Indicators At the bottom of the Logic Flow Basic screen you will see the following indicators e COM1 9600 An indication of the serial port and the baud rate Verifying that there is communication with the STP Basic When you first execute the Logic Flow Basic software you will receive notification that the serial port is not connected to the STP Basic 36 cz Duetech Beres Ltd Ban Hot connected RTS CTS DIR DSR RING DCD Flash Cl Figure 23 Communication Status Not Connected 1 Click on the command COM Port in the opening screen Device is now connected to COM 1 at 9600 baud rate The Serial Connection dialog appears prompting you to
31. 0 38400 57600 115200 128000 bps Parity Type Configures the ninth bit parity bit type e Even e Odd e None 39 cz Duetech Beres Ltd Configuration Settings Commands Read Configurations from Device This allows you to read the device s configuration to check if the configuration is in order or if you need to know a specific parameter for example the Unit ID Write Configurations to Device Clicking on this writes the selected configurations to the STP Basic device 40 cz Duetech Beres Ltd Section 4 3 Read Inputs Command The Read Inputs command on the Logic Flow Basic main screen is an option that allows you to know the status of the digital input and digital output of the STP Basic This information about whether the digital input and digital output are presently HIGH or LOW will be displayed on the main screen above the instruction set list Pie Loge About Com Port Add Condition Remove Al Phonebook Write Logic To Device Digital Inputi Digital Input2 im Digital Inputs Digital Cutpur1 FE Digital Outputz Digital Cutput3 MA Figure 27 Read Digital Ports Phonebook Setup The Logic Flow Basic interface allows you to provide the STP Basic with a Phonebook a list of phone numbers of a group of users of the STP Basic Adding a Number to the Phonebook To add a number to the Phonebook 1 Click the Phonebook command in the Logic Flow Basic opening screen The Phonebook window will open 2
32. CALL To Remove this event Figure 37 Input Event OUTPUT 1 Click on the arrow near the Input event drop down list box and select the desired OUTPUT input event In the list box assign whether the output signal should be HIGH or LOW Select the type of output event you wish to perform 46 cz Duetech Beres Ltd Main Power Input Event You may want to be alerted if the STP Basic device gets disconnected from the main power and is now running on the backup battery You may want to be alerted if the main power is restored The Main Power Input Event is designed for this purpose To set Main Power as an input event Click on the arrow near the Input event drop down list box and select the Main Power input event Select in the list box next to the sign whether you want the STP Basic device to alert you when the Main Power is disconnected LOW or reconnected HIGH Add Condition Input E vert Add Output E went Output Event OUTPUT 1 we Dy FOREVER ng Remove this event Figure 38 Input Event Main Power Vout Input Event You can attach a device to receive the same voltage value just like the STP basic main power this will come in handy if you need to chain another device without the use of a power supply To do so you may want to use the Vout input event as a notification to a change in the status To set Vout as an input event Click on the arrow near the Input event
33. CTION 4 6 EDITING THE STP BASIC INSTRUCTION SET esse sees ese ese see se see ee ee 68 Saving a set of instructions in a file iese ee aaa 68 Loading a saved set of instructions ee Ee EE ee EE ee Ee ee Ee ee ee 69 Removing instructions from the Iist EE EE EE EE RE EE Re EE ee Ee EE Re ese 70 Editing the Instruction List ER RE ER ER AE Ee Ee ee ee Ee ee ee ea ee ee 71 Expanding Collapsing the Instruction List Re ee 72 SECTION 4 7 WRITING LOGIC TO THE DEVICE ees ese ees ese ee ees ee ee ee ee ee ee ee ee ee 73 Procedure for Writing the Instructions to the STP 73 SECTION 4 8 SOME USEFUL EXAMPLES ee ese ee ee een ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 74 Finding out the STP s Phone Number iis ees see se ER Ee EE Ee ee Ee ee ee ee ee 74 Using the STP Basic s DISARM Option to Set an Alarm 75 Using the STP Basic Timer Option ee EER ee ER RR RR Ee ee ee 75 Using the STP Basic s DISARM ODHON ee se RR ee ee ee 76 CHAPTER 5 FOR FURTHER INFORMATION see ees seek ee esse kk ee ee eek ee 78 cz Duetech Beres Ltd Chapter 1 Introduction The STP Smart Terminal Plus Basic is a user friendly general purpose GSM GPRS cellular programmable controller The STP Basic acts as a MASTER device and supports multiple expansions using half duplex MODBUS RTU protocol RS485 The STP Basic can be used for a wide variety of purposes
34. Click Add The Phone Number window will open prompting you for the phone number you want to add to the phonebook Phone Number Phone Number PO Figure 28 Adding Phone number blank 3 Enter the phone number you wish to add to the Phonebook in the Phone Number field and click OK 41 cz Duetech Beres Ltd Phone Number Phone Number 052312387 Figure 29 Adding Phone number The Contact Name window will open Contact Name Contact Name Figure 30 Adding Contact Name 4 Enter the name of the owner of the phone number and click Ok The name and phone number will appear in the Phonebook list Phonebook Add i he he Remove Import Export Save amp Close Figure 31 Phone Book Screen If you close the Phonebook window by clicking on the X in the upper right hand corner the number you have added will not be saved in your computer In order to save the phone number and name click on Save amp Close Logic Flow Basic saves the Phonebook data locally on your computer and updates the STP Basic as specified 42 cz Duetech Beres Ltd Removing a Phone Number from the Phonebook To remove a number from the Phonebook Click on the Phonebook menu in the Logic Flow Basic Opening Screen The Phonebook window will open displaying the list of saved phone numbers Mark the phone number you want to remove by clicking on the number Phonebook NUMBER 0523123871 0504166263 Figu
35. Duetech Beres Ltd STP Basic Smart Terminal Plus Basic Stand Alone GSM GPRS Multi Purpose Controller supports MODBUS RTU with Logic Flow Basic Configuration Software User Manual Revision Preliminary STP Basic cz Duetech Beres Ltd Notes The reader is advised to read this manual carefully and to understand its contents before using any devices Warranty claims for damage arising from failure to observe the instructions given in this manual are invalid We accept no liability for consequential damage arising from the failure to observe the contents of this manual Duetech Beres reserves the right to make technical modifications or alterations to this manual at any time without prior notice Various registered trademarks company names and brand names appear in this manual Even if not designated as such the relevant proprietary rights still apply 2009 Duetech Beres Ltd All rights reserved The copyright and proprietary rights in the guide belong to Duetech Beres Ltd lt is strictly forbidden to copy duplicate sell lend or otherwise use this guide in any way shape or form without the prior consent of Duetech Beres Ltd This product is based on software developed by Duetech Beres Ltd Redistribution of this manual and its use in binary form PDF are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation advertising materials and
36. INPUT 9 24 Vo R143 GMD WEER COME 5 MA COMME TOR ap Duetech Heres Ltd STP BASIC BOOEROERHOOHE 123 44 BY 8 MID 1112 GND VOUT is c Las 232 NOIC3 COM C2 DII NOIC2 DI2 C1 DI3 NOIC1 GND Figure 3 STP Basic Input and Output Packaging The STP Basic is packaged in a small 101 x 94 x 37 5 mm polystyrene case The casing allows for a DIN rail mount to insure ultimate safety and stability of the device Input and Output The STP Basic allows for three digital inputs between 0 24V DC three dry contact outputs a relay and one controlled voltage output that equals to main source voltage Durability The STP Basic operating temperature is between 30 C to 85 C allowing it to withstand the harshest conditions GSM GPRS technology The STP Basic device is based on GSM GPRS network therefore a SIM card not included in the STP Basic kit must be inserted before applying power RS485 MODBUS RTU Half Duplex The STP Basic support up to 32 slave devices and expansions connected directly in a dropdown connection 15 cz Duetech Beres Ltd e Programmable The STP Basic is a programmable controller you program its logic by means of the Logic Flow Basic software and write the commands to the device An RS232 cable communicates with the STP Basic to write the commands from the serial port on your computer to the STP Basic e Indication LEDs The STP Basic has three LEDs a red LED indicating power supply to
37. LSE to turn the alarm off Add Condition Input Event INPUT 1 HIGH ng Add Dutput Event Output Event ALARM ng TRUE ng Remove this event TRUE FALSE Figure 62 Output Event ALARM 3 Click OK 61 cz Duetech Beres Ltd MODBUS READ Output Event This command will enable to set a various Read commands options in the command text box Add Condition Input Event ng HIGH iy Add Output Event Dutput Event MODBUS READ w Tag Numbers Remove this event 0 65535 aY Ox0000 OxFFFF 1 16 SlaweID Command v Start ADD NumoffaDD Analog Output Holding Registers Analog Input Holding Registers Figure 63 Output Event Read From MODBUS Device Discrete Output Coils Discrete Input Coils Click on the arrow near the Output Event list box and select MODBUS READ Inthe Tag Number text box enter a unique number that will be used as an identifier number for the output event command This tag number will be recognized in the input event process It is important to have only one tag number for one set of output commands Two sets of output events with a similar tag event name will cause a conflict and is not recommended Inthe Slave ID text box set the slave device address The address can range from 1 to 247 The id number located in the text box must be identical to the referred slave device id number located on the slave device itself Inthe comm
38. MS or GPRS in case the main power supply is cut off Accompanying the STP Basic is the Logic Flow Basic Configuration software package Some features of the Logic Flow Basic program are e Allows you to program the STP Basic device to control a system and do the desired controller tasks quickly and efficiently e Allows you to monitor your system cz Duetech Beres Ltd Chapter 2 Overview This chapter provides a brief Overview of the STP Basic and includes the following e General Description e Hardware Description Section 2 1 STP Basic General Description The STP Basic is a stand alone multipurpose terminal with extended logic control with cellular capabilities The STP Basic has a RS485 interface and can communicate using the protocol MODBUS RTU with up to 32 slave devices in a direct drop down connection The STP Basic accepts three digital inputs three dry contact relay outputs and one voltage output STP Basic Dimensions 4a Duetech Beres Ltd STP BASIC ISAS 123 4 45 6 7 8 910 1112 Figure 1 Front View of the STP Basic cz Duetech Beres Ltd 16 ro 44 0 AN rrvvvvvvvvvvvvvvv 55 549 my 3g LO 0 O 25 bi Figure 2 Side View of the STP Basic Showing Dimensions 10 cz Duetech Beres Ltd Input Events The STP Basic supports 17 different types of input events seven external and ten internal Table 1 STP Basic external Inputs External Input Description Thr
39. UNIT ID field type the desired name for your particular STP Basic unit When the STP Basic unit will send an SMS or GPRS data this Unit ID will appear in the display of your phone in case of an SMS The maximum characters you can put is 10 38 cz Duetech Beres Ltd APN User Name Password The Access Point Name APN must also be supplied in case of GPRS use The maximum characters you can put is 18 Outgoing Call Delay s This option allows you to set the amount of delay in seconds between the time the STP Basic sends an outgoing call and then disconnects the call The range of the delay is 10 30 seconds Pin Code The access code to the SIM card Valid field only if the SIM has a pin code you should enter the same code If your SIM card don t have a pin code than the field is irrelevant Note default pin code is 1234 The total maximum numbers is 10 TCP Timeout 10 86400 s Length of time in seconds that a TCP session connection will remain active without the remote connection sending any data Online Inputs Report Checking this box updates Logic Flow Basic as to any changes in the input and output Enable Output Events Enables disables output event execution similar in function to DISARM command see p 51 DISARM Input Event Fields in the Modbus Configuration Settings Screen Baud Rate Sets the communication speed of the device between other MODBUS connected device Accepts values of 9600 14400 1920
40. ablishing RS485 Communication The STP Basic supports RS485 half duplex communication using the MODBUS RTU protocol Using this method it would be possible to connect up to 32 SLAVE MODBUS RTU devices in a single drop down connection The following figures show two options for connection of the RS485 anda method on how to connect more then one SLAVE device with a drop down connection e First method is using the block terminals located at the top side of the STP Basic box This kind of method is especially to slave devices that have a block terminal as a communication port With this connection two simple conductive wires are needed Just keep in mind to connect the positive none inverting and the negative inverting ports with the same kind in the slave device COM 2 IRS485 PWR IN SSM iA B O al a oV 24V DC OOOO 15 15 14 13 Figure 16 Attaching RS485 Communication using block terminal ee aan Fa i i ER B D EER KA AjD4 SLAVE T m Duetech Deres Ltd B D 3 A D SLAVE devices STP BASIC BEEEEEEEREEK 123 445 6 7 8 9101112 4 B D T ma AD SLAVE Figure 17 Multiple SLAVE devices in drop down connection using 2 wire block terminal 28 cz Duetech Beres Ltd Table 10 Terminal Blocks for Attaching the RS485 communication Terminal Block Purpose Number Terminal 15 B D inverted signal Terminal 16 A D non inverted signal e Second method is using a cable with RJ45 connector supplied with kit l
41. al injury or damage to the device We assume no liability in such cases and any warranty claims will become void The safety regulations specified for the device must be observed during the installation maintenance and use of the device This manual contains special instructions that are important for the safe and proper handling of the device The warning symbols you will encounter in the manual have the following meaning DANGER Indicates warning of possible danger to the life and health of the user if the relevant safety measures are not taken ATTENTION Indicates warning of possible damage to the device software or other material damage if relevant safety measures are not taken cz Section 1 4 STP Basic Features and Benefits Some unique features of the STP Basic are e Quad Band GSM GPRS allowing you to access and control the STP Basic device via your cellular phone or the Internet e An RS232 interface for direct communication with the STP Basic controller as well as for user defined purposes PLC PC GPS to any RS232 device e An R5485 half duplex interface for communicating with up to 32 slave devices with a direct drop down connection e An event report which allows to make the STP Basic send a report to user via Serial Communication RS232 This way the user can create Word Excel reports based on the data from the STP e Internal Li lon rechargeable backup battery for sending a power failure alarm via S
42. and text list box you can choose a desired command from four available command choices e Discrete Output Coils function 01 This command will read output coil bit e Discrete Input Coils function 02 This command will read input coil bit e Analog Output Holding Registers function 03 this command will read the analog output registers 2 bytes e Analog input Holding Registers function 04 this command will read the analog input registers Inthe Start ADD text box set the address number to read from The address can have a value between 0 65535 Set the Num of ADD text box to the amount of addresses to read relevant for multiple reading up to 16 addresses If only one address is to be read set the value to 1 relevant for single reading Click OK 62 cz Duetech Beres Ltd Below is an example of setting two output events due to INPUT1 HIGH input event trigger Add Condition Input Event pd Ww HIGH ing Add Cutout Event Output Event MODBUS READ w Tag Numbers 1 Remove this event 0 65535 Ee Ox0000 0xFFFF 1 16 Slave ID Command Discrete Output Coils Start ADD 100 Num off ADD Output Event MODBUS READ w Tag Mumbers 2 O 65535 l 247 Ox0000 OxFFFF 1 16 Slave ID Command Analog Output Holding Register v StartADD 19 Num off ADD Figure 64 Output Event Read From MODBUS Device examples The first output event will be to read the
43. converts the wall voltage to 12 VDC The connector has two bare wires one to be connected to the negative terminal and one to the positive terminal of the STP Basic unit The striped wire is connected to the negative or ground terminal and the solid black wire from the transformer is connected to the positive terminal The STP Basic unit has numbered rows of terminal blocks Insert the leads into the appropriate terminal blocks on the side of the STP Basic unit using a 3 5 mm wide flathead or Phillips screwdriver Rsags PWR IN A BI Dt DJ I OOOO 16 19 44 1a Figure 15 Attaching the power VCC GND 26 cz Duetech Beres Ltd The following table shows the correct connections of the transformer to the STP Basic Table 9 Terminal Blocks for Attaching the Power Supply to the STP Basic Terminal Block Number Purpose Terminal 13 GND lead from transformer Terminal 14 Positive power supply lead from transformer ATTENTION e Ensure the correct polarity of the power supply terminals e If using another DC voltage source be certain not to exceed 24 V This will cause irreversible damage to the STP Basic unit DANGER e The device should be wired in a de energized state e Regularly check the live cables to which the devices are connected for faults or breaks in the insulation If any such fault is found immediately turn off the device and replace the wiring 21 cz Duetech Beres Ltd Est
44. d Single output Reg function 06 command Add Condition Input Event HIGH ay Add Output Event Output Event MODBUS WRITE ww Remove this event 1 247 0 655235 Slave ID Command Single output Reg v StartADD Ox0000 OxFFEF DATA Number between 0 65535 0x0000 OxFFFF Figure 68 Output Event Write to Single Output Register This function will send a single data value to a single register address number located at the output location of the slave device e Set the slave ID number e Set the Start ADD number 0 65535 e At the DATA text box write the data value data can range from O 0X0000 to 65535 OXFFFF e Click OK Below is an example of sending data value of 0x0069 105 to an output single register address number 210 located at slave device ID number b Add Condition Input Event w HIGH s Add Output Event Output Event MODBUS WRITE ww Remove this event 1 247 Slave ID 5 Command Single output Re Start ADD 210 6st ge cup 210 Ox0000 DxFFFF DATA 0x0069 Number between 0 55535 0x0000 0xFFFF3 Figure 69 Output Event Write to Single Output Register example 66 cz Duetech Beres Ltd Multi output coil function 15 command Add Condition Input Event w HIGH ny Add Output Event DutputEvent MODBUS WRITE ww Remove this event lad Slave ID Command Multi output coil w Start ADD Es OxEFFP DATA EH The start address will get the most left value and so on
45. ding it an SMS or incoming call See section 4 8 Some Useful Examples To use the DISARM input event Click on the arrow near the Input event drop down list box and select the DISARM input event The value of the input will be automatically set to FALSE canceling any output events 4dd Condition Input Event DISARM ayt FA E Add Output E vent Output Event OUTPUT w FOREVER wl Remove this event Figure 46 Input Event DISARM STARTUP Input Event The STARTUP option allows you to execute the desired output every time the STP Basic is turned on or resets This is a practical feature for example if you want to find out the number stored on the STP Basic s SIM card in order to access the device See section 4 8 Some Useful Examples To use the STARTUP option as input to the STP e Click on the arrow near the Input event drop down list box and select the STARTUP input event Add Condition Input E vent STARTUP Add Output E vent Output Event OUTPUT 1 ng OPEN ng FOREVER Pr Remove this event Figure 47 Input Event STARTUP Once this is set as the input event any startup of the STP Basic will execute the output event Startup will consist of e Turning on the power to the STP Basic e Pressing the reset button on the unit e Clicking on the Write Logic to Device command e As a result of a reset event 52 cz Duetech Beres Ltd Tag Change Input Event The Tag Change in
46. drop down list box and select the Vout input event Select in the list box next to the the wanted status to be triggered either DISABLE or ENABLE Add Condition Input Event yu wl s ENABLE v Add Output Event ENABLE Output Event OUTGOING CALL se TIDISABLE Remove this event Figure 39 Input Event Vout 47 cz Duetech Beres Ltd Timer Input Event TIMER as an input event allows the STP Basic to respond after a specified amount of time TIMER1 and 2 delay the output response in units of 10 minutes Whereas TIMER3 and TIMER4 delay the output response in units of seconds
47. e 42 SMS input event example 49 cz Duetech Beres Ltd Incoming Call Input Event Just as you can set an SMS message to be the trigger of the STP Basic device you can also use an incoming call to serve as the trigger You will hear the phone ring as you try to make the call and the call will be rejected it is recommended that you cancel the voice mail via the GSM provider The STP Basic has successfully triggered the STP To set an incoming call as the input to the STP Click on the arrow near the Input event drop down list box and select INCOMING CALL Click on the arrow near the From list box and select from a list of possible callers to the device Add Condition Input Event INCOMING CALL w From stletsieielsiaN Add Output E went 0546225600 Dutput Event OUTPUT 1 v 0546460122 FOREVER we Remove this event GROUP ALL Figure 43 Input Event Incoming Call select ALL to allow all callers to activate the STP Basic by calling the device Select GROUP to allow only callers whose phone numbers are listed in your Phonebook to activate the STP Basic by calling the device You can also enter in a specific phone number that will be able to call the STP Basic to activate the specified output event Either select the number from the drop down list which are the entries from your Phonebook or type it in manually in the From list box 50 cz Duetech Beres Ltd RS232 Input Event You can use a messag
48. e from any RS232 device to the STP Basic to serve as a trigger You specify the message string to send to the STP and the STP Basic will respond with the specified output To use a text message from the computer to serve as the input to the device 1 Click on the arrow near the Input event drop down list box and select the RS232 input event The Input message text box will appear prompting you for the message to be communicated to the RS232 parallel port on your computer 2 Enter the text of the RS232 message that will activate the output event in the Input Message text box Add Condition Input Event A5232 ng Add Output Event Input Message turn off boile 1 Output Event OUTPUT 1 we OPEN np FOREVER we Remove this event Figure 44 Input Event RS232 3 In order to send the message through the COM port you should write the message in this format SIMESSAGE WHAT 15 THE TEMPERATUR eii es a rick LIMIT CMA I HI Not connected RTS CTS DTR DSR RING DCD Flash Figure 45 RS232 text syntax 51 cz Duetech Beres Ltd DISARM Input Event DISARM is a useful command when the STP Basic is used for security or alarm system Let s say you want to set an alarm only after you leave the area you wish to secure Setting the input of the STP Basic to DISARM will cancel all output events effectively turning the alarm system off You can then program the STP Basic to turn the alarm on after you leave the area by sen
49. ee DIGITAL INPUTS These can include e Thermostat e Smoke detector e Motion sensor SMS An SMS message from your mobile phone INCOMING CALL Allows the STP Basic to respond to an incoming call the STP will reject the incoming call and only use the Caller ID if needed RS232 An RS232 message from any capable device for example a computer ora PLC RS485 An RS485 half duplex terminal block and RJ45 communication terminal JMN that support up to 32 slave devices in a direct dropdown connection Compatible with MODBUS RTU devices for example computer or PLC 11 cz Duetech Beres Ltd In addition there are ten other input events that the STP Basic essentially can send to itself These are shown in the following table Table 2 STP Basic internal Inputs Internal Input TIMER1 4 Triggers as timer event occurs OUTPUT 1 3 To have the STP Basic respond to an output change caused by a particular event DISARM triggers when disarm status has changed STARTUP Performs the specified output event when the device is started or if the user presses the Reset button Vout triggers the device when the status has changed 12 cz Duetech Beres Ltd Output Events The STP Basic allows for 17 different types of output events and messages 10 of the outputs are to external devices while 7 are internal messages that the STP Basic employs itself The 10 outputs to external devices are illust
50. ered sends a GPRS message from the STP Basic when triggered Sends a text RS232 message to the Logic Flow Basic interface when the STP Basic is triggered OUTGOING Initiates an outgoing call when the STP CALL Basic is triggered Emits a buzz at a certain specified frequency when triggered RESET Performs a reset of the STP Basic upon receiving the specified input Useful in implementing an alarm system allows you the choice of enabling disabling the alarm ALARM Sounds an alarm when triggered MODBUS WRITE Allowing to send a write commands to other modbus slave devices MODBUS READ Allowing to send a read commands to other modbus slave devices 54 cz Duetech Beres Ltd Digital Output Event The Digital Output Event gives a digital output either OPEN or CLOSED LOW or HIGH in response to the input signal To use the Digital Output Event 1 In the Add Condition dialog box click on the arrow near the Output Event drop down list box and select OUTPUT 1 or OUTPUT 2 2 Set the output value you want the output event to equal in the Output Value list box Add Condition Input Event INPUT 1 w HIGH E Add Output Event Output E vert OUTPUT 1 Ww OFEN we FOREVER ng Remove this event Figure 49 Output Event OUTPUT 1 e OPEN will activate the output circuit upon receiving the selected input event e CLOSE will de activate the output circuit upon receiving the selected input event e TOGGLE will
51. ets timer to a predefined value Timers 1 amp 2 count 10 minute per unit and timers 3 amp 4 count 1 second per unit See section 4 8 Some Useful Examples To use the Timer Output Event 1 Click on the arrow near the Output Event list box and select TIMER1 TIMER2 TIMERS or TIMER4 The following screen capture has all the timers employed as output events Add Condition Input Event INPUT 1 ng z Add Output E vent Output Event TIMERT a Remove this event Output Event TIMER np Remove this event Output Event TIMERS ng Remove this event Output Event TIMER4 Ww Remove this event Cancel Figure 52 Output Event Timer 2 In the SET box type in the timer duration Again for TIMER1 and 2 the number entered will be increment of 10 minute of delay between the input and output event For TIMERS and 4 the number entered will be seconds of delay The value must be between 1 254 3 Click OK 56 EE Duetech Beres Ltd CO Digital Input fam Digital Inputs MI Digital Output1 TE Digital Qutpuk Ma Digital Gutpuks M a ap PENARIE mo DO Set TIMER to 30 Minutes be Set TIMER to 40 Minutes po Set TIMERS to 5 Seconds pe Set TIMER4 to 6 Seconds Figure 53 Logic Flow Window Timers SMS Output Event You can set the STP Basic to send you an SMS message when the device receives the specified input To use the SMS Output Even
52. ggered as DISARM state is changed by a different event Performs the output event upon startup or when you press reset or write to the STP Will make the device to perform an analysis of a particular Tag change the tag number must be configured firstly as an output event 45 cz Duetech Beres Ltd Digital Input Event As mentioned before the STP Basic takes three digital inputs If the input voltage is between 1 2 24 V DC the input is considered HIGH If the input voltage is between 0 0 8 V DC the input is considered LOW To set a digital input Click the arrow near the Input event drop down list box and select INPUT1 or INPUT2 Choose the desired state from the Status list box Select the input condition as either HIGH or LOW Add Condition Input E vent INPUT 1 w Add Output Evert Output Event OUTPUT 1 a OPEN we FOREVER a Remove this event Figure 36 Input Event INPUT 1 OUTPUT Input Event You can even set an output event to serve as input to the STP Basic device This is practical for instance If the event is timed output and you would like to do something when the output will be triggered If an incoming call will cause OUTPUT1 to be triggered you want that the STP Basic should do something as a response to this output change To use the OUTPUT 1 OUTPUT 2 or OUTPUT 3 as an input event Add Condition Input Event OUTPUT 1 wl HIGH w Add Output Event Output E vent OUTGOING
53. he selected condition will be erased from the display Editing the Instruction List If you want to modify one of the instructions to the STP Basic Logic Flow Basic has a convenient editing feature To edit the instruction list Right click on the Input event in the instruction list that you want to modify In the list of commands select Edit The Add Condition box will reappear with the original input and output events associated with this instruction Make the desired modifications to the Input and Output events and click OK 71 cz Duetech Beres Ltd Expanding Collapsing the Instruction List When the number of output events becomes large the instruction set may start to appear more complicated In order to make the logic written to the device more manageable Logic Flow Basic has an option to expand or collapse all or some of the instructions in the instruction list To expand collapse the instructions in the instruction list e Right click anywhere on the Logic Flow Basic Screen The Editing options box will appear a IF INPUTI HIGH bdo DISARM TRUE IP INPUT 1 HIGH Edit Remove Collapse All Expand All Figure 76 Expanding e To expand all the instructions showing the input and output events click on Expand All e To collapse all the instructions click on Collapse All e To expand an individual instruction click on the symbol next to the input event e To collapse an expanded item
54. ime e LED will lit up led will lid up due to an input output event 31 Duetech Beres Ltd Reset Button If you encounter a problem with the functioning of the device use the Reset button on the front of the device to reset the STP This will allow you to restart the device without having to detach it from the power supply Reset Button _ STP Basic Figure 21 STP Bas 32 Duetech Beres Ltd Chapter 4 Using Logic Flow Basic This chapter provides detailed instructions for configuring and using the Logic Flow Basic Software that comes with the STP Basic unit Section 4 1 Getting Started with Logic Flow Basic When you click on the Logic Flow Basic Platform icon on your desktop or in the Start taskbar the program s opening screen appears displaying the menus i Com Port Add Condition Remove Al PhoneBock Write Logic To Device Read Inputs Configurations LIuetech Beres Ltd Digital Input1 Digital Input Digital Inputs Digital Gutputi MA Digital output Md Digital Output3 IE Not conmected ATS CTS OTA DSA RING DOD Ash Figure 22 Logic Flow Basic Opening Screen 33 cz Duetech Beres Ltd STP Basic Menus and Toolbar The following table enumerates the functions on the opening screen of Logic Flow Basic and their uses Table 13 File Menu Load File Allows you to load a set of conditions to the STP Basic device saved in a cond file Allows you to save the conditions you have sup
55. l OODOOOOOOOOO he e 2 3 4 5 6 7 8 9 10 11 12 Figure 13 Input Output side of STP Basic illustrating where to attach the voltage output The following table illustrates the placement of the Digital Inputs leads Table 7 Terminal Blocks for Attaching the Digital Input Terminal Block Number ater Minus sign GND Terminal 2 Plus sign Voltage Output 24 EE Duetech Beres Ltd Installing the Digital Input The STP Basic accepts three digital inputs that must be within the range 0 24VDC ATTENTION Be certain not to exceed the maximum input voltage of 24 V DC Exceeding this value may cause irreparable damage to the STP Basic unit PWR Relay Outputs Digital Inputs OUT 3 2 1 3 2 1 Ic noc lc wodlc Nos 000000000000 1 2 3 4 5 6 Figure 14 Input Output side of STP Basic illustrating where to attach the digital input The following table illustrates the placement of the Digital Inputs leads Table 8 Terminal Blocks for Attaching the Digital Input Terminal Block Number Minus sign GND Terminal 10 3 Digital Input 3 Terminal 11 2 Digital Input 2 Terminal 12 14 Digital Input 1 20 cz Duetech Beres Ltd Connecting the Power Supply Once you have completed all the other installation steps you can attach the power supply to the STP Basic unit The STP Basic operates on the range between 9 24 VDC The STP Basic kit contains a transformer that
56. mand Set the Logic Flow Basic input event as SMS and type in the SMS message you wish to send the STP Basic Set the output event as DISARM and select TRUE in the box IP SMS from 0543143871 Turn off the alarm before enter the office po DISARM TRUE Add Condition Input Event From 0523123871 v Add Output Event Input Message Turn off the alarm before I enter the office Output Event DISARM ng TRUE ng Remove this event The STP Basic will thus disable the alarm upon receiving your SMS If you want to enable the alarm by means of an SMS message simply set the DISARM value to FALSE Click OK and click on Write Logic to Device Using the STP Basic Timer Option When writing to the STP Basic you are able to send several lines of commands The TIMER option allows the response of the system to be delayed by a designated number of seconds or minutes In this manner it is possible to delay the response of the STP Basic so that certain events will occur later in the event of specific inputs To use the TIMER option to delay an alarm from going off for one minute In the Logic Flow Basic opening screen click on the Add Condition command Set the Logic Flow Basic input event as SMS For sake of this example the alarm will be sounded by your sending the STP Basic an SMS Set the output event as TIMER1 supply the number of minutes of delay you wish to program into
57. ngle output coil bit e Single output reg function 06 this command will write data to a single output register 2 byte e Multi output coil function 15 this command will write data to multiple output coils Inthe Start ADD text box set the address number to read from The address can have a value between 0 65535 64 cz Duetech Beres Ltd Single output coil function 05 command Add Condition Input Event Ela HIGH w Add Dutput Event Output Event MODBUS WRITE w Remove this event 1 747 0 655 35 Slave ID Command Single Output Coil Start ADD Ox0000 OxFFFF Figure 66 Output Event Write to Single Output Coil This function will send a single data value to a single coil address number located at the output location of the slave device e Set the slave ID number e Set the Start ADD number 0 65535 e Atthe DATA text list box choose the digital value of the output coil If DATA is ON output coil will be HIGH If DATA is OFF output coil will be LOW e Click OK Below is an example of setting LOW value for single output coil located at address number 18 of slave ID number 5 4dd Condition Input Event se HIGH ng Add Output Event Output Event MODBLIS WRITE Remove this event eee Slave ID Command Single Output Coil v Start ADD wien Ox0000 0xEFFF Figure 67 Output Event Write to Single Output Coil example 65 cz Duetech Beres Lt
58. ocated at the top side of the STP Basic box This kind of method is used only when the slave device supports MODBUS communication through this port RS485 PWRIN A B Figure 18 Attaching R5485 Communication using COM2 connector RI45 RI45 RI45 CONNECTOR CONNECTOR CONNECTOR Call 13 14 15 16 SLAVE SLAVE SLAVE STP BASIC up to 32 devices DOWVBOBVGOBAVS gt N 12345 6789101112 t i Figure 19 Multiple SLAVE devices in drop down connection using 2 wire block terminal for more detailed information and example on how to connect the STP Basic to a SLAVE device please refer to MODBUS connection with DELTA slave application note using this link htto www duetech gberes com duetech web index php option com content amp view article amp id 26 amp ltemid 19 29 cz Duetech Beres Ltd Section 3 3 STP Operation Status LEDS The STP Basic has three status LEDs to indicate that you have installed everything properly and that the device is in proper working order The red LED indicates that the device is receiving power The green LED indicates that the device is registered to the cellular network Red PWR LED Green Register LED Orange Indication LED UV STIP Basic Figure 20 Status LEDs in STP Basic Red PWR LED After applying the 12 VDC power supply or inserting the back up battery check that the red PWR LED lights up The red PWR LED indicates that the main
59. open the COM Port This enables communication between your computer and the STP Basic device eral Communication x Baud Rate Figure 24 Serial Communication window If there are several serial ports on your computer select the appropriate one from the drop down list near Port Click Open Port The bottom left area of the opening screen will indicate the COM Port and the baud rate COML 9600 RTS CTS DTR DSR RING DCD Flash Figure 25 Communication Status COM1 Connected 3 EE Duetech Beres Ltd Section 4 2 Configuration Settings Configuration Settings Screen UNIT ID Empty Online Inputs Report Enable output events Enable GSM Roaming Enable DEBUG mode APH Empty User Name Empty Password Empty Outgoing call delay 2 Empty PIM CODE E mpity Baud Rate MODBUS Parity Type Configuration Read Configurations From Device Write Configurations To Device Figure 26 Configuration Settings Screen When you click on the Configurations command in the Logic Flow Basic opening screen the Configuration Settings screen will open up Fields in the Global Configuration Settings Screen UNIT ID If you employ several STP Basic devices you will find it useful to be able to identify which device is sending you a particular SMS or GPRS message The UNIT ID option in the Configuration Settings Spreadsheet is what allows you to assign an identifying name to each STP Basic unit In the
60. plied to the STP Basic device in a cond file Table 14 Logic menu Write To Device Writes the list of instructions to the device Read From Device Reads the present list of instructions from the device and displays it on the screen included in future release Erase Device Erases the logic that has been written to the device included in future release 34 cz Duetech Beres Ltd Table 15 STP Basic Toolbar Commands Command COM Port Add Condition Remove All Phonebook Write Logic to Device Read Inputs Opens or closes the RS232 serial port connection between the STP Basic device and the computer Allows you to add a condition to the list of commands to the STP providing inputs and outputs Allows you to erase all conditions from the list Note that it removes conditions only from Logic Flow to erase the STP Basic click Write to Device after removing all conditions to update the hardware Allows you to store names and phone numbers of users of the STP to receive or send messages to the device Writes the list of commands to the STP When you click on Flash an indicator bar at the bottom of the opening screen shows the progress of writing to the STP A screen will pop up telling you that the write was successful or that it failed Updates the user to the state of the digital input and relay output result displayed on main screen 35 cz Duetech Beres Ltd Command Allows
61. purpose as the antenna of any cellular phone The antenna must be attached for optimal performance of the device COM 2 a PWR IN 5 smal 153 16 15 14 13 13 Figure 7 Side View of STP Basic Showing Antenna Connector SMA Connector POWER INPUT for the GSM 9 24 VDC Antenna ATTENTION Detaching the antenna while the STP Basic is powered on may damage the device cz Duetech Beres Ltd Installing the SIM Card Open the STP Basic casing by gently pushing in the two tabs located at both nmn sides of the device 132141516 Duetech Beres Ltd STP BASIC EEEEEEELHHH 12254567 amp 910 1112 Tabs on side of STP Basic Device Figure 8 Side view of STP Basic unit showing the tabs for opening the device 20 c Duetech Beres Ltd Place a SIM card in the SIM card holder a SIM Card Slot Figure 9 Inside of STP Basic unit showing the slot for the SIM card ATTENTION e Do not insert or remove the SIM card when the power supply or backup battery is attached Doing so might result in damage or loss of data on the SIM card e Avoid touching the contacts of the SIM card The SIM is sensitive to electrostatic discharge e If you are installing a used SIM card insert the SIM ina mobile phone first to ensure that the SIM doesn t contain any saved SMS messages These messages may cause the STP Basic to malfunction 21 EE Duetech Beres Ltd Connecting the RS232 cable
62. put event is triggered due to certain change in the configured tag number parameter This input event will be valid only if a tag change was configured in the output event To use the Tag Change input event e Click on the arrow near the Input event drop down list box and select the Tag Change input event e Inthe text box list on the left choose the tag number that is associated with the output event tag number Add Condition Input Event Tag Change ng O 655 35 Add Dutput Event Ox0000 OxFFFF Remove this event Output Event OUTPUT 1 Tag 20 FOREVER J Remove this event Figure 48 Input Event Tag Change e Set the comparison status by double clicking on the icon and 53 cz Duetech Beres Ltd Section 4 5 Setting the STP s Output Events After configuring the desired input event for the STP Basic and selecting the number of output events you want the STP Basic to control you now have to select the type of output event The Logic Flow Basic software allows for 18 different output event options from which to choose Table 17 Logic Flow Basic Output Events Output Type Description OUTPUT 1 3 Three digital outputs from the STP Basic device Can take the value HIGH or LOW Equals to the device input voltage TIMER1 4 sets Timer to a predefined value Timers 1 42 count in units of 10 minutes and Timers 3 amp 4 count in units of seconds Sends an SMS message from the STP Basic when trigg
63. put message turning on the alarm Figure 57 Output Event RS232 Click OK Outgoing Call Output Event You can have the STP Basic send you an outgoing call as the output event When the STP Basic receives the specified input the phone number you supply the STP Basic will receive a single ring To set an outgoing call as the output event Click on the arrow near the Output Event list box and select Outgoing Call as the output event Provide the phone number you wish the STP Basic device to call in the To field Add Condition Input Event INPUT 1 w HIGH v Add Dutput Event Output Event OUTGOING CALL To TEIT Remove this event 0523123871 CALLER ID Figure 58 Output Event Outgoing Call 59 cz Duetech Beres Ltd If you select the option CALLER ID the STP Basic will send the outgoing call back to the person who called the device
64. rated in the following table Table 3 Outputs from STP Basic to external device Output to External Device Description Three DIGITAL OUTPUTS relayed Dry contact output that can be used for general control tasks One controlled voltage output which connected to the source voltage of the STP Basic SMS An SMS message to your mobile phone GPRS A GPRS message to your TCP IP Internet server OUTGOING CALL Outgoing call to a predefined phone number The STP Basic will make the call and hang up after one ring DISARM disables enables all output events RS232 An RS232 message to any capable device for example a computer PLC RS485 An RS485 half duplex terminal block and RJ45 communication terminal that support up to 32 slave devices ina uN direct dropdown connection Compatible with MODBUS RTU devices for example computer or PLC 13 cz Duetech Beres Ltd The other 7 outputs are shown in the following table Table 4 Outputs from STP Basic to itself TIMER1 4 used to set up a defined amount of time before timer is triggered BUZZER Makes the STP Basic unit emit a buzz ALARM Makes the STP Basic unit emit a high pitched alarm sound 14 cz Duetech Beres Ltd Hardware Description The STP Basic is a simple and easy to use controller which can be operated without any code knowledge necessary Here is a brief summary of the hardware the STP Basic employs MAIN POWER
65. re 32 Phone Book Screen removing number Click Remove The phone number and name will be removed from the list Click Save amp Close to save the changes to the Phonebook Exporting a List of Phone Numbers from the Phonebook into a File To be implemented in future release Importing a List of Phone Numbers into the Phonebook To be implemented in future release 43 cz Duetech Beres Ltd Section 4 4 Setting the STP s Input Event For the STP Basic to implement condition sentences you must program the input and output events of the device The Logic Flow Basic software allows for a set of 18 different types of inputs and 18 different types of outputs The software has been custom made for the inputs and outputs the STP Basic accepts To select a new input event 1 Click the Add Condition command in the Logic Flow Basic Main Screen to open the Add Condition window Add Condition Input Event E Add Output Event Output Event OUTPUT 1 vw FOREVER mr Remove this event Figure 33 Events Window In the Input Event drop down list you see a display of all the input event options The other fields adjust automatically according to the type of input event selected A single input event to the STP Basic can control up to four output events in any one instruction sentence For example upon receiving the given input event such as an SMS or digital input level the STP Basic unit can turn on a cooling system and ale
66. rt you by an SMS an incoming call and a GPRS message over the Internet 2 f you want more than one output event click on Add Output Event Add Condition Input Event INPUT 1 ng Output Event OUTPUT 1 np Figure 34 Events Window Adding Output Event The Add Condition window will expand to accommodate another Output Event 3 If you choose to remove one of the output events click on Remove this event Add Condition Output Event z Remove this event Output Event 0523123871 v Output message Figure 35 Events Window Removing Output Event 44 cz Duetech Beres Ltd Here is a brief description of all the input events that are possible Table 16 Logic Flow Basic Input Events INPUT1 3 OUTPUT 1 3 TIMER1 4 Digital inputs into the STP Basic device Can take the value HIGH 1 2 24V DC or LOW 0 0 8V DC Allows you to set the unit to respond to a change in the output port Triggers the output event when the device is detached LOW from or is reattached HIGH to the main power Allows you to set the unit to respond to a change in the Vout port Allows for timed input Timers 1 amp 2 count in units of 10 minutes and Timers 3 amp 4 count in units of seconds Triggered as anew SMS witha predefined message Is sent to the device INCOMING Triggered as an incoming call is CALL dialed to the device STARTUP Tag Change Allows a text RS232 message to trigger the device Tri
67. t Click on the arrow near the Output Event list box and select SMS as the output event Enter the destination phone number the number that is to receive an SMS message from the STP Basic device in the To field You can either e Manually enter a phone number in the field or e Click on the arrow near the To field to select a phone number from the Phonebook e If you select the option CALLER ID the STP Basic will send an SMS back
68. t Save As Eee Logic Flow Load File Remove Al Phone ook vita Logic To Device Read Inputs Configurations MODBUS technician GIC FLOW BASIC 7 Digital Input i ES Digital Input mg Digital Inputs MI Digital Output MEA Digital Outputz Digital Output3 DO a IF NGANGA Nels DO Set TIMER To 30 Minutes DO Set TIMERS To 40 Minutes DO Set TIMERS to b Seconds po Set TIMER4 to 6 Seconds Figure 72 Logic Flow Window Save File 68 cz Duetech Beres Ltd The Save As dialog box will open prompting you to give a name to your compilation of instructions sare O f D m My Recent Documents File name Configurations List wt Save as lupe Smart Logger 7 cond np Figure 73 Save Location Supply a name in the File name box and click Save The list of instructions will be saved as a file with the extension cond Loading a saved set of instructions The File menu can also be used to load a saved set of instructions To load a saved set of conditions to the STP Click on the File menu at the top of the screen and select Load The Open dialog box will appear prompting you for the name of the condition file that you want to load onto the STP pm 0306 amp My Recent Documents My Computer File nare Configurations_List wt ay Files of type Smart Logger cond Figure 74 Load Location 69 cz Duetech Beres Ltd 2 Select the condition file and click on Open The file name of the instruction
69. the device and click OK 19 EE Duetech Beres Ltd As mentioned before TIMER1 and 2 allow for delays in units of 10 minutes whereas TIMERS and 4 allow for delays in units of seconds a WF SMS from 0523 an Delay the alarm by one minute Do Set TIMER to 1 Minutes Add Condition Input Event From 0523123871 v Add Output Event Input Message Delay the alarm by one minute Output Event TIMER ng SET Remove this event 4 Click on the Add Condition command 5 Set the Logic Flow Basic input event as TIMER1 and the Output Event as ALARM and click OK The second line of the command to the STP Basic will appear on the screen EF SMS from 0523123871 Delay the alarm by one minute po Set TIMER to 1 Mindites oF TIMER Interrupt DO ALARM TRUE 4dd Condition Input Evert MISSA wt Add Qutput E vent Output Event ALARM w Remove this event 6 Click on Write Logic to Device Upon your sending the specified SMS to the STP Basic the STP s alarm will go off in one minute or any amount of delay that you choose for the unit Using the STP Basic s DISARM Option As demonstrated in the previous example you can use the STP Basic to monitor a refrigerator s temperature and to send an alarm message in the event that the temperature rises above a certain value Let s say that you want to defrost the refrigerator for cleaning The user will have to disable the alarm to allow the refrigerator to defrost and not inadverten
70. tly set off the alarm The DISARM option allows you to disarm the STP Basic s outputs in this case to prevent it from alerting you 0f rising temperature To use the DISARM to disable an alarm system 1 In the Logic Flow Basic opening screen click on the Add Condition command 2 Set the Logic Flow Basic input event as SMS and type in the SMS message you wish to send the STP Basic 3 Set the output event as DISARM and select TRUE in the box 76 cz Duetech Beres Ltd IF SMS from 05468855600 Tum off the alarm while detrasting po DISARM TRUE 4dd Condition Input Event From 0546925600 w Add Dutput Event Input Message Turn off the alarm while defrosting Output Event DISARM a TRUE w Remove this event The STP Basic will thus disable the alarm upon receiving your SMS lf you want to enable the alarm by means of an SMS message simply set the DISARM value to FALSE 4 Click OK and click on Write Logic to Device 11 cz Duetech Beres Ltd Chapter 5 For Further Information For more information about our products recommendations for accessories components online documentation and updates please visit our website www duetech gberes com Revision History Date Rev Author 14 7 10 78
71. toggle the output It will connect a disconnected output circuit and disconnect a connected output circuit upon receiving the selected input event 4 In the Duration Seconds box set the duration for the output to be either opened closed or to toggle You have two options to specify the output s duration 5 Type in the number of seconds desired for the output event for example 55 55 seconds 6 If you want the output event to continue indefinitely click on the arrow near the Duration Seconds field to scroll it and choose FOREVER Add Condition Input Event INPUT 1 ng HIGH w Add Dutput E vent Output Event OUTPUT 1 we CLOSE ng Remove this event Figure 50 Output Event OUTPUT 1 configuring DURATION 7 Click on OK 55 cz Duetech Beres Ltd Vout Output Event The Vout output event transfers the input voltage of the STP Basic to the Vout terminal block To enable the event click on the arrow near the Output Event list box and select Vout Set the Vout value you want in the Output Value list box Add Condition Add Output Event Remove this event DISABLE Figure 51 Output Event Vout e Enable The Vout will get the exact voltage value of the source input voltage of the STPL Pro for example If the source voltage is 12 VDC the Vout will be 12 Vdc If the source voltage is 17 VDC the Vout will be 17 Vdc e Disable The Vout will carry out nothing Timer Output Event s
72. will need a pocket screwdriver not supplied in the kit to attach the power supply digital input and relay output a 3 5 mm wide Phillips or flathead screwdriver will do Mounting the STP Basic Unit Mount the STP Basic by pushing or snap fitting it onto a DIN rail top hat rail 35 mm Pull out the black tab on the STP Basic device using a screwdriver and snap the device onto the DIN rail Ensure that the retaining mechanism of the STP Basic snaps cleanly and securely onto the DIN rail um H BEE 13 14 15 16 Duetech Beres Ltd PWR LI REG L IND STP BASIC 35 mm PRES EdO DIN rail 1254567 5 29101112 i to DIN rail FWR Relay Outputs i Inputs OUT 3 2 1 2 1 555505000559 1 2 3 4 5 6 7 8 9 10 11 12 Figure Side view of STP Basic Black Tab 18 cz Duetech Beres Ltd ATTENTION Do not force the STP Basic onto the DIN rail Forcing the device on the rail may crack the black tab or the STP Basic casing and may seriously compromise the stability of the device DANGER e he device must only be used in rooms that are dry and clean Protect the device from humidity water or heat e The device must not be used in environments containing flammable gases fumes or dust e Do not subject the device to shock or severe vibrations Connecting the GSM Antenna Screw the GSM antenna included with the STP Basic device onto the STP Basic antenna SMA connector The antenna serves the same
Download Pdf Manuals
Related Search
Related Contents
Configuration Manager 4.2 manual Samsung AW0819 User Manual OPENDO neo Benutzerhandbuch Sistema GlideScope Cobalt AVL Ha ndbuch Skye Integrale 2 - Landwirtschaft im Netz.de V7 Bluetooth 3.0 Optical Mouse Furuno MODEL CSH-73 User's Manual Copyright © All rights reserved.
Failed to retrieve file