由于多个 IP 地址导致的错误 当。。。的时候 PROFINET 控制器启动,它检查网络是否有重复的 IP 地址。尽管实际上没有重复的地址,但建立连接的操作可能会因错误消息“ARP 多个 IP 地址”而中止。在同一网络中具有多个以太网端口的 Linux 系统可能会受到这种“ARP 通量”效应的影响。 这可以使用以下命令进行纠正: sysctl -w net.ipv4.conf.all.arp_an
认证注意事项 这 CODESYS PROFINET 控制器和 CODESYS PROFINET 根据当前有效的 PI 一致性测试版本持续检查设备。然而,一个 PROFINET 产品认证始终且专门适用于整个系统。整个系统由硬件平台和“固件”组成,“固件”包括操作系统、 CODESYS 运行时系统,以及 PROFINET 成分。 数据表为 PROFINET 控制器和 CODESYS PROFINET
Assert_LDate_Greater (FUN) ¶ FUNCTION Assert_LDate_Greater : BOOL Assertion function to check that a value of LDATE is greater then the given threshold InOut: Scope Name Type Initial Comment Return Assert_LDate_Greater BOOL TRUE if the assertion passes succesfully, FALSE otherwise Input context IBaseIecUnitTest The instance of the test function block calling this function. This instance can be provided by using THIS^ . referenceValue LDATE The value indicating the threshold actualValue LDATE The value to check wsErrorMsg WSTRING(Constants.WSTRING_LENGTH) “” A custom error message, that is added to the error message of the assertion itself. If this parameter is used, it is recommended to adapt the value of the library parameter Constants.WSTRING_LENGTH .
Assert_LDate_GreaterEqual (FUN) ¶ FUNCTION Assert_LDate_GreaterEqual : BOOL Assertion function to check that a value of LDATE is greater or equal the given threshold InOut: Scope Name Type Initial Comment Return Assert_LDate_GreaterEqual BOOL TRUE if the assertion passes succesfully, FALSE otherwise Input context IBaseIecUnitTest The instance of the test function block calling this function. This instance can be provided by using THIS^ . referenceValue LDATE The value indicating the threshold actualValue LDATE The value to check wsErrorMsg WSTRING(Constants.WSTRING_LENGTH) “” A custom error message, that is added to the error message of the assertion itself. If this parameter is used, it is recommended to adapt the value of the library parameter Constants.WSTRING_LENGTH .
Assert_LDate_Less (FUN) ¶ FUNCTION Assert_LDate_Less : BOOL Assertion function to check that a value of LDATE is less then the given threshold InOut: Scope Name Type Initial Comment Return Assert_LDate_Less BOOL TRUE if the assertion passes succesfully, FALSE otherwise Input context IBaseIecUnitTest The instance of the test function block calling this function. This instance can be provided by using THIS^ . referenceValue LDATE The value indicating the threshold actualValue LDATE The value to check wsErrorMsg WSTRING(Constants.WSTRING_LENGTH) “” A custom error message, that is added to the error message of the assertion itself. If this parameter is used, it is recommended to adapt the value of the library parameter Constants.WSTRING_LENGTH .
Assert_LDate_LessEqual (FUN) ¶ FUNCTION Assert_LDate_LessEqual : BOOL Assertion function to check that a value of LDATE is less or equal the given threshold InOut: Scope Name Type Initial Comment Return Assert_LDate_LessEqual BOOL TRUE if the assertion passes succesfully, FALSE otherwise Input context IBaseIecUnitTest The instance of the test function block calling this function. This instance can be provided by using THIS^ . referenceValue LDATE The value indicating the threshold actualValue LDATE The value to check wsErrorMsg WSTRING(Constants.WSTRING_LENGTH) “” A custom error message, that is added to the error message of the assertion itself. If this parameter is used, it is recommended to adapt the value of the library parameter Constants.WSTRING_LENGTH .
Assert_LDate_NotEqual (FUN) ¶ FUNCTION Assert_LDate_NotEqual : BOOL Assertion function to check unequality of two values of type LDATE InOut: Scope Name Type Initial Comment Return Assert_LDate_NotEqual BOOL TRUE if the assertion passes succesfully, FALSE otherwise Input context IBaseIecUnitTest The instance of the test function block calling this function. This instance can be provided by using THIS^ . referenceValue LDATE The reference value actualValue LDATE The value to check wsErrorMsg WSTRING(Constants.WSTRING_LENGTH) “” A custom error message, that is added to the error message of the assertion itself. If this parameter is used, it is recommended to adapt the value of the library parameter Constants.WSTRING_LENGTH .
LDATE_AND_TIME ¶ Assert_LDateAndTime_Equal (Function) Assert_LDateAndTime_Greater (Function) Assert_LDateAndTime_GreaterEqual (Function) Assert_LDateAndTime_Less (Function) Assert_LDateAndTime_LessEqual (Function) Assert_LDateAndTime_NotEqual (Function)
Assert_LDateAndTime_Equal (FUN) ¶ FUNCTION Assert_LDateAndTime_Equal : BOOL Assertion function to check equality of two values of type LDATE_AND_TIME InOut: Scope Name Type Initial Comment Return Assert_LDateAndTime_Equal BOOL TRUE if the assertion passes succesfully, FALSE otherwise Input context IBaseIecUnitTest The instance of the test function block calling this function. This instance can be provided by using THIS^ . referenceValue LDATE_AND_TIME The expected value actualValue LDATE_AND_TIME The value to check wsErrorMsg WSTRING(Constants.WSTRING_LENGTH) “” A custom error message, that is added to the error message of the assertion itself. If this parameter is used, it is recommended to adapt the value of the library parameter Constants.WSTRING_LENGTH .
Assert_LDateAndTime_Greater (FUN) ¶ FUNCTION Assert_LDateAndTime_Greater : BOOL Assertion function to check that a value of LDATE_AND_TIME is greater then the given threshold InOut: Scope Name Type Initial Comment Return Assert_LDateAndTime_Greater BOOL TRUE if the assertion passes succesfully, FALSE otherwise Input context IBaseIecUnitTest The instance of the test function block calling this function. This instance can be provided by using THIS^ . referenceValue LDATE_AND_TIME The value indicating the threshold actualValue LDATE_AND_TIME The value to check wsErrorMsg WSTRING(Constants.WSTRING_LENGTH) “” A custom error message, that is added to the error message of the assertion itself. If this parameter is used, it is recommended to adapt the value of the library parameter Constants.WSTRING_LENGTH .