beautypg.com

Chapter 5. option – IAI America S-SEL-E User Manual

Page 234

background image

Page 229



Transmission Format

Communication in this system is carried out by exchanging character strings. Every character string is determined
toperform a certain motion. When the receiver receives a character string, it recognizes it and performs the corre-
sponding motion. This character string and the ending characters are combined to make up a transmission format,
which can be determined by the user.

Example: For the Home command, make up a character string with 4 characters, "HOME". Then, determine the

ending characters to indicate the end of the command. When N88 BASIC is used for the PC side, "CR" and
"LF" must be used for the BASIC side.

C
R

L
F

H

O

M

E

Transmission format

Character string
for homing

Ending characters

Chapter 5.

Option

(11)

Application Program

Example of an application program using an RS232C unit:

The controller and the PC are connected to the RS232C communication circuit. Homing is performed and the
motion is controlled by the MOVE command via PC. When the movement is complete, a signal is sent to the PC.

This manual is related to the following products: