Promag TR515 User Manual Download Page 16

TR515 User’s Manual 

14 

 

 

 

Get specified record (‘G’, 47H) 

 

 

Possible error codes: 04, 06, 07 

Command G

NNNN

 

Reply A

NNNN,ccc…c,E,YYYY/MM/DD,hh:mm:sscc

 

NNNN

- record number (starting from 0000) in Hex form, 

ccc…c

- ID-code, 

E

event (0: OUT, 1: IN), 

YYYY

- year, 

MM

-month, 

DD

-date, 

hh

-hour, 

mm

- minute, 

ss

- second, 

cc

- checksum 

 

This command is used to retrieve the database record with a specified 

number. Record number must be supplied in Hex format, leading zeroes must 

be preserved or error 04 will be returned. Record numbers start from 0000. 

Specifying record number beyond N-1 (where N is the number of records in the 

database returned by the N-command) will cause error 06. 

Returned data string contains the record number, ID-code of the ID-card 

that was used to create this record, event code (i.e. which button was pressed), 

and the date and time of record creation. 

The TR515 verifies all database records before sending them out to the PC. 

This is done because the FLASH memory may actually contain a garbage data. 

There is a special M-command that lets you initialize the database in such a 

way that it appears to be 100% full (you can “recover” entire database memory 

contents then). Naturally, some database records may turn out to contain 

invalid data. 

Database record validity is verified on a field-by-field basis. Should the field 

turn out to be invalid, its contents are substituted for a “safe” default data: 

• 

ID-code

. If ID-code turns out to contain illegal characters (i.e. with 

codes outside of 20H-7FH range), then these characters are 

substituted for “_”. If ID-code length is outside of valid margins (<1 or 

>40) then entire ID-code is substituted for the following code: 

“0000000000” (ten ‘0’ characters) 

• 

Date

. If the date is invalid (i.e. December, 32

nd

) then default date 

(1999/01/01) is used 

• 

Time

. If the time is invalid (i.e. 24:00:00) then default time is used 

• 

Event

. if Event code exceeds 1, then this field is substituted for “0”. 

 

Summary of Contents for TR515

Page 1: ...TR515 Time Recorder V1 00...

Page 2: ...IN button or both IN and OUT buttons down forces the unit into the FMM The FMM mode of operation cannot be exited other than by switching the TR515 off and back on again Contents Attention Firmware M...

Page 3: ...top fashion There is an orientation setting provided that allows you to select display mode see Section 4 1 RS 232 485 Interface Versions The TR515 supports two different interfaces RS232 for single t...

Page 4: ...be switched It is recommended that you keep the length of each bus stem i e the cable that is used to attach a certain TR515 to the bus as short as possible ideally under 10 cm see the drawing below...

Page 5: ...e cables of substantial and variable length so you will probably need to make your own cables For testing purposes PROMAG supplies two kinds of Ethernet cables device to hub WAS 1499 for connections t...

Page 6: ...assignment can be found in Appendix B 3 Wireless Interface Versions The TR515WX designed to operate in the 433MHz ISM Industrial Scientific and Medical frequency band It features Frequency Shift Keyi...

Page 7: ...need to assign a unique and non zero machine number to each Terminal on the network Assigning machine numbers The TR515 offers a fast and convenient way of assigning machine numbers in the range from...

Page 8: ...is located under the metal back plate Figure above shows connector position and pin assignment Both Normally Closed N C and Normally Opened N O contacts are provided Locking event selection IN or OUT...

Page 9: ...The last four digits of the ID cards ID code are displayed on the LED when the ID card is read Four dashes are displayed in case of read error only applicable to the TR515M Memory full status When the...

Page 10: ...er STX C1 C2 CR 02H Cmd Rpl code Data if any Checksum 0DH Checksum field is not included into certain commands and replies All available commands are described later in this Section Of reply codes onl...

Page 11: ...ed terminal Note 1 I 49H Set new machine number Y 59H Get machine number S 53H Set date time T 54H Get date time V 56H Get firmware version R 52H Initialize the terminal C 43H Set register see next ta...

Page 12: ...e is some discrepancy in the format of the D command issued by the Host which can only be in the Machine Number field no particular terminal can be sure that it is being addressed Therefore no termina...

Page 13: ...ommand description for more details Get machine number Y 59H Possible error codes 07 Command Y Reply ANN NN machine number in Hex form 00H FFH This command is used to retrieve the terminal s machine n...

Page 14: ...ng can be any ASCII string the following format is adopted VX X cc c where VX X is a version number i e V1 0 and cc c is a comment string Comment string is separated from the version number by a singl...

Page 15: ...and BRR Reply Areg_datacc RR register number 00H FFH reg_data is the data stored in the register cc checksum This command is used to retrieve the data contained in the designated register Registers ar...

Page 16: ...verifies all database records before sending them out to the PC This is done because the FLASH memory may actually contain a garbage data There is a special M command that lets you initialize the dat...

Page 17: ...This command alters the database in such a way that it appears to be 100 full The M command therefore can be used for data recovery purposes For example if E command is executed accidentally while TR...

Page 18: ...nds 00H FFH 02H 21H Bell table times total of 32 registers 22H 41H Bell table enable disable total of 32 registers 42H Event selection mode free IN or OUT IN only OUT only LED display mode register 00...

Page 19: ...TR515 User s Manual 17 parameter must be supplied as a 2 digit number i e 00 or 01 Supplying just one digit will generate error 04...

Page 20: ...ach time it is enabled Note the DD parameter must always be a 2 digit number i e 3A Supplying just one digit will generate error 04 Bell table times Set Possible error codes 04 07 Command CRR hhmm Rep...

Page 21: ...rough these registers Example programming a bell table entry for 12 00 00 First set the desired time select a time register that you haven t used yet i e 05H Set the time using the following command C...

Page 22: ...R515 is powering up FMM check mode is entered by holding both IN and OUT buttons pressed while the TR515 is powering up Downloading new firmware FMM download To upgrade the firmware you will need a ne...

Page 23: ...ng or expecting to receive a block of data from the PC the LED is off while the TR515 is programming the data received into its internal FLASH memory Once the downloading is finished the TR515 will ex...

Page 24: ...t be exactly 64K in size Make sure you are trying to downloading a correct one Err3 FLASH memory failure This normally indicates a serious internal malfunction The LED display is turned off after disp...

Page 25: ...buttons pressed The unit will generate a long beep and display FLCH FLASH check Memory checkup takes about 5 seconds to complete OUT LED is on while check is in progress Upon test completion the TR51...

Page 26: ...OUT button test IN button test and reader test Each step must be repeated five times Press the OUT button and notice that b1 5 changes to b1 4 b1 3 etc When you press the OUT button for the fifth time...

Page 27: ...The database is full and new record cannot be added Error 4 Incorrect setting value Reinitialize the TR515 by issuing the R command Error 5 The database is corrupted First try to power the TR515 off a...

Page 28: ...9P FEMALE PIN 7 2 8 3 NC 5 BROWN BLUE 7 8 NC NC NC No Connect WAS 1436 PIN1 PIN8 WAS 1436 LENGH 2000 mm WIRE 8P8C AWG 28 2 WAS 1467 For TR515SX RS 485 RJ 11 8P8C PIN 1 2 3 4 5 6 WIRE CUT CUT CUT CUT 5...

Page 29: ...S 1498 WAS 1498 LENGH 1800 mm CAT 5 4PAIR 24AWG UTP CABLE P N WAS XXXX REV X PIN8 PIN1 Side A Side B PIN8 PIN1 4 WAS 1499 For TR515EX TO HUB COLOR Side B 1 2 3 4 5 6 Side A 1 2 3 4 5 6 7 8 7 8 1 2 and...

Page 30: ...perature range 0 55 Co Operating humidity 5 95 Requires a special adaptor CON485 purchased separately Appendix E Ordering Information Ethernet Interface TR515EM Time Recorder with Magnetic Card Reader...

Page 31: ...to TR515E using cable WAS 1499 1 Open the program DS Manager It will automatically detect the IP Address of the TR515 on line The default IP address is 127 0 0 1 For DS Manager cannot detect the IP ad...

Page 32: ...ing OK 4 Select IP Address and Click DS Settings button A Select Routing mode Slave B Set IP Address When using multiple TR515E or machines it is recommended to label the IP address on each TR515E or...

Page 33: ...1 5 Enable Allow on the fly serial port parameter changes This helps TR515E to remote control the serial parameters 6 Click OK to finish TCP IP configuration 7 Complete the New IP settings of TR515E a...

Page 34: ...ction with TR515 terminal PC to TR515 using cable WAS 1498 1 Please refer to above procedure 1 7 for settings 2 Open the Application Program of TR515 Input the IP address of the on line TR515 and sele...

Page 35: ...433 92 MHz 19200 bps Notice for Operation A ID 000 defaul can be set to any TR515 on line However when there are multiple TR515 on line the machine ID cannot be 000 Each TR515 must have its own ID nu...

Page 36: ...TR515 User s Manual 34 b Select 000 default to assign the new ID c Set ID as 001 The correspondent name can be modified at Device Name...

Reviews: