551 305 02

 

 

Service Channel (channel 0) (Internal Node)

 

Registers in Service channel.

RegNo

Identifier

Memory type

Read Out

Type

0

NumberOfSWNo

Stream Read Only

-------

Integer

1

DeviceID

Stream Read Only

-------

Record

2

NeighbourNodeAddress

Special function

 

Byte

3

NetID

Special function

 

Word

4

PNETSerialNo

Special function

-------

Record

5

 

 

 

 

6

 

 

 

 

7

FreeRunTimer

RAM Read only

Decimal

LongInteger

8

 

 

 

 

9

 

 

 

 

10

 

 

 

 

11

 

 

 

 

12

 

 

 

 

13

 

 

 

 

14

Guid

Stream Read Only

-------

String

15

 

 

 

 

 

 

RegNo 0: NumberOfSWNo

This constant holds the highest SWNo in the device.

 

 

NumberOfSWNo:

Integer;

 

 

 

RegNo 1: DeviceID

The purpose of this record is to be able to identify a connected device. The record includes registered manufacturer number, the type number of the device and a string identifying the manufac­turer.

 

The record is of the following type:

 

Record

 

(* Factory setting *)

 

DeviceNumber:

Word;

(* 7011 *)

 

ProgramVersion:

Word;

(* 1 *)

 

ManufacturerNo:

Word;

(* 1 *)

 

Manufacturer:

String[20];

(* "PROCES-DATA DK" *)

End;

 

 

 

 

RegNo 2: NeighbourNodeAddress

NeighbourNodeAddress: Byte;

 

A node can have a "neighbour" node, of any general node type. To facilitate NetScan and other utilities, the node address of the neighbour node can be read in this "Read only" variable. If the node has no neighbour node, the value of NeighbourNodeAddress is 255.

 

RegNo 3: NetID

NetID: Word;

 

This register holds the NetID. The value identifies the net the node is connected to.

Note: This register does not exist in the UDP node

 

RegNo 4: PNETSerialNo

This variable is a record of the following type:

 

Record

 

(* Factory setting *)

 

PNETNo:

Byte;

(Node Address) (* 0 *)

 

SerialNo:

String[20];

(* "xxxxxxxxPD" *)

End;

 

 

 

The serial number is used for service purposes and as a 'key' to setting the device's P-NET Node address.

A special function is included for identifying a device connected to a network containing many other devices, having the same or unknown node addresses, and to enable a change of the node address via the P-NET.

Setting a new node address via the P-NET is performed by writing the required node address together with the serial number of the device in question, into the PNETSe­rialNo at node address 126 Dec. (calling all devices). All devices on the P-NET will receive the message, but only the device with the transmitted serial number will store the P-NET node address.

 

 

RegNo 7: FreeRunTimer

 

FreeRunTimer:

LongInteger;

 

 

FreeRunTimer is a timer, to which internal events are sync­hronized. The timer is of type LongInteger in 1/256 Second.

 

 

RegNo 14: Guid

 

Guid:

String[22];

 

 

Each channel type is identified by means of a unique Guid. The value of Guid for the Service channel is: PD/551305-01