ADAMTCP_WriteCoil
Description:
Write the coils value at a specified range described in parameters.
Syntax:
int ADAMTCP_WriteCoil(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
ADAMTCP_SendReceive5KTCPCmd
Description:
This function is just for user's convenience, accepting the ASCII format string as a command. Then
transform it to meet the Modbus/TCP specification.
Syntax:
int ADAMTCP_SendReceive5KTCPCmd(SOCKET conn_socket, char szSendToTCP[ ], char
szReceiveFromTCP[ ], char szModbusSend[ ], char szModbusReceive[ ])
Parameter:
conn_socket[in]: the handle that represent the connection socket
szSendToTCP[in]: the ASCII format string that send to a ADAM-6000 module
szReceiveFromTCP[out]: the ASCII format string that response from a ADAM-6000 module
szModbusSend[out]: the Modbus/TCP format string that send to a ADAM-6000 module
szModbusReceive[out]: the Modbus/TCP format string that response from a ADAM-6000 module
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...