X hits on this document

104 views

0 shares

0 downloads

0 comments

31 / 37

MODBUS Communications Driver - Functions

ReadInputStatus: Read Input Status

SYNOPSIS

short status = MB_ReadInputStatus(short Address, long Start, short Count, short Values[]);

status Address Start Count Values

Error Return Destination Address Starting Input No. Number of Inputs to Read Return Array

Integer Integer Long Integer Integer < 1950 Integer Array

DESCRIPTION

This routine is similar to RDOS (Read Output Status), except it reads the status of Input points (address like 1xxxx). The Input values will be packed 16 bits per return array element, just as in the Read Output command.

The MODBUS Driver allows you to read up to 1950 bits in one operation, but your MODBUS device may have a lower transaction length limit.

EXAMPLE

short bits[10];

short status = MB ReadOutputStatus(7, 10020, 23, bits);

_

Revision 2.210

June 6, 1998

Page 23

Document info
Document views104
Page views106
Page last viewedSat Dec 10 02:41:17 UTC 2016
Pages37
Paragraphs781
Words6172

Comments