63230-300-212

Appendix B—Using the Command Interface

April 2001

Overview of the Command Interface

 

 

Issuing Commands

To issue commands using the command interface, follow these general

 

steps:

 

1. Write the related parameter(s) to the command parameter registers

 

8001–15.

 

2. Write the command code to command interface register 8000.

 

If no parameters are associated with the command, then you need only to

 

write the command code to register 8000. Table B– 2 lists the command

 

codes that can be written to the command interface into register 8000. Some

 

commands have an associated registers where you write parameters for that

 

command. For example, when you write the parameter 9999 to register 8001

 

and issue command code 3351, all relays will be energized if they are set up

 

for external control.

Table B– 2: Command Codes

Command

Command Parameter

Parameters

 

Description

Code

Register

 

 

 

 

 

 

 

 

 

1110

None

None

 

Causes soft reset of the unit (re-initializes the circuit monitor).

 

 

 

 

 

1210

None

None

 

Clears the communications counters.

 

 

 

 

 

1310

 

 

 

Sets the system date and time. Values for the registers are:

 

8001

Month

 

Month (1–12)

 

8002

Day

 

Day (1–31)

 

8003

Year

 

Year (4-digit, for example 2000)

 

8004

Hour

 

Hour (Military time, for example 14 = 2:00pm)

 

8005

Minute

 

Minute (1–59)

 

8006

Second

 

Second (1–59)

 

 

 

 

 

1410

None

None

 

Disables the revenue security switch.

 

 

 

 

 

1411

None

None

 

Enables the revenue security switch.

 

 

 

 

 

Relay Outputs

 

 

 

 

 

 

 

 

 

3310

8001

Relay Output Number

 

Configures relay for external control.

 

 

 

 

 

3311

8001

Relay Output Number

 

Configures relay for internal control.

 

 

 

 

 

3320

8001

Relay Output Number

 

De-energizes designated relay.

 

 

 

 

 

3321

8001

Relay Output Number

 

Energizes designated relay.

 

 

 

 

 

3330

8001

Relay Output Number

 

Releases specified relay from latched condition.

 

 

 

 

 

3340

8001

Relay Output Number

 

Releases specified relay from override control.

 

 

 

 

 

3341

8001

Relay Output Number

 

Places specified relay under override control.

 

 

 

 

 

3350

8001

9999

 

De-energizes all relays.

 

 

 

 

 

3351

8001

9999

 

Energizes all relays.

 

 

 

 

 

3361

8001

Relay Output Number

 

Resets operation counter for specified relay.

 

 

 

 

 

3362

8001

Relay Output Number

 

Resets the turn-on time for specified relay.

 

 

 

 

 

3363

8001

None

￿

Resets the operation counter for all relays.

3364

8001

None

Resets the turn-on time for all relays.

3365

8001

Input Number

 

Resets the operation counter for specified input.

 

 

 

 

 

3366

8001

Input Number

 

Resets turn-on time for specified input.

 

 

 

 

 

3367

8001

None

 

Resets the operation counter for all inputs.

 

 

 

 

 

You must write to register 8001 the number that identifies which output you would like to use. To determine the identifying number, refer to “I/O Point Numbers” on page 186 for instructions.

Data buffer location (register 8019) is the pointer to the first register where data will be stored. By default, return data begins at register 8020,

although you can use any of the registers from 8020–8149.Take care when assigning pointers. Values may be corrupted if two commands

are using the same register.

￿

©￿2001 Schneider Electric All Rights Reserved

183

Page 195
Image 195
Schneider Electric 4000 manual Issuing Commands, 8001-15, Write the command code to command interface register