
RANGER 5000 - Communications Manual Rev 1.0
1
1. INTRODUCTION ................................................................................................................... 1
2. CONNECTION OF THE 5000 NETWORK............................................................................ 2
2.1 RS232 CONNECTION......................................................................................................................2
2.2 RS485/RS422 CONNECTION..........................................................................................................2
3. MODBUS REGISTER DEFINITIONS FOR THE 5000.......................................................... 3
3.1 HOLDING REGISTERS......................................................................................................................3
3.2 INPUT REGISTERS...........................................................................................................................3
3.3 COMMANDS (IMPLEMENTED AS COILS)..........................................................................................4
4. MODBUS ASCII COMMUNICATIONS.................................................................................. 5
4.1 INTRODUCTION...............................................................................................................................5
4.2 FRAMING........................................................................................................................................5
4.3 ADDRESS FIELD..............................................................................................................................5
4.4 FUNCTION FIELD ............................................................................................................................5
4.5 DATA FIELD ...................................................................................................................................5
4.6 LRC FIELD.....................................................................................................................................5
4.7 EXCEPTION RESPONSES..................................................................................................................6
5. COMMAND DETAILS............................................................................................................ 7
5.1 FUNCTION 01: READ COIL STATUS.................................................................................................7
5.2 FUNCTION 03: READ HOLDING REGISTERS....................................................................................8
5.3 FUNCTION 04: READ INPUT REGISTERS..........................................................................................9
5.4 FUNCTION 05: FORCE SINGLE COIL..............................................................................................10
5.5 FUNCTION 06: PRESET SINGLE REGISTER.....................................................................................10
5.6 FUNCTION 15 FORCE MULTIPLE COILS.........................................................................................11
5.7 FUNCTION 16 PRESET MULTIPLE REGISTERS................................................................................12
1. Introduction
This manual details the Modbus communications option of the Ranger 5000.
The Modbus communications option is a separate software license that may
be installed Ranger at the time of purchase or installed afterwards via the use
of the CONFIG menu. Details of the 5000 licensing options and how to install
them may be found in the Reference Manual.
The Modbus protocol was originally developed for use by Modicon
programmable controllers but has been adopted by many manufacturers as a
common protocol standard.
The Modicon standard specifies two transmissions modes: ASCII or RTU.
The 5000 supports the ASCII transmission mode only.
Information in this manual details the underlying communications protocol but
in practice this is generally looked after by the PLC directly. All that is
normally required for setup is to specify the addresses of the registers of
interest to your application. Much of the data from the 5000 is implemented
as 2 consecutive registers to make up a complete 32 bits of data. However
unless the 5000 has been setup with a fullscale of more than 30000 units it is
possible to use the lower order 16 bits contained in a single register.