-

SEC_TA4PLCNEXT_2ND_GEN

TypeFunction block
DescriptionThe function block returns a constant string with the PHOENIX device certificate hierarchy. The PHOENIX device certificate hierarchy contains the root certificates in PEM-coded format (see the note below). With the SEC_VERIFY_DEVICE_IDENTITY function block these certificates can be used to verify the identity of the device.

The function block is executed with a rising edge at the EXECUTE input. The device certificate hierarchy is successfully written to the TRUSTED_CERTS output when DONE = TRUE. After successful execution of the function block, the TRUSTED_CERTS output remains unchanged.
Notes
  • The PHOENIX device certificate hierarchy returned by the FB SEC_TA4PLCNEXT_2ND_GEN contains only the current certificates used on newer devices (see also the FB SEC_TA4PLCNEXT_1ST_GEN).
  • 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.
ParametersInput

EXECUTE

Outputs

DONE

TRUSTED_CERTS
Application example