Rs-232 programmer's guide, Introduction – Analog Way Studio Scan XTD620 User Manual
Page 17

STUDIO SCAN XTD 620 Chapter 10 : RS-232 PROGRAMMER'S GUIDE
PAGE 17
Chapter 10 : RS-232 PROGRAMMER'S GUIDE
10-1. INTRODUCTION
If you need to use your own Control Software Program with a PC, MAC or WORKSTATION by a RS-232 port. The
STUDIO SCAN XTD 620 allows to communicate by simple transmit or receive ASCII code.
The STUDIO SCAN XTD 620 treats any character that it received on the RS-232 as a possible command but accepts only
legal commands. There are no codes to say that a command is coming, or that a command is ended.
A command could be a single character typed on a keyboard and does not required any special characters before or after (it
is not necessary to press "ENTER" from the keyboard).
Simple commands could be from a PC or any other controlling device.
When the STUDIO SCAN receives a valid command, it will execute the command and send a response back to the host
device.
If the command is invalid, an error response will be returned to the host.
All responses to the host end with a carriage return and a line feed (CR / LF) signaling the end of the response character
string.
• PROTOCOL: Simple Character
• CONTROLS STRUCTURE:
Controls are usually composed of a numeric value followed by the letter of the command.
The letter used without numeric value returns the current setting of the command.
See "Command and Response Table"
( PARAMETER )
< COMMAND >
1 Character (Usually a letter)
Without parameter :
Read back the current value
ex : H
⇒ Hph10 ↵
With a numerical parameter : Set a new value
ex : 80 H
⇒ Hph80 ↵
NOTE: The { or } parameter are active only on Image positioning and zooming commands (H, V, W, S, h, v, w, s).
( PARAMETER )
< COMMAND >
Character { : Increase current value by 1
ex : { H
⇒ Hph81 ↵
Character } : Decrease current value by 1
ex : } H
⇒ Hph79 ↵