Promag TR515 User Manual

TR515
Time Recorder
V1.00
The TR515 has two different modes of operation. Normal mode provides regular device functional ity. Fi rmware Management mode (FMM) is provi ded for internal firmware checkup and upgrades (see Sec t i on 5).
The Normal mode is ent ered by powering the TR515 up while
not
pressing the IN button. Switching the TR515 on while holding the 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 s witching the TR515 off and bac k on again.
Contents
Attention! Firmware Management mode (FMM)..................
Contents...............................................................................
1. Installing the TR515.......................................................1
2. Using the TR515............................................................7
3. Communications protocol ..............................................8
4. Registers......................................................................16
5. Firmware Management mode......................................20
6. Test mode....................................................................23
Appendix A. Possible Errors ............................................25
Appendix B. Interface connector pin assignment............. 25
Appendix C. Cable...........................................................26
Appendix D. Specifications ..............................................28
Appendix E. Ordering Information....................................28
Appendix F. Software Installation …………………………29
TR515 User’s Manual
1
1. Installing the TR515
DC Jack
Comm. Port
Magnetic/ barcode head on this side
IN button & LEDOUT button & LED
Comm. Status
Bell Control
Wall-mount and desktop operation
The TR515 can be us ed either as a wall-m ount (default , see Fi gure above) or desktop device. Mac hine needs to be rotated 180 degrees when used on a desk. For this reason, the TR515 comes with t wo different LE D plates (with their artworks rotated 180 degrees with respect to each other). Machine’s LED can also display ti me and other data in a “norm al” (wall-mount ), or desk top fashio n. There is an orient ation setting provided t hat allows you to select display mode (see Section 4).
1. RS-232/485 Interface Versions
The TR515 supports two different interfaces: RS232 for single-terminal communications, and RS485 for multi-terminal communications. Only one TR515 can be attached to the PC’s s erial port us ing the RS232 i nterfac e. Up to 32 units can be interconnected using the multi-terminal RS485 communications.`
RS232 arrangement is simple: just plug the RS232 c able (suppli ed) into the TR515 and connect the other side to the PC’s serial port.
Using RS485 requires a special adaptor- CON485 (must be purchased separately). CON485 is a “smart” RS232! RS485 converter that allows for higher data trans fer rates between the PC and TR515s.
TR515 User’s Manual
2
The RS485 network is of “bus” type- all TR515s are c onnected in parallel on a so-called twisted pair bus. The most suitable cable for the bus is the one normally used for Et hernet com m unicati ons (twist ed pair Cat. III or V). You only need to use one twisted pair of wires inside the cable.
Note: depending on the cab le type, up to 4 twist ed pairs m ay be available, it doesn’t matt er which one you use, just m ake sure t hat you are using
both
wire s
of the
same
wire pair.
To connect the T R515 to the twist ed pair bus, c ut the RS232 c able suppl ied with each TR515 and locate 2 wires inside: Orange and Green. Attach each wire to one of the wires on the twisted pai r bus.
Mind the polarity! Orange and
Green wires can not be s wi tc hed
. It is recom m ended that you k eep t he lengt h of each “bus stem ” (i.e. the c able t hat is used t o at tac h a cert ain TR515 to t he bus) as short as possible, ideally under 10 cm (s ee t he drawing below).
120
<10cm
485-
Blue
CON485
485- Blue
#4 #3
485+
Green
485+ Green
One side of the bus m ust be attached to the CON485: Orange connects to
pin #3, Green connects to pin #4.
Another side of the twisted pair bus must be properly
terminated
. This is especially im portant for long buses. Standard termi nation resistor value is 120 Ohm.
Note: It is not always necessary to have the termination resistor. It
really depends on the actual wiring and connection circumstances.
Before testing the network, make sure that all Terminals and the CON485 are powered and that the CON485’s baudrate sel ector is in the 19200 position (selector must be set prior to powering the CON485 up).
TR515RX’s interfac e connector pin assignment can be found in Appendix B.
TR515 User’s Manual
3
2. Ethernet Int erface Versions
The TR515EX is designed to at tach directly t o the RJ45 10BaseT Ethernet connector. S tandar d m agneti cs c irc uit ry (YCL par t 20F001N) has be en i ncl uded onboard to provide a “glueless” interface to the Ethernet network.
Most Ethernet ins tallations require cables of s ubstantial and variable lengt h, so you will probably need to make your own cables. For testing purposes PROMAG supplies two kinds of Et hernet cables: device-to-hub ( W AS-1499) for connections throu gh a st andard Et hernet hu b, and devi ce-t o-devic e (WAS-1498) for connections without a hub (i.e. directly from one Ethernet devic e to another).
TR515 to HUB TR515 to PC
HUB
WAS-1499
WAS-1498
Summar y of S t atus LED signals
In the Serial Programming mode Green and Red LEDs are blinking (Green-Red-Green...)
TR515 User’s Manual
4
Red Led Green Led
POWER
JACK
BELL
CONNECTOR
10BaseT Port
TR515 CONNECTOR AND STATUS
TR515EX’s interface connector pin assignment can be found in Appendix B.
3. Wi reless Interface Versions
The TR515W X designed to operat e in t he 433MHz I SM (Indus tr ial, Sc ient if ic and Medical) frequency band. It features Frequency Shift Keying (FSK) modulation and dem odul ation capabilit y.
You must purchase a Mast er station RDL401A to connect with PC
Wireless Communication
RDL401A
TR515 User’s Manual
5
Understanding machine numbers
For single-terminal RS232 communications, you needn’t specify your TR515’s machine number.
For multi-terminal RS485 communications you must make sure that all Terminals on the network have unique machines numbers . Machine number is a network address that uniquel y identifies t he Terminal on t he network. Having two different Terminal s on the network s et up to t he same m achine n umber will result in the inability to communicate with both Terminals.
Machine number can be in the 0 to 255 range (00-FF Hex). 0 is a universal machine number- any Terminal responds to it regardless of this Terminal’s actual mac hine number setting. Machine num ber of 0 can be used f or RS232 communications- you only have a single Terminal in this case, so you can address it with the universal number.
For multi-terminal RS485 communications, you’ll need to assign a unique (and non-zero! ) machine number t o each Ter minal on the network.
Assigning machine numbers
The TR515 offers a fast and convenient way of assig ning machine num bers in the range from 0 to 10. To assign a new machine number:
Power the Termi nal down (unplug the power cord)
Press and hold the OUT butt on
Power the Terminal up while continuing to hold down the OUT but ton
After 2-3 seconds, the Terminal will beep and display its current machine number, for example:
While still keeping the OUT button pressed, push the IN button (several times if necessary) to change the machine number to the desired value
When the desired machine number is displayed, release the OUT button- the Terminal will resume normal operation
This method allows you to set the numbers in the 0-10 range only (which would actually cover most of t he act ual i nst all ation r equirem ent s ). I f you need to set the machine number to, say, 25, then you will have to follow this procedure:
Connect the TR515 to the PC us ing the RS232 cable
Launch the
TR515 Control Center
software and select the Terminal
TR515 User’s Manual
6
#0 (i.e. us e the universal machine number to address the Terminal )
Use the “Set M#” button to set the new machine number for this Terminal
Unplug the RS232 cable and put the Terminal back on the RS485 network.
Note: machi ne number is displayed bri efly at t he Termi nal power-up (even if you don’t push the OUT button).
Bell relay
The TR515 features a built-in bell relay. The relay is capable of controlling a low-power external bell. A daily bell sc hedule o f up to 32 di ff erent bell t im es c an be defined.
NCCOMNO
Relay connector is loc ated under the m etal 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)
By default, the TR515 allows the User to choose the desired event (IN or OUT) prior to reading the ID-card. Th ere is a setting pr ovided that allows event selection t o be f ixed either at I N or OUT (s ee Sec t ion 4). Thi s arrangem e nt m ay be desirable in case s everal TR515s are used, with som e machi nes inst alled at the entrance and serving for registering IN events, and some machines installed at the exit and serving for OUT registration only. Fixing t he event prevents the User from choosing an alternative event at the moment of reading I D-card.
TR515 User’s Manual
7
2. Using the TR515
Clocking in and out
To register an event (IN or OUT), pus h the appropriate but ton and read your ID-card. For the TR515R (RFID version), the card is read by bringing it clos e to the reader (< 8 cm ). For t he TR515M, TR515B, and TR515F (Magneti c, V isible Barcode and IR Barcode respectively), the card is read by swiping it in either direction al ong the reader slot. For the m achine orientati on shown on figure of page 3, magnetic (barcode) stripe of the ID-card must face downwards.
Note:
the TR515 can be programmed to fix event selection to IN or OUT
only- in this case event sel ec ti on won’t work!
The last f our digits of the ID-cards I D-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 database mem ory is full, new records cannot be added. Reading an ID-card will produce a long beep and a “FULL” message:
Error conditions
The TR515 can detec t and notif y you of a number of diff erent error c onditions. Please refer to Appendi x A for complete lis t of all possible erro rs .
Normal operation of the TR515 is suspended upon encountering an error condition other than “card read error”. New records cannot be added to the database in t his sit uation. Com munic ations with the TR515 fr om t he PC s ide is still possible, however. This gives you an opportunity to access the TR515 online and attempt to correct the problem.
TR515 User’s Manual
8
3. Communications protocol
The TR515 communications protocol is based on the GNET protocol
specification. Communic ations param eters are 19200-8-N-1.
Communic ations between the TR515 and the PC tak es place i n the form of commands sent by the PC and replies f rom the TR515. Comm ands and replies are packets of data. E ach pack et begins wit h an STX (02H) character and ends with CR (0DH) character. Selected c ommands and replies inc lude a che cksum field as an additional safet y measure. All ch aracters between the STX and the CR characters must be in the 20H.. . 7F H range.
The STX character of a command packets is followed by a one-character command code. The STX character of a reply packet is followed by a one­character reply code. Both command and reply packets may contain some relevant data af ter the command (reply) character:
STX C1 C2 CR
02H
Cmd/Rpl
code
Data (if any) Checksum* 0DH
*
Checksum field is not included into certain commands and rep lies
All available com mands are described lat er in this Section. Of reply codes, only two are possible: ‘A’ (completed successfully) and ‘N’ (some error was encountered). Depending on the command given to the TR515, reply packets with reply code ‘A’ may contain some data (as shown on the Figure above). Reply packets with the reply code ‘N’ always contain a 2-digit error code that can be used to analyze the source of a problem.
The checks um is an 8-bit s um of all charact ers between the STX and CR, represented as a 2-character HEX string. For an example packet below, the checks um is calc ulated as follows. The data part of t he packet i s “A1XYZ”. The sum of t hese character c odes is: 41H+31H+58H+59H+5A H=17DH. Eight l east significant bits contain 7DH. The string representation of this value is “7D” (i.e. 2 ASCII characters- ‘7’ and ‘D’).
STX A 1 X Y Z 7 D CR
02H 41H 31H 58H 59H 5AH 37H 44H 0DH
Packet portion the checksum is calculated on Checksum
TR515 User’s Manual
9
Table below list s all possible error codes:
04 Illegal (invalid) command (command code or data is wrong) 06 Record number is out of range (requested record doesn’t exist) 07 Command failed (hardware problem or invalid internal data)
Summar ized below are all supported com mands. Com mand charact ers are found in the “CC” column, their c orresponding ASCII codes- in “Hex”. “CS” lists commands that require the checksum in the command packet (“C”) or reply packet (“R”). “Error code” column lists errors that may result from each command execut i on:
CS Errors
C. C.
Hex Description
C R 4 6 7
‘D’ 44H Select designated 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 table)
+ +
‘B’ 42H Get register (see next tabl e)
+ + +
‘N’ 4EH Get number of records
+ +
‘G’ 47H Get specified record
+ + + +
‘E’ 45H Initialize the database ‘M’ 4DH Prepare for database recovery
‘Z’ 5AH Perform self-test** Note 2
Note 1. D-command never returns error message even if the data supplied in the command packet is incorrect. Invalid command packet makes it impossible to determine which terminal is being addressed and, therefore, which one shou ld reply w ith an error code.
Note 2. Z-command is never replied to.
Follows is the detail ed command descr iption. Command and r eply packets are shown without STX, Checksum and CR characters.
TR515 User’s Manual
10
Select designated terminal (‘D’, 44H)
Possible error codes: none Command DNN Reply ANN,TR515
NN
is a machine (terminal) number in Hex form (00H-FFH), 00H is a
“universal” number (see below for det ails).
‘D’ is a spec ial command. It is used to select a particul ar TR515 term inal. All terminals power up in a “deselected” state. Each terminal ignores all incoming c ommands unt il it rec ei ves t he D-c ommand whose
machine number
is either equal to the machine number of this terminal, or 00. After that, the terminal switches into “selected” state and responds to all subsequent commands until new D-command with a different machine number is issued. Thus, the D-command should always be used to initiate communications between the host and the designated TR515.
Note: the TR515 never returns any error codes in reply to this command. This holds true for both “Illegal command” error and “Command failed” error. The former is not responded to, because when there is some di sc repancy i n the format of the D-c om m and i ss ued by the H ost (which c an only be in t he Machi ne Number field), no particular terminal can be “sure” that it is being addressed. Therefore, no terminal on the network assumes responsibility for sending a reply. “Comm and failed” situation can only arise because of incorrect m achine number setting value in the TR515 memory. In this case, the terminal will be unable to com pare its internal m achine number with t he one supplied in the D­command. Hence, the Terminal will not be able to make sure that it is being addressed.
Since 00 is a universal m achine number, it works with any ter minal. Use it only when you have a single terminal connec ted to the hos t. Universal mac hine number also comes handy during initial terminal setup (to assign a unique machine number to the terminal prior to placing it on a multi-terminal network).
The terminal replies with its actual machine number even if you addres s it using 00. The only exception is when the terminal i s unable to retrieve its own machine number due to some internal malfunction. Reply will contain 00 instead of an actual machine number in this case.
TR515 User’s Manual
11
Set new machine number (‘I’, 49H)
Possible error c odes : 04, 07 Command INN Reply A
NN-
machine num ber in Hex form (00H-FFH), 00 shou ld never be use d on a multi-terminal network because this is a universal number (see D-command description for details).
This command is used to assign a new machine number to the terminal. Machine numbers provide a way to distinguish between the terminals on a multi-t er minal network. See D-c ommand descri ption for more detai l s .
Get machine number (‘ Y’ , 59H)
Possible error codes: 07 Command Y Reply ANN
NN-
machine number in Hex form (00H-FFH)
This com mand is used t o retrieve the term inal’s m achine num ber. Machine numbers provide a way to disti nguish between t he term inals on a mult i-term inal network. See D-com mand description for more detai l s .
Set date/time (‘S’, 53H)
Possible error codes: 04, 07 Command S
YYYYMMDDhhmmss
Reply A
YYYY
-year,
MM
- month, DD-date, hh-hour,
mm
-minutes, ss- seconds
This comm and is used to set the TR515’ s internal cloc k. Date/ tim e suppli ed must be valid. Incorrect data (like 31
st
of February) will be reje cted (error 04).
TR515 User’s Manual
12
Get date/time (‘T’, 54H)
Possible error codes: 07 Command T Reply A
YYYYMMDDhhmmss
YYYY
-year,
MM
- month, DD-date, hh-hour,
mm
-minutes, ss- seconds
This command is used to get the TR515’s current date and time.
Get firmware version (‘V’, 56H)
Possible error codes: none Command V Reply A
version_string
Version_string
length is guaranteed to not exceed 61 character, all
character codes are guarant eed to be in the 20H…7FH range
This com mand c an be used to verif y the TR515’s internal firm ware version. Although version string can be any ASCII string, the following format is adopted:
“V
X.X cc…….c
”, where “V
X.X
” is a version num ber (i.e. “V1.0”) and “
cc…c
” is a comment string. Comment string is separated from the version number by a single space character. Version number will never have any spaces in it.
Initialize the terminal (‘R’, 52H)
Possible error codes: none Command R Reply A
This comm and is used to initialize the TR515.
Initialization takes place on
the next power-up, not immediately
. Upon initialization, all setting values are restored to their factory defaults. TR515’s internal date and time are also checked and, if contained garbage, initialized to 1999/01/01 and 00:00:00 respectively. The database data is
not
erased, this must be done using t he E-
command.
TR515 User’s Manual
13
Set register (‘C’, 43H)
Possible error codes: 04, 07 Command CRR,
reg_data
Reply A
RR- register n umber (00H…FFH);
reg_data
- the data for the register to be
set
This command is used to set one of the TR515 “registers”. Registers are actually funct ioning parameters (Sett ings). Com plete descript ion of all available registers can be found in Section 4.
Get register (‘B’, 42H)
Possible error codes: 04, 07 Command BRR Reply A
reg_datacc
RR- register number (00H…FFH),
reg_data
is the data s tored in t he regis t er,
cc
- checksum
This command is used to retrieve the data contained in the designated “register”. Registers are actually functioning parameters (settings). Complete descripti on of al l avail able registers can be found in Sec t ion 4.
Get number of records (‘N’, 4E H)
Possible error codes: 07 Command N Reply A
NNNNcc
NNNN
- number of records in Hex form; cc- checksum
This command can be used to retrieve the number of records currently found in the databas e. Leading zeroes are not om itted, so reply st ring lengt h is always the same.
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 (starti ng from 0000) in Hex form ,
ccc…c
- ID-code, E-
event (0: OUT, 1: I N),
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. Rec ord number must be s upplied in Hex format, l eading zeroes must be preserved or error 04 will be returned. Record numbers start from 0000. Specifying rec ord number beyond N-1 (where N i s t he num ber of r ecords 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 c ode (i.e. which but ton was pressed) , and the date and time of rec ord creation.
The TR515 verifies all dat abase rec ords befor e sendi ng them out t o the PC. This is done becaus e t he FLA SH m em ory m ay ac tual ly cont ain 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 “rec over” entire database m emory contents then). Naturally, some database records may turn out to contain invalid data.
Database record val idity is verified on a field-by-fi eld bas is. Should t he fiel d 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 substit uted for “_”. I f ID-code length is out side of valid marg ins (<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”.
TR515 User’s Manual
15
Initialize the database (‘E’, 45H)
Possible error codes: none Command E Reply A
Executing this commands initializes the database. This command can be used to delete all database data and restore t he database functionalit y in case of database mal f unc t ion.
E-command doesn’t reall y delet e the dat a it self- just some int ernal dat abas e housekeeping is i nitialized. The data can still be (partially) recovered using an M-command.
Prepare for database recovery (‘M’, 4DH)
Possible error codes: none Command M Reply A
This command alters the dat abas e in s uc h a way that it a ppears t o be 100% full. The M-com mand, therefore, can be used for data recovery purposes. For example, if E-c ommand is execut ed accidentall y while TR515 had some usef ul data inside, then M-command can be used to download entire database memory cont ents. Naturally, t his recovered data may not be consist ent. Some records may co ntain “garbage” data (more on t his in G-command description), newer records may overlap older ones, et c .
Perform self-test (‘Z’, 5AH)
Possible error codes: none Command Z Reply
This command is never replied to
This command is used to force the TR515 into a special Test mode. No reply is issued by t he TR515 upon receiving this command. Details of TR515’s
TR515 User’s Manual
16
operation in the Test mode are provided in Section 6. Note, that Test mode destroys database memory contents in such a way that the data cannot be recovered even with the M-command.
.
4. Registers
The TR515 features a number of programmable “registers”. Basically, registers are the TR515’s functioning parameters (Settings). Registers can be written to using the C-command, and read from using the B-command (see Section 3 for details).
Table below lists all available registers:
00H LED display mode (0: wall-mount, 1:desktop) 01H Bell duration in seconds (00H-FFH) 02H-21H Bell table, times (total of 32 registers) 22H-41H Bell table, enable/d is abl e (t otal of 32 registers ) 42H Event selection mode, free (IN or OUT)/IN only/OUT only
LED display mode (register 00)
Set
Possible error c odes : 04, 07
Command C00,
MM
Reply A
Get
Possible error codes: 04, 07 Command B00 Reply A
MMcc
MM
- display mode (00: wall-mount operation, 01: desktop operation), cc-
checksum
This register is us ed to set the LED display m ode. Because TR515 can be used both as a wall-mount and as a desktop device, the LED data must be displayed in either orientation. Setting register to 00 (default) adjusts LED picture for wall-m ount operat ion. Sett ing the regis ter to 01 rotates the image so that it appears correctly when operating as a desktop device. Note: the mode
TR515 User’s Manual
17
parameter m ust be s uppli ed as a 2-di git num ber, i. e. “00” or “ 01”. S upplyi ng just one digit will generate error 04.
TR515 User’s Manual
18
Bell duration (register 01)
Set
Possible error codes: 04, 07 Command C01,DD Reply A
Get Possible error codes: 04, 07 Command B01 Reply A
DDcc
DD
- Bell duration in seconds , in Hex format (00H-FFH), cc- checksum
The TR515 features a relay that can be used for external bell control . Bell schedule can be programmed using bell table registers (02H-21H, 22H-41H). This register specifies the number of s econds the bell will be activated for each 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 C
RR,hhmm
Reply A
Get
Possible error codes: 04, 07
Command
BRR
Reply A
hhmmcc
RR
- register number in Hex form (02-21H), hh- hour,
mm
-minutes, cc-
checksum
The TR515 features a relay that c an be used f or external bell c ontrol. Up to 32 different rin g ti m es c an be s peci f ied for which t he bell will be ac ti vated. Each
bell table ent ry
consist s of two f ields: t ime f ield (s et through these 32 regis ters)
and a corresponding enable/disable field (set through registers 22H-41H).
TR515 User’s Manual
19
Bell table, enable/disable
Set
Possible error codes:04, 07
Command C
RR,SS
Reply A
Get Possible error codes: 04, 07 Command
BRR
Reply A
SScc
RR
- register number in t he Hex form (22H-41H) , SS- state (00: dis abled, 01:
enabled), cc- checksum
The TR515 features a relay that c an be used for external bell c ontrol. Up t o 32 different bell t imes can be spec ified f or which the bell will be act ivated. E ach
bell table entry
consists of 2 fields: time field (set through registers 02H-21H)
and a corresponding enable/disable field (set through these regi sters).
Example: pro gra m mi n g a bell tab l e entry for 12:00:00
First, s et the desired tim e; select a ti me register that you haven’t used yet (i.e. 05H). S et the t ime us ing the fol lowing comm and: “C05, 1200”. Next, enable this time through a corresponding enable/disable register. The corresponding enable/disable register for time register 05H is 25H (time registers start from 02H, enable/disable registers start from 22H, we use the 4
th
register of each
group). Enable command looks like this: “C25,01”.
Event selection m ode (reg is ter 42)
Set
Possible error codes: 04, 07 Command C42,EE Reply A
Get
Possible error codes: 04, 07 Command B42 Reply A
EEcc
EE
- event selection mode (00: free selection by the User, 01: fix to OUT, 02:
fix to IN), cc- checksum
TR515 User’s Manual
20
This sett ing defines if the TR515 will allow the User t o choos e the event (I N or OUT), or event selection will be fixed to IN only or OUT only. Fixing event may be desirable in case several TR515s are used, with some machines installed at the entrance and serving for registering IN events, and some machines installed at the exit and serving for OUT registration only.
5. Firmware Management mode
The TR515 also features new Firmware Management mode (FMM). FMM allows you to quickly upgrade your TR515’s internal firmware and also check validity of the c urrent ly l oaded fi rm ware. Contac t your deal er for t he m ost rec ent firmware upgrade fil es .
FMM itself has two sub-modes of operation: FMM/download mode and FMM/check m ode. FMM/download is ent ered by keeping the IN button pressed while the TR515 is powering up. FMM/check mode is entered by holding both IN and OUT buttons pressed while the TR515 is powering up.
Download i n g new firmwa re (FMM/ d ownload)
To upgrade the firmware, you will need a new firmware file and a term inal software for PC capable of trans f erring f il es us ing Xmodem pr otoc ol (C hecksum version).
All TR515 firmware files have a fixed size of exactly 64K (65536 bytes)
The list of popular and widely available terminal programs includes HyperTerminal for Windows, QModem, and Term95. Procedure below assumes the use of HyperTerminal which is a part of a standard Windows- 95/98 distribution. To upgrade the TR515’s internal firmware:
Switch the TR515 off
Make sure that the TR515 and the PC are interconnected with a serial cable
Launch
HyperTerminal
and configure i t as follows:
o When
Connection Description
dialog opens, type any string (1
character m i nimum) and press OK
o When
Connect to
dialog opens, sel ect an appropriate COM port
from the
Connect Using
drop-down box (for example,
“Direct to
TR515 User’s Manual
21
COM1”
)
o
When
COMx Properties
dialog appears, set communications
parameters as follows:
Bits per second:
19200,
Data bits:
8,
Parity:
None,
Stop bits:
1,
Flow control:
None
o
The
HyperTerminal’s
main window will appear
Choose
Transfer
!!!!
Send file
from the
Main
menu- the
Send file
dialog will appear
In the
Send file
dialog, select the file you want to download and
choose
Xmodem
protocol from the
Protocol
drop-down box
The
Xmodem file send for
dialog will be displayed
Press and hold the IN button, then power up the TR515 while still keeping the IN button press ed. The uni t will generat e a long beep and display “FLLD” (FLA SH Load):
When receiving the file, the TR515 will blink its IN LED (the LED is on while the TR515 is receiving or expecting to receive a block of data from the PC; the LED is of f while the TR515 is program ming the data received into its internal FLASH memory)
Once the downloading is finished, the TR515 will execute one long beep and display “DONE”:
You may start using the newly downloaded firmware after switching the unit off and back on again.
A number of errors may occur during the download. Errors are displayed in the ”ERRx” format, where x is the error number, for example:
In addition, the TR515 generates a beep pattern compri sed of a long beep followed by one or several short beeps. The number of beeps corresponds to the error number.
All possible download-related error codes are listed in the table below:
Err1
Communications error
(invalid data recei ved from the PC). The most probable cause of this error is incorrect communications parameters you’ve set in the HyperTerminal
Err2
The download file is too bi
g
(exceeds 64K). All TR515 f irm ware
TR515 User’s Manual
22
files must be exactly 64K in size. Make sure you are trying to downloading a correct one
Err3
FLASH memory failure
. This normal l y indi c at es a serious int e rnal
malfunction
The LED display is turned of f after displaying the message for some time.
TR515 User’s Manual
23
Finally, t here is a ti meout error that occ urs when you s tart the download but PC doesn’t send any data (or the TR515 cannot receive the data sent by the PC). This happens when you either set communications parameters of the
HyperTerminal
incorrectly or if you switch the TR515 on (with the IN button
pressed) before star ting the XMODEM on the PC side (it should always be
the
other way around
: start XMODEM first, t hen s witch the TR515 on).
The timeout error is indicat ed by a long beep and four dashes displayed by the LED:
Checking existing firmware (FMM/check)
To check if the currently downloaded application firmware is valid:
Switch the TR515 off
Press and hold both IN and OUT buttons, then switch the TR515 back on (while keeping both but tons pressed). The unit will generate a long beep and display “FLCH” (FLASH check):
Memory checkup t ak es about 5 s econds to c om pl ete. OUT LE D is on while check is in progress. Upon test completion, the TR515 will either display “DONE” in case the FLASH memory contains a valid program, or “Err4” if inte rnal program code is invalid.
6. Test mode
The TR515 provides a hardware Test m ode that can be ini tiated by i ssuing a Z-command (s ee S ec t i on 3).
Warning! Hardware test destroys the database contents (not just deletes it logically), so the data cannot be recovered even using the M­command! The test mode also sets a so-called Reset flag: the TR515 w ill be completely reinitialized on the next power-up after the test.
Once initiated, the Test mode cannot be exited other t han by switching the TR515 off.
The Test mode is comprised of two phases. Phase 1 performs automated SRAM, RTC (real-time clock) and FLASH memory tests. Phase 2 consists of manual button and reader test s.
TR515 User’s Manual
24
Phase 1 begins immediately upon entering the Test mode. The LED displays “TEST” at this time:
A number of errors can occur during this portion of the test: Al l errors are displayed in the “ERRx” format, where x is the error number, for example:
All possible errors are listed in the table below:
Err1
SRAM test failure
Err2
RTC test failu re
Err3
FLASH test failure
Upon successful completion of the automated tests, the TR515 will beep and display “b1-5” (OUT LED will be switched on):
This means that the manual test phase has commenced. This phase consist s of three steps: OUT butt on test, IN but ton test, and reader test. Each step must be repeat ed fi ve ti mes.
Press t he OUT button and notice that “b1-5” changes to “b1-4”, “b1-3”, etc.
When you press the OUT butt on for the fi fth ti me, the dis play will change t o “b2-5” and the IN LED will be switched on. Press the IN button five times to finish this test step.
The display reads “rd-5” at the beginning of the reader test. Read any ID­card five times to pass this portion of the test.
When all manual tests are finished, the TR515 will generate a long beep and display “PASS”:
This indicates that t he tes t s equence has been c om plet ed suc ces s ful ly. Y ou can still conti nue test ing the but t ons and t he reader at thi s poi nt. The T R515 will behave as if in the Norm al Mode of operation, but no rec ords will be added to the database.
TR515 User’s Manual
25
Appendix A. Possible Errors
This Sec tion l ist s al l pos sible error m ess ages that m ay be generat ed dur ing the TR515’s normal operation. The table below does not apply to the Test and FMM modes of the T R515 (see Sect ions 5 and 6 res pecti vely for com plete d etails on errors generated in these modes).
LED Error Description/ Remedy
Read error
ID-card read error. Read the card again
Database full
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 and back on again. If this doesn’t help, initialize the database using the E-command or recover the databas e using the M-command
Error 6
Time/date is not set. Use the S-command to correct the problem or reinitialize the TR515 using the R-command
Appendix B. Interface connector pin assignment
Ethernet Wireless/RS-232/RS-485
#1 TX+ #2 TX- RS232, TX (PC output) #3 RX+ #4 RS232, RX (PC input) #5 RS485, (+) #6 RX- Ground #7 RS485, (-)
18
#8
TR515 User’s Manual
26
Appendix C. Cable
1. WAS-1436 ( For TR515WX/TR515SX RS-232 )
BLACK
ORANGE
GRAY
COLOR
YELLOW
GREEN
RED
RJ-11 8P8C PIN
1 2 3 4 5 6
DB 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
CUT* 7 8
7
CUT*
WAS-1467
BLACK
ORANGE
GRAY
COLOR
YELLOW
GREEN
RED
BROWN
BLUE
PIN1
PIN8
PIN7 PIN5
* CUT - Cut wire
WAS-1467 : LENGH - 2000 mm , WIRE - 8P8C / AWG #26
TR515 User’s Manual
27
3. WAS-1498 ( For TR515EX TO PC )
WHITE
GREEN
WHITE
COLOR
ORANGE
WHITE
BLUE
Side B
3 6 1 4 5 2
Side A
*1 *2 *3
4 5
*6
BROWN
WHITE 7
8
7 8
* (1,2) and (3,6) must share the same twisted pair
WAS-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 (3,6) must share the same twisted pair
WAS-1499
WAS-1499 : LENGH - 1800 mm , CAT.5 4PAIR 24AWG UTP
PIN8
PIN1
Side A Side B
CABLE P/N :
WAS-XXXX REV.X
PIN8
PIN1
WHITE
GREEN
WHITE
ORANGE
WHITE
BLUE
BROWN
WHITE
TR515 User’s Manual
28
Appendix D. Specifications
Display: 4 x 7-segment Blue Li ght LED Magnetic card reader: ISO Track 2, 75 bpi Barcode reader: Visible or I R, numerical Code39 RFID card reader: 125KHz, ASK, 64bits, Manchester encoding RFID reading range, ISO card-sized tag 8 cm Database capacity App. 8200 records Supported interfaces Ethernet / Wireless / RS232 / RS485* Wireless Communi cation 315.16/433.92 Mhz or 433.92/434.33Mhz Communications parameters 19200-8-n-1 Bell control relay 1A, 12V max Physical dimensions 185(L) x 110(W) x 51(H) mm Installation Wall-mount or desktop Power supply DC 9V, 500mA Operating temperature range 0-55 C
o
Operating humidity 5-95%
* Requires a special adaptor (CON485, purchased separately)
Appendix E. Ordering Information
Ethernet Interface
TR515EM Time Recorder with Magnetic Card Reader TR515ER Time Recorder with RFID Card Reader TR515EB Time Recorder with Barcode Card Reader (visible) TR515EF Time Rec o rder with Barcode Card Reader (infrared)
Wireless Interface
TR515WM Time Recorder with Magnetic Card Reader TR515WR Time Recorder with RFID Card Reader TR515WB Time Recorder with Barcode Card Reader (visible) TR515WF Time Rec o rder with Barcode Card Reader (infrared)
RS-232/485 Interf ace
TR515SM Time Recorder with Magnetic Card Reader TR515SR Time Recorder with RFID Card Reader TR515SB Time Recorder with Barcode Card Reader (visible) TR515SF Time Rec o rder with Barcode Card Reader (infrared)
TR515 User’s Manual
29
Appendix F. Software Installation
Please install DISK5151 Software before using TR515 series. DISK5151 includes 「DS Manager」 and 「TR515 Application Program」. Setting procedure is as follows.
1. Ethernet Interface TR515 :
Hub 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 address in use currently on the LAN, please make sure the IP address you set is not in use to avoid duplication.)
2. Click [ Change IP] to change the IP address to be used by TR515, and then click [O K].
P.S. The IP address must not be the existing one.
TR515 User’s Manual
30
3. Skip it by clicking [OK].
4. Select IP Addr ess 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 machines).
C. Select Transpor t Protocol : TCP
TR515 User’s Manual
31
5. Enable 「Allow [on-the-fly] serial port parameter changes」. This helps TR515E to remote
control the serial parameters.
6. Click [OK] to finis h TCP/IP configuration.
7. Complete the New IP s ettings of TR515E and click [OK] to abort.
TR515 User’s Manual
32
8. Open the Application Program of TR515. Input t he IP address of the on-line TR515 and select
Com Port as 「DS100V2」. Then double click 「000-defaul」 to complete the connection 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
select 「Com Port」 as 「DS100V2」. Then double click 「000-defaul」to complete the connection with TR515 t erminal.
P.S. The IP address of PC and TR515E must be within one domain to ensure the
connection.
TR515 User’s Manual
33
2. Wireless Interface TR515 :
1. Open the Application Pr ogram of TR515. Select t he 「Com Port」of the on-line TR515.
Then double click「000-defaul」to complete the connection with TR515 termi nal.
P.S. Please make sure that the settings of RDL401A-00 are 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 number other than 「000」.
B. [Time Scheduler] will not work when the machine ID is 「000」. It will be enabled when other
ID code is select ed.
C. Use「000-defaul」to assign the new ID. After setting, use the new ID to complete the
connection.
a. Click [Add] to increase a new IP Address.
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」)
Loading...