Master Profile

<< Click to Display Table of Contents >>

 

Master Profile

Perfil Master

 

General Driver Configuration

 

P1

If > 0, it indicates the interval in seconds for the spontaneous sending of date/time, according to the configuration of parameter P2 below (50D0h for PLC and C0D8h for RTU).

P2

If > 0, it indicates that the driver is communicating with a PLC. If = 0, it is a RTU. This setting serves to indicate whether the response to a 51D0h command (time request) is answered with 50D0h (PLC) or C0D8h (RTU).

P3

If > 0, defines the Application Timeout in miliseconds (ex: time to wait for a command execution). If = 0, the default Timeout will be used = 5000 ms. Important: The Timeout parameter, defined at the Setup Tab, defines the channel Keep-Alive, at the datalink layer.

P4

Not Used

 

General Tag Configuration

 

N1

BAC Application Address (RTU or PLC). If set to 0 (zero), the tag will use the default value (Rem App Address).

N2

Data Type - see table below

N3

Variable Address

N4

Bit (for commands and digital states)

 

Tag

Leitura ou Escrita

N2

N3 / COMENTÁRIOS

N4

Analog

Read only

0

Address/Port starting at 0

Not used (let in 0)

Digital State

Read only

1

Address/Port starting at 0

Bit (0 to 7)

Synchronous Monostable Conmmand

Write only

2

Address/Port starting at 0. In this command, the tag value is not used. The pulse width can optionally be defined in the tag's Item parameter, as follows: W:NNN where NNN is the width in milliseconds. Ex: W:50 (50 milliseconds).

 

When writing to this tag, no other operation is allowed until a response is received from the equipment (C1D0h) or a timeout occurs.

Bit (0 to 7)

Synchronous Bistable Command

Write only

3

Address/Port starting at 0. In this command, the tag value is used, with 1 to activate and 0 to deactivate.

 

When writing to this tag, no other operation is allowed until a response is received from the equipment (C1D0h) or a timeout occurs.

Bit (0 to 7)

Diagnostics

Read only

5

Diagnostics Byte Index, starting at 0 (zero) up to (total 21 bytes)

Not used

Start Operating Mode Command

Write only

6

Starts RTU operating mode:

Tag Value:

1: Central

2: Local

3: Maintenance

Not used

Finish Operating Mode Command

Write only

7

Finishes RTU operating mode:

Tag Value:

1: Central

2: Local

3: Maintenance

Not used

CPU Hot/Reserve Switchover

Write only

8

Sends the command C0DBh for CPU switchover

Not used

PLC Alarms

Read only

9

Alarm Byte

Not used

Energy Consumption Data

Write only

10

Reserved but not implemented

 

RDTD - Tariff Registrador

Read only

11

Address starting at 0

 

Observation: Shall be a block with 4 elements:

Element 0 (TIME): read relative time

Element 1 (DELTA): Sample time in seconds

Element 2 (ACTIVE): Active Energy

Element 3 (REACTIVE): Reactive Energy

 

 

Not used

Async monostable Command

Write only

12

Address/Port, starting at 0. The tag value is not used in this command. The pulse width can optionally be defined in the tag's Item parameter, as follows: W:NNN where NNN is the width in milliseconds. Ex: W:50 (50 milliseconds).

 

When writing to this tag, other operations are permitted, and when a response is received from the equipment (C1D0h) or a timeout occurs, a return tag reading (N2=14) will be triggered.

Bit (0 to 7)

Async Bistable Command

Write only

13

Address/Port, starting at 0. In this command, the tag value is used, with 1 to activate and 0 to deactivate.

 

When writing to this tag, other operations are permitted, and when a response is received from the equipment (C1D0h) or a timeout occurs, a reading of the return tag (N2=15) will be triggered.

Bit (0 to 7)

Async monostable Command return

Read only

14

Address/Port, starting at 0

Observation: When starting a new command this tag assumes the value BAC_CMD_RESULT_PENDING = 0

When command is finished, this tag will assume one of the values below:

BAC_CMD_RESULT_OK 1

BAC_CMD_RESULT_NOK 2

BAC_CMD_RESULT_CARD_NONEXISTENT 3

BAC_CMD_RESULT_MONITORING_MODE 4

BAC_CMD_RESULT_CENTRAL_MODE 5

BAC_CMD_RESULT_LOCAL_MODE 6

BAC_CMD_RESULT_MAINTENANCE_MODE 7

BAC_CMD_RESULT_TIMEOUT 99

Bit (0 to 7)

Async Bistable Command return

Read only

15

Address/Port, starting at 0

Observation: When starting a new command this tag assumes the value BAC_CMD_RESULT_PENDING = 0

When command is finished, this tag will assume one of the values below:

BAC_CMD_RESULT_OK 1

BAC_CMD_RESULT_NOK 2

BAC_CMD_RESULT_CARD_NONEXISTENT 3

BAC_CMD_RESULT_MONITORING_MODE 4

BAC_CMD_RESULT_CENTRAL_MODE 5

BAC_CMD_RESULT_LOCAL_MODE 6

BAC_CMD_RESULT_MAINTENANCE_MODE 7

BAC_CMD_RESULT_TIMEOUT 99

Bit (0 to 7)

ChannelStatus

Read only

17

0 = Primary Channel

1 = Secondary Channel

 

Tag value is formed by 2 bits, as below:

 

Bit 0: Channel is Active (Exchanging ACK's)

Bit 1: Channel is in Use (Exchanging Data Messages)

Not used