Delta Electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC-A01 User Manual
Page 467

Chapter 37 Security API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012
37-3
37.3 _DMC_01_write_security
FORMAT
I16 PASCAL _DMC_01_write_security (U16 CardNo, U16 page, U16 array )
Purpose
Writes security data to memory block specified by the Master Card.
Parameters
Name
Data Type
Unit
Description
CardNo U16
Number
Unit
CardNo is between 0~15
Page
U16
Number Unit
Specified memory page number for write
array U16
Number
Security
data
to write to specified memory
Example
U16 CardNo=0;
U16 page=0;
U16 array={1,4,7,11,0a,ff,12,8,0b,10,3,5,c1,14,0d,6};
I16 status =_DMC_01_wtite_security( CardNo, page, array );
37.4 _DMC_01_ write_security_status
FORMAT
I16 PASCAL _DMC_01_write_security_status (U16 CardNo, U16 status)
Purpose
Before the Master Card writes security data, writes function enable to memory.
Parameters
Name
Data Type
Unit
Description
CardNo U16
Number
Unit
CardNo is between 0~15
status
U16
Flag
Write function enable (0:disable,1:enable) to
memory
Example
U16 CardNo=0;
U16 status=1;
I16 status = _DMC_01_write_security_status (CardNo, status);