Chapter 7 - Programming with Serial Communication
127
Serial Supervisory Commands
The following commands control program uploading, downloading, deleting, execution, etc. All of these commands are
fully defined in this section.
Command
Command Description and Application Examples
Syntax
AA
Auto Address
The AA command automatically addresses SmartDrive units in a
daisy chain. It assigns an address to each unit on the daisy
chain. This allows the units to be wired in a daisy chain without
setting each unit’s address manually. The AA command parame-
ter n indicates the value in which the addressing sequence will
begin.
In the example above, the Host issues an AA4 and the units are
addressed 4, 5, 6, 7. This offers the convenience of adding a
new unit anywhere in the daisy chain without manually re-
addressing all the other units. Just connect the new unit, issue an
AA command from the new unit with the address of the new unit
as the AA parameter, i.e. AAi.
<n>AA or
AAi
DP
Delete Program
Erases a program from memory, where i is the program number.
This is equivalent to pressing the delete key on the keypad and
entering the program number.
Range: 1-199 (1-400 with 30K memory option)
Example: DP99 (deletes program number 99).
<n>DPi
DR
Download Program to RAM
Begins downloading a program from the host to the control’s
RAM, rather than non-volatile memory. (Also see the PR com-
mand description) These programs will be lost after a reset or
power cycle. The program string must end in EP. The commands
between DR and EP do not need a device address.
The DR command is typically used when the control is operated
exclusively via a host controller which constantly downloads and
executes programs. This increases the usable life of the FLASH.
Range: 1-199 (1-400 with 30K memory option)
Example: 1DR50 AC4 DE4 VE30 LP6 DI10.5 GO EN 1EP RN50
Downloads program #50 to Unit #1’s RAM, then runs program
#50
<n>DRi
Summary of Contents for B8962
Page 111: ...109 Chapter 7 Programming with Serial Communication...
Page 132: ...B8961 and B8962 User Manual 130...
Page 136: ...B8961 and B8962 User Manual 134 B8961 and B8962 Hardware Connections...
Page 137: ...135 Chapter 8 Hardware Reference B8961 and B8962 Input and Output Schematics...
Page 138: ...B8961 and B8962 User Manual 136 Connecting IDC Limit Switches to the B8961 2...
Page 156: ...B8961 and B8962 User Manual 154...