![Advantech ADAM-6000 series Скачать руководство пользователя страница 98](http://html1.mh-extra.com/html/advantech/adam-6000-series/adam-6000-series_user-manual_2857302098.webp)
ADAMTCP_Read6KDIOMode
Description:
To read the working mode of each DI/O channels in a specific ADAM-6000 module.
Syntax:
int ADAMTCP_Read6KDIOMode(char szIP[], WORD wModule, WORD wIDAddr, BYTE byDIMode[],
BYTE byDOMode[])
Parameter:
szIP[in]: the IP Address of the target ADAM-6000 module to be connected
.
wModule[in]: the module name of the ADAM-6000 module to be connected.
(For example, 6050, 6051, or 6060)
wIDAddr[in]: the Modbus device ID for an ADAM-6000 module. (Always 1)
byDIMode[out]: an 8-bit array that stored DI channels’ working modes which represent in
numeric format as follows:
0: this channel is in 'DI' mode
1: this channel is in 'Counter' mode
2: this channel is in 'Lo to Hi latch' mode
3: this channel is in 'Hi to Lo latch' mode
byDOMode[out]: an 8-bits array that stored DO channels’ working modes which represent in
numeric format as follows:
0: this channel is in 'DO' mode
1: this channel is in 'Pulse Output' mode
2: this channel is in 'Lo to Hi Delay' mode
3: this channel is in 'Hi to Lo Delay' mode
Return:
Please refer to Chapter 6-2-3 "Return Codes" for more detail information.
Содержание ADAM-6000 series
Страница 21: ...Figure 3 2 Fix ADAM 6000 module on the bracket...
Страница 23: ......
Страница 24: ...Figure 3 4 Secure ADAM 6000 Module to a DIN rail...
Страница 27: ...Figure 3 6 ADAM 6000 I O Module Terminal Block wiring...
Страница 32: ...Figure 4 4 ADAM 6017 Digital Output wiring...
Страница 36: ...Figure 4 8 ADAM 6050 Digital Output Wiring...
Страница 41: ...Figure 4 13 ADAM 6051 Digital Output and Counter Wiring...
Страница 46: ...Figure 4 18 ADAM 6060 Relay Output Wiring...
Страница 75: ...Figure 5 29 Firmware Upgrade for ADAM 6000 I O Series Modules...
Страница 153: ...Appendix A Design Worksheets...