-

PULSE_GEN / PULSE_GEN_S

Type Function block

Available as standard (non-safety-related) and safety-related type (*_S). For the safety-related type, the safety-related data types (SAFE*) are expected at the formal parameters.

Note
Both the standard and the safety-related type are only available in safety-related code (SNOLD), i.e. in a safety application executed by a Safety PLC.

Description Generates a pulse signal with configurable pulse/pause ratio. Pulse duration and pause time (pulse ratio) can be set using the function block inputs PTH and PTL.
The pulse signal output can be used to control other (safety-related or standard) functions/function blocks.

WARNING
Unintended machine operation

Verify that the connection of the pulse signal generated by PULSE_GEN/PULSE_GEN_S cannot lead to undesirable behavior of the safety-related application.1

1This could occur, for example, if the Q output of PULSE_GEN is connected to the Reset input of a safety-related function block, thereby causing potentially hazardous cyclic resetting.
Notes Function blocks have to be instantiated. The instance name of the function block has to be declared in the 'Variables' table of the POU where the FB is going to be used. The instance name must be unique within the POU.
Parameters Inputs

IN

PTH / PTL

Output

Q

ETH/ETL
Fault Avoidance

WARNING
Unintended machine operation

Validate the entire safety function to ensure correct time values set at the PTL and PTH inputs.

Possible error sources (signals):

Impermissible signals at the IN input

Undesirable connection of the IN input

Impermissible static TRUE signal at the IN input (operating current principle)

Impermissible static FALSE signal at the IN input (closed-circuit current principle)

Connection with safety-related function block SF_TestableSafetySensor: Impermissible FALSE signal or no connection at the IN input

Possible causes:

  • Programming errors in the application program (user errors)
  • Cross-circuit, short-circuit, and cable break (user errors, wiring errors)
Possible preventive measures (depending on the safety function):

  • Use of safety-related device signals
  • Use of options for cross-circuit detection
  • Verification of the safety-related logic in the code editor and subsequent validation of the entire safety-related application code
Timing Diagram Timing Sequence for pulse ratio 2:3 (PTH=2.0 s and PTL=3.0 s, for example):
Application Example Application example for periodic start of a sensor