BitVector function ( int arg0 , int arg1 ) { m_ReadCoilsRequest . setReference ( arg0 ) ; m_ReadCoilsRequest . setBitCount ( arg1 ) ; m_Transaction . setRequest ( m_ReadCoilsRequest ) ; m_Transaction . execute ( ) ; BitVector loc0 = ( ( ReadCoilsResponse ) m_Transaction . getResponse ( ) ) . getCoils ( ) ; loc0 . forceSize ( arg1 ) ; return loc0 ; }
reads a given number of coil states from the slave . note that the number of bits in the bit vector will be forced to the number originally requested . concode_field_sep WriteSingleRegisterRequest m_WriteSingleRegisterRequest concode_elem_sep ReadInputDiscretesRequest m_ReadInputDiscretesRequest concode_elem_sep WriteMultipleCoilsRequest m_WriteMultipleCoilsRequest concode_elem_sep ReadInputRegistersRequest m_ReadInputRegistersRequest concode_elem_sep WriteCoilRequest m_WriteCoilRequest concode_elem_sep InetAddress m_SlaveAddress concode_elem_sep UDPMasterConnection m_Connection concode_elem_sep ReadMultipleRegistersRequest m_ReadMultipleRegistersRequest concode_elem_sep ModbusUDPTransaction m_Transaction concode_elem_sep WriteMultipleRegistersRequest m_WriteMultipleRegistersRequest concode_elem_sep ReadCoilsRequest m_ReadCoilsRequest concode_field_sep void writeMultipleCoils concode_elem_sep void disconnect concode_elem_sep Register[] readMultipleRegisters concode_elem_sep void writeMultipleRegisters concode_elem_sep BitVector readInputDiscretes concode_elem_sep void writeSingleRegister concode_elem_sep boolean writeCoil concode_elem_sep void connect concode_elem_sep InputRegister[] readInputRegisters