T_CIP_SAFETY_IO DDDT
Each CIP Safety device instance is described by the T_CIP_SAFETY_IO DDDT, which consists of the following parameters:
Parameter |
Data Type |
Description |
---|---|---|
Health |
BOOL |
Global Health = the logical AND of:
Refer to the data type T_CIP_SAFETY_STATUS for a description of these health bits. |
Status_IN |
T_CIP_SAFETY_STATUS |
Input Status. |
Status_OUT |
T_CIP_SAFETY_STATUS |
Output Status. |
CTRL_IN |
BOOL |
Enable/Disable Input connection. |
CTRL_OUT |
BOOL |
Enable/Disable Output connection. |
Conf_In |
T_CIP_SAFETY_CONF |
CIP signatures and parameters for Input connection. |
Conf_Out |
T_CIP_SAFETY_CONF |
CIP signatures and parameters for Output connection. |
Input |
Array[0...n] of BYTE |
Values of input, size depends on type of device. Aligned module 4 bytes with the size configured inside the DTM. |
Output |
Array[0...m] of BYTE |
Values of output, size depends on type of device. Aligned module 4 bytes with the size configured inside the DTM. |
The CIP Safety data types, referenced above, are described below.
T_CIP_SAFETY_STATUS
The T_CIP_SAFETY_SATATUS data type consists of the following parameters:
Parameter |
Data Type |
Description |
---|---|---|
Health |
BOOL |
Input or Output health:
|
Run_Idle |
BOOL |
State of the CIP Safety device inputs or outputs:
|
Error_Code |
WORD |
Refer to list of detected error codes. |
Error_Sub_Code |
WORD |
Refer to list of detected error sub-codes. |
T_CIP_SAFETY_CONF
The T_CIP_SAFETY_CONF data type consists of the following parameters that are transmitted in the SafetyOpen Type 2 request:
Parameter |
Data Type |
Description |
---|---|---|
TO_MULTIPLIER |
BYTE |
Timeout multiplier. Used by the consumer of a connection to determine if any of the three standard connections should timeout. The timeout value for the connection is defined as: Connection RPI * (CTM+1) * 4 |
Output_RPI |
UDINT |
Requested Packet Interval of the O→T connection. |
Input_RPI |
UDINT |
Requested Packet Interval of the T→O connection. |
Device_Vendor_ID |
UINT |
ODVA vendor identifier. |
Device_Type |
UINT |
ODVA grouping to which the device belongs. |
Device_Product_Code |
UINT |
ODVA assigned product code. |
Major_Revision |
BYTE |
Major revision number of device firmware. |
Minor_Revision |
BYTE |
Minor revision number of device firmware. |
Configuration_Assembly_Nb |
UINT |
Device specific assembly number associated with the device configuration settings. |
Output_Assembly_Nb |
UINT |
Device specific assembly number associated with output (O→T) transmissions. |
Input_Assembly_Nb |
UINT |
Device specific assembly number associated with input (T→O) transmissions. |
SC_CRC |
UDINT |
Safety Configuration CRC. A cyclic redundancy check (CRC) of the CIP Safety device configuration. |
Configuration_Date |
UINT |
Month, day, and year the configuration was built. |
Configuration_Time |
UDINT |
Hour, minute, second, and millisecond the configuration was built. |
TUNID_Time |
UDINT |
Month, day, and year the target unique network identifier was generated. |
TUNID_Date |
UINT |
Hour, minute, second, and millisecond the target network unique identifier was generated. |
TUNID_NodeID |
UDINT |
A unique network identifier for the target device. |
OUNID_Time |
UDINT |
Month, day, and year the originator unique network identifier was generated. |
OUNID_Date |
UINT |
Hour, minute, second, and millisecond the originator unique network identifier was generated. |
OUNID_NodeID |
UDINT |
A unique network identifier for the originator device. |
Ping_Interval_EPI_Multiplier |
UINT |
Defines the Ping_Count_Interval for the connection. |
Time_Coordination_Msg_Min_Mult |
UINT |
The minimum number of 128 μS increments it could take for a Time Coordination Message to travel from the consumer to the producer. |
Network_Time_Expectation_Mult |
UINT |
The maximum age of safety data, measured in 128 μS increments, allowed by a consumer. |
Timeout_Multiplier |
BYTE |
The number of data production retries to include in the equation for unsuccessful connection detection. |
Max_Fault_Number |
UDINT |
The number of erroneous packets that can be dropped before the connection will be closed. |
CPCRC |
UDINT |
Connection Parameters CRC. A CRC-S32 of target connection parameters contained in the SafetyOpen type 2 request. |