void function ( int arg0 , int arg1 , BitVector arg2 ) { m_WriteMultipleCoilsRequest . setUnitID ( arg0 ) ; m_WriteMultipleCoilsRequest . setReference ( arg1 ) ; m_WriteMultipleCoilsRequest . setCoils ( arg2 ) ; m_Transaction . setRequest ( m_WriteMultipleCoilsRequest ) ; m_Transaction . execute ( ) ; }
writes a given number of coil states to the slave . note that the number of coils to be written is given implicitly , through bitvector #size . 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 SerialParameters m_CommParameters concode_elem_sep SerialConnection m_Connection concode_elem_sep ReadMultipleRegistersRequest m_ReadMultipleRegistersRequest concode_elem_sep ModbusSerialTransaction m_Transaction concode_elem_sep WriteMultipleRegistersRequest m_WriteMultipleRegistersRequest concode_elem_sep ReadCoilsRequest m_ReadCoilsRequest concode_field_sep void disconnect concode_elem_sep Register[] readMultipleRegisters concode_elem_sep void writeMultipleRegisters concode_elem_sep BitVector readInputDiscretes concode_elem_sep int getUnitIdentifier concode_elem_sep void writeSingleRegister concode_elem_sep BitVector readCoils concode_elem_sep boolean writeCoil concode_elem_sep void connect concode_elem_sep InputRegister[] readInputRegisters concode_elem_sep void setUnitIdentifier