B-6 L30 Line Current Differential System GE MultilinB.3 FILE TRANSFERS APPENDIX BBB.3FILE TRANSFERS B.3.1 OBTAINING RELAY FILES VIA MODBUSa) DESCRIPTIONThe UR relay has a generic file transfer facility, meaning that you use the same method to obtain all of the different types offiles from the unit. The Modbus registers that implement file transfer are found in the "Modbus File Transfer (Read/Write)"and "Modbus File Transfer (Read Only)" modules, starting at address 3100 in the Modbus Memory Map. To read a file fromthe UR relay, use the following steps:1. Write the filename to the "Name of file to read" register using a write multiple registers command. If the name is shorterthan 80 characters, you may write only enough registers to include all the text of the filename. Filenames are not casesensitive.2. Repeatedly read all the registers in "Modbus File Transfer (Read Only)" using a read multiple registers command. It isnot necessary to read the entire data block, since the UR relay will remember which was the last register you read. The"position" register is initially zero and thereafter indicates how many bytes (2 times the number of registers) you haveread so far. The "size of..." register indicates the number of bytes of data remaining to read, to a maximum of 244.3. Keep reading until the "size of..." register is smaller than the number of bytes you are transferring. This condition indi-cates end of file. Discard any bytes you have read beyond the indicated block size.4. If you need to re-try a block, read only the "size of.." and "block of data", without reading the position. The file pointer isonly incremented when you read the position register, so the same data block will be returned as was read in the pre-vious operation. On the next read, check to see if the position is where you expect it to be, and discard the previousblock if it is not (this condition would indicate that the UR relay did not process your original read request).The UR relay retains connection-specific file transfer information, so files may be read simultaneously on multiple Modbusconnections.b) OTHER PROTOCOLSAll the files available via Modbus may also be retrieved using the standard file transfer mechanisms in other protocols (forexample, TFTP or MMS).c) COMTRADE, OSCILLOGRAPHY, AND DATA LOGGER FILESOscillography and data logger files are formatted using the COMTRADE file format per IEEE PC37.111 Draft 7c (02 Sep-tember 1997). The files may be obtained in either text or binary COMTRADE format.d) READING OSCILLOGRAPHY FILESFamiliarity with the oscillography feature is required to understand the following description. Refer to the Oscillography sec-tion in Chapter 5 for additional details.The Oscillography Number of Triggers register is incremented by one every time a new oscillography file is triggered (cap-tured) and cleared to zero when oscillography data is cleared. When a new trigger occurs, the associated oscillography fileis assigned a file identifier number equal to the incremented value of this register; the newest file number is equal to theOscillography_Number_of_Triggers register. This register can be used to determine if any new data has been captured byperiodically reading it to see if the value has changed; if the number has increased then new data is available.The Oscillography Number of Records register specifies the maximum number of files (and the number of cycles of dataper file) that can be stored in memory of the relay. The Oscillography Available Records register specifies the actual num-ber of files that are stored and still available to be read out of the relay.Writing “Yes” (i.e. the value 1) to the Oscillography Clear Data register clears oscillography data files, clears both the Oscil-lography Number of Triggers and Oscillography Available Records registers to zero, and sets the Oscillography LastCleared Date to the present date and time.To read binary COMTRADE oscillography files, read the following filenames:OSCnnnn.CFG and OSCnnn.DATe) READING DATA LOGGER FILESFamiliarity with the data logger feature is required to understand this description. Refer to the Data Logger section of Chap-ter 5 for details. To read the entire data logger in binary COMTRADE format, read the following files.