ICL700 System Manual
ICL700 System Manual
ICL700
System description
Edition
103
Typ3 osa
ICL700
System description
1070 073 737-103 (98.12) GB
E 1998
Contents
Page
2 System performance
2.1 Program structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–1
2.1.1 Module types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–1
2.2 Program execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–6
2.3 Module start-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–7
2.4 Start-up via OM5 and OM7 . . . . . . . . . . . . . . . . . . . . . . . . . 2–12
2.5 Definitions in OM2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–13
2.6 Program execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–20
2.6.1 Cyclic program execution . . . . . . . . . . . . . . . . . . . . . . . . . . 2–23
2.6.2 Peripheral interrupt controlled program execution . . . . . . 2–24
2.6.3 Time-controlled program execution . . . . . . . . . . . . . . . . . . 2–27
3 Operation list
3.1 Structure of control statements . . . . . . . . . . . . . . . . . . . . . 3–1
3.2 Operands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–3
3.3 Data formats and register structure . . . . . . . . . . . . . . . . . . 3–4
3.4 Types of addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–6
3.5 Address ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–12
3.6 Representation of word constants . . . . . . . . . . . . . . . . . . . 3–13
3.7 Time format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–13
3.8 Key to the special markers . . . . . . . . . . . . . . . . . . . . . . . . . 3–14
3.9 Key to the system range . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–16
3.10 Addition, subtraction, multiplication and division formats 3–17
3.11 Instruction set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–19
3.12 Command execution times . . . . . . . . . . . . . . . . . . . . . . . . . 3–65
Safety instructions
Please read this manual before commissioning the ICL700. Store this
manual in a place to which all users have access at any time.
Proper use
This manual contains all information required for the proper use of the con-
trol unit. For reasons of clarity, however, it cannot contain each and every
detail about each and all combinations of functions. Likewise, as the control
unit is usually part of a larger installation or system, it is impossible to con-
sider each and any aspect of integration or operation.
The faultless, safe functioning of the product requires proper transport, stor-
age, erection and installation as well as careful operation.
Qualified personnel
The present manual is designed for NC project engineers and PLC pro-
grammers. They need special knowledge on performance data, system be-
havior and available PLC instructions.
DANGER
This symbol will be used if the failure to observe the instructions in this
manual in whole or in part may result in personal injuries.
CAUTION
This symbol will be used if the failure to observe the instructions in this
manual in whole or in part may result in damages to equipment or data
files.
. This symbol will be used to draw the user’s attention to special circums-
tances.
Key operation
Changes
Modifications in the present operating instructions as compared to issue 102
are marked by black vertical bars on the margin.
Safety instructions
DANGER
Danger for persons and equipment!
First every new program should be thoroughly tested without axis
movement! In the ”Automatic” group operating mode, the control of-
fers the opportunity to inhibit axis movements and/or the output of
auxiliary functions by pressing certain softkeys.
DANGER
Danger of life through inadequate EMERGENCY-STOP devices!
EMERGENCY-STOP devices must be active and within reach in all
system modes. Releasing an EMERGENCY-STOP device must not
result in an uncontrolled restart of the system! First check the EMER-
GENCY-STOP circuit, then switch the system on!
DANGER
Retrofits or modifications may adversely affect the safety of the
products described!
The consequences may include severe injuries, damage to equip-
ment, or environmental hazards. Possible retrofits or modifications
to the system using third-party equipment therefore have to be ap-
proved by Bosch.
DANGER
Movements of tools or axes may cause serious or fatal injuries!
Report any malfunction of the unit to your servicing and repairs de-
partment immediately.
Remember that chippings, borings, etc. may be cast out during op-
eration of the machine! They can cause eye injuries and burns.
Therefore:
D Wear protective goggles!
D Wear a protective suit !
There is also a risk of injury from sharp edges on the workpieces and
tools! Therefore:
D Wear protective gloves!
For measuring or test activities on the live system, the existing safety
and accident prevention regulations must be observed in any case.
Use suitable insulated tools for all types of work!
CAUTION
Repair/maintenance work is reserved to the Bosch service or repair/
maintenance units authorized by Bosch!
Only replacement/spare parts approved by Bosch may be used!
ACHTUNG
Beim Umgang mit Baugruppen und Bauelementen alle Vorkehrun-
gen zum ESD-Schutz einhalten! Elektrostatische Entladungen ver-
meiden!
The following protective measures must be observed for modules and com-
ponents sensitive to electrostatic discharge (ESD)!
D The personnel resposible for storage, transport, and handling must have
been trained for ESD protection.
D ESD-sensitive components must be stored and transported in their pre-
scribed protective packaging.
D ESD-sensitive components may only be handled at special ESD-work-
places.
D Personnel, working surfaces, as well as all equipment and tools which
get in contact with ESD-sensitive components must have the same po-
tential (e.g., by grounding).
D Wear an approved grounding bracelet. The grounding bracelet must be
connected with the working surface through a cable with an integrated
resistor of 1 MW.
D ESD-sensitive components must by no means get in contact with charge-
able objects, including most plastic materials.
D When ESD-sensitive components are installed in or removed from equip-
ment, the equipment must be de-energized.
Typ3
yp osa documentation Part no.
German English
Interface conditions 1070 073 704 1070 073 736
for project engineering and maintenance
Operating instructions – Standard ope-
1070 073 726 1070 073 739
rator interface
Operating instructions – Diagnostics 1070 073 779 1070 073 780
DIN programming instructions 1070 073 725 1070 073 738
for programming to DIN 66025
CPL programming instructions 1070 073 727 1070 073 740
ICL700 system description, program 1070 073 706 1070 073 737
structure of the integrated PLC
ICL700 project engineering manual, 1070 073 728 1070 073 741
software interfaces and CNC interface
signals of the integrated PLC
MACODA 1070 073 705 1070 073 742
operation and configuration of the
machine parameters
All trademarks for software installed on Bosch products upon delivery are
the property of the respective manufacturers.
Processors
D 80386 DX processor for word processing and high-level language
D bit logic processor for fast bit processing 0.24 ... 0.5 ms/k instruction
D 80186 processor for interface processing
Application memory
D 512 kbyte
Program execution
D cyclic
D interrupt controlled
D time-controlled
Programming
D instruction list
D Ladder diagram
D Sequential function chart
D High-level language C
– universal symbol definition
– universal module concept
Operands
D 2k inputs
D 2k outputs
D 48k markers
D 256 timers
D 256 counters
D 512 byte data buffer, also bit-addressable
D 32k byte data field, also bit-addressable
D 512 data modules, also bit-addressable, 2 of which simultaneously active
D 1k byte user stack, 256 DW
D 128k byte communication memory
Communication
D with NC
– via communication memory (DPR)
D with peripherals
– via interface to I/O card rack
– via CAN bus (decentralised I/Os, potentiometers)
– via serial interface to PG
Monitor
D dynamic monitor function (on line)
D static monitor function (single step)
D debug function for C program modules
High-level language
D Language C
D use of standard compilers,
e.g. Metaware C version 3.x, GNU
D full integration in PLC programming interface
D operation of C modules in established module design
D library modules for PLC-specific functions
D high-level language monitor similar to well-known high-level language
debuggers, e.g. Codeview
D flexibly adjustable real-time performance in monitor operation
System bus
Bit logic
processor
Processor interface
Program BLP 33 (dual port RAM)
memory
1–3
1–4 General performance data
Your notes:
2 System performance
The modular design of control unit ICL700 enables the user to divide pro-
grams into functionally related blocks, i.e. to organise programs in a struc-
tured manner. Various types of modules are available for this purpose.
D organisation modules
D program modules (parameterisable)
D data modules
The user also has access to organisation modules in which he may specify
the response to particular events, such as interrupts, operating time or
start-up performance.
PM1
DM1
Control on
A -STEIN
AN -STAUS
S -XSTEIN
CM DM1
CM PM10
PM10
Control off
A -STAUS
O -NOTAUS
R -XSTEIN
EM EM
PM1 PM12
CM PM12.5 A B P0
A B P1
P0= B I3.0 A B P2
P1= B I3.1 O B P3
P2= B I3.2 = P4
P3= B I3.3 EM
P4= B O1.6
NOP0
CM PM12.5
PB12
P0= B I2.0
.. .. A B P0
.. .. A B P1
. . A B P2
P4= B O1.7 O B P3
= P4
EM EM
All fixed and variable data can be stored in the data modules by the user.
Using the initialisation table (OM2), the user can copy any desired data mod-
ule from the user program memory into a data buffer area DB. Data modules
can be written to and read by the PLC program.
The data field is stored in a buffered RAM area and is also available as a vari-
able data field.
D 24 SCHR6HP Word N 6 H
D 26 Word N B
D 28 Word N 0000000000000000 B
D 30 Word N 0000000000000000 B
D 32 Word N 0000000000000000 B
D 34 Word N 01010101010000 B
D 36 Word N 0000000000000000 D
D 38 Word N 12345 D
D 40 DBNRHP Word N 0001 H
D 42 SCHANZHP Word N 0600 H
D 44 SCHVBIHP Word N 0000000000000000 H
D 46 SANZHP Word N 0 H
D 48 SANZ1HP Word N 0 H
D 50 BAMLDGHP Word N 0 B
Data buffer
The data buffer is in a buffered RAM area and is also available as a variable
data buffer.
OM PM DM
Parameterisable – up to 63 –
parameters
Updating
of I/O
maps
PM2
CM CALL
OM1 PM1 DM1
CM CALL CM CALL
CM CALL EM
CM CALL PM3
CM CALL
CM CALL
EP EM
EM
DM2
Power on
Startup performance
Operation of
cyclic User program expansion and
control system modules
PM/DM and programming
time OM unit
control OM1
Interrupt Calls
control .. Updating of
.
EP
Error I/O output
recognition
maps
STOP
The ICL 700 module is booted after power “on” or by module stop if Typ 3
is in the relevant operating condition. The position of the rotary switch on the
SMNC determines the operating condition and consequently whether or not
the ICL 700 is booted.
Please ensure that booting the ICL 700 does not correspond to the start-up
performance.
There are two program parts: 1. System program
2. User program
The system program is always loaded to the ICL and started by the SMNC.
The user program can be loaded to the ICL and started either by the pro-
gramming unit or by the SMNC. An automatic start-up without reloading the
user program is also possible.
The rotary switch on the SMNC determines the booting behaviour of the
ICL 700:
The following diagram shows the cold start and restart of the ICL 700
D without retention of memory and
D with partial retention of memory.
Initialisation of hardware
system log on
check buffer battery and
delete the DF in case of buffer error
N
Error
Y
Y Cold start
active
RUN Stop / run
status N
Start-up stop
STOP
Module stop
Error N
removed
Y Error N
removed
Stop / run N
switchover Stop / run N
switchover
Y
Y
Start-up
Initialisation table
– load and partly
copy
Create actual
assignment list
of peripherals
Error in actual Y
assignment list Error
in OM9
Y Retention N
not
active?
start-up
without reten-
tion of memory
start-up
with partial reten-
tion of memory
2 3
start-up without
retention of memory
retentive areas
T,C,M,DM +
delete interrupts
N
Cold start
Delete fixing
Y Cold start N
= active
OM 5 OM 7
Cold start =
not active
OM 1 OM 1
start-up
with partial reten-
tion of memory
Enable outputs
Fixing is activated
Read I
Y Cold start N
= active
OM 5 OM 7
I /O statuses I /O statuses
incl. superimposed fixing incl. superimposed fixing
Cold start =
not active
OM 1 OM 1
OM7 is executed when the mains power supply is permanently switched on,
if there is a software switch from stop to run and OM7 is integrated in the
program.
D Setting non-retentive
D All marker, counter, timer and data buffer inputs are deleted before
start-up.
D Setting partially retentive
D Data declared as non-retentive is deleted after start-up. Data de-
clared as retentive is retained.
OM2 contains the initialisation table in which the values of the ICL700 firm-
ware can be varied. It is edited by the user using the program editor.
OM2 must be integrated in every ICL700 user program which uses non-
standard settings and then stored in the user memory. If there is no OM2
entry in the symbol file, the standard settings are used.
Parts of OM2 are copied to the system range and can be manipulated by the
user. The final module initialisation is performed with the values from OM2
and the system range before program execution is begun.
The declarations made in OM2 are copied to the system range during
start-up. Manipulations can be performed here by the PLC program,
e.g. the time reference for time-controlled OMs can be changed by an
appropriate entry. The complete assignment of the system range is
portrayed in the “Operation list” chapter.
DEFW K0000000000000000B
Data word 2
Data word 2 is intended for the initialisation flags.
DEFW K0000000000000000B
The cycle time is monitored by the ICL 700 for a permanently set maximum
value of 1.6 s (set by hardware). Below this value, a further cycle time limit
can be specified in OM2. If the cycle time is exceeded, the special marker bit
SM29.7 is set and OM9 is called, where the user can program the response
to cycle time monitoring. When OM9 has been processed, or if it has not
been programmed, the ICL 700 goes into STOP status and all outputs are
reset.
Here it is determined that during start-up at the interruption position the out-
puts are to be output immediately and not in the next I/O state
Here the user can specify whether he wishes a particular data module to be
copied from the user program to the data buffer during ICL700 start-up.
DEFW K0000000000000000B
Data word 5
Data word 5 is intended for cycle time monitoring (time value x time refer-
ence 10 ms).
Entries from K1D to K200D (10 to 2000 ms) with regard to cycle time moni-
toring are possible.
Data word 6
The number of the data module to be copied to the data buffer is entered in
data word 6.
Data word 7
Data word 7 is intended for the first retentive timer. Entries from K0D to
K256D possible (K64D = retention for the timer loops T64 to T255)
K256D = no retention
Data word 8
Data word 8 is intended for the first retentive counter. Entries from K0D to
K256D possible (K64D = retention for the counters C64 to C255)
K256D = no retention
Data word 9
Data word 9 is intended for the first retentive marker. Entries from K0D to
K6144D possible (K128D = retention from marker byte M128/marker bit
M128.0. The retention limit is defined via byte addresses)
K6144D = no retention
Data word 10
Data word 10 is intended for the first retentive address in the data buffer.
Entries from K0D to K512D possible (K256D = retention from data buffer
byte DB256)
K512D = no retention
Data words 11 to 14
Data words 11 to 14 are intended for the definition of time (time value x time
reference 10 ms) in the OMs 18, 19, 20, 21 for time-controlled processing.
Entries from K1D to K65535D are possible.
DEFW K0D
DEFW K0D
DEFW K0D
DEFW K0D
Data words 15 to 18
Data words 15 to 18 are intended for the system memory. The system mem-
ory may not be changed by the user.
DEFW K0000H
DEFW K0000H
DEFW K0000H
DEFW K0000H
Data words 19 to 23
reserved
Data words 24 to 32
reserved
Data words 33 to 48
Data words 33 to 48 are intended for the definition of peripheral input assign-
ment lists.
Every input byte assigned in the control unit is identified by a “1” in the data
word.
A “0” indicates that the input byte has not been assigned. 16 input bytes per
data word are identified as assigned or not assigned.
DEFW K0000000000000000B
DEFW K0000000000000000B
DEFW K0000000000000000B
DEFW K0000000000000000B
Data word 48 for assignment list of the input byte 255 ... 240
DEFW K0000000000000000B
Data words 49 to 64
Data words 49 to 64 are intended for the definition of peripheral output as-
signment lists.
Every output byte assigned in the control unit is identified by a “1” in the data
word.
A “0” indicates that the output byte has not been assigned. 16 output bytes
per data word are identified as assigned or not assigned.
DEFW K0000000000000000B
DEFW K0000000000000000B
DEFW K0000000000000000B
DEFW K0000000000000000B
Data word 64 for assignment list of the output byte 255 ... 240
DEFW K0000000000000000B
Data words 65 to 80
Data words 65 to 80 are intended for the definition of peripheral extended
input assignment lists.
Every extended input byte assigned in the control unit is identified by a “1” in
the data word.
A “0” indicates that the extended input byte has not been assigned. 16 ex-
tended input bytes per data word are identified as assigned or not assigned.
DEFW K0000000000000000B
DEFW K0000000000000000B
DEFW K0000000000000000B
DEFW K0000000000000000B
DEFW K0000000000000000B
Data words 81 to 96
Data words 81 to 96 are intended for the definition of peripheral extended
output assignment lists.
Every extended output byte assigned in the control unit is identified by a “1”
in the data word.
A “0” indicates that the extended output byte has not been assigned. 16 ex-
tended output bytes per data word are identified as assigned or not as-
signed.
DEFW K0000000000000000B
DEFW K0000000000000000B
DEFW K0000000000000000B
DEFW K0000000000000000B
DEFW K0000000000000000B
Within the available organisation modules, the user can determine the
start-up performance and modify other functions.
Criteria such as error recognition, interrupt inputs and timing periods during
program execution result in an automatic call of the corresponding organisa-
tion module.
The following overview shows the criteria which determine the organisation
modules for the respective type of program execution.
OM62 62
OM63 63
The following order of priority applies to interrupt groups and fixed timers:
D peripheral interrupts
D time-controlled execution
In the case of simultaneous interrupts within an interrupt group, the one with
the lowest OM number has the highest priority.
The modules of the user program are executed according to the sequence
specified in the organisation module OM1. OM1 is automatically called after
the start-up phase.
Updating
I/O
OM1 PM1
PM3
CM PM1 EM
CM PM3 EM
CM PM8 PM8
PM4
EM
CM PM4 EM
CM PM5 PM5
..
EP EM
General
In the event of an interrupt, cyclic execution is interrupted after execution of
the command currently being processed and an organisation module as-
signed to the interrupt input is started. The user can program the desired re-
action to the interrupt in this OM. Then cyclic program execution is restarted
at the point of interruption.
All interrupts are stored in an interrupt register. There is a register for each
interrupt group. One bit corresponds to one interrupt in these registers.
When the OM is started the corresponding interrupt is automatically reset.
The commands LAI and RAI can be used to read and reset the stored
interrupts.
. In the event of an interrupt, the register and scratch flag contents must
be recovered by the user if required.
Interrupt mask
There is one interrupt mask for each interrupt group.
Every bit in the mask is allocated to one specific interrupt. The individual in-
terrupts within a group can be enabled or disabled by setting the correspon-
ding bit in the relevant mask to “1” or “0”. The user can read or write this
mask with the commands “TIM” and “LIM”.
All existing interrupts are deleted during start-up or the transition from stop
to run. The interrupts are all disabled and suppressed and the user must en-
able them specifically.
All peripheral interrupts are deleted during a start with retention of memory.
The mask and the enable/disable status return to the status before the inter-
rupt.
All interrupts are disabled during the execution of a start-up OM. Enabled
interrupts are also recognised and processed in the I/O state.
Peripheral interrupts
A peripheral interrupt is triggered by a positive edge on one of the interrupt
inputs EI1.0-EI1.3 of the interrupt module.
. For as long as inputs or outputs (II, IO, EI, EO) are directly accessed, all
peripheral interrupts must be disabled!
Updating
I/O
OM1 PM1
.. PM3 OM10
.. ..
. .
F
CM PM1 EM .. ...
CM PM3 EM .
...
PM8 ..
CM PM8 .. .
. ...
EM PM4 ..
.. ..
CM PM4 .. .
PM6 .. ..
CM PM6 ..
.. . .. ..
EP EM EM EM
. Interrupts may not be nested, i.e. interrupt processing must not be in-
terrupted by a further interrupt!
Interrupt modules must be concluded with “EM”!
Example
EAI PI ; Enable peripheral interrupts
L K1,A
TM A,PI ; Enable the peripheral interrupt with the highest value
; in the interrupt mask register
The above sequence of commands may be carried out only once, e.g. in
start-up OM or in OM1.
A response to this interrupt of the input card (II 24) can be programmed in the
interrupt OM10.
OM10:
L M10,A
INC A,1
T A, M10
BE ; The module must be terminated with EM.
This function is initiated by internal timers, if these were defined through user
commands in time values. Time values may be preset in OM2 or by means of
the program by a description in system range S. Time values are activated
after the next I/O cycle. To initiate time-controlled program execution, cyclic
program execution is interrupted during operation of the corresponding
timer and restarted at the point of interruption after execution (but only in the
case of a module change).
The timer module with the lowest number has priority over the timer module
with the highest number.
Updating
I/O
OM1 PM1
Preset
grid
PM3
CM PM1 EM
CM PM3 EM
PM4
EM EM
CM PM4 EM
Your notes:
3 Operation list
Control statements are executed in accordance with DIN 19239. They com-
prise an operation part and an operand part. However, the control statement
may also consist of the operation part only, e.g. left bracket “(”, end of pro-
gram “PE”.
Operation part
The operation part contains a maximum of 4 characters as a mnemonic
short-hand command. It is divided into operator (OPR) and attribute. The at-
tribute deSignates the data format.
Operand part
The operand part contains the data necessary for the execution of an in-
struction. The format of operands can be symbolic or absolute.
In the case of absolute format, the operand part (depending on the Operation
part) comprises one or two operands and one operand attribute (OPA). The
operand attribute specifies the data format.
INSTRUCTION
Examples
I S Z
L W I 28
, B
L BY –HANS
, B
3.2 Operands
I – Input
O – Output
M – Marker
T – Timer
C – Counter
SM – Special marker
II – Interface input
EI – Extended input
IO – Interface output
EO – Extended output
DB – Data buffer
S – System range
P – Parameter
DF – Data field
K – Constant
D – Data word value
DX – Extended data word value
PM – Program module
DM – Data module
Pn – Number as parameter (n = 0 to 62)
TI – Time interrupt
PI – Peripheral interrupt
R – Register
[R] – Index register
I[R] – Input (indirect register)
O[R] – Output (indirect register)
M[R] – Marker (indirect register)
T[R] – Timer (indirect register)
C[R] – Counter (indirect register)
SM[R]– Special marker (indirect register)
II[R] – Interface input (indirect register)
EI[R] – Extended input (indirect register)
IO[R] – Interface output (indirect register)
EO[R] – Extended output (indirect register)
DB[R] – Data buffer (indirect register)
S[R] – System range (indirect register)
DF[R] – Data field (indirect register)
D[R] – Data module value (indirect register)
DX[R] – Extended data module value (indirect register)
PM[R]– Program module (indirect register)
DM[R]– Data module (indirect register)
In the above list, “R” is replaced with the register identifier “A”, “B”, “C”, “D”!
Data formats
15 8 7 Bit 0
BIT = B
15 8 7 0
BYTE = BY
15 0
WORD = W
31 16
Double word = DW
15 0
31 16
Floating point in double
word format
(in preparation)
15 0
The bits of the double word are divided into:
15 0
The bits are divided into:
Data formats
Register structure
The control unit has four working registers which can be operated by
bit, byte, word and double word; with bytes, the right byte is operated
and with words, the right word is operated.
For operations which exceed the 32 bit format, fixed register pairs
are formed from the individual registers.
Example
Double word
A
Register pair + +
B
Double word
C Double word
Register pair + +
D Double word
Status bit N O C Z
zero
carry
overflow
negative
Register structure
Operand group
e.g. L BY I15,B
Register A
Register B Peripheral address
Register C
Register D
Register addressing
e.g. L W A,B
Direct addressing
e.g. L W K1234H,B
Register A
Register B Constant
Register C
Register D
Register-indirect addressing
e.g. L W M [C] ,A
Register A
Register B
[peripheral address]
Register C
Register D
Each of the four working registers can be used as an index register. Depend-
ing on the command, all operands which are permissible as a direct address
can be operated. The number of the corresponding actual value must be en-
tered in the index register for timer/counter start and timer/counter com-
mands. In the case of illegal command and operand combinations,
programs are aborted with an address error message.
With indirect addressing the operand range is identified by the operand pre-
fix. The index register contains the operand number and address.
31 0
31 0
–false
.
.
.
A SM31.1 ;logic 1
L DW K0040H,A ;Load index register A with address
;O8.0
S B O[A]
L K3,B
A I0.0
SC B,C8
A I0.1
CD C8
L DW K0000H,A
L W C[A],B ;Load counter actual value C0
L DW K0001H,C
L W C[C],A ;Load counter actual value C1
L K100.3,D
A I0.3
SPE D,T0
L DW K0000H,A
L T[A],A ;Timer actual value T0
A I0.5
SC B,C[A]
A I0.6
CD C[A]
A I0.5
SPE B,T[A]
EP
The numbers of timers, counters and parameters may be used for bit com-
mands, word commands and timer/counter commands.
. Timer values are not entered directly, but with the multiplier “R” (grid);
see below.
11 10 Bit 0 – 9
0 0 0 0 X X X X X X X X X X X X
0 0 = 10 ms Grid 0
0 1 = 100 ms Grid 1
1 0 = 1 s Grid 2
1 1 = 10 s Grid 3
Bits 0 to 9 = value entry
Bits 10 and 11 = grid
SM31.0 = reserved
SM31.1 = fixed ”1”
SM31.2 = reserved
SM31.3 = Carry *
SM31.4 = reserved
SM31.5 = Overflow *
SM31.6 = Negative **
SM31.7 = Zero **
* These special markers are generally not affected by carry and overflow
flags.
** The corresponding flags are mapped to this special marker only with the
command “CPL accumulator, accumulator”.
S3/S2 reserved
S9/S8 number of the data module to be copied into the data buffer
S27/S26 reserved
S29/S28 reserved
S31/S30 reserved
S33/S32 reserved
7 or 15
+ 0
Summand Sign Reg. B
+ Cy
7 or 15 = 0
Total Sign Reg. A
31 + 0
Summand Sign Reg. B
+ Cy
31
= 0
Total Sign Reg. A
7 or 15
– 0
Subtrahend Sign Reg. B
– Cy
7 or 15 = 0
Difference OV Sign Reg. A
31
– 0
Subtrahend Sign Reg. B
– Cy
31 = 0
Difference Sign Reg. A
7 or 15 Q 0
Multiplier Sign Reg. B
15 or 31 Z 0
Product Sign Reg. A
31 Q 0
Multiplier Sign Reg. B
31 Z +1 0 31 Z 0
Sign Reg. B HIGH WORD Reg. A LOW WORD
7 or 15 Q 0
Divisor Sign Reg. B
15 or 31 8 or 16 7 or 15 Z 0
Quotient, remainder Sign remainder Reg. A Sign Quotient
31 Z +1 0 31 Z 0
Sign Rest Reg. B Sign Quotient Reg. A
Double word
The following abbreviations are used in the table in addition to the operands
already known:
S – Source operand
Z – Destination operand / Zero
RES – Result
O – Overflow
C – Carry
N – Negative status of MSB
B – Bit
BY – Byte
W – Word
OPT – Operation
OPR – Operator
OPA – Operand attribute
R – Register (A, B, C or D)
[R] – Indirect register (A, B, C or D)
SY – symbolic *
CL500: ICL700:
L BY K77H,A A=127 A=127
INC BY A,1 O A=128 O,N A=128
SPP –LABEL1 fulfilled fulfilled
.
.
–LABEL1
INC BY A,1 N A=129 N A=129
SPP –LABEL2 N not fulfilled
TARGET
RES status
Conclusion
I S Z SOURCE Comment
Absolute
Operation list
Reg.Ind.
Param.
(TARGET WITH S, R,=)
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
Z
Bit commands
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Reg.Ind.
(TARGET WITH S, R,=)
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
O
Z
Bit commands
Parameter RES = 0
S B P0 D 1 D Register bit D D D Set bit conditionally
S B I.0 Prefix as direct operand RES = 1
Parameter RES = 0
R B P0 D 1 D Register bit D D D Reset bit conditionally
Prefix as direct operand REs = 1
= B P0 D 1 D Parameter
Register bit D D D Result allocation
Prefix as direct operand
RES = 0
S B M [A] D 1 D [R] D D D Set bit conditionally
RES = 1
RES = 0
R B M [A] D 1 D [R] D D D Reset bit conditionally
RES = 1
Operation list
Check the register, bit n
P B A.n R D D (n = 0–31) for status 1
(fulfilled: C = 1)
Check the register, bit n
TSTZ B A.n R D D (n = 0–31) for status 0
3–21
(fulfilled: C = 1)
3–22
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Operation list
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
Z
Byte and word commands
DW
A K0,A R D 0 0 D D AND operation between source and
W K
BY target. Result in target.
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
O
Z
Byte and word commands
Operation list
BY
3–23
3–24
RES dependent
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
First instructio
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Operation list
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
O
C
N
Z
Byte and word commands
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
O
Z
Byte and word commands
Operation list
BY Prefix as direct operand
3–25
3–26
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Operation list
Absolute
Reg.Ind.
Param.
Direct
Qeury
OPR
Reg.
RES
OPA
PAR
OID
N
Z
Byte and word commands
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
Z
Byte and word commands
Operation list
W source and target.
Prefix as direct operand
BY Result in target.
3–27
3–28
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Operation list
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
OPA
PAR
OID
Timer commands
RES
SP A,T[B] D R [R] D
Output
0 t
RT
Start timer as extended impulse
1
T RES
SPE A,T0 D R D
Output
SY t t t
0 RT
D D RES
1070 073 737-103 (98.12) GB
A,P0 R P
SPE
Output
0 t t t
RT
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
OPA
PAR
OID
Timer commands
RES
SF A,P0 D R P D
Operation list
Output
0 t t
RT
3–29
0 RT t t
3–30
First instructuion
RES dependent
OPT 1.OPD. 2.OPD ADDR TYPE
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Operation list
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
OPA
PAR
OID
Timer commands
Output
0 t t t
RT
RES
SRE A,T[B] D R [R] D
Output
0 t t t
RT
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
Z
0
Timer commands
Operation list
3–31
3–32
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Operation list
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
OPA
PAR
OID
Counter commands
0
1
CV C0 D D C, SY D Count up
0
1
Count up
CV P0 D D P D
0
1
1070 073 737-103 (98.12) GB
CV C[A] Count up
D D [R] D
0
1070 073 737-103 (98.12) GB
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
OPA
PAR
OID
Counter commands
1
CD C0 D D C, SY D Count down
0
1
Count down
CD P0 D D P D
0
1
CD C[A] D D [R] D Count down
RC C0 D 1 D C, SY D Reset counter
RC P0 D 1 D P D Reset counter
Operation list
3–33
3–34
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Operation list
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
O
Z
Compare commands
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
O
Z
Compare commends
DW
I, O, M, T, C, SM General comparison of the
CPLA W I0,A R D D D D D contents of A and I0
DB, S (SY), DF
BY
DW
CPLA W D0,A General comparison of the
D, DX R D D D D D contents of A and D0
BY
DW
CPLA W II0,A II, EI R D D D D D General comparison of the
contents of A and II0
BY
DW
CPLA W B,A R R D D D D D General comparison of the
BY contents of A and B
DW
[R] only with prefix D D D D D General comparison of the
CPLA W [B],A R
BY Prefix as direct operand contents of A and [B]
DW
General comparison of the
CPLA W K0,A K, R D D D D D
contents of A and K0
BY
DW
CPLA W P0,A P R D D D D D General comparison of the
BY contents of A and P0
Operation list
Note:
The comparison can be evaluated arithmetically and logically.
Arithmetic: The value is considered as a positive or negative two’s complement number.
Logic: The value is considered as a positive integer.
3–35
3–36 Operation list
0H to 7FFFH (word)
0D to 32767D (word)
+ + – (+) 0 1 0 0 1 1
+ + + 0 0 0 0 1 1
– + + 1 0 0 0 1 0
– + 0 1 0 0 1 0 0
– + – 0 0 1 0 0 1
+ – + 1 0 0 0 1 0
+ – 0 1 0 0 1 0 0
+ – – 0 0 1 0 0 1
– – + (–) 1 1 1 0 0 0
– – 0 (–) 1 1 1 1 0 0
– – – 1 0 1 0 0 0
SUB B, A; CPLA B, A
A – B = Ext. Log. Arith. C O N Z AGR LGR
CPL CPL
A B A B
+ + – < < 1 0 1 0 0 0
+ + 0 = = 0 0 0 1 0 0
+ + + > > 0 0 0 0 1 1
+ – + < > 1 0 0 0 1 0
+ – – (+) < > 1 1 0 0 1 0
– – + > > 0 0 0 0 1 1
– – 0 = = 0 0 0 1 0 0
– – – < < 1 0 1 0 0 0
A B: C Z LGR
< +1 0 0
<,= * * +0
> 0 0 +1
>,= +0 * *
= 0 +1 0
# * +0 *
The flags N, Z, AGR are available for the arithmetic comparison evaluation.
A B: N Z AGR
< +1 0 0
<,= * * +0
> 0 0 +1
>,= +0 * *
= 0 +1 0
# * +0 *
+ + – < < * * 1 0 0 *
+ + 0 = = * * 0 1 0 0
+ + + > > * * 0 0 1 *
– + + > < * * 0 0 1 *
– + – > < * * 0 0 1 *
+ – + < > * * 1 0 0 *
+ – – < > * * 1 0 0 *
– – + > > * * 0 0 1 *
– – 0 = = * * 0 1 0 0
– – – < < * * 1 0 0 *
A B: N Z
> 0 0
= 0 +1
< +1 0
>,= +0 *
# * +0
CPL W B.A
Less than
A SM31.6 ;A<B
Less than-equal to
A SM31.6 ;A<=B
O SM31.7
Equal
A SM31.7 ; A=B
Not equal
AN SM31.7 ; A#B
Greater than-equal to
AN SM31.6 ; A>=B
Greater than
AN SM31.6 ; A>B
AN SM31.7
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Operation list
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
Z
Code changes
DW Change binary to decimal (BCD)
BID W A R D D 0 0 D With overflow, the overflow bit
BY is set.
DW Change decimal to binary
DEB W A R D D 0 0 D
Wrong BCD coding sets
BY
the overflow bit.
Replace commands
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
Z
Stack commands
Write register to user stack and
PUSH DW A R D decrement the user stack address.
Operation list
3–41
3–42
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Operation list
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
O
C
N
Z
Arithmetic commands
DW Fixed-point addition of integers
ADD W I0,A I, O, M, T, C, SM R D D D D D with sign
BY DB, S (SY), DF
A+P Result is in A
DW Fixed-point addition of integers
ADD W D0,A D, DX R D D D D D with sign
BY A+D Result is in A
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
O
C
N
Z
Arithmetic commands
Operation list
BY
3–43
3–44
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Operation list
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
Z
Arithmetic commands
DW I, O, M, T, C, SM
ADC W I0,A R D D D D D
DB, S (SY), DF
BY
DW
ADC W D0,A D, DX R D D D D D
BY
DW
ADC R D D D D D
W II0,A II, EI
BY
Fixed-point addition allowing for
DW the carry, e.g. multiword
ADC B,A R R D D D D D addition allowing for the carry
W from the low word addition.
BY
ADC DW K0,A K R D D D D D
W
BY
1070 073 737-103 (98.12) GB
DW
ADC P0,A P R D D D D D
W
BY
1070 073 737-103 (98.12) GB
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
Z
Arithmetic commands
DW
SBB W I0,A I, O, M, T, C, SM R D D D D D
BY DB, S (SY), DF
DW
SBB W D0,A D, DX R D D D D D
BY
DW
SBB W II0,A II, EI R D D D D D
BY
DW
SBB W K0,A K R D D D D D
BY
Operation list
DW
SBB W P0,A P R D D D D D
BY
3–45
3–46
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Operation list
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
Z
Arithmetic commands
DW Fixed-point multiplication of
MUL W A,B R R D 0 0 D D integers with sign
BY B* A Result is in A_B
for DW
Fixed-point multiplication of
DW
MUL W K10,A K R D 0 0 D D integers with sign
BY B* A Result is in A_B
for DW
Fixed-point division of
DW integers with sign
DIV W A,B R R D D 0 D D C_B : A Result is in
BY C_B (R/Q) for DW
B:A Result is in B
Note:
0 = 1 with
– Division by 0
– Division overflow
Fixed-point division of
integers with sign
DW B_A : K Result is in
1070 073 737-103 (98.12) GB
Note:
0 = 1 with:
– Division by 0
– Division overflow
1070 073 737-103 (98.12) GB
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
Z
Arithmetic commands
DW
W Increase the contents of the source
INC A,n R R D D D D D operand by “n”
BY n = 0 – 127
DW
D D D D D Complement the contents of the
TC W A R
source operand (two’s complement)
BY
DW
Negate the contents of the
N W A R D 0 0 D D
Operation list
BY source operand (one’s complement)
Note:
The time is independent of “n”
3–47
3–48
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGENT
RES status
I S SOURCE
Conclusion
Z Comment
Operation list
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
Z
Load commands
DW
L D0,A D, DX R D Load the source operand
W into the target register.
BY
DW
L II0,A II, EI R D Load the source operand
W into the target register.
BY
DW Load the source operand
L B,A R R D
W into the target register.
BY
DW [R] only with prefix Load the indirectly addressed
L [B],A R D source operand into the target
W Prefix as direct operand
BY register.
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
SOURCE
RES status
TARGET
Conclusion
I S Z Comment
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
O
Z
Transfer commands
DW
T A,D2 D, DX R D Transfer from source register
W into the target operand
BY
DW
T A,IO IO, EO R D Transfer from source register
W
into the target operand
BY
DW
T D Transfer from source register
W B,A R R
into the target operand
BY
DW
Transfer from source register
T W A,[B] [R] only with prefix R D
Prefix as direct operand into the indirectly addressed
BY target operand
DW
T A,P0 P R D Transfer from source register
W
into the target operand
BY
Operation list
3–49
3–50
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Operation list
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
Z
(all flags are
Shift commands influenced)
Logic SHIFT to right
DW 31
DW W 15 0
SLR W A,n R R D D D D D BY 7 0
BY 0 C
RCR W A,n R R D D D D D BY 7 0
C
BY
1070 073 737-103 (98.12) GB
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
Z
(all flags are
Shift commands influenced)
Arithmetic SHIFT to right
W 15 0
DW BY 7 0
SAR W A,n R R D D D D D
C
BY
All liberated bits are filled
with the sign
Rotate to right
DW W 15 0
ROR W A,n R R D D D D D BY 7 0
BY C
DW Rotate to right
Rotate to left
W 15 0
DW
ROL A,n R R D D D D D BY 7 0
W C
Operation list
BY
Rotate to left
DW
ROL W A,[C] R R D D D D D As above:
BY The number of shift positions
3–51
is in the address pointer of [C]
3–52
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Operation list
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
N
Z
(all flags are
Shift commands influenced)
DW Rotate to right through CARRY
W W 15 0
RCL A,n R R D D D D D BY 7 0
BY C
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
O
C
N
Z
Interrupt commands
Operation list
Note: LAI: – Incoming interrupts remain in interrupt register until execution; for example, when TI: – Time-controlled processing
an interrupt is disabled it is possible to detect arriving interrupts. If interrupts are
not reset, the stored interrupts will come after the “EAI” command. PI: – Peripheral interrupt-
controlled processing
3–53
3–54
RES dependent
First instruction
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
TARGET
RES status
SOURCE
Conclusion
I S Z Comment
Operation list
Absolute
Reg.Ind.
Param.
Direct
Query
OPR
Reg.
RES
OPA
PAR
OID
O
C
N
Z
Interrupt commands
n = 0 – 63*
EP PROGRAM END Initiates the I/O data replacement and begins a new cycle
) RIGHT BRACKET
O( EMPTY OR LEFT BRACKET Double instruction. Corresponds to the “OR LEFT BRACKET” function [*(]
Operation list
)N RIGHT BRACKET, NEGATION Negation of the bracket contents
Note: The NOP command has no effect on the program seguence. Both commands are used to reserve
memory space during program start-up in order to carry out changes in the program with
3–55
the “Replace” ONLINE command in monitor operation.
3–56
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
I S Z POSSIBLE Comment
Operation list
Absolute
Reg.Ind.
OPERANDS
Param.
Direct
OPR
Reg.
RES
OPA
PAR
OID
AG
LG
O
N
Z
Jump commands
Jump by the number of Opcode bytes
JP [R] D indicated in the register
JP SY D Unconditional jump
D
1070 073 737-103 (98.12) GB
Absolute
Reg.Ind.
OPERANDS
Param.
Direct
OPR
Reg.
RES
OPA
PAR
OID
AG
LG
O
N
Z
Module call commands
CM PM SY, PM D Unconditional module call
Operation list
D 0 Module call overflow Not
CMON PM SY, PM with O = 0
CMMZ PM SY, PM Module call with negative (minus) or Z = 1,
D 0 i.e. arithmetic <=
3–57
3–58
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
I S Z POSSIBLE Comment
Absolute
Reg.Ind.
OPERANDS
Param.
Operation list
Direct
OPR
Reg.
RES
OPA
PAR
OID
AG
LG
O
N
Z
Module call commands
Absolute
Reg.Ind.
OPERANDS
Param.
Direct
OPR
Reg.
RES
OPA
PAR
OID
AG
LG
O
N
Z
Module call commands
CM PM SY, PM D Unconditional module call (n = 0-62)
Operation list
CMON PM SY, PM D 0 Module call overflow not
with O = 0
CMMZ PM SY, PM Module call with negative (minus) or Z = 1,
D 0 i.e. arithmetic <=
3–59
3–60
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
I S Z POSSIBLE Commend
Absolute
Reg.Ind.
OPERANDS
Param.
Operation list
Direct
OPR
Reg.
RES
OPA
PAR
OID
AG
LG
O
N
Z
Module call commands
Absolute
Reg.Ind.
Param.
OPERANDS
Direct
OPR
Reg.
RES
OPA
PAR
OID
AG
LG
O
N
Z
Module call commands
CM P,n P D Unconditional module call (n = 0-62)
Operation list
(logic < =)
CMON P,n P D 0 Module call overflow not
with O = 0
CMMZ Module call with negative (minus) or Z = 1,
P,n P D 0
i.e. arithmetic <=
3–61
3–62
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
I S Z POSSIBLE Comment
Absolute
Reg.Ind.
OPERANDS
Param.
Operation list
Direct
OPR
Reg.
RES
OPA
PAR
OID
AG
LG
O
N
Z
Module call commands
CM [A] [R] D Unconditional module call
Absolute
Reg.Ind.
OPERANDS
Param.
Direct
OPR
OKN
Reg.
RES
OPA
PAR
AG
LG
O
N
Z
Module call commands
Operation list
CMON [A], n [R] D 0 Module call overflow Not
with O = 0
CMMZ [A], n [R] D 0 Module call with negative (minus) or Z = 1,
i.e. arithmetic <=
3–63
3–64
OPT 1.OPD. 2.OPD ADDR TYPE STATUS
I S Z POSSIBLE Comment
Absolute
Reg.Ind.
Param.
OPERANDS
Operation list
Direct
OPR
Reg.
RES
OPA
PAR
OID
AG
LG
O
N
Z
Module end commands
EM Unconditional module end
Text Operation
list
3.12 Command execution times
SP A,P0 CU P0
P0=T0 P0=C0
RES falling 6.5 RES falling 6.5
RES rising 7.2 RES rising 6.8
RES stable 4.5 RES stable 5.8
SP A,T[B] CU C[A]
RES falling 4.6 RES falling 2.6
RES rising 5.5 RES rising 2.7
RES stable 2.7 RES stable 2.3
RT T0 SC A,C0
RES=0 1.75 RES falling 3.6
RES=1 3.5 RES rising 4.4
RES stable 2.4
RT P0
P0=T0 SC A,P0
RES=0 3.5 P0=T0
RES=1 4.5 RES falling 7.2
RES rising 8.5
RT T[A] RES stable 6.5
RES=0 1.8
RES=1 3.8 SC A,C[B]
RES falling 4
RES rising 5.4
RES stable 3.7
RC as SC
DEC as INC
TC W A 0.23
N W A 0.3
Ihr Ansprechpartner