101
Appendix B
B
APPENDIX B : Software Functions
B.1 ECS9K2.Dll API
In Runtime folder, on ECS9K2.h:
BOOL Initial(BYTE Isolate_Type, BYTE DIO_NPN);
Install driver and initial machine for DIO access
Isolate_Type: DIO Isolate Type
1: Isolated DIO; 0: Non-Isolated DIO
DIO_NPN: DIO NPN mode
1: PNP (Source) mode for European rule; 0: NPN (Sink) mode for Japanese
rule
Return:
TRUE (1): Success; FALSE (0): Fail (Install error (privilege error, or driver not
work), or Initial error, or Parameter format error)
BOOL GetDI1(BYTE *DI);
Get DIO1 input
DI: DIO1 input (DI[7:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL SetDO1(BYTE DO);
Set DIO1 output
DO: DIO1 output (DO[7:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL GetDO1(BYTE *DO);
Get DIO1 output
DO: DIO1 output (DO[7:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL GetDI2(BYTE *DI);
Get DIO2 input
DI: DIO2 input (DI[7:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
Summary of Contents for ECS-9210
Page 68: ...61 HARDWARE INSTALLATION Step 4 Open CPU slot Be careful CPU pins Step 3 CPU slot...
Page 77: ...70 HARDWARE INSTALLATION Vecow ECS 9200 9100 User Manual Step 3 Finish Step 4 Install SSD HDD...
Page 78: ...71 HARDWARE INSTALLATION 3 9 Installing M 2 Step 2 Fasten one M3 screws Step 1 M 2 slot...
Page 82: ...75 HARDWARE INSTALLATION Step 2 Fasten 4pcs KHS 6 32 screws then finish...