AMX nxc manual Chardm, Ctspsh, GET Baud, Hsoff

Models: nxc

1 46
Download 46 pages 61.34 Kb
Page 13
Image 13

 

NXC-COM2 Dual COM Port Control Card

 

 

NXC-COM2 Send_Commands (Cont.)

 

 

 

Command

Description

 

 

 

CHARD

Set the delay time between all transmitted characters to the value specified (in 100 microsecond

 

increments).

 

Syntax:

 

SEND_COMMAND <DEV>,"'CHARD-<time>'"

 

Variable:

 

time: 0 - 255. Measured in 100 microsecond increments.

 

Example:

 

SEND_COMMAND RS232_1,"'CHARD10'"

 

Sets a 1-millisecond delay between all transmitted characters.

 

 

 

CHARDM

Set the delay time between all transmitted characters to the value specified (in 1 millisecond increments).

 

Syntax:

 

SEND_COMMAND <DEV>,"'CHARDM-<time>'"

 

Variable:

 

time: 0 - 255. Measured in 1 millisecond increments.

 

Example:

 

SEND_COMMAND RS232_1,"'CHARDM10'"

 

Sets a 10-millisecond delay between all transmitted characters.

 

 

 

CTSPSH

Enable Pushes, Releases, and status information to be reported via channel 255 using the CTS

 

hardware handshake input. If Clear To Send (CTS) is high, the channel is On.

 

Syntax:

 

SEND_COMMAND <DEV>,"'CTSPSH'"

 

Example:

 

SEND_COMMAND RS232_1,"'CTSPSH'"

 

Sets the RS232_1 port to detect changes on the CTS input.

CTSPSH OFF Disable Pushes, Releases, and Status information to be reported via channel 255. If Clear To Send (CTS) is high, the channel is on.

 

Syntax:

 

SEND_COMMAND <DEV>,"'CTSPSH OFF'"

 

Example:

 

SEND_COMMAND RS232_1,"'CTSPSH OFF'"

 

Turns off CTSPSH for the specified device. Disables the RS232_1 port to detect changes on the CTS

 

input.

 

 

GET BAUD

Get the RS-232/422/485 port’s current communication parameters. Device sends the response out the

 

Master program port.

 

Syntax:

 

SEND_COMMAND <DEV>,"'GET BAUD'"

 

Example:

 

SEND_COMMAND RS232_1,"'GET BAUD'"

 

Device responds with:

 

<port #>,<baud>,<parity>,<data>,<stop> 485 <ENABLED DISABLED>

HSOFF

Disable hardware handshaking (default).

 

Syntax:

 

SEND_COMMAND <DEV>,"'HSOFF'"

 

Example:

 

SEND_COMMAND RS232_1,"'HSOFF'"

 

Disables hardware handshaking on the RS232_1 device.

NetLinx Cardframe, Control Cards, and NetModules - Operation Reference Guide

7

 

 

Page 13
Image 13
AMX nxc manual Chardm, Ctspsh, GET Baud, Hsoff