122
©Vecow ECX-2600A/2400A/2300A PEG User Manual
Appendix B
BOOL set_IO1_configuration(BYTE Iso, BYTE DI_mode, BYTE DO_mode,
WORD Mask)
BOOL set_IO2_configuration(BYTE Iso, BYTE DI_mode, BYTE DO_mode,
WORD Mask)
Set DIO configuration.
Isolate_Type : DIO type.
1 : Isolated DIO;
0 : Non-Isolated DIO (GPIO).
DI_mode ([7:0]) : DI type, pin setting by hexadecimal bitmask only for
Isolated DIO.
0xFF : PNP (Source) mode for European rule;
0 : NPN (Sink) mode for Japanese rule.
DO_mode : DO type only for Isolated DIO.
1 : PNP (Source) mode for European rule;
0 : NPN (Sink) mode for Japanese rule.
Mask ([15:0]) : In/Out, pin setting by hexadecimal bitmask only for Non-
Isolated DIO (GPIO).
1 : Output;
0 : Input
Return :
TRUE (1) : Success.
FALSE (0) : Fail (Initial error or hardware problem).
BOOL get_DIO1(BYTE *DO_data, BYTE *DI_data)
BOOL get_DIO2(BYTE *DO_data, BYTE *DI_data)
Get isolated DIO output(DO) and input (DI).
DI ([7:0]) : Input state, pin setting by hexadecimal bitmask.
1 : High;
0 : Low.
DO ([7:0]) : Output state, pin setting by hexadecimal bitmask.
1 : High;
0 : Low.
Return :
TRUE (1) : Success.
FALSE (0) : Fail (Initial error or hardware problem).
FALSE (0) : Fail (Initial error or hardware problem).
BOOL set_DIO1(BYTE DO_data)
BOOL set_DIO2(BYTE DO_data)
Set isolated DIO output(DO).
DO ([7:0]) : Output state, pin setting by hexadecimal bitmask.
1 : High;
0 : Low.
Return :
TRUE (1) : Success.
FALSE (0) : Fail (Initial error or hardware problem).
FALSE (0) : Fail (Initial error or hardware problem).
Содержание ECX-2600A PEG
Страница 74: ...66 Vecow ECX 2600A 2400A 2300A PEG User Manual SYSTEM SETUP Step 5 Fasten one PHILLPIS M2 5 screw...
Страница 83: ...75 Vecow ECX 2600A 2400A 2300A PEG User Manual SYSTEM SETUP Step 5 Fasten the module with the screw indicated...
Страница 87: ...79 Vecow ECX 2600A 2400A 2300A PEG User Manual SYSTEM SETUP Step 6 Fasten the module with the screw indicated...
Страница 95: ...87 Vecow ECX 2600A 2400A 2300A PEG User Manual SYSTEM SETUP Step 5 Fasten the nuts indicated...