Download NAPOPC_CE6 DA Server
Transcript
NAPOPC_CE6 DA Server User’s Manual SetAO_DWord This function can set a single analog output value to a specific modbus address Syntax [VC++] unsigned char SetAO_DWord(unsigned short iMBAddr, unsigned long *iSend) [VB.NET/VC#.NET] byte SetAO_DWord(ushort iMBAddr, out ulong iSend) Parameters iMBAddr [in] The modbus address of specific tag in the NAPOPC_CE6. The range is from 1 to 1000. iSend [out] The analog value of specific tag. Return Values 0 indicates success. Remarks Requirements Runs on Versions Defined in Include XP-8000-CE6 1.3.1.0 and later Quicker.lib WinConAgent.h Example [VC++] //Set the analog output value as 2323 to modbus address 1 SetAO_DWord(1,2323); [VB.NET] Quicker.QuickerIO.SetAO_DWord(1, 2323) [VC#.NET] Quicker.QuickerIO.SetAO_DWord(1, 2323); Ver: 1.00 Date: Oct-29 2010 Page: 93 Link to