2 read status (block 9250), Read status (block 9250), Modify the [backplane data exchange] section – ProSoft Technology PTQ-104C User Manual

Page 52

Advertising
background image

Module Configuration

49TPTQ-104C ♦ 48TQuantum Platform

12TUser Manual

47TIEC 60870-5-104 Client


Sets the Block Number (9971=Write Module’s Time) and then increments the
output sequence number (OutputControl[1]) by one. Once the module reads a
new output sequence number from the processor it will process this request. So
remember that the actual trigger is moving a new output block sequence number
value to the module. Moving the block number (9970) is not the trigger to request
this task from the module. MyTrigger is set to -1 as an indication that the logic is
waiting for the response from the module.

IF (MyTrigger=9971) THEN

OutputControl1[1] :=MyTrigger;

OutputControl1[2] :=SetTime.MyYear;

OutputControl1[3] :=SetTime.MyMonth;

OutputControl1[4] :=SetTime.MyDay;

OutputControl1[5] :=SetTime.MyHour;

OutputControl1[6] :=SetTime.MyMinute;

OutputControl1[7] :=SetTime.MySecond;

OutputControl1[8] :=SetTime.MyMillisecond;

Temp:=WORD_TO_INT(OutputControl1[0]);

Temp:=Temp+1;

OutputControl1[0]:=INT_TO_WORD(Temp);

END_IF;

Once the request was processed the module will send the block response and
increment the received output sequence number by 1. So the output sequence
number is one less than the input sequence number the module has sent a new
block. *).

5.3.2 Read Status (Block 9250)

This block is used to request status data from the module by the processor.

Block Format from Processor (4x Register Data) sent to module

Word Offset in Block

Data Field(s)

Description

0

Sequence
Counter

This field contains a new value each time the user
wishes to request a new command block.

1

Block ID

This field contains the block identification code of 9250
for the block.

2 to 63

Spare

Not used.

Page 52 of 136

ProSoft Technology, Inc.

March 4, 2013

Advertising