Inserting System Variables Into A Message; Displaying The Ip Address - ICP DAS USA iKAN Series User Manual

Hide thumbs Also See for iKAN Series:
Table of Contents

Advertisement

4.2.1. Inserting System Variables into a Message

The iKAN series device allows data related to items such as the Ethernet configuration, the RTC
value, and other information, to be inserted into a message as a system variable. The format for
using a system variable in a message has a length of 5 bytes as follows:
1
Delimiter Character Variable Type
%

4.2.1.1. Displaying the IP Address

Modbus register addresses 30000 to 30011 can be used to read the current IP, Mask, and
Gateway address values. The following is an overview of how to read these addresses.
Modbus Address
Decimal
Hex.
30000
0000
:
:
30003
0003
30004
0004
:
:
30007
0007
30008
0008
:
:
30011
000B
2
y: System variable
Length
Description
The IP address for the iKAN
4
series device
The Mask
4
series device
The Gateway
4
series device
iKAN
Modbus Address: 3-digit decimal number
X
address for the iKAN
address for the
3 to 5
X
Value Range
Attribute
0 ~ 255
0 ~ 255
0 ~ 255
X
R
R
R

Advertisement

Table of Contents
loading

Table of Contents