isMB_WriteOK | Top Next

isMB_WriteOK Is embedded Modbus Master writing OK? Since R2019b Library: embeddedCreatorLib ( Dafulai Electronics) / Embedded Modbus Master / isMB_WriteOK Description This block is used in judgment whether embedded Modbus master writing for one sequence success . It is used in "Multiple servers writing" (of cause, you can still use it in one server writing) for knowing every server writing status detail. Why do we need this block? The reason is that the output port "Success" of Block "embedded Modbus Master write" is for entire servers status not for individual server. Parameters Please double click this block to open parameters dialog below: Let us explain parameters.
• | Command Seq No — drop list. It is writing sequence Number.
• | Sample time in sec (-1 for inherited): — Sample time for this block. It is the same meaning as general Simulink block .
Ports Input None Outport
• | Yes — "logical" data type's scalar or vector. True means "Writing to server success". If it is vector, vector's element will be "Writing to server success" for related server, you can know related server ID from parameter "Server IDs" of block "emModbusMasterWrite" .
Examples