Professional Documents
Culture Documents
Micro850
This guide will show you how to set a Micro850 as a Modbus TCP Master or Modbus
TCP Slave in order to talk to a ML1400 and pass data
Reference:
Getting Started with CIP Client Messaging
http://literature.rockwellautomation.com/idc/groups/literature/documents/qs/2080-
qs002_-en-e.pdf
KnowledgeBase Article 20543
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/20543
Micro800 reference Manual
http://literature.rockwellautomation.com/idc/groups/literature/documents/rm/2080-
rm001_-en-e.pdf
In this guide, we will configure the Micro850 as a Modbus TCP Slave so that a ML1400
Modbus TCP Master will MSG to it.
1) Go to the Channel Configuration screen in the ML1400 and set the IP address for the
controller, then check the Modbus TCP Enable option.
2) Open the ladder logic and configure a normally open contact followed by a MSG
instruction. Do the same on a second rung. For this example, the MSG file in rung 0 was
assigned to MG9:0 and the MSG file in Rung 1 was assigned MG9:1. We will use
MG9:0 to write to the Micro850 and MG9:1 to read from the Micro850.
3) Enter the Setup Screen for MSG MG9:0 and configure it as follows:
4) Enter the Setup Screen for MSG MG9:1 and configure it as follows:
The same parameter’s description from the Write MSG will apply to the Read MSG, for
exception that the Modbus Command is now set to Read Registers, and the Data Table
Address now will hold the data that was read from the Micro850.
7) Go to the Micro850 settings windows and under Internet Protocol assign the IP address of
the Micro850
8) Create 2 new variables (either Global or Local to a program) that are of Type INT.
9) Go to Modbus mapping in the Micro850 settings windows and map the variables that
were just created. We will assign MyTag1 to Modbus register 40001 and MyTag2 to
Modbus register 40002.
***In order to assign a variable in the Modbus Mapping screen, double-click on an empty cell
to bring up the Variable Selector window and choose a variable.***
10) Build, Save, then download the program into the controller and go to Debug Mode.
11) While online with both controllers, energize the contact B3:0/0 in the ML1400 to execute
the write MSG. You should see a value being populated on the MyTag1 and MyTag2
variables of the Micro850
12) Then energize the contact B3:0/1 in the ML1400 to execute the read MSG. You should
see values show up under N12 Data File.