AMX nxc manual Chardm, Ctspsh, GET Baud, Hsoff

Page 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

 

 

Image 13
Contents Operation/Reference Guide NetLinx Cardframe Control Cards NetModulesAMX Limited Warranty and Disclaimer Table of Contents NXC-I/O10 Input/Output Control Card NXC-VOL4 Volume Control Card Page NXF Cardframe Specifications NXF Cardframe SpecificationsNXF CardFrame and NetModules Overview+12 VDC PWR Rear Panel ComponentsPosition NXS-NMS NetModules NXS-NMS NetModules SpecificationsNumber Port Mounting modules into an equipment rack NXC-COM2 Specifications SpecificationsNXC-COM2 Dual COM Port Control Card DeviceidNXC-COM2 Channel Assignment Pinouts and Wiring ConfigurationNXC-COM2 Programming Information Chardm ChardCtspsh GET BaudRxclr HsonRxoff RxonTxclr NXC-COM2 SendString Escape SequencesXoff XON27,18,1 Command Description 27,18,027,19,time 27,20,0NXC-I/O10 Input/Output Control Card NXC-I/O10 SpecificationsSetting the Switch/Voltage Mode Jumpers Pinouts, Signals, and I/O Mode FunctionsNXC-I/O10 Pinouts, Signals, and I/O Mode Functions NXC-I/O10 Channel Assignments+12 V mode setting default Setting the Voltage Clamp Jumper +12V or OpenOpen mode setting Page NXC-IRS4 4-Port IR/S Control Card NXC-IRS4 SpecificationsNXC-IRS4 Channel Assignments Pinouts, Signals, and FunctionsProgramming Information Cton CtofIroff GET ModePOD POFPton PtofSET Input Link SET IO LinkMode 1 Example x x x enter SET ModeXCH XchmMode 3 Example 100100… x Command Description XchmPage NXC-REL10 Relay Control Card NXC-REL10 SpecificationsPinouts and Functions NXC-REL10 Channel AssignmentsNo Normally open NXC-REL10 Connections/WiringNXC-VAI4 Analog Voltage Control Card NXC-VAI4 SpecificationsIref Channel Assignments NXC-VAI4 Pinouts, Signals, and FunctionsNXC-VAI4 Channel Assignments Channel State FunctionStops voltage ramping on Output 4 at current value NXC-VAI4 Output Level Assignments NXC-VAI4 Output Level AssignmentsLevel Description NXC-VAI4 Input Level Assignments NXC-VAI4 SendCommandsNXC-VAI4 Input Level Assignments Levon LevoffRate CurveLevel Value Functions. Negative voltages are not valid for Inputs Page NXC-VOL4 Specifications NXC-VOL4 Volume Control CardNXC-VOL4 Pinouts, Signals, and Functions NXC-VOL4 Connections/WiringAudio Channel Gain Ratio Jumper Settings NXC-VOL4 Levels NXC-VOL4 Channel AssignmentsNXC-VOL4 Channel Assignments per port NXC-VOL4 LevelsSendlevel NXC-VOL4 SendCommandsPage It’s Your World Take Control