beautypg.com

Delta Electronics DELTA DUP-B User Manual

Page 379

background image

Chapter 3 Creating and Editing Screens

PUTCHARS (Output Characters by COM Port)

Equation
Var1 = PUTCHARS (Var2, Var3, Var4)

Explanation
This command outputs characters by COM port. Var1 is the response value after the
communication, Var2 is the starting address of transmission data, Var3 is the data
length, and Var4 is the allowance communication time (unit is ms). The result will be
stored in Var1.

Remark

Var1: Response value after communication

1: Completed normally
0: Failed

Var1 and Var2 can be internal memory only. Var3 and Var4 can be internal
memory or constant.

Example

Output three consecutive WORD data starting from $1 and store the result in $0.

3-358

Revision May, 2010