258 or 9958 – slc binary input event (slave port) – ProSoft Technology MVI46-DNP User Manual
Page 80

MVI46-DNP ♦ SLC Platform
Reference
Master/Slave Communication Module
Page 80 of 143
ProSoft Technology, Inc.
August 23, 2007
258 or 9958 – SLC Binary Input Event (Slave Port)
If the SLC sends a command control code of 258 or 9958, the module places the
binary input event data in the block into the event buffer and alters the data
values for the points in the DNP binary input database. The format for the event
message is shown in the following table:
Word Offset in Block
Data Fields
Description
M0: .80
Command Code
This field contains the value of 258 identifying the event block to the
module.
M0: .81
Event Count
This field contains the number of events contained in the block. Valid
values for this field are 1 to 12.
M0: .82
Sequence Counter
This field holds the sequence counter for each 258 block transfer.
This synchronizes and confirms receipt of the block by the module.
M0: .83
DNP Binary Input
Data point
This is the data point in the DNP binary input database represented
by the event.
M0: .84
Month/Day/State
Formatted: bits 0 to 4 = Day, bits 8 to 11 = Month, bit 15 = digital
state for point. All other bits are ignored.
M0: .85
Hour/Minute
Formatted: bits 0 to 5 = Minutes, bits 8 to 12 = Hour. All other bits
are ignored.
M0: .86
Sec/Millisecond
Formatted: bits 0 to 9 = Milliseconds, bits 10 to 15 = Seconds.
M0: .87
Year
This is the four-digit year for the event.
88 to 92
Five words of data for Event #2.
93 to 98
Five words of data for Event #3.
98 to 102
Five words of data for Event #4.
103 to 107
Five words of data for Event #5.
108 to 112
Five words of data for Event #6.
113 to 117
Five words of data for Event #7.
118 to 122
Five words of data for Event #8.
123 to 127
Five words of data for Event #9.
128 to 132
Five words of data for Event #10.
133 to 137
Five words of data for Event #11.
138 to 142
Five words of data for Event #12.
Up to 12 events can be passed from the SLC to the module in each block. To
ensure that the block reached the module and was processed, the module sends
response data in the M0: file to the SLC. The format of the block is shown in the
following table.
Word Offset in Block
Data Fields
Description
M0: .80
Command Code
This field contains a value of zero to indicate that the module
processed the command.
M0: .81
Acknowledge Value This field contains a value of 258 to indicate that the module
processed the command. This value is written over the event count
sent in the request message.
M0: .82
Event Count
This field contains the number of events processed by the module.
M0: .83
Sequence Counter
This field contains the sequence number corresponding to the last
event set processed.