Home Page
        Orders     Downloads     Support     Contact     Deutsch
ZOC Terminal is a professional SSH Client and Terminal Emulator for Windows and macOS.
ZOC Online Help Topic:

Serial/Modem/Direct → REXX ZocDeviceControl

Available commands for the ZocDeviceControl script command (see ZOC-REXX Commands):

       
GETRS232SIGNALS
 

Return a string that indicates the raised incoming signals (CTS, DSR, CD, RI) on the serial port, e.g. ##[CTS][DSR][CD]##
Note: For backward compatibility the command GETSTATE returns the same result as GETRS232SIGNALS).

SETRTS ON|OFF
 

Changes the status of the RTS Signals on the RS323 port (this will only work, if the Rts/Cts is not configured as 'Handshake' in the serial settings), e.g. Call ZocDeviceControl("SETRTS ON")

SETDTR ON|OFF
 

Changes the status of the DTR Signals on the RS323 port (this will only work, if the DTR/DSR is not configured as 'Handshake' in the serial settings), e.g. Call ZocDeviceControl("SETDTR OFF")

TESTACCESS <name>
 

This command tests if the serial port <name> (e.g. SAY ZocDeviceControl("TESTACCESS COM3") or SAY ZocDeviceControl("TESTACCESS /dev/cu.pl2303")) is valid and accessible.

FINDUSBPORT <text>
 

This command searches for the first USB port, that has <text> in the device's verbose description (e.g. port= ZocDeviceControl("FINDUSBPORT FTDI"))=.

 

 
← Back to Serial/Modem/Direct

 

Downloads
Orders
Contact
Support
Terms of Use
Privacy Policy
pixel