EasyManuals Logo

Moxa Technologies NPort 5450AI-M12 User Manual

Moxa Technologies NPort 5450AI-M12
194 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 #162 background imageLoading...
Page #162 background image
NPort 5000 Series User Manual
162
IP Serial LIB Function Groups
Server Control Port Control Input/Output Data
Port Status
Inquiry
Miscellaneous
nsio_init
nsio_end
nsio_resetserver
nsio_checkalive
nsio_open
nsio_close
nsio_ioctl
nsio_flowctrl
nsio_DTR
nsio_RTS
nsio_lctrl
nsio_baud
nsio_resetport
nsio_read
nsio_SetReadTimeouts
nsio_write
nsio_SetWriteTimeouts
nsio_lstatus
nsio_data_status
nsio_break
nsio_break_on
nsio_break_off
nsio_breakcount
Example Program
char NPort 5100A-Nip=”192.168.1.10”;
char buffer[255];
int port = 1;
int portid;
nsio_init();
portid = nsio_open(
NPort 5100Aip, 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 5100A
IP=192.168.1.10 */
/*set 9600, N81 */
/* wait for 100
0 ms for data */
/* read 200 bytes from port 1 */
/* close this serial port */
/* close IP Serial Library */

Table of Contents

Other manuals for Moxa Technologies NPort 5450AI-M12

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Moxa Technologies NPort 5450AI-M12 and is the answer not in the manual?

Moxa Technologies NPort 5450AI-M12 Specifications

General IconGeneral
CertificationCE, FCC, EN 55022 Class A, FCC Part 15 Subpart B Class A, EN 55024, EN 50155, EN 50121-4, IEC 60068-2-6
RS-232 signalsCTS, DCD, DSR, DTR, GND, RTS, Rx, Tx
RS-422 signalsGND, RxD+, RxD-, TxD+, TxD-
RS-485 signalsData+, Data-, GND, RxD+, RxD-, TxD+, TxD-
Flow control supportYes
Serial interface typeRS-232/422/485
Serial ports quantity4
Ethernet LAN data rates10, 100 Mbit/s
Ethernet LAN (RJ-45) ports1
Supported network protocolsICMP, IP, TCP, UDP, DHCP, BOOTP, Telnet, DNS, SNMP V1, HTTP, SMTP, IGMP V1/2, LLDP
Input voltage12 - 48 V
Operating temperature (T-T)-25 - 55 °C
SafetyUL 60950-1, EN 60950-1
Compatible operating systemsWindows 98/ME/NT/2000, Windows XP/2003/Vista/2008/7/8 x86/x64, 2012 x64\\r SCO Unix, SCO OpenServer, UnixWare 7, UnixWare 2.1, SVR 4.2, QNX 4.25, QNX 6, Solaris 10, FreeBSD, AIX 5.x, HP-UX 11i, Mac 10.3\\r Linux kernel 2.4.x, 2.6.x, 3.x
Weight and Dimensions IconWeight and Dimensions
Weight686 g
Dimensions (WxDxH)80 x 216.6 x 52.9 mm

Related product manuals