Chapter 37 Security API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 37-7
37.10 misc_slave_check_userpassword
FORMAT
I16 PASCAL _misc_slave_check_userpassword (U16 CardNo, U16 NodeID, U16 SlotID, U32
Password_data, U16 *Password_state)
Purpose
Before read/write data on Slave (04PI), checks that user has permission to read/write to
memory.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16 Selection Node ID
SlotID U16 Number Unit Slot ID
Password_data U32 Number Enter password to check
Password_state U16* Flag
Response after password check. 0Fail
1OK
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U32 Password_data; //64bit data
U16 Password_state;
I16 status = _ misc_slave_check_userpassword (CardNo, NodeID, SlotID, Password_data,
&Password_state);