Page D-2
MPS Motor Protection System Rev. 6-F-022117
Appendix D, MPS A-B DF1 Protocol
In Target Device, set Data Table Address to the A-B
File address listed in Appendix E. The A-B File in
Appendix E is coded as FILE:ELEMENT. To read or
write the element as floats, the PLC-5 address would be
<F><FILE>:<ELEMENT> (Example F9:222). To read
or write the element as integers, add 20 to the file number
and preceed with N, <N><FILE+20>:<ELEMENT>
(Example N29:222). Local Address is the MPS address.
Example settings for reading 25 registers as float type
(25 meter readings):
Data Table Address: ..... F8:0
Element Size: ................ 25
Target Device Data
Table Address: .......... F6:0
Local Address: .............. 9 (Must match MPS setting)
NOTE: To read float values, both data table addresses
must be specified as float (F) type.
Example settings for reading a block of 100 registers
(16-bit integer):
This could be a mix of float and integer values since
floats can be transferred as two integers in the MPS.
Data Table Address: ..... N9:0
Element Size: ................ 100
Target Device Data
Table Address: .......... N23:264 (Start of Digital
Inputs)
Local Address: .............. 9 (Must match MPS setting)
If an MPS float has been read into the PLC as two
integers and stored in an N-type file, the float can be
recovered by using two copy commands. Assume that the
two integers from the MPS read command are stored in
N9:0 and N9:1. The first copy command is used to swap
the two words so they are in the correct order; copy N9:0
to N9:11, and copy N9:1 to N9:10. The second copy
command will copy the two integers to the F-type file;
copy N9:10 to F8:0 with a size of 1. The two integers are
now combined correctly as a single 4-byte float located in
F8:0.
D.4 TYPED-WRITE
The Typed-Write message is used to write data to the
MPS.
Read/Write: Write
Target Device: PLC5 or SLC for SLC500 or Control
Logix
Local/Remote: Local
Control Block: N7:0
The Setup screen is used to specify file information. In
the This Controller section, Data Table Address is the
source file in the SLC. This can be a float (Fx:x) file or
an integer (Nx:x) file. Element Size must be set to the
number of elements to transfer. For the MPS, the
maximum element size is 100 for integers and 50 for
floats.
In Target Device, set Data Table Address to the A-B
File address listed in Appendix E. Both integer and float
values sent from the SLC are in the correct byte order and
interpreted correctly by the MPS. The MPS will do a
range check on all messages to ensure valid data.
Local Address is the MPS address.
Example settings for writing a single float to set the
FLA Rating:
Data-Table Address: ..... F8:0 (Location of FLA value)
Element Size: ................ 1
Target-Device Data-
Table Address: .......... F3:225
Local Address: .............. 9 (Must match MPS setting)
Reset commands to the MPS are issued by writing an
integer command code to MPS Register 6 (N23:6)
A command message should only be issued when the
command is required.
Valid commands are shown Table D.2.
TABLE D.2 MPS COMMANDS