STP (16)


STP (16)

ID                          16

 

 

Application:

PLC

SIM

 

Group: LOGIC

 

Short description:

Function for executing sequence programs.

 

Inputs (2):

no.

type

impulse

mark

notes

1

B

yes (0 -> 1)

exe

Binary input activating the block
2 B no end_cond Condition for moving to the next step

 

Outputs (2):

no.

type

impulse

mark

notes

1

B

no

active

Step activation output
2 B yes (0 -> 1 -> 0) next Output signaling the possibility of executing the next step of the program

 

Settings: none

Function operation:

The STP function is used to execute sequence programs. Changing the signal at the exe input from 0 to 1 activates the active output, which is active until the condition of transition to the next step is met, i.e. signal 1 appears on the end_cond input. When the active signal is switched off, the output next is switched on for one program cycle.

If the exe input goes from 0 to 1 with the end_cond signal active, the active output will not be activated and the next output will change state for high for one program cycle.

The active state of the special marker M1011 resets the active and next outputs of all STP blocks in the program. Be sure to change marker M1011 to inactive before running the sequence program.

 

R registers and M markers used:

no.

name

description

R - read, W - write

M1011

STP_Reset

Reset all STP blocks RW