Remote Mode Operations U511 User’s Manual
6-18 Aerotech, Inc. Version 1.1
6.4.13. Parameter Editing
WPn,val: Set Parameter “n” as “val”
RPn: Return Parameter “n”
SP: Saves Parameter Data to Disk
The WP command changes parameter “n” to a specified value (val). The first time this
command is given, the parameter file is opened and read to memory from the flash disk.
This memory copy is edited using the RP and WP commands. Parameter values range
from 0 to 699 (see Parameters chapter). Table 6-24 shows the communication sequence
for the write parameter command.
Table 6-24. Write Parameter Sequence
Direction of Transfer Command Description
Host→U511
WP Write Parameter command
Host→U511
Parameter n Parameter n to be read
Host→U511
, Separate parameter n from value
Host→U511
Parameter value Value to be loaded into
parameter
Host→U511
EOS character End of string character (LF)
U511→Host
ACK/NAK character Acknowledge character (0x06)
Example: WP0,0 <EOS character>
The RP command returns the ASCII value of the parameter specified. Table 6-25 shows
the communication sequence for the Read Parameter command.
Table 6-25. Read Parameter Sequence
Direction of Transfer Command Description
Host→U511
RP Read Parameter command
Host→U511
Parameter n Parameter n to be read
Host→U511
EOS character End of string character (LF)
U511→Host
ACK/NAK character Acknowledge character (0x06)
U511→Host
Parameter value Parameter value string
U511→Host
EOS character End of string character (LF)
Example: RP0 <EOS character>
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com