You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.
The following logic can be used to transfer a %M variable over Modbus TCP/IP using a WRITE_VAR block.
The BOOL_TO block is used to convert the %M type BOOL to the EMIS variable of type INT.
The BOOL_TO block is used to convert the %M type BOOL to the EMIS variable of type INT.