beautypg.com

5 checking the modbus operation status, Checking the modbus operation status -7 – Yokogawa Touch Screen GP20 User Manual

Page 327

background image

4-7

IM 04L51B01-01EN

Using Modbus Functions (Communicating with Modbus devices)

1

2

3

4

5

App

Writing Computed Values to a Server

Example

Write the computed values from channel A001 to registers 40001 and 40002 of instrument A,

in the order lower 16 bits/higher 16 bits. Only the smallest register number need be specified

in commands.

32-bit signed integer

Math channel

Register of instrument A

40001
40002

A001

Lower bytes

Higher bytes

Command setting

Setup Item

Value

Client command number

6

Command setting

Type

Write

Server

1

Data type

INT32_L

Register

40001

Channel type

Math channel

First-CH

A001

Last-CH

A001

4.2.5

Checking the Modbus Operation Status

Procedure

For the procedure, see page 2-48 in section 2.3.6, “Checking the Command Status of the

Modbus Client and Modbus Master”.

4.2 Using Modbus/TCP to Enable the GX/GP to Read Data from and Write Data to Other Devices (Modbus client function)

This manual is related to the following products: