X25AM Programming Manual

Procedures Summary for X25AM
X25AM Programming Manual527201-001
A-2
SETMODE Statements
The remote network address must be specified before issuing the CONTROL. This is
done with the SCF subdevice (SU) attribute DESTADDR, when the subdevice is
configured with SETPARAM 1 in your application.
SETMODE Statements
These are the X25AM SETMODE statements.
SETMODE 6
Set line spacing. SETMODE 6 is accepted but not used when the terminal is in page
mode. It becomes effective when the terminal mode is changed to conversation mode.
SETMODE 7
Set automatic linefeed after receiving a carriage return (CR) line-termination character.
SETMODE 7 is accepted but not used when the terminal is in page mode. It becomes
effective when the terminal mode is changed to conversation mode. The action in
dependent on PAD parameter 13.
SETMODE 8
Set the terminal operating mode. When a subdevice is opened, ITI assumes that a
remote terminal is in conversation mode. Any subsequent mode changes must be
performed by the application.
CALL CONTROL (filenum,operation)
filenum = file number
operation = 17
CALL SETMODE (filenum,function, param1)
filenum = file number
function = 6
param1.<15>
0 = No space. Start on the same line.
1 = Single space. Start on the next line (default).
CALL SETMODE (filenum,function, param1)
filenum
= file number
function = 7
param1.<15>
0= Off
1 = On (default)
CALL SETMODE (filenum,function, param1)
filenum = file number
function = 8