Omron V022-E3-1 operation manual 7-5Key to Programs, 7-5-1Use of Programs, Section

Models: V022-E3-1

1 318
Download 318 pages 5.12 Kb
Page 242
Image 242
7-5 Key to Programs

5￿￿￿￿$￿￿￿￿￿￿￿

Section 6-5

7-5 Key to Programs

The following programs include all the commands that can be used with the

NT600S.

7-5-1 Use of Programs

The sample program appears as follows on the screen.

Menu bar Sub-menu Parameter input column

Send command column

 

Run confirm column

 

Receive command display column

Use the program as shown below.

 

 

Execute program

 

 

[ESC]

Interrupt display when

[ESC]

Select type of send

command received

 

command

 

 

[ESC]

 

 

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

Enter key: confirm

[Esc]: stop

Note

1.

This sample program is written in N88BASIC (86) (NEC) for a PC-9801 com-

 

 

puter. Modify this program for use with any other computer language or com-

 

 

puter 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 interrupt is

 

 

permitted between the interval of parameter input and a command is re-

 

 

ceived, 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 per-

 

 

mitted range. Make sure that parameters are input within the permitted range.

 

 

 

￿￿￿

Page 242
Image 242
Omron V022-E3-1 operation manual 7-5Key to Programs, 7-5-1Use of Programs, Section