3 sending ascii characters to the client – Horner APG XL4 OCS HE-ETN300 User Manual

Page 93

Advertising
background image

SUP0740-07

CH.13

11/30/2009

Page 93 of 98

# 958

e. In

ASCII over TCP/IP Configuration window configure Port Number, register for start

address of Transmit data, register for start address for Receive data, Transmission
Trigger Register and Status Address.


Port Number can be provided directly or by using register address. For port number entry using

register user has to select

option.

Figure 13.4 – ASCII over TCP/IP Configuration

13.3 Sending ASCII characters to the client


In above configuration dialog %R800 and %R100 registers are configured for sending data.

%R800 is start of transmit data and should contain data in following format.

Sl.No

Register Address

Data Content

1

%R800

First Register should contain ‘Transmit Count’ i.e. number of
bytes (characters) to be transmitted.

2 %R801

Reserved.

3

%R802

Data to be transmitted. Each Register can hold 2 bytes of
data.

4

%R803

Data to be transmitted.

..

Data to be transmitted.

..

Data to be transmitted.

n

%R(800+n-1)

Data to be transmitted.


Note: Maximum 2K ASCII characters can be sent in a single request.

%R100 is Transmit Trigger register used to start the transmission process. Setting R100 data to
‘1’ will initiate transmission process and on successful transmission firmware will reset the R100
data to ‘0’.

Advertising
This manual is related to the following products: