Function slmp_client::send_read_extend_unit_memory [−][src]
pub fn send_read_extend_unit_memory(
connection_info: &mut SLMPConnectionInfo,
timeout: u16,
start_addr: u32,
byte_length: u16,
unit_no: u16
) -> Option<u16>
Expand description
拡張ユニットのメモリに対してデータの読み取り要求の送信
応答はdecode_read_memoryで処理する
引数
connection_info
- SLMP接続情報timeout
- SLMPコマンドのタイムアウトstart_addr
- 先頭アドレスbyte_length
- バイト数、アドレス単位がワード(2バイト)であることに注意unit_no
- ユニット番号
返値
発行したコマンドのシリアル