EasyManuals Logo

Control Techniques UD70 User Manual

Control Techniques UD70
154 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #85 background imageLoading...
Page #85 background image
UD70
Issue code: 70nu2
Reference 7-9
CALL
Syntax
CALL program-label:
This is a flow control instruction which is used to execute a Standard
Application Program, or a user-defined Task. After the sub-routine has been
completed, the program returns to the line following the instruction [
CALL].
Example 1
ENCODER{
CALL diglk
_encoder: // Standard application Task
//Digital Lock
...Rest of ENCODER Task
}
Example 2
INITIAL{
CALL SETUP:
}
SETUP:{ //This is the name of the sub-routine
#1.21 = 0
}
Note
It is not possible to single-step through a user-defined
task.
The name of the sub-routine is case-sensitive.
COS
Syntax
result = COS(expression)
This mathematical function returns the cosine of an angle expressed in
radians. This function always returns a floating-point variable.
See
SIN
instruction and
TAN
instruction.
Example
value = COS (3.1416)
CRC16
Syntax
CRC% = CRC16 (character%, CRC%)
This function is used to calculate a 16-bit
CRC (cycle redundancy check,
commonly used in serial communications protocols).

Table of Contents

Other manuals for Control Techniques UD70

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Control Techniques UD70 and is the answer not in the manual?

Control Techniques UD70 Specifications

General IconGeneral
BrandControl Techniques
ModelUD70
CategoryControl Unit
LanguageEnglish

Related product manuals