Language Objects associated with the Configuration of a TSX ETY 110
Original instructions
At a Glance
This page describes the language objects for the configuration of a TSX ETY 110 module. These objects can be read by the application program.
Internal Constants
The following table describes the language objects for the configuration of a TSX ETY 110 module.
Object
Function
Meaning
%KWr.m.0.0
Type
Byte 0 = 11 for ETHWAY communication
Byte 1: reserved
%KWr.m.0.1
Physical layer
Byte 0: reserved
Byte 1: reserved
%KWr.m.0.2
Utilities supported
Byte 0: common data
  • x0 = 1: activation of ETHWAY common words
  • x1 = 0: reserved
  • x2 = 1: common words read only
  • x3 = 1: common words read/write
  • x4 to x7 = 0: reserved
Byte 1: reserved
%KWr.m.0.4
Common words
Byte 0: number of common words
Byte 1: reserved
%KWr.m.0.5
X-Way network address
Byte 0: network number (0 by default)
Byte 1: reserved
%KWr.m.0.6
Type of Ethernet driver for TCP/IP
Byte 0:
  • = 16#00 : AUI (default value)
  • = 16#01 : RJ45
Byte 1:
  • = 16#00 : Ethernet II (default value)
  • = 16#01 : 802.3
%KWr.m.0.7
TCP/IP configuration: address type
Byte 0: reserved
Byte 1: inherited address
  • = 16#00 : default address
  • = 16#01 : from the application-specific function
  • = 16#03 : from a server
%KWr.m.0.8
and
%KWr.m.0.9
Local IP address
Example with the address 139.160.650.109
Byte 109 = 0 (least significant)
Byte 1 = 65
Byte 2 = 160
Byte 3 = 139 (most significant)
%KWr.m.0.10
and
%KWr.m.0.11
IP address of gateway
Example with the address 139.160.65.1
Byte 0 = 1
Byte 1 = 65
Byte 2 = 160
Byte 3 = 139
%KWr.m.0.12
and
%KWr.m.0.13
Subnetwork mask
Example with the address 255.255.255.0
Byte 0 = 0
Byte 1 = 255
Byte 2 = 255
Byte 3 = 255