Professional Documents
Culture Documents
Operation
Contents
Introduction................................................................ 2
Operating modes .................................................... 2
Instruction set in PROGRAM-mode...................... 2
Instruction set in RUN-mode ................................. 3
Instruction set in the PROGRAM-mode.................... 5
Writing to free program lines................................. 5
The operating command GOTO ............................ 6
Insertion of control instructions (INSERT) ........... 7
Display step-wise ................................................... 8
Clearing instructions (DELETE) ........................... 9
Display the instruction list (LISTING) .................. 10
Search for control instructions (FIND) .................. 11
Filling out the look-up table (TABLE) .................. 12
Display of the program header (HEADER)........... 13
Delete the program (NEW).................................... 14
Program storage (RESTORE / SAVE) .................. 15
Selection of the Cold-start/Warm-start mode ........ 16
Start-up behavior................................................ 16
Program protection (USERIDENT)....................... 17
Comparison of the internal
RAM and backup contents..................................... 18
Instruction set in the RUN-mode ............................... 19
Display of process data (VIEW) ............................ 20
Modification of the process data (MODIFY) ........ 21
Step-by-step operation (TESTMODE / STEP)...... 22
Echo On / Off......................................................... 23
Introduction
The operating instruction set for the SELECONTROL PMC includes the following
commands:
Operating modes
X)P Activate PROGRAM mode (programming)
X)R Activate RUN mode (operation)
Note: With the exception of the two instructions CTRL+T and CTRL+R, all the
operating instructions must be confirmed by pressing the ENTER key.
The firmware of the SELECONTROL® PMC supports the following functions for
correcting an entry:
BACK SPACE: Moves the cursor to the left. The erroneous entry can
either be over-written or deleted.
If the input is erroneous, an acoustic warning is given and the control instruction is not
formatted. The system comes back with the same line number so that the instruction
may be corrected.
Example:
Line Instruction Description
0000 A0.1 Erroneous input
(no operand identification "I" INPUT)
Example:
Line Instruction Description
0002 G)1999 Command G) with new line number outside
the current program
If the program is to be structured by use of spaces (NOP), then these spaces must be
specifically input. It is not necessary to insert many spaces (NOP) since control
instructions can be subsequently added at any time (the NOP's lengthen the cycle time).
Example:
A line with additional instruction is to be inserted in the following program.
Line Instruction Description
0000 L I 00.00 Existing program
0001 A I 00.01
0002 O I 00.03
0003 = O 01.00
0004 EP
0005
Display step-wise
The successive line number and the corresponding instruction are displayed each time
the ENTER key is pressed.
Enter: F)0.3 and press the ENTER key. The system signals the search with the
following message:
Line Instruction Description
FIND *** * 00.03 Search for a parameter
0002 0 I 00.03 First line number with parameter sought
FIND NEXT? "Y" Enter "Y" to continue the search
Enter any other character to terminate
the search.
Press the Y and ENTER keys. The system then continues to search. The following is
presented if the sought for parameter is not found:
Line Instruction Description
FIND *** * 00.03
STRING NOT FOUND
0002
After the search the cursor is located
• either on the line at which the search has been started
• or on that line at which the sought for parameter has last been found.
Example:
Line Instruction Description
XXXX H) Command HEADER
the following system settings are shown after pressing the ENTER key:
• LKP-TABLE (code changing table)
• System setting: - Data transmission
- baud rate
- format
The HEADER output can be interrupted and restarted by striking any key. Pressing the
ENTER key terminates the output.
Example:
The cursor is positioned on an arbitrary line number (XXX):
Line Instruction Description
XXXX N)1234 Command N) plus security code 1234
The program is deleted from memory and the cursor is positioned at line number 0000.
Once a program has been completed and been tested it should be stored in a memory
cartridge with the command S)1234. The cartridge has to be inserted in the basic unit to
achieve this.
The operating command S)1234 starts the copying procedure from RAM to EEPROM
(SAVE).
The operating command R)1234 starts the copying procedure from EEPROM to RAM
(RESTORE).
The whole program is always copied, including - look-up-table
- Password (Userident)
- Settings concerning
- Cold/Warm-start behavior
Warning: Insert or remove the memory cartridge only after the power has been
switched off.
The following error message is generated if an attempt is made to use the commands
without a memory cartridge being inserted in the basic unit:
Line Instruction Description
XXXX NO BACKUP MEMORY
Syntax: W) (WARMSTART)
The process data in all the data registers D00.00 ... D15.63 remain stored and the
current program cycle is completed after a power interruption or a change of operating
mode.
This enables the programmer to write the required process data (markers, step counters,
outputs, etc.) into the data registers with the STW command before the EP and then, at
the start of the program, to bring the data back into the program again with the special
marker M40.01 and the FTW command.
Start-up behavior
The start-up behavior is signalled with the special marker M40.13 (WARMERR). The
special marker is set to either logic 1 or logic 0 as the case might be in the following
cases:
When a cold-start has been selected
• Start-up with initialized process data: M40.13 = logic 0
The command U)
A security code can be entered in the program mode by use of the operating command,
U). A return to the program mode requires the input of this security code, otherwise
every instruction (list, print, etc.) will be ignored.
A string of 1 to 4 characters is permissible as the USERIDENT
(figures, symbols, letters).
The USERIDENT can be deleted in the programming mode by means of U) and
ENTER.
The command B)
After leaving the RUN mode, the security code is activated with B) (Bye) and ENTER.
Image memory
I/O-Phase
S tatu s o f
in p uts a n d o u tp u ts
U se r-p ro g ra m
Examples:
Display Input Description
The V) command remains active until it is cancelled by pressing the ENTER key.
The statuses of data types I, O and M are only modified for one scanner cycle.
Thereafter, the effective value is automatically assumed by the system.
Examples:
Display Input Description
R M) I 00.00 K1 Input 00.00 is set to logical 1
for one program cycle
R M) D 15.60 K 1987 Data register 15.60 is set to a value of 1987
R M) S 13.00 K67 Step counter 13 is set to a value of 67
The operating command M) is used during the program test and commissioning e.g. for:
• pre-setting the step counters step-by-step
• and checking the inputs/outputs
• alteration of counter contents and elapsed times
The command T)
You have the possibility in the test mode to test a program on a step-by-step basis, i.e.
cycle-by-cycle.
Press T) and the ENTER key to activate the test mode.
This is shown on the terminal by the message: TESTMODE ON
The command S)
The S) command causes the program to be executed once and then the I/O-phase is
carried out.
To exit from the test mode it is necessary to press T) and ENTER once again.
The system-flag M 41.01 is active while the test mode is switched on.
Echo On / Off
Syntax: Ctrl+T or Ctrl+R
The expression Echo-Mode means that every character that is sent to a receiving device
is immediately returned by that device to the sender.
DIP-switch No. 5 on the rear of the equipment must first be set to the ON position
before the two commands can be utilised.
You can activate the echo mode even before the installation of the controller by means
of DIP-switch No. 5 (see the Section "Hardware description").
The system-flag M 41.00 signals the current setting of the echo mode.
Echo mode switched on Flag 41.00 = 1
Echo mode switched off Flag 41.00 = 0