Language Objects Associated with Configuration
Original instructions
Introduction
This topic describes the configuration language objects for Ethernet communication with the TSX ETY 4103/PORT/5103 module and the Ethernet channel of the TSX P57 6634/5634/4634, which can be displayed by the application program.
Internal Constants
The following table describes the internal constants:
Object
Function
Meaning
%KWr.m.c.0
Type
Byte 0 = 11 for Ethernet communication
Byte 1: reserved
%KWr.m.c.1
Physical layer
Byte 0: fixed at 16#01 (corresponds to GPX2)
Byte 1: reserved
%KWr.m.c.2
Reserved
-
%KWr.m.c.3
Reserved
-
%KWr.m.c.4
Reserved
-
%KWr.m.c.5
X-Way network address
Byte 0: network number (0 by default)
Byte 1: reserved
%KWr.m.c.6
Type of Ethernet driver for TCP/IP
Byte 0: fixed at 16#01 (corresponds to RJ45)
  • = 16#01: RJ45
Byte 1:
  • = 16#00: Ethernet II (default value)
  • = 16#01: 802.3
%KWr.m.c.7
TCP/IP configuration: address type
Byte 0: reserved
Byte 1: inherited address
  • = 16#01: from the application-specific function
  • = 16#03: from a server
%KWr.m.c.8
and
%KWr.m.c.9
Local IP address
Example with the address 139.160.650.109
Byte 0 = 109
Byte 1 = 65
Byte 2 = 160
Byte 3 = 139
%KWr.m.c.10
and
%KWr.m.c.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.c.12
and
%KWr.m.c.13
Subnetwork mask
Example with the address 255.255.255.0
Byte 0 = 0 (least significant)
Byte 1 = 255
Byte 2 = 255
Byte 3 = 255 (most significant)
%KWr.m.c.14
Services used
Byte 0:
  • bit 0 =1: I/O Scanner is used
  • bit 1 =1: BOOTP server is used
  • bit 2 =1: Global Data is used
  • bit 3 =1: bandwidth adjustment is used
Byte 1: reserved
%KWr.m.c.15
TCP services used
Byte 0:
  • bit 0 =1: Modbus communication on TCP/IP is used
  • bit 1 =1: access control is activated
Byte 1: reserved