Chapter 6 Communications Modules
6.2.12.7 SMSSIGetData
Syntax
error_code SMSSIGetData(u_int8 PortNr,
Description
This function returns the absolute position data from the SM-SSI. If auto-
matic mode is selected then a wait will not be performed otherwise SOT will
be set and the read performed only when TC has been set.
Input
u_int8 PortNr
u_int32 *pData
Output
error_code
Example
RetVal = SMSSIGetData(0, &pData);
October 01, 1996
u_int32 *pData);
SM-Port number to get data
Pointer to the value returned from the data
register (0x0 -> FFFFFF)
SUCCESS
E_BMODE
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
©1996 PEP Modular Computers GmbH
SMART I/O User's Manual
if the module is unknown
6
Page 6 - 35
Need help?
Do you have a question about the Modular Computers RS485 and is the answer not in the manual?