EasyManuals Logo

Moxa Technologies NPort IA5150AI-T User Manual

Moxa Technologies NPort IA5150AI-T
108 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #96 background imageLoading...
Page #96 background image
NPort IA5150A/IA5250A Series IP Serial LIB
7-3
Example Program
char NPortip=”192.168.1.10”;
char buffer[255];
int port = 1;
int portid;
nsio_init();
portid = nsio_open(
NPortip, port);
nsio_ioctl(portid, B9600, (BIT_8 | STOP_1 | P_NONE) );
sleep(1000);
nsio_read(port, buffer, 200);
nsio_close(portid);
nsio_end();
/*data buffer, 255 chars */
/*1st port */
/* port handle */
/*initial IP Serial Library */
/*1st port,
NPort IP=192.168.1.10 */
/*set 9600, N81 */
/* wait for 1000 ms for data */
/* read 200 bytes from port 1 */
/* close this serial port */
/* close IP Serial Library */

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Moxa Technologies NPort IA5150AI-T and is the answer not in the manual?

Moxa Technologies NPort IA5150AI-T Specifications

General IconGeneral
Isolation2 kV
CertificationCE, FCC
Serial interface typeRS-232/422/485
Serial ports quantity1
Ethernet LAN data rates10, 100 Mbit/s
Ethernet LAN (RJ-45) ports2
Supported network protocolsICMP, IP, TCP, UDP, DHCP, BOOTP, Telnet, Rtelnet, DNS, HTTP, SMTP, SNTP, IGMP
Connectivity LEDsYes
Storage temperature (T-T)-40 - 85 °C
Operating temperature (T-T)-40 - 75 °C
Operating relative humidity (H-H)5 - 95 %
Input voltage12 - 48 V
SafetyUL-508
Weight and Dimensions IconWeight and Dimensions
Weight475 g
Dimensions (WxDxH)36 x 105 x 140 mm

Related product manuals