Download presentation
Presentation is loading. Please wait.
Published byDrusilla Lee Modified over 9 years ago
1
Revision: 2.40 SLS500-Configurator R0412 Programmumgebung, Programming Environment HIQUEL GmbH Bairisch Kölldorf 266, A-8344 Bad Gleichenberg, Austria Tel: +43-3159-3001-0, Fax: +43-3159-3001-4 Email: hiquel@hiquel.com www.hiquel.com IMPORTANT NOTE: IMPORTANT NOTE: To install the programming system start the PowerPoint presentation and click onto this field! If there is no reaction, check the security level of PowerPoint for macro execution. Please ensure that the decimal symbol and digital grouping symbol in your Windows „Regional and language settings“ conform to the default. Choose the „control panel“,“regional and language options“,“customize regional options“. The correct decimal symbol has to be a comma and the digital grouping symbol has to be a full stop e.g. 123.456.789,00 To install the programming system start the PowerPoint presentation and click onto this field! If there is no reaction, check the security level of PowerPoint for macro execution. Please ensure that the decimal symbol and digital grouping symbol in your Windows „Regional and language settings“ conform to the default. Choose the „control panel“,“regional and language options“,“customize regional options“. The correct decimal symbol has to be a comma and the digital grouping symbol has to be a full stop e.g. 123.456.789,00 !!! CLICK HERE !!! CLICK HERE !!! WICHTIGER HINWEIS: WICHTIGER HINWEIS: Um das Programmiersystem zu installieren, starten Sie diese Präsentation und klicken Sie auf dieses Feld! Wenn sich nach einigen Sekunden keine Reaktion einstellt, überprüfen Sie den Sicherheitslevel von PowerPoint für die Makroausführung! Bitte stellen Sie sicher, daß das Tausenderzeichen ein Punkt und als Dezimaltrennzeichen ein Komma eingestellt ist. Überprüfen Sie das unter „Systemsteuerung“ „Ländereinstellungen“ „Zahlen“. Ein Beispiel: 123.456.789,00 Um das Programmiersystem zu installieren, starten Sie diese Präsentation und klicken Sie auf dieses Feld! Wenn sich nach einigen Sekunden keine Reaktion einstellt, überprüfen Sie den Sicherheitslevel von PowerPoint für die Makroausführung! Bitte stellen Sie sicher, daß das Tausenderzeichen ein Punkt und als Dezimaltrennzeichen ein Komma eingestellt ist. Überprüfen Sie das unter „Systemsteuerung“ „Ländereinstellungen“ „Zahlen“. Ein Beispiel: 123.456.789,00 !!! HIER KLICKEN !!! HIER KLICKEN !!! IMPORTANT NOTE: IMPORTANT NOTE: To install the programming system start the PowerPoint presentation and click onto this field! If there is no reaction, check the security level of PowerPoint for macro execution. Please ensure that the decimal symbol and digital grouping symbol in your Windows „Regional and language settings“ conform to the default. Choose the „control panel“,“regional and language options“,“customize regional options“. The correct decimal symbol has to be a comma and the digital grouping symbol has to be a full stop e.g. 123.456.789,00 To install the programming system start the PowerPoint presentation and click onto this field! If there is no reaction, check the security level of PowerPoint for macro execution. Please ensure that the decimal symbol and digital grouping symbol in your Windows „Regional and language settings“ conform to the default. Choose the „control panel“,“regional and language options“,“customize regional options“. The correct decimal symbol has to be a comma and the digital grouping symbol has to be a full stop e.g. 123.456.789,00 !!! CLICK HERE !!! CLICK HERE !!! WICHTIGER HINWEIS: WICHTIGER HINWEIS: Um das Programmiersystem zu installieren, starten Sie diese Präsentation und klicken Sie auf dieses Feld! Wenn sich nach einigen Sekunden keine Reaktion einstellt, überprüfen Sie den Sicherheitslevel von PowerPoint für die Makroausführung! Bitte stellen Sie sicher, daß das Tausenderzeichen ein Punkt und als Dezimaltrennzeichen ein Komma eingestellt ist. Überprüfen Sie das unter „Systemsteuerung“ „Ländereinstellungen“ „Zahlen“. Ein Beispiel: 123.456.789,00 Um das Programmiersystem zu installieren, starten Sie diese Präsentation und klicken Sie auf dieses Feld! Wenn sich nach einigen Sekunden keine Reaktion einstellt, überprüfen Sie den Sicherheitslevel von PowerPoint für die Makroausführung! Bitte stellen Sie sicher, daß das Tausenderzeichen ein Punkt und als Dezimaltrennzeichen ein Komma eingestellt ist. Überprüfen Sie das unter „Systemsteuerung“ „Ländereinstellungen“ „Zahlen“. Ein Beispiel: 123.456.789,00 !!! HIER KLICKEN !!! HIER KLICKEN !!! Path for INET Explorer C:\Programme\Internet Explorer\IEXPLORE.EXE
2
Revision: 2.40 Page 2 Title: Configuration Defining your configuration DI1: DI2: DI3: DI4: DI5: DI6: DI7: DI8: DO1: DO2: DO3: DO4: DO5: DO6: AI1: AI2: AI3: AI4: POTI1: POTI2: SLS500-R
3
Revision: 2.40 Page 3 Title: Programming 1 1 page Choose a specific programmed module to test it separately initialisation 1. Overwrite this number with the page number of the example that you want to test, then select ‘Run > Simulate’ from the toolbar. Welcome to our collection of examples for the SLS- 500 Master Controller Each example comprise one page. Type in the number of the page you want to test These examples should give you an introduction to the use of the different features of the program Good Luck Your HIQUEL Team
4
Revision: 2.40 Page 4 Title: Programming This example demonstrates how to connect digital inputs directly to digital outputs. Additionally digital outputs can be set, reset or toggled if the digital input is high. TRY THIS EXERCISE: Transfer the actual value of the input Di5 to the output Do6. TRY THIS EXERCISE: Transfer the actual value of the input Di5 to the output Do6. Example 1: transfering the input directly to the output analog value =1 page L1.DI1 L1.DI2 L1.DI4 L1.DI3 SET:L1.DO2 L1.DO1 RESET:L1.DO2 TOGGLE:L1.DO3 1111 1111 1100 11 0 or 1
5
Revision: 2.40 Page 5 Title: Programming This example shows that the status of a digital output can also be transferred to any other digital input. Please note, that the digital output must be inserted via the menu item objects/digital input to get a feedback signal! The digital outputs are located in the I/O menu -digital inputs. If the digital input L1.DI1 is activated, all 6 digital outputs are activated as well. TRY THIS EXERCISE: Transfer the actual value of the digital input Do5 to the digital output Do6! TRY THIS EXERCISE: Transfer the actual value of the digital input Do5 to the digital output Do6! Example 2: how to use outputs as inputs analog value =2 page L1.DI1 L1.DO1 L1.DO2 L1.DO3 L1.DO4 L1.DO5 1111 11 11 11 11
6
Revision: 2.40 Page 6 Title: Programming In this example we learn to handle with binary operators. SLS-500 Configurator contains the binary operators AND, OR, EXKLUSIV OR and NEGATION. The operator negation uses only one input signal! Test this examples detailed! & & | | ^ ^ ~ ~ 00000 AB A&BA|BA^B 01011 10011 11110 In memory: bitwise AND->& bitwise OR->| exclusive OR->^ bitwise NEGATION->~ Example 3: binary operators analog value =3 page L1.DI1 L1.DI2 L1.DI1 L1.DI2 L1.DI1 L1.DI2 L1.DI1 L1.DO1 L1.DO2 L1.DO3 L1.DO4 11 00 11 00 11 00 11 00 00 11 11
7
Revision: 2.40 Page 7 Title: Programming L1.DI1 L1.DI2 L1.DI3 L1.DI4 | | | | & & L1.DO1 This example shows how to program multistage binary connections. TRY THIS EXERCISE: You can see the assignment table for the digital inputs Di6, Di7 and the digital output D05. Try to program this exercise now. Di6Di7 Do5 001 010 100 111 TRY THIS EXERCISE: You can see the assignment table for the digital inputs Di6, Di7 and the digital output D05. Try to program this exercise now. Di6Di7 Do5 001 010 100 111 Example 4: a more complex binary connection analog value =4 page 11 00 11 00 11 11 11
8
Revision: 2.40 Page 8 Title: Programming L1.DI1 L1.DO1 L1.DO2 In this example the binary input is transferred into two registers. One register detects the leading edge, the other register detects the falling edge. The result of each register is transferred to a digital output. The signal of the digital input is transferred to all digital outputs. This is a very useful feature in many applications. All edge modules are only for one cycle at the output high, if the input signal contains either one rising or one falling edge. L1.DI2 L1.DO3 Example 5: multiple use of a digital input, rising-, falling- and both edges analog value =5 page
9
Revision: 2.40 Page 9 Title: Programming In this example we learn to know memory cells. SLS-500 Configurator storage cells are able to store one bit information. Every designed storage cell can be given any name. If a path meets the storage cell a value is assigned. If a path originates from the storage cell the actual value is read out! MyMemory TRY THIS EXERCISE : The actual state of the Di2 input should be transferred to a memory. Then the actual state of this memory should be transferred to the outputs Do3 and Do4. TRY THIS EXERCISE : The actual state of the Di2 input should be transferred to a memory. Then the actual state of this memory should be transferred to the outputs Do3 and Do4. Example 6: memory conditions analog value =6 page L1.DI1 L1.DO1 L1.DO2 L1.DO5 L1.DO6 1111 11 11 11 11
10
Revision: 2.40 Page 10 Title: Programming This example depicts that SLS- 500 Configurator really processes data from the top to the bottom. L1.DO1 MyMemory L1.DO2 MyMemory L1.DO3 MyMemory L1.DO4 MyMemory L1.DO5 L1.DO6 MyMemory ~ ~ 1. 2. 3. 4. 5. 6. 7. Example 7: memories and their processing sequence - part I analog value =7 page L1.DI1 11 00 000000000000 11
11
Revision: 2.40 Page 11 Title: Programming This example depicts that SLS- 500 Configurator processes data from left to right. L1.DO1 L1.DI1 MyMemory L1.DO2 MyMemory L1.DO3 MyMemory L1.DO4 MyMemory L1.DO5 L1.DO6 MyMemory ~ ~ 1.2. 3. 5. 6. 4. 7. Example 8: memories and their processing sequence - part II analog value =8 page 1100 000000000000
12
Revision: 2.40 Page 12 Title: Programming This example clearly demonstrates that the processing sequence is extremely necessary. If operators are not in the correct order, the program sequence is processed in an false order. The last element of every processing sequence is crucial for the overall processing sequence. L1.DO1 L1.DI1 MyMemory L1.DO2 MyMemory L1.DO3 MyMemory L1.DO4 MyMemory L1.DO5 L1.DO6 MyMemory ~ ~ As the left memory is beneath the right memory, the right one is processed as first. Example 9: memories and their processing sequence - part III analog value =9 page 1.2. 11 111111111111 1100
13
Revision: 2.40 Page 13 Title: Programming In this example we work with bit connections and memories. We can do binary operations simply with binary inputs or memories and transfer the result to a binary memory or output. L1.DI1 L1.DI2 | | L1.DI3 L1.DI4 | | PfadA PfadB L1.DO1 & & PfadA PfadB Example 10: bit operations and memories analog value =10 page 11 00 11 00 11 11 11 11 11
14
Revision: 2.40 Page 14 Title: Programming This example shows that binary memories can be set or reset if the digital input is high. SET FlipFlop SET FlipFlop RESET FlipFlop RESET FlipFlop If the input of the bit memory receives the value 1, FlipFlop will be set to 1. If the input of the bit memory gets the value 1, FlipFlop will be reseted to 0. This example shows that the state of an binary memory can be inverted on a rising edge of a digital input. FlipFlop TOGGLE FlipFlop TOGGLE FlipFlop Example 11: creating a flip flop through a memory - part l analog value =11 page If the input of the bit memory is the value 1, the current of FlipFlop will be inverted. L1.DO1 L1.DI1 L1.DI2 L1.DI3
15
Revision: 2.40 Page 15 Title: Programming This example demonstrates how operators of edge modules and the TOGGLE bit cell can be applied. This example shows that the memory „flip flop“ can be inverted on either the rising edge, falling edge or both edges of a digital input. L1.DI1 L1.DO1 FlipFlop TOGGLE FlipFlop TOGGLE FlipFlop L1.DI2 TOGGLE FlipFlop TOGGLE FlipFlop L1.DI3 TOGGLE FlipFlop TOGGLE FlipFlop Example 12: creating a flip flop through a memory - part lI analog value =12 page
16
Revision: 2.40 Page 16 Title: Programming Generally, SLS-500 Configurator pages are processed from left to right and from top to the bottom! In this example we learn how to transfer a digital constant value to a digital output. const 0 const 1 const 0 const 1 L1.DO1 L1.DO2 L1.DO3 L1.DO4 L1.DO5 TRY THIS EXERCISE : Transfer a binary constant 1 to the output Do6. TRY THIS EXERCISE : Transfer a binary constant 1 to the output Do6. Example 13: switching outputs directly on- or off analog value =13 page 11 11 11 00 00
17
Revision: 2.40 Page 17 Title: Programming In this example we get to know the first special flag: the START flag! This flag is only active in the very first program cycle. In the following cycles this value is set to zero! The START flag is suitable for the initialisation of memories! FlipFlop TOGGLE FlipFlop TOGGLE FlipFlop START TOGGLE FlipFlop TOGGLE FlipFlop Example 14: special flag START analog value =14 page L1.DI1 L1.DO2
18
Revision: 2.40 Page 18 Title: Programming With this example we get to know the special flags 1ms, 10ms and 100ms This flags are always active for only one cycle after the corresponding period of time has run out! L1.DO1 TOGGLE MS1 TOGGLE MS1 L1.DO2 TOGGLE MS10 TOGGLE MS10 1ms 10ms TRY THIS EXERCISE : Design a program, that creates every 100 ms a logic ‘1’ signal for one cycle at the output Do3. TRY THIS EXERCISE : Design a program, that creates every 100 ms a logic ‘1’ signal for one cycle at the output Do3. Example 15: special flags 100ms,10ms und 1ms analog value =15 page
19
Revision: 2.40 Page 19 Title: Programming In this example we get to know the special flags second, minute und hour. This flags are always active for only one cycle after the corresponding period of time has run out. The special flags day, week, month and year are handled the same way. L1.DO1 Second TOGGLE Second TOGGLE Second L1.DO2 TOGGLE Minute TOGGLE Minute Minute L1.DO3 TOGGLE Hour TOGGLE Hour Hour Example 16: special flags second, minute und hour analog value =16 page TRY THIS EXERCISE : A digital Di8 has a drop in. To the input Di7 a acknowledge switch is connected. If there is a rising edge on the input Di8, a warning lamp should recycle at the output Do1. If the acknowledge switch is activated the warning lamp should turn out. TRY THIS EXERCISE : A digital Di8 has a drop in. To the input Di7 a acknowledge switch is connected. If there is a rising edge on the input Di8, a warning lamp should recycle at the output Do1. If the acknowledge switch is activated the warning lamp should turn out.
20
Revision: 2.40 Page 20 Title: Programming In this example we can see how to program a flashing light with the special flag SECOND! L1.DO2 L1.DO1 L1.DO3 L1.DO4 L1.DO1 ^ ^ Second TRY THIS EXERCISE: Design a program with an AND gate, that produces a flashing light every second. Digital input Di1 acts as start- and stop input, outputs Do5 and Do6 act as flashing outputs. TRY THIS EXERCISE: Design a program with an AND gate, that produces a flashing light every second. Digital input Di1 acts as start- and stop input, outputs Do5 and Do6 act as flashing outputs. Exsample 17: application of a special flag analog value =17 page
21
Revision: 2.40 Page 21 Title: Programming DIGITAL:Change==0 This example shows the application of STATES. Digital states are used to carry out operations within one status frame only if the corresponding status conditions are fulfilled. Is the state requirement not fulfilled, the operations in this state are skipped. This saves time in contrast to classical combinatorics! L1.DO1 TOGGLE Change TOGGLE Change Second const 1 DIGITAL:Change==1 L1.DO1 const 0 L1.DO2 const 0 L1.DO2 const 1 Example 18: conditional executions analog value =18 page 11 00 11 00
22
Revision: 2.40 Page 22 Title: Programming In this example the present state of the digital input L1.Di1 is transferred to the memory My Di1 before it is transferred to the digital output L1.Do1. Then the data content of the memory MyDI1 is transferred to all other outputs. L1.DI1 MyDI1 L1.DO1 MyDI1 L1.DO2 MyDI1 L1.DO3 This example demonstrates that an actual state from one path can be transferred to any memory. MyVar1 MyVar2 MyVar3 SET MyVar1 SET MyVar1 RESET MyVar2 RESET MyVar2 TOGGLE MyVar3 TOGGLE MyVar3 SET MyVar2 SET MyVar2 RESET MyVar1 RESET MyVar1 TOGGLE MyVar3 TOGGLE MyVar3 L1.DI2 L1.DI3 L1.DO4 L1.DO5 L1.DO6 Example 19: application of memory analog value =19 page 11 11 11 11 11 1100 0 or 1 11 0011
23
Revision: 2.40 Page 23 Index MEMORY CARD READ VALUE READ VALUE Out xy 4 4 !!!WARNING!!! DON‘T CHANGE THIS PAGE !!!WARNUNG!!! DIESE SEITE NICHT ÄNDERN
24
Revision: 2.40 Page 24 Title: Programming !!!WARNING!!! DON‘T CHANGE THIS PAGE !!!WARNUNG!!! DIESE SEITE NICHT ÄNDERN
25
Revision: 2.40 Page 25 03.05.06:Adding revision history to the powerpoint file Revision History 03.05.06:In symbols and monitor functions, now you can use the old fashioned names like DIGITAL#L1_DI1 or the new names like L1.DI1 03.05.06: In PLCManager you can now download and use all PLCManager functions via a pure TCP RS232 converter like the MOXA DL-331 or the ADAM-4579. Use the setting TCP/IP instead of COM1 to COM32, type in a IP and socket number. 05.05.06: The Simulator now calculates 2*2 to4 instead of 3.999 05.05.06: The Powerpoint and the compiler now support states and execution conditions >=, 05.05.06: Now you can use natural input and output names like L1.AI1 or R3.DO1 in states and execution conditions 29.05.06: Adding selector dialogs for selecting a previous defined constant in the constants dialog 29.05.06: In select execution condition dialog and in select special flag dialog: Switching off all unused conditions depending on the configured hardware, also removing 1ms flag 29.05.06: In all dialogs: Extension for selecting previous define bits, analog and text variables through a listbox 29.05.06: Now you can set values direct from powerpoint memories or monitors 29.11.06: Errors with updating the IO names with RESI-8KI16LO und SLS500-T1 and RESI-FBR and SLS-500 FBR modules 09.02.07: The encoder inputs can be used on any MEDIC or SLS500 main controller 27.03.07: Error while compiling MEMORYCARD:WRITE VALUE functions 10.08.07: Adding BUS_ADDRESS feature to CAN Controller and PPoint Software 03.10.07: Adopting Microsoft Office Version 2007 14.10.07: Changing to natural Names in states and execution conditions, fixing display of SLS-T1 keymodule 15.12.07: In Debug windows of PLC manager: The PLC manager always used busaddress 0xff instead of configured busaddress 17.12.07: PLC manager: Extending timeouts for downloading via SMS modules like TC35
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.