Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Geral

Os pontos podem ser de entrada ou de saída.
Os pontos de entrada, isto é os pontos que são adquiridos pelo protocolo tem basicamente dois parâmetros principais: O tipo de ponto e o seu endereço.
Os pontos de saída, utilizados para telecomandos, possuem além do tipo e do endereço um parâmetro "Control Code" para especificar a operação de saída. No mapa de endereços de um IED os endereços reiniciam para cada tipo de ponto.
Os estados ou valores dos pontos são reportados pelo IED por Objetos de Informação definidos no protocolo. Estes objetos possuem variações como com ou sem "timestamp". Sempre que o IED reportar com "timestamp" este será utilizado no atributo correspondente de um ponto no ActionNET. Quando não vier "timestamp" o driver colocará a hora atual do computador onde o driver está executando como "timestamp".
O módulo de comunicação no modo Mestre, implementa:

  • Leitura de pontos digitais;

  • Leitura de variáveis analógicas;

  • Leitura de contadores;

  • Comandos de Pontos digitais e analógicos;

  • Comando "select before operate";

Tipos de pontos

Os tipos de pontos implementados são definidos utilizando os objetos de dados definidos na norma, a seguir apresentados. Para cada tipo de ponto quaisquer que sejam as variações de objetos recebidos do IED , com "flag" ou sem, com timestamp ou sem, os valores adquiridos serão colocados em pontos com o tipo entre os abaixo listados. Na tabela pontos, no campo "address" escolhe-se o tipo do ponto e especifica-se seu endereço.

Image RemovedAI - Analog Input
Medição analógica escalar utilizado para transmissão de grandezas analógicas. Utilizado para receber dados enviados através dos objetos 30 e 32 e todas as suas variações que usam numeros inteiros de 16 ou 32 bits inteiros. (Excluída variação 5 –

General

Points can be inbound or outbound.
The entry points, that is the points that are acquired by the protocol have basically two main parameters: The type of point and its address.
The output points, used for remote controls, have in addition to the type and address a parameter "Control Code" to specify the output operation. On the address map of an IED the addresses restart for each point type.
Point states or values are reported by the IED by Information Objects defined in the protocol. These objects have variations such as with or without timestamp. Whenever the IED reports with "timestamp" it will be used in the corresponding attribute of a point in ActionNET. When "timestamp" does not come, the driver will place the current time of the computer where the driver is running as "timestamp".
The communication module in Master mode implements:

  • Reading digital dots;

  • Reading analog variables;

  • Reading counters;

  • Digital and analog dot commands;

  • Command "select before operate";

Types of points

The types of implemented points are defined using the data objects defined in the standard, as follows. For each type of point whatever the variations of objects received from the IED, with "flag" or without, with timestamp or without, the acquired values will be placed in points with the type among the ones listed below. In the table stitches, in the field "Address" choose the point type and specify its address.

Image Added

function Code

Ação

3

Seleciona


OUCH - Analog Input
Scalar analog measurement used for transmission of analog quantities. Used to receive data sent through objects 30 and 32 and all their variations that use integer numbers of 16 or 32 whole bits. (Excluded variation 5 - floating point).
BI - Binary Input
Ponto de entrada binario simples, valor 0 ou 1. Utilizado para receber dados enviados através dos objetos 1 e 2 e todas as suas variaçõesSimple binario entry point, value 0 or 1. Used to receive data sent through objects 1 and 2 and all their variations.
DBI - Double Binary Input
Ponto de entrada binario duplo, valor entre 0 e 3. Utilizado para receber dados enviados através dos objetos 3 e 4 e todas as suas variações.
RAO – Read Analog Output
Ponto para leitura de conteudo de saida analógica de 16 ou 32 bits bits. Utilizado para a recepção de objetos dos tipos 40 e Double binario entry point, value between 0 and 3. Used to receive data sent through objects 3 and 4 and all their variations.
RAO - Read Analog Output
Point for reading 16-bit analog output content or 32-bit. Used for the reception of objects of types 40 and 41.
CRO - Control Relay Output
Ponto de saida digital utilizado para o comando de chaves e disjuntores. É utilizado o objeto DNP 12, incluido o Digital exit point used for key and circuit breaker control. The Object DNP 12 is used, including the Control Code (8 bits) para indicação do tipo de comando e detalhes de execução. Ao ser escolhido aparece campo para a informação deste código. Clicando-se na seta a direita ( Image Removed ) é mostrada janela com os atributos selecionados para o valor atual. Se o usuário alterar os atributos selecionados e pressionar a seta de retorno ( Image Removed ), um novo valor associado aos atributos selecionados será gerado.
Image Removed
Figura 8 – Atributo de Comando
Os valores possíveis para o ControlCode são apresentados na tabela abaixo com as respectivas ações associadas:

Control Code

Ação

1

Saída Pulse ON

2

Saída Pulse OFF

3

Saída Latch ON

4

Saída Latch OFF

65

Saída Pulse ON + Close

66

Saída Pulse OFF + Close

67

Saída Latch ON + Close

68

Saída Latch OFF + Close

129

Saída Pulse ON + Trip

130

Saída Pulse OFF + Trip

131

Saída Latch ON + Trip

132

Saída Latch OFF + Trip

+ 16

Enfileirar (Queue) + Trip

+ 32

Limpar (Clear) + Trip

Na Norma DNP30 é informado que somente estas combinações são InterOperaveis:
Image RemovedfuncCode – Nos comandos pode se também definir a operação ser executada no comando conforme ao tabela a seguir:

for indication of command type and execution details. When chosen appears field for the information of this code. Clicking on the right arrow ( Image Added ) is shown window with the attributes selected for the current value. If the user changes the selected attributes and presses the return arrow ( Image Added ), a new value associated with the selected attributes will be generated.
Image Added
Figure 8 - Command Attribute
The possible values for ControlCode are shown in the table below with their associated actions:

Control Code

Share

1

Pulse ON output

2

Pulse OFF output

3

Latch ON Exit

4

Latch OFF Output

65

Pulse ON + Close output

66

Pulse OFF + Close output

67

Latch ON + Close Output

68

Latch OFF + Close Output

129

Pulse ON + Trip Output

130

Pulse OFF + Trip output

131

Latch ON + Trip Output

132

Latch OFF + Trip Output

+ 16

Queue + Trip

+ 32

Clear + Trip


In The DNP30 Standard it is reported that only these combinations are InterOperative:
Image AddedfuncCode - In the commands you can also define the operation to be performed on the command according to the following table:

Function code

Share

3

Selects

4

Opera

5

Opera direto (sem seleçãoOperates direct (no selection)

6

Opera direto Operates direct (sem without ack)

34

Seleciona e Select and Opera

0

IIN

Broadcast

Retorna 1 quando escravo recebe uma mensagem de broadcast (endereço

Obs: Se não for escolhido nenhum código será considerado o código 5Note: If no code is chosen, code 5 is considered.
CT - Counter
Contador binário de 16 ou 32bits, recebido do IED através do objetos 20 e todas as suas variações. Este numero possui o ultimo estado de um a contagem, no instante em que é lidoBinary counter of 16 or 32bits, received from the IED through objects 20 and all its variations. This number has the last state of a count, the instant it is read.
FRZ - Frozen Counter
Contador binário de 16 ou Binary counter of 16 or 32 bits, recebido do iIED através do objeto 21 e suas variações, que contém a informação de um contador na ultima vez que foi "congelado". O valor congelado mostra o valor do contador (de mesmo índice) quando a ultima operação de congelamento do contador foi executada no IED escravoreceived from iIED through object 21 and its variations, which contains information from a counter the last time it was "frozen". Or frozen value shows the counter value (of the same index) when the last counter freeze operation was performed on the slave IED.
AO - Analog Output Status or Block (16bits)
Saída analógica para um conversor DA de 16 bits, utilizando os objetos 40 (valor real a ser aplicado no conversor) ou 41 (valor requerido para ser alcançado na saida analógica) na suas variações 2 (16 bits)Analog output for a 16-bit DA converter, using objects 40 (actual value to be applied to the converter) or 41 (required value to be reached on the analog output) in its 2 (16-bit) variations.
AOL - Analog Output long (32 bits-bit)
Saída analógica para um conversor DA de 32 bits, utilizando os objetos 40 (valor real a ser aplicado no conversor) ou 41 (valor requerido para ser alcançado na saida analógica) na suas variações Analog output for a 32-bit DA converter, using objects 40 (actual value to be applied to the converter) or 41 (required value to be reached on the analog output) in its variations 1 (32 bits).
AIF - Analog Input Floating (32 bits)
Medição analógica utilizada para transmissão de grandezas analógicas. Utilizado para receber dados enviados através dos objetos 30-5 e 32 variações 5 e 7 e objeto 100 e suas variações. São numeros de ponto flutuante de 32 ou 64 bits, formato IEEE-754.
CRS – Control Relay Signalling
É um tipo definido para o Action.NET para a configuração da correspondência entre o tag de saída e o tag de entrada que faz a sinalização, em decorrência do comando. Quando se escolhe o tipo CRS, na definição da coluna Address, aparece um menu diferente com os campos para definição dos parâmetros necessários.
Image Removed
A figura seguinte mostra a configuração na tabela POINTS. A sinalização vem no tag A2.DJ.DJ que é do tipo DBI. As duas linhas em amarelo mostram a definição das sinalizações dos comandos com mesmo endereço (0009) e código de controle (128 – Abrir e 64 – Fechar).
Estas duas linhas são utilizadas na carga do módulo de protocolo para criar uma lista estática com todas as correspondências existentes no node. As informações das mesmas não criam pontos novos em tempo real.
Image Removed
Nada mais é necessário para a configuração. Com esta lista o módulo chamará os métodos de criação de transação e verificação automaticamente.
A sinalização de comando somente é utilizada para comandos digitais CRO e sinalizações digitais BI e DBI.
IIN - Internal Indications
Nesta implementação pode-se ter acesso aos status dos Internal Indications ou status de resposta de comandos definindo-se tags com tipo IIN, para que estes recebam do módulo de comunicação estas informações.
Estes status de indicações internas dos IEDs, são reportadas através de flags nos objetos transmitidos na comunicação.
Para receber as IIN deve ser definido um tag analog int, com tipo IIN e endereço 65000. Este tag receberá o registro com os bits com os significados apresentados na tabela a seguir.
Para receber os status de comandos recém enviados, deve-se definir um tag com analog int com o tipo IIN e endereço 65001.
IIN: 16 bits enviados em toda a resposta do escravo com dados de controle- End: 65000

BIT

Origem

Descrição

Conteúdo

-bit)
Analog measurement used for transmission of analog quantities. Used to receive data sent through objects 30-5 and 32 variations 5 and 7 and object 100 and its variations. They are floating-point numbers of 32 or 64 bits, IEEE-754 format.
CRS - Signalling Control Relay
It is a type defined for Action.NET for setting the match between the output tag and the input tag that flags, as a result of the command. When you choose the CRS type, in the Address column definition, a different menu appears with the fields for defining the required parameters.
Image Added
The following figure shows the configuration in the POINTS table. The signaling comes in the A2.DJ.DJ tag that is of type DBI. The two lines in yellow show the definition of the command cues with the same address (0009) and control code (128 - Open and 64 - Close).
These two lines are used in the protocol module load to create a static list with all existing matches in the node. Their information don't create new points in real time.
Image Added
Nothing else is required for configuration. With this list the module will call the transaction creation and verification methods automatically.
Command signaling is only used for CRO digital commands and BI and DBI digital signaling.

IIN - Internal Indications
In this implementation you can have access to internal indications statuses or command response status defining IIN-type tags, so that they receive this information from the communication module.
These internal indication statuses of iEDs are reported through flags on objects transmitted in communication.
To receive the IIN must be set an analog int tag, with type IIN and address 65000. This tag will receive the record with the bits with the meanings presented in the following table.
To receive the status of newly sent commands, you must set a tag with analog int with type IIN and address 65001.
IIN: 16 bits sent in any slave response with control data-End: 65000

BIT

Origin

Description

Content

0

IIN

Broadcast

Returns 1 when slave receives a broadcast message (address = FFFF)

1

IIN

Classe Class 1Retorna 1

se escravo tem eventos classe 1Returns 1 if slave has class 1 events

2

IIN

Classe Class 2Retorna 1

se escravo tem eventos classe 2Returns 1 if slave has class 2 events

3

IIN

Classe Class 3Retorna 1

se escravo tem eventos classe 3Returns 1 if slave has class 3 events

4

IIN

Sincronismo de relógio

Retorna 1 se escravo pede sincronização de relógioClock timing

Returns 1 if slave asks for clock synchronization

5

IIN

Saídas em local

Retorna 1 se algumas ou todas as saídas estão em localOn-site departures

Returns 1 if some or all outputs are in place

6

IIN

ProblemaProblem

Retorna 1 se escravo com problemaReturns 1 if slave with problem

7

IIN

ReinícioRestart

Retorna 1 se escravo reiniciou Returns 1 if slave restarted (restart)

8

IIN

Função não implementada

Retorna 1 se função enviada pelo mestre não está implementada no escravoFunction not implemented

Returns 1 if function sent by master is not implemented in slave

9

IINObjeto

desconhecidoUnknown objectRetorna 1 se escravo não tem determinado objeto ou classe não tem esse objeto

Returns 1 if slave has no particular object or class does not have this object

10

IINDado

inválidoInvalid dataRetorna 1 se tem parâmetro inválido no qualificador ou intervalo de endereços está inválido

Returns 1 if invalid parameter has in qualifier or address range is invalid

11

IIN

Overflow

Retorna Returns 1 se buffer do escravo teve if slave buffer had overflow

12

IIN

OcupadoBusyRetorna 1 se requisição foi entendida mas já está sendo executada

Returns 1 if request has been understood but is already running

13

IINDado

corrompidoCorrupted data

Retorna 1 se dados de parametrização estão corrompidosReturns 1 if parameterization data is corrupted

14

IIN

ReservadoReserved

Sempre Always 0

15

IIN

ReservadoReserved

Sempre Always 0

Interpretação



Status field in Commands: Um byte enviado como resposta de um comando. Endereço 65001

Valor no byte

Origem

Descrição

A byte sent as a command response. Address 65001

Value in byte

Origin

Description

Interpretation

0

Status

Comando aceito

após comando corretoCommand accepted

after correct command

1

Status

Comando não aceito

ocorreu Command not accepted

time out entre tempo de between select e and operate time.

2

Status

Falta Lack select

feito um operate sem prévio made an operate without prior select

3

Status

Erro formato

Comando tem erro de formatoFormat error

Command has format error

4

Status

Controle não suportado

operação não é suportadaControl not supported

operation is not supported

5

Status

Fila cheia

fila de requisição do escravo está cheia ou ponto já está ativoFull queue

slave request queue is full or dot is already active

6

Status

Erro hardware

ocorreu um erro de hardware do dispositivo ao tentar executar o comando

7 a 127

Não utilizado

.
Estes valores de Resposta de Comandos podem ser definidos em dicionários e mostrados nas listas de eventos e/ou alarmes. Assim, por exemplo, abaixo é mostrado um dicionário associado a variável que contém o status resultante de um comando e na sequência a definição desta variável em um template e sua declaração nos pontos da tabela Device.
Image Removed Figura 9 – Dicionário associado ao Atributo de Comando
Image Removed
Figura 10 – Tag de Variável que recebe o Resultado de um Comando
Image Removed
Figura 11 – Declaração do ponto que recebe o resultado de um comando DNP3
Obs: Para que ocorra um evento sempre nesta tag, o módulo de comunicação, sempre coloca o valor 99 no tag antes de iniciar o envio de um comando. Após, coloca na tag o resultado obtido na resposta ao comando.

Numero de Keep Alive failures – End 65002

Quando se utiliza o RequestLinkStatus para verificar a integridade da comunicação, é feita a contagem de numero de falhas de resposta nestas requisições, Este contador, zerado a a cada reinicialização do driver, é mantido no tag com endereço IIN:65002

 

Endereço do ponto

O campo Address a ser preenchido no cadastramento de pontos é o que a norma chama de "Index". Trata-se de um numero de 16 bits que é o índice [0 a n-1] indicativo de cada um dos pontos do mesmo tipo mapeados dentro do IED.
Abaixo, a título de exemplo é apresentada uma tabela de pontos preenchida com diferentes tipos de ponto. Os pontos tipo saída digital (CRO), conforme citado acima, além do endereço possuem o código de controle

Hardware error

a device hardware error occurred while trying to run the command

7 to 127


Not used


.
These Command Response values can be set in dictionaries and shown in event lists and/or alarms. Thus, for example, below is shown a dictionary associated with the variable that contains the resulting status of a command and following the definition of this variable in a template and its declaration at the points of the Device table.
Image Added Figure 9 - Dictionary associated with command attribute
Image Added
Figure 10 - Variable Tag That Receives the Result of a Command
Image Added
Figure 11 - Declaration of the point receiving the result of a DNP3 command
Note: For an event to occur always in this tag, the communication module always puts the value 99 in the tag before starting sending a command. After, you tag the result obtained in the response to the command.

Number of Keep Alive failures - End 65002

When using RequestLinkStatus to check the integrity of the communication, the number of response failures is counted in these requests, this counter, zeroed out at each driver restart, is kept in the address tag IIN:65002

 

Point address

The field Address to be filled in the point registration is what the standard calls "Index". This is a 16-bit number that is the index [0 to n-1] indicative of each of the points of the same type mapped within the FDI.
Below, a table of points filled with different point types is presented by way of example. The digital output (CRO) points, as mentioned above, in addition to the address have the control code.
129 = Pulse ON + TRIP
Figura 12 – Exemplo da tabela de Points com diferentes tipos de pontos
Para implementar pontos de entrada digital discretos, basta usar o atributo "Bit" de um Tag, para cada um dos pontos que definem o valor da entrada digital discreta. Assim, por exemplo, uma seccionadora que tem dois contatos para definir seu estado:

Tag

ENDEREÇO

Complemento

Figure 12 - Example of the Points table with different types of points
To implement discrete digital entry points, simply use the "Bit" attribute of a tag for each of the points that define the value of the discrete digital input. So, for example, a disconnector that has two contacts to set its state:

Os valores assumidos pela variável

Tag

ADDRESS

Complement

SEL_LINHA_01.SC89_1

8Seccionadora

abertaOpen disconnector

SEL_LINHA_01.SC89_1

9

Seccionadora Fechada

É definida como um Tag AnalogInt e na tabela node se usa o atributo Bit desta variável de 16 bits (AnalogInt) para endereçar os dois pontos, como na tabela abaixo:
Image Removed

Closed Disconnector


It is defined as an AnalogInt tag and in the node table if you use the Bit attribute of this 16-bit variable (AnalogInt) to address the colon, as in the table below:
Image Added
The values assumed by the SEL_LINHA_01.SC89_1 serãowill be:

Tag

Bit 0

Bit 1

VALORVALUE

SIGNIFICADOMEANING

SEL_LINHA_01.SC89_1

0

0

0

INDEFINIDOINDEFINITE

SEL_LINHA_01.SC89_1

1

0

1

ABERTAOPEN

SEL_LINHA_01.SC89_1

0

1

2

FECHADACLOSED

SEL_LINHA_01.SC89_1

1

1

3

ERROERROR

Conversão de flags Dnp em Qualidade OPC

Os códigos de erro ou flags utilizados pelo DNP 3, ao chegarem ao Action.NET são convertidos para códigos do padrão OPC. A tabela a seguir mostra como é feita esta conversão

Converting Dnp flags into OPC Quality

The error codes or flags used by DNP 3 when they arrive at Action.NET are converted to OPC standard codes. The following table shows how this conversion is done.

Access Type

Por ser um módulo de comunicação em modo cliente há a necessidade de algumas características próprias para a parametrização do campo Access Type da tabela Points:
Para pontos com tipos que são de leitura:
O Access Type deve ser definido comBeing a communication module in client mode there is a need for some characteristics suitable for parameterization of the field Access Type of the table Points:
For points with types that are read:
The Access Type should be set with:
ReadOnStartup= On;
ReadPooling= Always;
ReadPoolongRate: 500 mili
WriteEvent= Changed;
AccepUnsolictited = On;
Para pontos com tipos que são de comandos tipos For points with types that are of CRO, AO e , and AOL commands
O The Access Type deve ser definido comshould be set with:
ReadPooling = Never;
WriteEnable = On
WriteEvent= Changed;

Solucionar problemas

O estado de execução do driver pode ser observado através das ferramentas de diagnóstico, que são:

Janela de rastreamento

Troubleshoot

The execution state of the driver can be observed through the diagnostic tools, which are:

  • Tracking window

  • Property Watch

  • Informação do Módulo

Um valor de status de
  • Module Information

A status value of 0 (zero) significa que a comunicação foi um sucesso. Valores negativos indicam um erro de driver interno e valores positivos significam que há erros de protocolomeans that communication was a success. Negative values indicate an internal driver error and positive values mean that there are protocol errors.

Panel

Nesta paginaOn this page:

Table of Contents
maxLevel2