Function Codes

<< Click to Display Table of Contents >>

 

Function Codes

Supported function codes

N2

Reading or Writing

Operation

-34

Writing

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

Reading

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

Reading

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

Writing

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

-14

Writing

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

Reading

Link Status

-7

Writing

Time syncing (Ethernet procedure)

-6

Writing

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

0

Reading

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

Reading

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

2

Writing

Write

3

Writing

Select

4

Writing

Operate

5

Writing

Direct Operate

6

Writing

Direct Operate No ACK

7

Writing

Immediate Freeze

9

Writing

Freeze and Clear

10

Writing

Freeze and Clear No ACK

11

Writing

Freeze with Time

13

Writing

Cold Restart

14

Writing

Warm Restart

20

Writing

Enable Unsolicited Messages

21

Writing

Disable Unsolicited Messages

22

Writing

Assign Classes

23

Reading

Delay Measurement

50

Reading

Single Block Event

51

Reading

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

Reading

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?