EtherCAT Programming Guide Security of Software Protection
March, 2017 29-9
29
29.7 _ECAT_Security_Write_UserPassword
Syntax
U16 PASCAL _ECAT_Security_Write_UserPassword (U16 CardNo, U32 *UserPassword)
Purpose
Write in the user password into the verification IC.
Note:
1. Before write in the user password, users should use the API function (in setion 6.1 and 6.2) to initialize
the EtherCAT master. Also, use the API function in 29.5 to confirm the password beforehand.
2. The new password will be valid immediately. Users will need to use API
“_ECAT_Security_Check_UserPassword” (section 29.5) to log in again to use other APIs in this
chapter. Once the password is changed, please do remember the new password as Delta can no
longer access this verification IC anymore.
Parameter
Name Data type Property Description
CardNo U16 Number Card No.
UserPassword U32* Data array Input an 8-character User password.
Example
U16 Status = 0;
U16 CardNo;
U32 UserPassword [8] = {0, 1, 2, 3, 4, 5, 6, 7};
CardNo = 0;
Status= _ECAT_Security_Write_UserPassword(CardNo, UserPassword);