Download DCON_DLL - kolbinger electronic

Transcript
„ ReadPowerOnValueForAo
Description:
Obtain the initial output setting value of analog output module for I-7000 series
module when the power is on.
Syntax:
ReadPowerOnValueForAo (WORD wBuf[], float fBuf[], char szSend[], char
szReceive[])
Input Parameter:
wBuf:
fBuf:
szSend:
szReceive:
WORD Input/Output argument table
Float Input/Output argument table
Command string to be sent to I-7000 series modules.
Result string receiving from I-7000 series modules.
Return Value:
NoError:
Others:
OK
Error code
wBuf: WORD Input/Output Table
wBuf[0]:
wBuf[1]:
wBuf[2]:
COM port number, 1 to 255
Module address: 0x00 to 0xFF
Module ID:0x 7024
wBuf[3]:
wBuf[4]:
wBuf[5]:
wBuf[6]:
Checksum: 0=disable, 1=enable
Time out setting, normal=100, unit=ms.
Channel No.(0 to 3) if module ID is 7024
0 Æ no save to szSend & szReceive
1 Æ save to szSend & szReceive
fBuf: Float Input/Output Table
fBuf[0]:
The initial output value when the power is on.
DCON DLL user’s Manual, 2003 June, Ver. 3.5, 7MS-018-35------ 143 -