Function Codes

<< Click to Display Table of Contents >>

 

Function Codes

Supported function codes

N2

Reading or Writing

Operation

-34

Write-only

Data for analog channels of a COMTRADE file (Pextron profile). The N3 parameter indicates a channel, from 0 (zero) to 7 (seven). Users must use a Block with up to eight Elements. The Elements must be 0: Channel's Name, 1: A Constant, 2: B Constant, 3: Maximum Channel's Value, 4: Minimum Channel's Value, 5: RPV Constant, 6: RSV Constant, and 7: Primary or Secondary Circuit (can be p, P, s, or S)

-33

Reading and writing

Data for Pextron profile transfer. The values for the N3 parameter can be 0: Indicates that a file was just recorded (pulse in one), 1: Number of files left for transmission, 2: Requests a collecting on the Pextron file (instantaneous), or 3: Requests the start of a random counting to collect a Pextron file (counts the time to request that collecting)

-32

Reading and writing

Base name of a COMTRADE file

-31

Reading and writing

Circuit name for COMTRADE files

-30

Reading and writing

Directory to store files

-22

Read-only

Returns a Word containing Internal Indications, IIN1 on Low byte and IIN2 on High byte. Possible values for bits are 0: All station messages received, 1: Class 1 data available, 2: Class 2 data available, 3: Class 3 data available, 4: Time sync required, 5: Points in local status, 6: Device trouble, 7: Device restart, 8: Not implemented, 9: Requested objects unknown, 10: Parameters not valid, 11: Buffer overflow, 12: Operation already executing, 13: Configuration corrupted, 14: Not used, and 15: Not used

-21

Read-only

Address indicated in the N1 parameter is active (one) or inactive (zero)

-20

Reading and writing

Address indicated in the N1 parameter is turned on (one) or turned off (zero)

-15

Write-only

Requests a Link Status command to be sent. The result is displayed in a Tag with the N2 parameter equal to -10

-14

Write-only

Requests a restart (Reset Link, Class 0, etc.)

-13

Reading and writing

Communication statistics. Possible values for the N4 parameter are 0: Clears statistics (read-only), 1: Frames sent, 2: Frames without response, 3: CRC errors in response format, 4: Sending errors, 5: Transmission retries, 6: Frames received, 7: Bytes sent, or 8: Bytes received

-11

Reading and writing

Requests Class 0 (Integrity)

-10

Read-only

Link Status

-7

Write-only

Time syncing (Ethernet procedure)

-6

Write-only

Time syncing. Writes computer's time to a remote station

0

Read-only

Read from Cache. Removes all events available for a Tag, leaving the last event as the current Tag's value. For static objects, performs a reading communication before (Read function)

1

Read-only

Read Events. Returns all events available for a Tag. For static objects, performs a reading communication before (Read function)

2

Write-only

Write

3

Write-only

Select

4

Write-only

Operate

5

Write-only

Direct Operate

6

Write-only

Direct Operate No ACK

7

Write-only

Immediate Freeze

9

Write-only

Freeze and Clear

10

Write-only

Freeze and Clear No ACK

11

Write-only

Freeze with Time

13

Write-only

Cold Restart

14

Write-only

Warm Restart

20

Write-only

Enable Unsolicited Messages

21

Write-only

Disable Unsolicited Messages

22

Write-only

Assign Classes

23

Read-only

Delay Measurement

50

Read-only

Single Block Event

51

Read-only

Auto Zero Bad Read. Function used when a Tag receives a ramp up-only change event (from zero to one) and never a ramp down (from one to zero). In this case, this Driver inserts an event with a value of 0 (zero) before returning each event in 1 (one)

101

Read-only

Read (Integrity). Performs an integrity operation, requesting all points with object type × 100 + Variation declared in the N3 parameter. Users can also use a 0 (zero) variation, corresponding to any informed object, regardless of their variation. This function performs a communication (integrity) each time a Tag is read

Was this page useful?