Appendix B-Using The Command Interface; Overview Of The Command Interface - Siemens ACCESS 9340 Reference Manual

Table of Contents

Advertisement

PMCM-9340D-0208
2/2008
APPENDIX B—USING THE COMMAND INTERFACE

Overview of the Command Interface

© 2008 Siemens Energy & Automation, Inc. All Rights Reserved
The meter provides a command interface, which you can use to issue
commands that perform various operations such as controlling relays.
Table B–2 on page 205 lists the available commands. The command
interface is located in memory at registers 8000–8149. Table B–1
lists the definitions for the registers.
Table B–1: Location of the command interface
Register
Description
8000
This is the register where you write the commands.
These are the registers where you write the parameters for a
8001–8015
command. Commands can have up to 15 parameters associated with
them.
Command pointer. This register holds the register number where the
8017
last command is stored.
Results pointer. This register holds the register number where the last
8018
command is stored.
I/O data pointer. Use this register to point to data buffer registers
8019
where you can send additional data or return data.
These registers are for you (the user) to write information. Depending
on which pointer places the information in the register, the register can
contain status (from pointer 8017), results (from pointer 8018), or data
(from pointer 8019). The registers will contain information such as
8020–8149
whether the function is enabled or disabled, set to fill and hold, start
and stop times, logging intervals, and so forth.
By default, return data will start at 8020 unless you specify otherwise.
When registers 8017–8019 are set to zero, no values are returned.
When any or all of these registers contain a value, the value in the
register "points" to a target register, which contains the status, error
code, or I/O data (depending on the command) when the command is
executed. Figure B–1 shows how these registers work.
NOTE: You determine the register location where results will be
written. Therefore, take care when assigning register values in the
pointer registers; values may be corrupted when two commands use
the same register.
ACCESS 9340 and 9360 Meters
Appendix B—Using the Command Interface
EN–203

Advertisement

Table of Contents
loading

This manual is also suitable for:

Access 9360

Table of Contents