Modbus Rtu Functions and Addressing Modes: in This Chapter. - .

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

13

MODBUS RTU Functions and Addressing Modes


In This Chapter. . . .
T1KMODBUS RTU Function Codes Using T1KMODBUS with DirectLogic PLC Using T1KMODBUS with MODBUS 584/984

32
MODBUS RTU Functions and Addressing Modes

MODBUS RTU Function Codes


MODBUS Function The following MODBUS RTU functions are supported by the T1KMODBUS base Codes Supported controller.
MODBUS RTU Function Code 01 02 03 Read Input Table Read Holding Registers (when addressing mode is 584/984, this function is used to access analog output registers) Read Input Registers (when addressing mode is 584/984, this function is used to access analog input registers) Force Single Output Preset Single Registers Read Exception Status Loop back / Maintenance Force Multiple Outputs Preset Multiple Registers Report Device Type not supported not supported not supported not supported Function Read Output Table

04

05 06 07

MODBUS RTU Functions and Addressing Modes

08 09 14 15 16 17 18 64 65 66 6870 72 73 127

Installation and Safety Guidelines

33
MODBUS RTU Functions and Addressing Modes

DirectLogic Addressing Mode


The DirectLogic Addressing mode is set by placing Dip Switch 7 in the ON position. The Using the T1KMODBUS with following memory locations are supported by the T1KMODBUS base controller in the a DirectLogic PLC DirectLogic Addressing Mode. X0 X1777 Discrete Inputs Modbus Master Y0 Y1777 Discrete Outputs V0 V177 Analog Inputs V1400 V1577 Analog Outputs T1KModbus Memory Type For Discrete Data Type Inputs (X) Outputs (Y) Analog Input Data Register (V) Analog Output Data Registers (V) 1024 1024 128 128 X0 X1777 Y0 Y1777 V0 V177 V40400 V40477 V40500 V40577 QTY. (Dec.) PLC Range (Octal) V Memory Range

For Word (16bit) Data Types

MODBUS RTU Functions and Addressing Modes

V1400 V1577

Installation and Safety Guidelines

34
MODBUS RTU Functions and Addressing Modes

584/984 Addressing Mode


Note: ModScan32 is a Windows based application program that can be used as a MODBUS master to access and change data points in a connected slave device (T1KMODBUS). The utility is ideally suited for quick and easy testing of MODBUS network slave devices. Visit www.wintech.com to download a free ModScan32 trial demo and for more information on ModScan32. Using the T1KMODBUS with a 584 / 984 MODBUS Master
The 584 / 984 Addressing mode is set by placing Dip Switch 7 in the OFF position. The following decimal memory locations are supported by the T1KMODBUS base controller in the 584 / 984 Addressing Mode. Modbus Data Type

MODBUS RTU Functions and Addressing Modes

1 1024 Discrete Outputs 10001 11024 Discrete Inputs 30001 30128 Analog Input Registers 30201 30264 Bit Input Registers 40001 40128 Analog Output Registers 40201 40264 Bit Output Registers
T1KMODBUS Range (Decimal) 1 1024 1024 1024 V Memory Range Points Memory Type Discrete Output not supported Discrete Input not supported

Coil

1025 9999 10001 11024

Input

11025 19999

Installation and Safety Guidelines

Modbus Data Type

Range (Decimal) 30001 30128 30129 38999

Words Channel (16 bit) (32 bit) 128 64 128 64 128 64 64

Memory Type Analog Input Register not supported Discrete Input Bit Register not supported Analog Output Register not supported Discrete Output Bit Register not supported Special Register not supported

Analog Input Input Register Input Register

Bit Input Register 30201 30264 Input Register Analog output Hold Register 39129 39999 40001 40128 40129 40200 40201 40264 40265 49000 49001 49128 49129 49999

Hold Register

Bit Output Register Hold Register Hold Register Hold Register

You might also like