Appendix BUsing the Command Interface 6323 0-300-212
Overviewof the Command Interface April 2001
©200 1 Schneider Electric All Rights Reserved
182
The circuitmonitor provides a command interface, which you can use to
issue commandsthat perform various operations suchas controlling relays.
Tab l e B2 on page 183 lists the available commands.The command
interfaceis located in memory at registers 80008149. TableB1 lists t he
definitionsfor the registers.
Whenregisters 80178019 are set to zero,no values are returned. When any
orall of these registers contain a value, the value in the registerpointsto a
targetregister, which contains the status,error code, or I/O data (depending
on the command)when t he commandis executed. Figure B1 shows how
these registerswork.

NOTE:You determine the register location where resultswill be written.

Therefore,take care when assigning register values in the pointer registers;

valuesmay be corrupted when two commands use the same register.

Figure B1: CommandInterface Pointer Registers
Tabl e B1: Location of the commandinterface
Register Description
8000 This is the register whereyou write the commands.
80018015
Theseare the registers where you writethe parameters for a
command.Commands can haveup to 15 parameters associated
with them.
8017 Statuspointer to the userarea. The status of the lastcommand
processed is place d in this register.
8018 Results pointer to the user are a. When an error occurs, the error
code is placed in this regist er.
8019 I/Odata pointer to theuser area. Use this registerto point to data
bufferregisterswhere you can send additionaldata or return data.
80208149
These registers are for you (the u ser) to write information.
Dependingon which pointerplaces the informationin the register,
theregister can containstatus (from pointer8017), results (from
pointer 8018), or dat a (from pointer 8 019). The regist ers will contain
information such as whethe rt he function is enabled or disa bled, set
to fill and hold, start and s top times, logging intervals, an d so forth.
Bydefault, return data will start at 8020 unlessyou specify
otherwise.
OVERVIEW OF THECOMMAND INTERFACE
8020
1(status of the
last command)
Register 8017
Register 8020
8021
51 (error code caused by
the last command)
Register 8018
Register 8021
8022
0(data returned by the
last command)
Register 8019
Register 8022