L9_MSTR: Modbus Plus Master
(Original Document)
Naming
Name in LL984 Editor
Function Block Name
name of legacy 984 instruction
name in other tools and editors like:
  • Type Library Browser
  • Data Editor
  • Animation Tables
  • Search Results
Function Description
PLCs that support networking communication capabilities over Modbus Plus and Ethernet have a special MSTR (master) EFB with which nodes on the network can initiate message transactions.
The L9_MSTR EFB allows you to initiate one of different possible network communication operations over the network. Each operation is designated by a code. Certain MSTR operations are supported on some networks and not on others.
The L9_MSTR function block is supported on various hardware platforms.
L9_MSTR has two control inputs. ENABLE activates the EFB when it is ON. TERM terminates the active operation when it is ON.
L9_MSTR can produce three possible outputs. OUT echoes the state of ENABLE- i.e., it goes ON while the EFB is active. ERR echoes the state of TERM-i.e., it goes ON if the MSTR operation is terminated prior to completion. SUCCESS goes ON when a MSTR operation has been completed successfully.
For further information refer to chapter MBP_MSTR: Modbus Plus Master.
Representation
Parameters
Input Pin
Name
Data Type
Address Range
Meaning
Top
ENABLE
–
selected MSTR operation enabled
Bottom
STOP
BOOL
–
active MSTR operation terminated
Node
Node Type
Name
Data Type
Address Range
Meaning
Top
IN/OUT
CONTROL
ArrUInt11
%MW
field for MSTR control block
Middle
IN/OUT
DATA
ANY_ARRAY_UINT
%MW
data area
Bottom
IN
LENGTH
UINT
1...100
length of data area (maximum size of array), range: 1 ... 100
Output Pin
Name
Data Type
Address Range
Meaning
Top
ACTIVE
BOOL
–
operation active
Middle
STOPPED
BOOL
–
operation unsuccessful
Bottom
SUCCESS
BOOL
–
operation successfully completed