ICP DAS Win-GRAF User Manual - Modbus Master Configuration

ICP DAS Win-GRAF User Manual covering Modbus Master setup for RTU/ASCII and TCP/UDP connections to slave devices.


ICP DAS Win-GRAF User Manual - Modbus Master Configuration - cover page
Brand
icpdas
Category
Industrial Robot
Document type
User Manual
Language
English
Pages
62
File format
PDF
File size
6 MB
Published
30 November, 2026
Updated
30 November, 2026
MD5 checksum
F097AF046C0502E91C07D86B6B1F922C

About this manual

This manual from ICP DAS explains how to enable the Win-GRAF PAC as a Modbus Master to connect to Modbus RTU/ASCII or Modbus TCP/UDP slave devices. It covers configuration steps, data block settings, and related parameters.

The guide walks through enabling the Modbus Master in the IO Drivers window, creating data blocks for read and write requests, and declaring variables such as Boo_01 to Boo_16, DO_0, Act_0, Word_1 to Word_6, Long_1 and Real_1. It also lists Modbus function codes, error codes, and recommended timeout values for Modbus RTU/ASCII devices.

What's inside

  • Enabling the Win-GRAF PAC as a Modbus RTU/ASCII Master
  • Read DI data
  • Write DO Data
  • Read AI Data
  • Modbus Master Request settings
  • Status and command variables
  • Error codes
  • Modbus TCP Master configuration

Specifications

Recommended timeout for Modbus RTU/ASCII devices200 to 1000 ms
Delay time range for serial Modbus RTU0 to 10000 ms
Modbus function codes supported2, 5, 4, 6, 16
Modbus TCP port502
Exception timeout for Modbus TCP example3000 ms

Frequently asked questions

How do you enable the Modbus Master in Win-GRAF?

Click the "Open Fieldbus Configuration" tool button, then click "Insert Configuration", select "MODBUS Master" and click "OK".

How do you set the Win-GRAF PAC as a Modbus ASCII Master?

Change the serial Modbus RTU setting to "ASCII: COM2:9600,N,8,1" in the Insert Master/Port window.

What is the recommended timeout value for Modbus RTU/ASCII devices?

The recommended value is 200 to 1000 ms, for example 250 ms.

What does the Status variable show when a read error occurs?

The Status variable is set to an error code when a read error occurs and is reset to 0 when the read request is successful.

Download PDF (6 MB)

More icpdas Manuals


View all icpdas manuals →