Lines Matching full:is
17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
49 * is ready to answer network requests it must then call eMBEnable() to activate
52 * Modbus timeout. If an RTOS is available a separate task should be created
82 * is faster but has more hardware requirements and requires a network with
83 * a low jitter. ASCII is slower and more reliable on slower links (E.g. modems)
95 * This value is passed to the callback functions which support either
131 * note that the receiver is still disabled and no Modbus frames are
138 * is platform dependent and some ports simply choose to ignore it.
144 * The protocol is then in the disabled state and ready for activation
146 * is returned:
158 * frame processing is still disabled until eMBEnable( ) is called.
163 * codes is returned:
175 * is disabled.
181 * If the protocol stack is not in the disabled state it returns
190 * stack is only possible if it is in the disabled state.
192 * \return If the protocol stack is now in the state enabled it returns
213 * is given by the application dependent Modbus slave timeout. Internally the
217 * \return If the protocol stack is not in the enabled state the function
227 * is enabled ( By defining MB_FUNC_OTHER_REP_SLAVEID_ENABLED in mbconfig.h ).
229 * \param ucSlaveID Values is returned in the <em>Slave ID</em> byte of the
231 * \param xIsRunning If TRUE the <em>Run Indicator Status</em> byte is set to 0xFF.
232 * otherwise the <em>Run Indicator Status</em> is 0x00.
238 * mbconfig.h is to small it returns eMBErrorCode::MB_ENORES. Otherwise
249 * The callback handler supplied is responsible for interpreting the Modbus PDU and
257 * such a frame is received. If \c NULL a previously registered function handler
258 * for this function code is removed.
282 * register function was received a buffer with the new register values is
289 * is required by the protocol stack. The starting register address is given
290 * by \c usAddress and the last register is given by <tt>usAddress +
301 * Modbus response is sent.
304 * <b>ILLEGAL DATA ADDRESS</b> exception frame is sent as a response.
305 * - eMBErrorCode::MB_ETIMEDOUT If the requested register block is
308 * exception is sent as a response.
310 * a <b>SLAVE DEVICE FAILURE</b> exception is sent as a response.
316 * \brief Callback function used if a <em>Holding Register</em> value is
318 * is given by \c usAddress and the last register is given by
336 * Modbus response is sent.
339 * <b>ILLEGAL DATA ADDRESS</b> exception frame is sent as a response.
340 * - eMBErrorCode::MB_ETIMEDOUT If the requested register block is
343 * exception is sent as a response.
345 * a <b>SLAVE DEVICE FAILURE</b> exception is sent as a response.
351 * \brief Callback function used if a <em>Coil Register</em> value is
357 * starting at address \c usAddress is stored in the LSB of the
360 * coil values (I.e. if not a multiple of eight coils is used) should be set
371 * Modbus response is sent.
374 * <b>ILLEGAL DATA ADDRESS</b> is sent as a response.
375 * - eMBErrorCode::MB_ETIMEDOUT If the requested register block is
378 * exception is sent as a response.
380 * a <b>SLAVE DEVICE FAILURE</b> exception is sent as a response.
386 * \brief Callback function used if a <em>Input Discrete Register</em> value is
395 * is not a multiple of eight the remaining bits should be set to zero.
400 * Modbus response is sent.
402 * In this case a <b>ILLEGAL DATA ADDRESS</b> exception frame is sent
404 * - eMBErrorCode::MB_ETIMEDOUT If the requested register block is
407 * exception is sent as a response.
409 * a <b>SLAVE DEVICE FAILURE</b> exception is sent as a response.