FOCUS Software Engineering has a new name: proconX - Professional Fieldbus Connections   

Device and Vendor Specific Functions


Detailed Description

Some device specific or vendor specific functions and enhancements are supported.


Vendor Specific Modbus Function Codes

synchronized void com::focus_sw::fieldtalk::MbusMasterFunctions.readHistoryLog (int slaveAddr, int channelNo, int resolution, short readArr[]) throws IOException, BusProtocolException
 Vendor Specific Modbus function 100 (64 hex), Read History Log.


Advantec ADAM 5000/6000 Series Commands

String com::focus_sw::fieldtalk::MbusTcpMasterProtocol.adamSendReceiveAsciiCmd (String commandStr) throws IOException, BusProtocolException
 Send/Receive ADAM 5000/6000 ASCII command.


Function Documentation

synchronized void readHistoryLog int  slaveAddr,
int  channelNo,
int  resolution,
short  readArr[]
throws IOException, BusProtocolException [inherited]
 

Vendor Specific Modbus function 100 (64 hex), Read History Log.

Parameters:
slaveAddr Modbus address of slave device or unit identifier (Range: 1 - 247)
channelNo A/D channel Number (Range: 1 - 10)
resolution Resolution in minutes (Range: 1 - 60)
readArr Buffer with log data received. The length of the array determines how many data points are read (Range: 1 - 125).
Exceptions:
IllegalStateException Port or connection is closed
IOException An I/O error occured
IllegalArgumentException A parameter is out of range
BusProtocolException A protocol failure occured. See descendants of BusProtocolException for a more detailed failure list.
Note:
No broadcast supported

String adamSendReceiveAsciiCmd String  commandStr  )  throws IOException, BusProtocolException [inherited]
 

Send/Receive ADAM 5000/6000 ASCII command.

Sends an ADAM 5000/6000 ASCII command to the device and receives the reply as ASCII string. (e.g. "$01M" to retrieve the module name)

Parameters:
commandStr Buffer which holds command string. Must not be longer than 255 characters. A possible trailing CR is removed.
Returns:
Response string.
Note:
No broadcast supported

   Back | Top of page Info | Support | Contact | About   
Information in this document is subject to change without notice. Copyright © 2000-2010 proconX Pty Ltd. All rights reserved.
All product and brand names mentioned on this page may be trademarks or registered trademarks of their respective owners.