TM5SDI20DFS Digital Input Safety Module
Module type/safety-related fields of application
Input safety-related module, 20 safety-related input channels, 4 pulse outputs.
24 VDC rated voltage, input filter configurable by software.
Schneider Electric safety-related modules can be used in safety-related applications according to:
EN ISO 13849, PL e
IEC 62061, SIL 3
IEC 61508, SIL 3
Group: Basic
Parameter: MinRequiredFWRev
Default value |
Basic Release |
Unit |
-/- |
Description |
This parameter is only relevant in case of implementing other firmware versions than the manufacturer-loaded version. To enter the operational state, the firmware version parameterized here or a newer version must be installed on the module.
The firmware version selected here is particularly important with regard to parameters or process data items that have been implemented with a particular firmware version. If the device you are currently working with has new parameters or process data items, the following applies: if MinRequiredFWRev is set to an incorrect value, either the SLC will not enter the operational run status or the new parameters/process data items will not be taken into account by the SLC. Refer to the hazard message below this table. Further Information Information on newly added parameters or process data items can be found in the Release Notes you received with the firmware package. The Release Notes also describe how to determine the firmware version that is currently installed on the safety-related device. |
WARNING
UNINTENDED EQUIPMENT OPERATION
Verify that the selected value for MinRequiredFWRev corresponds to the firmware version installed on the safety-related devices involved.
Verify by means of functional tests that each newly implemented parameter or process data item of safety-related modules is taken into the account by the SLC where this is required by your safety-related application.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Parameter: Optional
Default value |
No |
Unit |
-/- |
Description |
The module can be configured as optional using this parameter. Optional modules do not have to be available (physically present or communicative), i.e., if an optional module is unavailable, this is not signaled by the Safety LogicController. This parameter does not influence the module signal or status data. |
Possible values |
|
The Optional parameter is a mechanism to scale your safety-related system for various configurations of your machine design. However, it may be the case that the module(s) that you have designated as optional may be required in some of your alternative machine configurations.
WARNING
UNINTENDED EQUIPMENT OPERATION
Verify by means of functional tests that those modules that have the Optional parameter set to 'Yes' or 'Start-up' are available if and when required in alternative machine configurations.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Group: SafetyResponseTime
The safety response time is the time between the arrival of the sensor signal on the input channel of a safety-related input module and the shut-off signal at the output channel of a safety-related module. For further and detailed background information, refer to the topic "Safety Response Time".
The parameters in this group influence the safety response time of the Safety Logic Controller system. The parameters CommunicationWatchdog, MinDataTransportTime, and MaxDataTransportTime in this group are only applied to the module if ManualConfiguration is set to 'Yes'.
Parameter: ManualConfiguration
Default value |
No |
Unit |
-/- |
Description |
Specifies whether the module uses its safety response time-relevant parameters (CommunicationWatchdog, MinDataTransportTime, and MaxDataTransportTime) or the values specified in the 'SafetyResponseTimeDefaults' parameter group of the Safety Logic Controller. Managing parameters per module optimizes the system to application-specific requirements regarding the safety response time. |
Parameter value |
|
Parameter: MinDataTransportTime
Default value |
12 |
Value range Step size |
12...500 1 |
Unit |
100 µs |
Description |
Defines the minimum time that is required to transmit a data telegram from a producer to a consumer. If a telegram is received earlier (by the consumer) than specified by this parameter value, communication is considered as invalid. EcoStruxure Machine Expert - Safety provides a calculator dialog to determine this parameter value. Term definition and background information According to the openSAFETY specification, devices (safety-related I/O modules as well as the Safety Logic Controller) communicate by sending and receiving cyclic data, referred to as openSAFETY telegrams. A telegram generating (sending) device is designated as producer, a receiving device is a consumer. Each telegram includes a time stamp for time validation of the communication. On receipt of a telegram, the consumer compares this time stamp with the current time. If the schedule is kept, the communication is considered as valid. If a telegram is received earlier than defined by this parameter, communication is considered as invalid and is not further processed. The 'SafeModuleOK' process data item also becomes SAFEFALSE indicating that the safety-related communication of the module is no longer valid. The implications for the rest of the safety-related systems depend on the defined safety-related function. |
Value calculation |
How to calculate the module-specific MinDataTransportTime value
|
Practical values |
Entering the MinDataTransportTime value calculated in EcoStruxure Machine Expert - Safety results in a stable running system. |
Parameter: MaxDataTransportTime
Default value |
200 |
Value range Step size |
12...65,000 1 |
Unit |
100 µs |
Description |
Defines the maximum time that is allowed to transmit a data telegram from a producer to a consumer. If a telegram is received later (by the consumer) than specified by this parameter value, communication is considered as invalid. EcoStruxure Machine Expert - Safety provides a calculator dialog to determine this parameter value. NOTE: The parameter value influences the safety response time calculated by EcoStruxure Machine Expert - Safety. Term definition and background information According to the openSAFETY specification, devices (safety-related I/O modules as well as the Safety Logic Controller) communicate by sending and receiving cyclic data, referred to as openSAFETY telegrams. A telegram generating (sending) device is designated as producer, a receiving device is a consumer. Each telegram includes a time stamp for time validation of the communication. On receipt of a telegram, the consumer compares this time stamp with the current time. If the schedule is kept, the communication is considered as valid. If a telegram is received later than defined by this parameter, communication is considered as invalid and is not further processed. The implications for the rest of the safety-related systems depend on the defined safety-related function. |
Value calculation |
How to calculate the module-specific MaxDataTransportTime value
|
Practical values |
Entering the MaxDataTransportTime value calculated in EcoStruxure Machine Expert - Safety results in a stable running system. |
Parameter: CommunicationWatchdog
Default value |
200 |
Value range Step size |
1...65,535 1 |
Unit |
100 µs |
Description |
Defines the maximum time period within which a consumer must receive a valid data telegram from a producer in order to consider the safety-related communication as valid and continue the application. The parameter sets a watchdog timer which then monitors whether a consumer receives telegrams from a producer in time. If the watchdog expires, communication is considered as invalid. EcoStruxure Machine Expert - Safety provides a calculator to determine this parameter value. NOTE: The parameter value influences the safety response time calculated by EcoStruxure Machine Expert - Safety. Term definition and background information According to the openSAFETY specification, devices (safety-related I/O modules as well as the Safety Logic Controller) communicate by sending and receiving cyclic data, referred to as openSAFETY telegrams. A telegram generating (sending) device is designated as producer, a receiving device is a consumer. The CommunicationWatchdog value physically depends on the transport time needed for the telegram to be transmitted from a producer to a consumer and influences the worst case response time of the system. The calculated parameter value therefore depends on the MaxDataTransportTime parameter value. If the consumer receives the telegram in time (communication watchdog is not yet expired and the transmission time is within the period specified by the parameters MinDataTransportTime and MaxDataTransportTime), the watchdog timer is restarted and communication is considered as valid. The time stamp contained in the received telegram is not evaluated, only the receipt of a valid telegram is relevant. If no telegram is received (due to delay or loss) and the communication watchdog expires in the consumer, the module is set to the defined safe state. The 'SafeModuleOK' process data item also becomes SAFEFALSE indicating that the safety-related communication of the module is no longer valid. |
Value calculation |
How to calculate the module-specific CommunicationWatchdog value
|
Practical values |
For the CommunicationWatchdog value which you must enter in the parameter grid ('Devices' window), the following applies:
|
Group: SafeDigitalInput01 up to SafeDigitalInput20
Parameter: PulseSource
Default value |
default |
Unit |
-/- |
Description |
Specifies the source of the pulse input: By setting another value than 'Default', the current channel can be operated with the pulse signal output of another channel of the same module. |
Possible values |
The drop-down list offers the available pulse outputs of the same module. Set to 'default', the channel uses its own pulse signal. NOTE: When setting a value other than 'default', the PulseMode parameter of the respective channel must be set to 'internal'. Multi-channel switches (mode selector switches, switching devices with "shift key" capability) can be connected to multiple safety-related digital input modules. In this case, the following rules apply:
|
When using the same pulse signals for different input channels, the pulse signals must be isolated from one another. Otherwise, damage to the cables may cause cross circuit errors that are not detected by the module.
WARNING
UNINTENDED EQUIPMENT OPERATION
Verify that signal lines that use the same pulse signals are routed in different cables isolated from each other or that other suitable error preventing measures (according to IEC 13849-2) have been taken to detect cross circuits in pulse signal lines.
For adjacent input channels that use the same pulse signal, thoroughly verify that the inputs are not connected inadvertently by improper wiring.
Validate the physical wiring of your safety-related architecture and thoroughly test the application.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
For each input channel, any of the four pulse outputs can be used as pulse source. The default setting for the channels are shown in the table below.
Parameter: PulseMode
Default value |
Internal |
Unit |
-/- |
Description |
Specifies the pulse mode of the input channel. |
Possible values |
NOTE: Also observe the safety-related notes and hazard messages in the device manual. |
1 |
With the configuration 'PulseMode = no Pulse', the module itself is not able to detect wiring errors. Internal errors, however, are still detected. All errors resulting from incorrect, damaged or disconnected wiring must be handled through supplementary measures in accordance with EN ISO 13849-2:2012 or by the connected device. |
WARNING
UNINTENDED EQUIPMENT OPERATION
Validate the wiring of your safety-related application and thoroughly test the application.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Parameter: FilterOff
Default value |
0 |
Value range Step size |
0...500,000 1 |
Unit |
µs |
Description |
Configures a switch-off filter for the channel to remove potentially disruptive "low phases" on the input signal. Configuring a switch-off filter increases the data processing time of the safety-related module and therefore also the safety response time. Refer to the first hazard message below this table. Configuring a switch-off filter causes input signals with a "low phase" shorter than the switch-off filter to be filtered out. If this results in unintended operation of your equipment, the FilterOff parameter must be set to 0. Extending the "low phase" with a switch-on filter (FilterOn parameter) is not possible in these cases. Refer to the second hazard message below this table. |
WARNING
UNINTENDED EQUIPMENT OPERATION
Recalculate and validate the safety response time after modifying the FilterOff parameter.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
WARNING
UNINTENDED EQUIPMENT OPERATION
Verify that the value set for the FilterOff parameter is less than the shortest "low-phase" of the input signal and therefore no input signals are filtered out.
Disable the switch-off filter by setting the FilterOff parameter to 0 if a value greater than 0 causes unintended operation of your equipment.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Parameter: FilterOn
Default value |
100,000 |
Value range Step size |
0...500,000 1 |
Unit |
µs |
Description |
Sets the switch-on filter for the channel. Input signals can be debounced with the switch-on filter. Furthermore, using this function, you can extend a module switch-off signal that would otherwise be too short. Input signals with a "low phase" shorter than the safety response time can be lost. Such signals should be extended accordingly using the FilterOn parameter ('switch-on filter') on the input module. |
Parameter: DiscrepancyTime
Default value |
0 |
Value range Step size |
SafeDigitalInput01: 0...500,000 SafeDigitalInputs03...19 (odd-numbered): 0...1,000,000 1 |
Unit |
µs |
Description |
This parameter is only available for odd-numbered channels. If set, it combines the current channel with the next channel for two-channel evaluation. (Setting channel n combines n and n+1.) The value specifies the maximum time interval for the two-channel evaluation, during which the status of both physical individual channels may be undefined without triggering an error. Whether the channels are monitored for antivalence or equivalence depends on the used process data items: the module provides SafeEquivalentInputs as well as SafeAntivalentInputs. Violation of the DiscrepancyTime can be monitored by evaluating the SafeEquivalentOK or SafeAntivalentOK process data items for the module in the safety-related application. |
Parameter: TwoChannelProcessingMode
Default value |
none |
Unit |
-/- |
Description |
This parameter is only available for the first channel of each channel pair, i.e., for odd-numbered channels. Specifies the evaluation type of the channel. |
Possible values |
NOTE: After having parameterized 'Antivalent' or 'Equivalent', the process data item resulting from the two-channel evaluation SafeTwoChannelInputxxyy has to be used in the code. The setting 'none' requires the use of the appropriate single-channel process data item SafeDigitalInputxx. |
Process data items of the module
Purpose and use of process data items
Each module provides process data items (signals). Process data items can be:
I/O signals delivered from or written to a module terminal.
diagnostic signals for evaluating the status of input/output channels or the entire module.
control signals, for example, for enabling a channel or adjusting the module.
The available process data items of a module are listed under the module node in the tree on the left of the 'Devices' window. To display and use the process data items, expand the module node in the tree by clicking the '+' symbol.
Example
The module with the ID SL1.SM3 provides (among others) the diagnostic signal SafeModuleOK and the input signal SafeDigitalInput01.
From the devices tree, process data items can be inserted into the safety-related FBD/LD code by drag & drop (see following procedure). On insertion into the code, a standard (non-safety-related) or safety-related global variable is created (depending on the data type of the process data item).
Procedure: How to insert process data items into the code
Open the code worksheet where you want to insert the process data item and create/use the global variable assigned to it.
In the 'Devices' window, open the devices tree on the left and expand the module (tree node) which contains the process data item to be used.
Drag the process data item into the code worksheet. When releasing the mouse button, the 'Variable' dialog appears.
To insert a Boolean variable as a contact into the graphical code, hold the <CTRL> key down when releasing the mouse button after dragging the variable from the device terminal grid into the code worksheet.
In the 'Variable' dialog, a default name is proposed which is derived from the process data item name. Accept the proposed name, select an existing global variable, or declare a new global variable by entering a new 'Name', defining the 'Data Type' and selecting a 'Group'.
Confirm the 'Variable' dialog by clicking 'OK'.
The rectangle shape of the variable is now added to the cursor. It can be dropped at the desired position with a click. You can directly connect the variable to another object (e.g., a formal parameter as shown in the following example) or dropped at any free position.
Data direction depends on the signal type
Input signals can only be read and output signals can be written by the safety-related application.
Diagnostic signals can be used to evaluate and monitor the status of the safety-related module or individual I/O channels, for example. Therefore, global variables created for and assigned to diagnostic signals can be read by the application.
Control signals can be used to enable the module operation or to adjust/adapt the module for the present use case (for example, by setting a measurement range or a particular module behavior). The global variables created for and assigned to control signals can be written by the application, thus controlling the module.
Representation of the process data items in the devices tree:
Icon |
Signal type |
Access type |
![]() |
Safety-related input signal or diagnostic signal. |
read |
![]() |
Standard input signal (only available for the Safety Logic Controller). |
read |
![]() |
Standard output signal (only available for the Safety Logic Controller) or control signal. |
write |
![]() |
Safety-related output or control signal. |
write |
NOTE:
If a standard (non-safety-related) signal is connected to a physical input or output, the data type of the corresponding global variable must be modified from safety-related to standard (e.g., from SAFEBOOL to BOOL) to rule out an incorrect use of the signal in the code. The same applies if a safety-related signal is used only as standard signal in the code. Modifying the data type can either be done in the appropriate variables worksheet or using type converter functions.
WARNING
UNINTENDED EQUIPMENT OPERATION
Verify the impact of standard (non-safety-related) signals on safety-related outputs.
Verify that "standard to safety-related" converters are used correctly in the code.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
In the following, the I/O, diagnostic and control signals of the present module are listed and described in the order they are listed in the devices tree.
SafeModuleOK
Description |
Indicates the status of the communication between the safety-related module and the Safety Logic Controller and therefore, from safety-related application perspective, the module status itself. |
Signal type |
Diagnostic |
Data type |
SAFEBOOL |
Access type |
Variable can be read by the safety-related application |
Possible values |
SAFEFALSE:
SAFETRUE:
|
Mandatory assignment validation for the SafeModuleOK data item:
The verification/validation of the assignment of each process data item to a global I/O variable is mandatory. This particularly applies to the SafeModuleOK process data item which is available for each safety-related module and indicates its status. As the SafeModuleOK data item cannot be written to, e.g., by applying a signal to a module input, the module to be verified must be physically removed from the TM5 bus. As a result, SafeModuleOK switches to SAFEFALSE and the assigned global I/O variable must follow. For further information on the steps to remove and reinsert a module, refer to the user manual of the module.
WARNING
UNINTENDED EQUIPMENT OPERATION
Physically remove each safety-related module from the TM5 bus in order to test for SafeModuleOK.
Verify that the global I/O variable assigned to the SafeModuleOK process data item of the removed safety-related module switches to SAFEFALSE.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
SafeDigitalInputxx
Description |
Digital input signal from the single-channel command device or sensor connected to the module. xx specifies the channel number of the module. NOTE: For equivalence or antivalence monitoring at an input channel pair, use the respective combined signal xxyy instead of this single channel. The validity of this input signal is confirmed by the related diagnostic signal SafeChannelOKxx and/or SafeInputOKxx (depending on the module). Depending on the results of the risk analysis you carried out for your application, the diagnostic signal must be evaluated each time the SafeDigitalInputxx signal is used in the safety-related application. The value SAFEFALSE of the diagnostic signal indicates an invalid SafeDigitalInputxx value. In this case, the SafeDigitalInputxx signal must not be further used, processed, or evaluated in the safety-related application. Refer to the hazard message below this table. |
Signal type |
I/O signal |
Data type |
SAFEBOOL |
Access type |
Variable can be read by the safety-related application |
Possible values |
If SafeModuleOK = SAFETRUE and the channel-related diagnostic signal(s) SafeChannelOKxx and/or SafeInputOKxx = SAFETRUE (depending on the module), the following applies: SAFETRUE: Digital input channel is set to true. SAFEFALSE: Digital input channel is set to false. |
Relevant module parameters |
In the parameter group with the same channel number xx:
The related parameter descriptions can be found above in this topic. |
WARNING
UNINTENDED EQUIPMENT OPERATION
Verify that the SafeDigitalInputxx signal is only used in the safety-related application as long as the related diagnostic signals are SAFETRUE if demanded by the results of your risk analysis.
Validate the overall safety-related function with respect to the processing of input values, and thoroughly test the application.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
SafeTwoChannelInputxxyy
Description |
Signal resulting from equivalence or antivalence monitoring of the input signals at the channel pair xxyy. Whether equivalence or antivalence evaluation is performed, depends on the module parameter TwoChannelProcessingMode (see description above). Depending on the set processing mode, the following applies:
Equivalence/antivalence between the involved channels must be established before the interval specified with the DiscrepancyTime parameter has elapsed. Otherwise, the related diagnostic signal SafeTwoChannelOKxxyy switches to SAFEFALSE and the channel is disabled. The validity of this input signal is confirmed by the related diagnostic signal SafeTwoChannelOKxxyy. Depending on the results of the risk analysis you carried out for your application, the diagnostic signal must be evaluated each time the SafeTwoChannelInputxxyy signal is used in the safety-related application. The value SAFEFALSE of the diagnostic signal indicates an invalid SafeTwoChannelInputxxyy value. In this case, the SafeTwoChannelInputxxyy signal must not be further used, processed, or evaluated in the safety-related application. Refer to the hazard message below this table. |
Signal type |
I/O signal |
Data type |
SAFEBOOL |
Access type |
Variable can be read by the safety-related application |
Possible values |
If TwoChannelProcessingMode = Equivalent and SafeModuleOK = SAFETRUE and SafeTwoChannelInputxxyy = SAFETRUE:
If TwoChannelProcessingMode = Antivalent and SafeModuleOK = SAFETRUE and SafeTwoChannelInputxxyy = SAFETRUE:
|
Relevant module parameters |
In the parameter group of the respective connector:
The related parameter descriptions can be found above in this topic. |
WARNING
UNINTENDED EQUIPMENT OPERATION
Verify that the SafeTwoChannelInputxxyy signal is only used in the safety-related application as long as the related diagnostic signals are SAFETRUE if demanded by the results of your risk analysis.
Validate the overall safety-related function with respect to the processing of input values, and thoroughly test the application.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
SafeChannelOKxx (relating to input channels)
Description |
Diagnostic signal which indicates the status of the safety-related input channel. xx specifies the channel number. This diagnostic signal confirms the validity of the SafeDigitalInputxx signal. Depending on the results of the risk analysis you carried out for your application, the diagnostic signal must be evaluated each time the SafeDigitalInputxx signal is used in the safety-related application. The value SAFEFALSE of the diagnostic signal indicates an invalid SafeDigitalInputxx value. In this case, the SafeDigitalInputxx signal must not be further used, processed, or evaluated in the safety-related application. Refer to the hazard message below this table. NOTE: To detect error status conditions of modules/channels within your application, diagnostic signals must be evaluated in the safety-related code. A programming example and further information can be found in the topic "Monitoring/evaluating diagnostic information of the machine". |
Signal type |
Diagnostic signal |
Data type |
SAFEBOOL |
Access type |
Variable can be read by the safety-related application |
Possible values |
SAFEFALSE:
SAFETRUE:
NOTE: Also observe the respective LED indicator(s) of the affected modules for the error indication. |
WARNING
UNINTENDED EQUIPMENT OPERATION
Verify that the SafeDigitalInputxx signal is only used in the safety-related application as long as the related diagnostic signals are SAFETRUE if demanded by the results of your risk analysis.
Validate the overall safety-related function with respect to the processing of input values, and thoroughly test the application.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
SafeTwoChannelOKxxyy
Description |
Diagnostic signal which indicates the status of the equivalence or antivalence signal evaluation at the safety-related digital input channel pair xx and yy. Whether equivalence or antivalence evaluation is performed, depends on the module parameter TwoChannelProcessingMode (see description above). This diagnostic signal confirms the validity of the SafeTwoChannelxxyy signal. Depending on the results of the risk analysis you carried out for your application, the diagnostic signal must be evaluated each time the SafeTwoChannelxxyy signal is used in the safety-related application. The value SAFEFALSE of the diagnostic signal indicates an invalid SafeTwoChannelxxyy value. In this case, the SafeTwoChannelxxyy signal must not be further used, processed, or evaluated in the safety-related application. Refer to the hazard message below this table. NOTE: To detect error status conditions of modules/channels within your application, diagnostic signals must be evaluated in the safety-related code. A programming example and further information can be found in the topic "Monitoring/evaluating diagnostic information of the machine". |
Signal type |
Diagnostic signal |
Data type |
SAFEBOOL |
Access type |
Variable can be read by the safety-related application |
Possible values |
SAFEFALSE:
SAFETRUE:
NOTE: Also observe the respective LED indicator(s) of the affected modules for the error indication. |
WARNING
UNINTENDED EQUIPMENT OPERATION
Verify that the SafeTwoChannelxxyy signal is only used in the safety-related application as long as the related diagnostic signals are SAFETRUE if demanded by the results of your risk analysis.
Validate the overall safety-related function with respect to the processing of input values, and thoroughly test the application.
Failure to follow these instructions can result in death, serious injury, or equipment damage.