SPI & DPI Commands Slave Mode Notes: MV Setpoints
SPI & DPI Commands Slave Mode Notes: MV Setpoints
SPI & DPI Commands Slave Mode Notes: MV Setpoints
com
If the Slave addresses of a Block are to be setpoints written by the master the Flag “Disable
Interrogation response” should be set in the block settings, otherwise the value is returned
as a Input during interrogation.
Actions that occur at Slave side during command write from the Master
1. Commands sent by the Master set the :VALUE bits & set the timestamp of local PC time of
receipt.
2. In addition the following bits are set: Bit 13 (:TOG) is toggled (changed) everytime a
command is received, this allows the SCADA to sense the command even if Master sends
the same value. Bit 12 (:WRIT) is set after first write, this may be used to indicated that a
value has been received by the slave since startup.
3. The OPC server sends a OnChange() with new timestamp even if the value does not
change.
4. For SPI & DPI commands: in the block settings set “Select timeout” to “0” if using direct
execute (not select execute). This timer is the select timeout time i.e. user needs to send
execute AFTER select within this time or execute fails. Do not set too long, if user fails to
cancel or tries to select another, will fail until timeout.
MV Setpoints
If the Slave addresses of a Block are to be setpoints written by the master the Flag “Disable
Interrogation response” should be set in the block settings, otherwise the value is returned
as an Input during interrogation.
5. Setpoints sent by the Master set the analog value & set the timestamp of local PC time of
receipt.
6. In addition the following status bits are set Bit 10 (:TOG) is toggled (changed) everytime a
command is received, this allows the SCADA to sense the command even if Master sends
the same value. Bit 12 (:WRIT) is set, this may be used to indicated that a value has been
received by the slave since startup.
7. The OPC server sends a OnChange() with new timestamp even if the value does not
change.
**Note for OPC please use this address “<rtu>:IT:<asdu>:<obj>|DWRD” this forces the datatype to
Double word.
Page 14 of 7
Copyright www.proscada.com
Counter Interrogation
VTI := CP8{Value,Transient}
Value := I7[1..7]<-64..+63>
Transient := BS1[8]
Example 1: “RTU1:STP:1:22|S&M,,,0:127” Will read the step pos 22 & apply the Shift & mask signal conditioning shifting
0 bits & AND’ing with 127 (bits 0-7) which results in the +-63 step position
Example 2: “RTU1:STP:1:22|S&M,,,7:1” Will read the step pos 22 & apply the Shift & mask signal conditioning shifting 7
bits & AND’ing with 1 (bit 8) which results in the transient state
If a Digital Block in fix OR the extra :<bit> filed is used via OPC the QDS information may be accessed
QDS := CP8{OV,RES,BL,SB,NT,IV}
OV := BS1[1]<0..1>
<0> := no overflow
<1> := overflow
RES = RESERVE:= BS3[2..4]<0>
BL := BS1[5]<0..1>
<0> := not blocked
<1> := blocked
SB := BS1[6]<0..1>
<0> := not substituted
<1> := substituted
NT := BS1[7]<0..1>
<0> := topical
<1> := not topical
IV := BS1[8]<0..1>
<0> := valid
<1> := invalid
Example:
RCO := CP8{RCS,QOC}
Page 15 of 7
Copyright www.proscada.com
RCS=Regulating step
command state := UI2[1..2]<0..3>
<0> := not permitted
<1> := next step LOWER
<2> := next step HIGHER
<3> := not permitted
QOC := CP6[3..8]{QU,S/E} see below QOC
QOC := CP6{QU, S/E}
QU := UI5[3..7]<0..31>
<0> := no additional definition *
<1> := short pulse duration (circuit-breaker), duration determined by a system parameter in the outstation
<2> := long duration pulse, duration determined by a system parameter in the outstation
<3> := persistent output
<4..8> := reserved for standard definitions of this companion standard (compatible range)
<9..15> := reserved for the selection of other predefined functions **
<16..31>:= reserved for special use (private range)
S/E := BS1[8]<0..1>
<0> := Execute
<1> := Select
Page 16 of 7
Copyright www.proscada.com
“I87” IO Driver 870-5-101 Compliance Spec
8 Interoperability
This document serves to specify which options and features of the IEC 870-5-101 standard
protocol are supported by the ProScada “I87” IO driver for OPC Clients.
Note that all supported and edited notes in red were added by the developers of the I87 driver.
Note : The I87 driver does allow RTS/CTS with RTS toggling, which may be used with 2
wire RS485 line drivers where the RTS line is used to energise the transmitter. The same
Page 17 of 7