- No category
advertisement
Reading IIN Data from an Outstation
The ability to issue a Read to a given outstation must be set up in the Serial Communications
Module DNP3 master port configuration. In the port exchange configuration, create a Data
Exchange with an Operation of:
▪ Read Continuous, to read data continuously, with no control by the application program.
▪ Read Continuous Bit-Control, to start reading data continuously when the application program sets the associated bit in the Port Control Output Data and to stop when the application clears the same bit..
▪ Read Single Bit-Control, to read data once when the application program toggles the associated bit in the Port Control Output Data.
Select the Outstation Address of the slave. As Target Object, choose Internal Indicators, and assign PLC CPU References where the data will be written.
During operation, when the exchange is enabled as described above, the module issues a
DNP3 Read (Function Code 1) to the specified outstation. The slave returns its IIN data to the port. The module automatically writes the IIN data to the CPU Reference Address area defined in the Data Exchange.
IIN data consists of one word of bit-flags that indicate error conditions as well as general status.
MSB LSB
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Reserved, always 0
Configuration corrupt
Already executing requested operation
Event buffer overflow
Parameter error
Object unknown
Function code not supported
All Stations: broadcase message received
Class 1 events available
Class 2 events available
Class 3 events available
Need time: write time and date to slave
Local control
Device Trouble
Device Restart
8
GFK-2460E Chapter 8 DNP3 Communications 8-17
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 152 Serial Communications Module DNP V3.0 Master Device Profile
- 154 Serial Communications Module DNP V3.0 Master Implementation Table
- 159 Implementing DNP3 Master Functions
- 163 Reading Static Data from an Outstation
- 165 Reading IIN Data from an Outstation
- 166 Reading Change Event Data of Any Class from an Outstation
- 167 Reading Class 1, 2, 3 Data from an Outstation
- 178 Writing Binary or Analog Output Data to an Outstation: Direct Operate
- 179 Writing Output Data to an Outstation: Select then Operate
- 180 Writing Analog Input Deadband Data to an Outstation
- 181 Reading Time and Date from an Outstation
- 182 Writing Time and Date to an Outstation
- 183 Sending a Cold Restart Command to an Outstation
- 184 Clearing the Device Restart IIN Bit in an Outstation
- 185 Enabling or Disabling Unsolicited Responses in an Outstation
- 187 Serial Communications Module DNP V3.0 Slave Device Profile
- 189 Serial Communications Module DNP V3.0 Slave Implementation Table
- 194 Serial Communications Module DNP3 Slave Point Lists
- 198 Implementing DNP3 Slave Functions
- 210 Configuring a Port for SPL
- 210 Creating an SPL Script
- 211 Operation of the SPL Script
- 212 Exchanging Status and Control Data with the PLC CPU
- 215 Reserved Symbols
- 215 Syntax rules and requirements
- 216 SPL Statements
- 217 Global Variables
- 218 Variable Names
- 218 Variable Reference and Assignment
- 219 Integer Variables
- 220 Array Variables
- 221 Script Control Statements: GOTO
- 222 Script Control Statements: FOR – TO – NEXT
- 223 Script Control Statements: IF - THEN - <ELSE> – ENDIF
- 224 Script Control Statements: GOSUB – RETURN
- 225 Script Control Statements: STOP
- 226 Functional Errors
- 226 Fatal Errors
- 229 Statements to Exchange CPU Data: EXNEXT
- 231 Statements to Exchange CPU Data: EXSTAT
- 234 Statements to Exchange CPU Data: EXREAD
- 235 Statements to Exchange CPU Data: EXWRITE
- 237 SPL Statements for Exchanging Serial Port Data: GETB
- 238 SPL Statements for Exchanging Serial Port Data: PUTB
- 239 Global Variable for Serial Communications: SERIAL
- 240 Optional Global Variables for Serial Communications
- 241 Checksum Statements: BCC
- 241 Checksum Statements: CRC
- 242 Precedence of Operators
- 243 Logical Operators: AND
- 243 Logical Operators: OR
- 244 Logical Operators: XOR
- 244 Logical Operators: MOD
- 245 ASCII Conversion Statements: ASCTOVAL
- 246 ASCII Conversion Statements: VALTOASC
- 247 Time Statements: TIMER
- 247 Time Statements: ELAPSED
- 248 Debugging the SPL Script
- 250 Control SPL Script Execution from the Command Line Interface Port