Subroutine 63 - Toggles; Subroutines 0 To 19, 34 To 36, 57, And 61 - Siemens SINUMERIK 808D ADVANCED Commissioning Manual

Hide thumbs Also See for SINUMERIK 808D ADVANCED:
Table of Contents

Advertisement

6.6.35

Subroutine 63 - TOGGLES

Purpose
Two types of switches are provided in subroutine 63, more specifically, a hold switch for switching a circuit on (press) and off
(press again), and a delay switch for switching on a circuit and automatically switching it off after a certain time period. A
total of six hold switches and two delay switches are available in this subroutine, with the delay duration being configurable.
The key inputs or outputs of the subroutine can be connected with any physical inputs or outputs. The inputs and outputs of
all idle switches are respectively "ZERO" and "NULL_b" (M255.7).
Local variable definition
Inputs
Name
Delay7
Delay8
Ki_1...Ki_6
Ki_7...Ki_8
Outputs
Name
Ko_1...Ko_8
Assigned global variables
K1st1 ... K8st1
K1st2 ... K8st2
K1on ... K8on
Relevant PLC machine data
None
Example for calling subroutine 63
6.6.36

Subroutines 0 to 19, 34 to 36, 57, and 61

Explanation
Subroutines 0 to 19, 34 to 36, 57, and 61 are reserved for users.
204
Type
WORD
WORD
BOOL
BOOL
Type
BOOL
MB245
MB246
MB247
Description
For switch 7; unit: 10 ms; max delay = 5 min
For switch 8; unit: 10 ms; max delay = 5 min
Input of hold switch 1...input of hold switch 6
Inputs of delay switches 7 and 8
Description
Output of switch 1...output of switch 8
State 1 of the hold switch
State 2 of the hold switch
"On" state of the hold switch
Commissioning Manual
01/2017

Advertisement

Table of Contents
loading

Table of Contents