Call Instruction In The User Program - Siemens SIMATIC ST-1500 Function Manual

Table of Contents

Advertisement

4.5.2

Call instruction in the user program

The SSI_Absolute_Encoder instruction can be called once per channel, either cyclically or in
a time-controlled program. The call is not permitted in an event-controlled interrupt program.
Procedure
Proceed as follows to call the instruction in the user program:
1. Open the CPU folder in the project tree.
2. Open the "Program blocks" folder.
3. Double-click the OB for cyclic program execution.
The block is opened in the work area.
4. In the "Instructions" window, open the "Technology" group and the "Counting and
measurement" folder.
The instructions are located in the folder.
5. Select an instruction and drag it to your OB.
The "Call options" dialog opens.
6. Select a technology object from the "Name" list or enter the name for a new technology
object.
7. Confirm with "OK".
Result
If the technology object does not exist yet, it is added. The instruction is added in the OB.
The technology object is assigned to this call of the instruction.
Note
If you click one of the buttons "Configuration", "Commissioning" or "Diagnostics" in the user
interface of the instruction, the respective editor opens.
Counting, measurement and position detection
Function Manual, 12/2017, A5E32009889-AG
Using the SSI_Absolute_Encoder technology object
4.5 Programming the SSI_Absolute_Encoder
157

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200mpSimatic et 200sp

Table of Contents