Get safety configuration unique identifier via script / safety config changes with external safety device

Is there script code that can be used to “get” the current UR safety configuration ID/check sum? I’m interested in comparing it to a user-defined value, which would be set to match the safety configuration/check sum ID that was validated in our safety-related risk assessment.

When using an external safety device (say an area scanner) that has its own unique safety configuration ID, does the UR’s safety configuration change when the device’s unique safety configuration changes?

The checksum is based on the safety settings of the UR only. UR does not know/read the safety setup of your external devices.