ADAMTCP_WriteReg
Description:
Write the holding register value at a specified range described in parameters.
Syntax:
int ADAMTCP_WriteReg(SOCKET conn_socket, WORD wStartAddress, WORD wCount, WORD
wData[ ])
Parameter:
conn_socket[in]: the handle that represent the connection socket
wStartAddress[in]: the starting address that to be read
wCount[in]: how many holdings register to be read
wData[out]: a unsigned 16 bits array that stored the value write to holding value
Return:
Please refer to Chapter 6-2-3 “Return Codes” for more detail information
ADAMTCP_ReadCoil
Description:
Read the coils value at a specified range described in parameters.
Syntax:
int ADAMTCP_ReadCoil(SOCKET conn_socket, WORD wStartAddress, WORD wCount, BYTE
byData[ ])
Parameter:
conn_socket[in]: the handle that represent the connection socket
wStartAddress[in]: the starting address that to be read
wCount[in]: how many coils to be read
byData[out]: a 8 bit array that stored the read coil
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...