beautypg.com

Transmission by sel program, 1 setup of ethernet environment, Setup of ethernet environment – IAI America XSEL Ethernet User Manual

Page 38

background image

- 32 -

6. Transmission by SEL Program

Four channels of ASCII-based, delimiter-controlled communication (CH31 through CH34) are supported,
using a set of transmission commands in a system roughly equivalent to that used in the X-SEL controller’s
serial communication.
(The specification of each SEL command may vary slightly from the corresponding command specification
in serial communication, so exercise due caution.)


6.1

Setup of Ethernet Environment

To select the transmission function by SEL program:

Set “I/O parameter No. 129: Network attribute 10, bits 4 to 7” to “1: Use TCP/IP message

communication.”


Then, set “I/O parameter No. 124:

Network attribute 5, bits 8 to 11 (CH31), bits 12 to 15 (CH32), bits
16 to 19 (CH33) or bits 20 to 23 (CH34)” to “1: Client (Assign own
port number automatically)” or “3: Server (Specify own port
number).”



* Data transmission is performed by SEL program based on the specifications of the following items:

 CH (channel) selection

 IP address of connection destination

 Port number

For programming details, refer to 6.2, “Ethernet Option SEL Commands.”