Skip to main content

PTSCONTACT

PTSCONTACT is a rising-edge transition contact used in Ladder logic.

Ladder Representation

PTSCONTACT ladder representation

Block Structure

Variable TypeNameData TypeDescription
VAR_INPUTI1BOOLBlock control input.
VARPTSCONTACT_INST_0PTSCONTACTBlock structure access instance.

Operation

When variable I1 transitions from FALSE to TRUE (rising edge or positive transition edge), B receives the value of A for one scan cycle. At all other moments, B receives FALSE.

Series And Parallel Associations

Pay attention to series and parallel contact associations. See the Contact Logic section for more information.

Logic Diagram

PTSCONTACT logic diagram

Execution Flowchart

PTSCONTACT execution flowchart

Examples

PTSCONTACT ladder example

In this example, digital output DO1 is reset when the SHIFT key is pressed and a positive pulse is detected at digital input DI2.