isMB_Idle | Top Next

isMB_Idle Is embedded Modbus Master in idle state? Since R2019b Library: embeddedCreatorLib ( Dafulai Electronics) / Embedded Modbus Master / isMB_Idle Description This block is used in judgment whether embedded Modbus master is in idle state . When embedded Modbus master is in "Idle" state, You can set up all sequences of modbus master operations (Reading blocks or Writing blocks), and then Master will exit "Idle" state and operate in sequences. We provide block to check if all sequences finish. In order to start new group of modbus operations, you must set Modbus master into "Idle" state when all sequences done. Parameters
• | 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. True means "embedded Modbus master is in Idle state, you can start any modbus master operation". False means "embedded Modbus master is in busy state, you can not start any modbus master operation"
Examples