222
Key to Programs
Section 6-7
6-7 Key to Programs
The following programs include all the commands that can be used with the
NT20S.
6-7-1 Use of Programs
The sample program appears as follows on the screen.
Send command column
Menu bar Sub-menu Parameter input column
Run confirm column
Receive command
display column
Use the program as shown below.
Interrupt display when
command received
[ESC]
[ESC]
[ESC]
Execute program
Select type of send
command
Select send command
Input parameter
Confirm send command
Execute transfer
command
End program
Main Menu
Sub-menu
Input parameter column
Send command column,
confirm execution
Up, Down, Left, Right keys: select item
[ENT]: confirm
[Esc]: stop
1. This sample program is written in N88BASIC (86) (NEC) for a PC-9801
computer. Modify this program for use with any other computer lan-
guage or computer such as an IBM PC/AT or compatible.
2. The interval between parameter input and command transmission is a
hold interval for interrupt processing of the received command. If an in-
terrupt is permitted between the interval of parameter input and a com-
mand is received, all subsequent receive interrupts are displaced. If this
occurs, send an enquiry command to read all the accumulated receive
data.
3. When a parameter is input, no check is made that the parameter is in the
permitted range. Make sure that parameters are input within the per-
mitted range.