Modicon Plc Programming Examples; Ladder Logic And Mstr Instructions - ICC MBP-100 Instruction Manual

Modbus plus multiprotocol network gateway
Table of Contents

Advertisement

15. Modicon PLC Programming Examples

This section of the manual is being provided solely as a brief overview of the
general ladder logic program architecture that can be used to interface with the
MBP-100 over a Modbus Plus network. For the most detailed information
available, the appropriate Modicon PLC Programming Manual should always be
consulted.

15.1 Ladder Logic and MSTR Instructions

Modicon PLCs that support Modbus Plus communications implement a special
instruction, called MSTR, which allows them to initiate Modbus Plus message
transactions via ladder logic. An example of a ladder logic program that
implements the MSTR instruction is shown in Figure 37.
MS TR on/off
1
3
4
Figure 37: Program Example for Modbus Plus Communications
MSTR Instruction
5
40050
(Control Block)
40100
(Data Area)
100
(# data registers)
2
3
4
5
64
Instruction Activ e
Instruction End - Error
Instruction End - No Error
Instruction Completed

Advertisement

Table of Contents
loading

Table of Contents