Home
Twin User Manual R6 - Smarteye Corporation
Contents
1. SMARTEYE CORPORATION ur TWIN 10 0 Display Fields The display is composed of three distinct fields a reader field a label error field and the maintenance warning field Each field is described below 10 1 READER Field This field shows the reader 0 or 1 from which the displayed message originated 10 2 LABEL ERROR Field This field shows either a successfully read label or an error code for either an error detected while a label was being read or for an error on the serial communication line Labels are right justified in the five position field Error codes are always three characters centered The leading character is always The error for the corresponding error code is described in the Error Messages section of this manual E Filename Twin User Manual R6 doc ur SMARTEYE In Control SMARTEYE Twin User Manual Page 13 10 3 MAINTENANCE WARNING Field The maintenance warning field consist of two LEDs one for each reader The left LED is for reader 0 and the right LED 15 for reader 1 An LED will illuminate to indicate that the reader may need maintenance Check the Smarteye Reader User Manual for proper mounting wiring and alignment Also check the Smarteye reader installation drawing to verify proper mounting dimensions After adjustments are completed allow four labels to pass by the reader and the maintenance warning LED should go off
2. 1 0 1 0 1 0 101 0 1 o 1 0 1 Least significant digit of Twin address octal 0246 600 1 1 701 0 1 _ Filename Twin User Manual R6 doc SMARTEYE In Control ur SMARTEYE Twin User Manual Page 7 8 5 Communication Format And Baud Rate SW5 SWS Control Port Error Messages 0 Disabled 1 Enabled Maintenance warning LEDs 1 Disabled 0 Enabled Not used Communication mode 0 Handshake 1 Poll Parity 0 None 1 Odd parity Baud Rate See table below a ls NOTE Set SW5 switch SW5 1 to enable control port error messages With control port error messages enabled error messages will be sent to the host control system in addition to the display and history file If SW5 1 is Off error messages will only be sent to the display and history file Baud Rate ooooon o looovu ooo AN ool o ON Note The baud rate and parity selected apply to both serial communication ports The communication modes apply to the control port Filename Twin User Manual R6 doc gt SMART
3. 1234 32K X 2222 c 34 gt 8 MUSS 32K X v oo 8 4 Address Selection SW4 SWA Two most significant digits of Twin address 06 Shown d 0 Reader in diagnostic mode 0 shown SW4 8 is not used vidas Switches 1 through 7 form the base octal address for the Twin The final digit of a reader s address corresponds to the reader s wired position on the Twin CPU circuit card RDRO or RDRI _ C e eB8S l DT gssszzze zzzz lt lt lt lt lt lt az F szzul Filename Twin User Manual R6 doc gt SMARTEYE in contro SMARTEYE Twin User Manual Page 6 For example if switches 1 through 7 of SWA are set to 62 octal and the reader is wired to the RDR 1 port the address of the Reader is 063 octal A Twin address 60 octal is commonly used since readers 60 and 61 octal convert to the ASCII characters 0 and 1 The following tables show the address of a Twin as a function of SW4 Two most significant digits of Twin address octal 000000001 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 3 3 3 3 3 333 012 345 6 7 0 2345670123 45 670 1 2 3 4 5606 7 g 1 9000002020202020202020202014171 11 1 III LTE 1 1 1 1 1 l w2 00 0 0 0 0 0 0 1 I1I 1 1 1 1 1 1 00 0 0 0 0 0 0 1 1 1 1 11111 I T 3 0 0 1 1 1 1 1 0 0 1 1 0101110101100 1 1 010111001111 1
4. 1 376 0 0 54 NIML 5 1 31872 N31SAS 1041 09 INIOd OL INIOd 27 5 LINSNVUL qu 934 LINSNVUL Dovid 934 doyal nn 5 9 NOLLWYNDIINOD 090 VS 8 v3s JAFLUVNS WILSAS OMINOO OL INIOd ZZ SW L A8 02 01 0 06 10 9MQ v 1 0Lt 10 vGOLdSNJ3Qv3N 00S 094 1 vSOldS SLONGOYd 3ZIS ON N 31 98 40 133HS 6 v 2 1 NOLLO3NNOO ON ON NIML 318vO Y3aNIONa NOLLYNINY3L 9 5 914 03423H2 NIML NOILONNF nui ves Juss 1 OL 01313 WOU 8 NvOIHOIN 5 153 133415 ONOG 2592 4 SAS La vws gt 1 335 446 N30138 017 10 780135 IV 1 38 ISNN XW 40 JHL b 1 AP X08 LLL NIML 20 OL Q3193NNOO NOLLONNP ATWHON SI 318V9 40 qu OL 2 186 oz EN 31892 335 318 0 NOUV TWAN EN eue 9 5 LON SI
5. SMARTEYE Twin User Manual Revision 6 Version T1 4 L de SMAR RTEYE www smarteyecorporation com related documents SMARTEYE Sender Receiver Reader User Manual SMARTEYE Retroreflective Reader User Manual The material in this manual is for informational purposes and is subject to change without notice Smarteye Corporation assumes no responsibility for any errors which may appear in this manual Smarteye Corporation SMARTEYE is a registered trademark of Smarteye Corporation Printed in U S A SMARTEYE contact information SMARTEYE Corporation 2637 Bond Street Rochester Hills MI 48309 Phone 248 853 4495 Fax 248 853 8539 www smarteyecorporation com Email support smarteyecorporation com SMARTEYE Twin User Manual Page i TABLE OF CONTENTS 10 Introduction 1 2 0 Ivo RI rc von OSEE 1 3 0 dhcp 1 4 0 AC 2 5 0 lg fodinis 2 6 0 Communication Line Wiring pee o Sepp ok epa eva En o EU 2 7 0 Reader dean 3 7 1 Sender Receiver Reader 3 8 0 Twin CPU circuit Card Pot 3 8 1 Switch and Jumper Diagram sess nre 4 8 2 Configuration Legend esses eene eene nnne nre nein enne nnne 5 8 3 Memory Configuration 5 84 Address Selection 5 4 5 8 5 Communication Format And
6. ee Filename Twin User Manual R6 doc gt SMARTEYE in contro SMARTEYE Twin User Manual Page 18 13 4 Received Poll f id cr Polli poll w o checksum lt lf lt id gt Zzz lt cr gt Pollz poll with checksum 13 5 Received Commands lt lf gt lt id gt c lt cr gt command w o checksum lt lf lt id gt cZzz lt cr gt command with checksum Where c is replaced by one of the following command characters I Initialize the reader on line Restart initialize all readers on line Box poll request message from any reader in the Twin Ack the previous device transmission Nak the previous device transmission Status inquiry regarding reader Lock in diagnostic mode for all labels at reader ur Unlock diagnostic mode reader Take reader off line Note The Nak command is used when the host detects a line error Upon receiving a Nak the Twin will retransmit the original message 13 6 Messages Transmitted By The Twin Communication characters include one start bit eight data bits an optional parity bit and one stop bit The fields in a transmitted message include Lnnnnn label field where nnnnn is the number of the carrier which has just passed reader id The number of digits in the label field is five filled with leading 0 s if necessary Tnn time field indicating the age of the message in tenths of seconds e g T45 indicates a message 4 5 seconds old Sn sequ
7. 9 0 Display Introduction The display makes it possible to observe the activity at each of the readers on the shop floor either in real time or in review A single reader or all readers may be displayed Whenever a Smarteye Label passes a Smarteye Reader information is retained in the Smarteye Twin which includes any or all of the following 1 Label number 2 An error condition detected while the label was being read 3 Anerror condition detected on the serial Control port 22 Filename Twin User Manual R6 doc ur SMARTEYE In Control SMARTEYE Twin User Manual Page 12 Each item of reader information is retained as a message in a circular queue All messages are always stored regardless of the display options selected The queue has a capacity for 200 messages and messages are stored sequentially in the order of occurrence Messages can be displayed as they occur in real time or alternatively the queue can be scanned either backward or forward in time enabling reconstruction of a recent sequence of events The display consists of six seven segment LEDs and switches The switches determine which messages are being requested for display The layout of displays and switches is shown in the following diagram MAINTENANCE WARNING READER LABEL ERROR 0 1 FWD READER 0 88888 FWD READER 1
8. Baud Rate 55 y 8 6 RS422 RS423 Selection for the Control Port 8 3 8 8 7 RS422 Line Termination SW3 en aea i enne enne 9 8 8 Terminating RS422 Point To Point Handshake Mode sese 9 8 9 Terminating RS422 Multidrop Poll Mode sse 10 8 10 Drain Terminations and Auxiliary Port Receiver Termination 2 11 9 0 Display Introduction iae 11 LOO Display Fields unse nu ss 12 LOA READER T ee een 12 10 2 LABEL ERROR Field uites o pO tdg hastae tn 12 10 3 MAINTENANCE WARNING 13 10 4 HOLD sx cete etre eet ret hende eet eta 13 11 0 erac 13 11 1 BACK HOLD FORWARD Switch retener Tete terne anime era 13 Il ep Res ern 14 IMAGINE 14 1121 32 FORWARD 22220 Be ed n tere tH enr t o tede Ene rts 14 11 2 READER 1 ALL READER 0 Switch 14 11 2 1 READER area Reit 14 WD De is a re te er e e E RO e qne te e E e A Edo d ve acest 14 1123 READER Ot ack i e Ha ea i e Ra e UR P ns RE I EE rn 15 12 0 PO Wer Up auderet eei enl ete ere Revue uk eer 15 SMARTEYE Twin User Manual 13 0 Serial CommunicatiQg susanne 16 T3 T Auxiliary Port Opera
9. R Each of these commands will first place the reader on line so that the resultant response is the on line idle for poll mode 3 On line idle and off line messages do not include an R retransmit field nor a age field nor an S sequence number field Other messages transmitted by a Smarteye Twin do include these fields 13 6 3 Label Message lt f gt lt id gt Lnnnnn TnnSnZzz lt cr gt 1 label lt f gt lt id gt LnnnnnRTnnSnZzz lt cr gt r retransmit 13 6 4 Error Message lt f gt lt id gt Enn TnnSnZzz lt cr gt e error lt f gt lt id gt EnnR TnnSnZzz lt cr gt retransmit 13 6 5 Diagnostic Message lt f gt lt id gt C Asnn Bsnn Csnn Xsnn Ysnn TnnSnZzz cr diagnostic lt f gt lt id gt C Asnn Bsnn Csnn Xsnn YsnnRTnnSnZzz lt cr gt retransmit Filename Twin User Manual R6 doc ur SMARTEYE In Control SMARTEYE Twin User Manual Page 20 13 7 Poll Mode Polled operation allows more than one Smarteye Twin to be connected to the same communication line Messages are sent by a Smarteye Twin only in response to a message received Two types of poll commands are supported a reader poll solicits a response from a specific reader while a box poll requests a message from any of the readers in a particular Twin Box poll effectively increases polling speed by as much as a factor of two In either case if there is no data to be sent an on line idle response is transmitted
10. U unlock command disables diagnostic mode for the reader selected Upon powerup diagnostic mode is disabled for both readers 15 0 Error Messages The error messages defined below will appear on the display and are sent out the serial control port unless otherwise noted Error Code Meanin 00 Smarteye Twin just powered up 01 Unrecognizable label too much data obtained 04 Unrecognizable label front and back bits 0 05 Unrecognizable label front and back bits 1 Note Errors 01 04 and 05 can be the result of parts of a carrier breaking the photoeye beams 06 Unrecognizable label incorrect parity Check label for obstructions 07 Parity error in character of host message received 08 Too many characters in received host message 10 Unrecognizable host message received 11 Message transmitted to host is too long 15 Unrecognizable label incorrect Hamming code Check label for obstructions 16 Unrecognizable label more than 5 leading zeros 17 Host message received w o cr terminator LLLRA A ea IM Filename Twin User Manual R6 doc ur SMARTEYE In Control SMARTEYE Twin User Manual Page 26 19 Overload of input data from readers 20 Checksum error in host message received 30 39 Unrecognizable label incorrect number of data bits LSD least significant digit of error is the LSD of the number of data bits in the label read Errors 91 through 99 are detected during diagnost
11. display two serial communication ports and reader interface circuitry Plug in screw terminals are provided for connection to field wiring from readers and the control communication port A nine pin D type connector is used for the auxiliary communication port Asingle power supply for readers and the CPU circuit card Optional NEMA 12 enclosure 3 0 Twin Installation The Smarteye Twin is designed to function in the environment found in most industrial facilities The Twin will operate properly in the same environment as a programmable controller It is rated for operation at temperatures from 0 to 50 C Electromagnetic interference on signal lines will not be a problem if the recommended cables are used for equipment interconnections These will provide adequate shielding The Twin should be mounted so the switches are accessible and the front panel display can be seen conveniently Mounting dimensions for the Twin and its optional NEMA 12 enclosure can be found on drawing SP2000 01 900 in Appendix Filename Twin User Manual R6 doc u SMARTEYE In Control SMARTEYE Twin User Manual Page 2 4 0 AC Power Wiring The Twin requires 0 2 amps at 120VAC 25VA The input voltage may vary from 85 132VAC An optional power supply allows input voltages of 105 265VAC Frequency range is 50 60Hz in all cases The Twin has three terminals for AC power connections locat
12. for ack retransmit 1234RTA45S7Zhi cr error host detects line error sends nak nak received retransmit O 1234RT52S7Zho lt cr gt sequence number S7 enables the host to recognize this as a message previously received and to ignore the message send ack lt If gt lt 63 gt AZcc lt cr gt _________ ack received transaction complete Filename Twin User Manual R6 doc ur SMARTEYE In Control SMARTEYE Twin User Manual Page 25 14 0 Diagnostic Mode Lock Unlock A diagnostic message contains five numbers which indicate if the reader needs maintenance perfect diagnostic reading is A B C X Y 5 5 5 0 0 Diagnostic numbers are acceptable if they are within 5 of the perfect reading shown above If an acceptable reading is unobtainable check the Smarteye Reader User Manual for alignment information The Smarteye Twin calculates a diagnostic message each time a label passes by one of its readers The diagnostic message is transmitted to the host only after the Twin receives an L lock command Once the reader is locked in diagnostic mode then each time a label passes the reader a diagnostic message is transmitted to the host The diagnostic message comes in addition to any messages label message error message etc which would appear if the reader were not in diagnostic mode The Twin will allow the host to lock either or both of its readers in diagnostic mode The
13. receiver This junction box should provide six screw terminals labeled A B C and SHIELD The Twin circuit card provides two plug in screw terminals black for the Smarteye Reader connections Belden 9773 3 shielded pairs 18 gauge is recommended for connecting the Twin to the junction box 71 Sender Receiver Reader Wiring The three receiver cables are labeled A B or C The sender photoeye has a single unlabeled cable An optional junction box for the sender 15 used if extra cable length is required This junction box should provide two screw terminals labeled Cabling details can be found on drawing SP1054 01 410 in Appendix Note 1 Readers are delivered with the white signal wires of the receivers prepared for termination and with black wires tied back with shrink wrap The black signal wires are logically inverse to the white wires and are not used 2 All references to and refer to the 24 VDC supply of the Smarteye Twin The drain wires of the Belden 9773 cable are normally connected to DC ground at the Twin This is accomplished with the jumper block JB2 5 on the Twin circuit card If the distance between the Twin and the reader is greater than 1000 feet or the environment is electrically noisy then it may be necessary to connect the drain to DC ground at the reader s junction box This is accomplished with a jumper wire installed at the junction box Do not connect the drain at both ends of the cabl
14. the host on its own communication line Messages are transmitted as soon as data is available without having been solicited by a received message The host must send an acknowledgment for each data message transmitted If a transmitted message is not acknowledged within a specified time approximately 3 seconds then retransmission occurs Messages are also retransmitted when communication errors occur FF ee Filename Twin User Manual R6 doc 4 u SMARTEYE In Control SMARTEYE Twin User Manual Page 22 If a message is received while acknowledgment is awaited and it is not the acknowledgment then retransmission occurs immediately Usually the response to a received message will be either an on line idle or n off line message which pertains to the reader of the received message However when an incoming message is received and another message has been prepared for transmission pertaining to any reader then the prepared message is transmitted If there is no prepared message and the received message was ack then no response is made Both readers in a Twin are set on line at powerup in Handshake mode 13 8 1 Summary Of Responses Handshake Mode Twin Response Received by Twin on line or off line Poll r l e c a n I Initialize r l e c a A Ack Le c B Box poll Same as S r l e c a n N Nak r l e c a n L Lock in diagnostic mode r l e c a n U Unlock diagnostic mode r l e c a n S Status inqu
15. 2000 01 900 sse nennen A 2 A 2 SEA 8 and Twin Communication Cable Details SP1024 01 412 3 Sender Receiver Cable Details for Twin Applications SP1054 01 410 4 Page ii SMARTEYE Twin User Manual Page 1 1 0 Introduction Smarteye Readers sense an identification number coded into a Smarteye Label When a label moves past a reader signals are sent from the reader enabling the Twin to determine the label identification number Smarteye Labels are typically constructed of 12 gauge steel and come in a variety of lengths to suit specific application requirements A label contains a pattern of punched slots which can be detected by a reader as the label moves past it The Twin processes label inputs from one or two Smarteye Readers and communicates this information in ASCII form to a control device such as a programmable controller or a host computer Two different communication modes are supported handshake or poll An LED display allows the Twin to show the activity at each of the readers either in real time or in review 2 0 Twin Types The Smarteye Twin has an open type enclosure and is designed to be mounted in the user s NEMA 12 panel The Twin can be placed inside an optional NEMA 12 enclosure for mounting in the open The Twin includes the following major features e AC power terminals fusing and power switch e Smarteye CPU circuit card with onboard
16. 8 9 Terminating RS422 Multidrop Poll Mode A number of Smarteye Twins may be connected to a common host on a single transmission line In this multidrop configuration the transmitters of all of the Twins are connected in parallel to the host s receiver Similarly the Twin s receivers are connected in parallel to the host s transmitter The following restrictions must be observed in this multidrop configuration 1 eliminate the possibility of two Smarteye Twins attempting to transmit at the same time the master device host repeatedly polls slave devices Smarteye Twins for data messages The communication mode of the Twins must be poll mode The transmitter of each Twin must tri state when it is not transmitting 3 The parallel combination of impedances of the Twin s receivers must be high enough so that the line is not overloaded The second and third of these restrictions are considered here Because the Twin s transmitters are tri stated there are times when all the transmitters are in a high impedance state 1 the state of the line is determined by conditions at the host receiver To insure that the state of the line is predictable in this circumstance the host receiver should include a passive biasing network A passive biasing network consists of three resistances one between 5VDC and the non inverting input one across the inputs and the third connected from the inverting input to DC ground Very often an RS422 r
17. Auxiliary Port Receiver Simple Termination A 0 Reader Ports Shield Terminals to Chassis Ground 5 WY Reader Ports Shield Terminals to 24V Ground The jumper block JB2 is provided to allow drain wire terminations of the serial communication cables and the reader cables An additional jumper JB2 3 places a 470 ohm resistor across the input of the auxiliary port receiver for simple termination The control port serial communication cable s drain wire is typically connected to chassis ground at the control system because the control system side normally has a better ground If a good chassis ground is not available at the control system then jumper JB2 1 can be installed to properly terminate the drain wires The jumper block JB2 2 can be installed to terminate the auxiliary port communication cable s drain wire to chassis ground as necessary Never connect a drain wire at both ends of a communication line The jumper JB2 3 is provided to allow simple termination of the auxiliary port receiver This jumper should be installed if the auxiliary port communication line is greater than 50 feet The jumper blocks JB2 4 and 5 are provided to allow termination of the reader cable s drain wires The drain wires of the reader cable Belden 9773 are normally connected to 24V ground at the Twin This is accomplished by installing jumper JB2 5 Jumper JB2 4 is provided for troubleshooting purposes only normally it is not installed
18. EYE in Control SMARTEYE Twin User Manual Page 8 8 6 RS422 RS423 Selection for the Control Port SW3 SW3 1 2 3 on selects RS423 SW3 4 5 6 on selects RS422 SW3 7 8 9 10 switches for line termination Notes 5423 configuration is shown above e Select either RS422 or RS423 but not both Turn the Twin off before altering the configuration of SW3 _ Filename Twin User Manual R6 doc gt SMARTEYE in contro SMARTEYE Twin User Manual Page 9 8 7 RS422Line Termination SW3 Switch SW3 7 8 9 10 15 provided to allow proper termination of the communication line The type of termination required for a specific application depends on whether the communication line is a point to point line or a multidropped polled line and whether the transmitters on the line are ever tri stated Tri state is a high impedance state assumed by an idle RS422 transmitter so that another transmitter can drive the same line SW3 4 5 6 on selects RS422 SW3 7 8 9 on typical configuration for bassive biasing annua Switch 7 Places a 220 ohm resistor across the input the RS422 receiver for simple termination Switch 8 Ties the non inverting input of the RS422 receiver to 5 volts through 470 ohm resistor for passive biasing Switch 9 Ties the inverting input of the RS422 receiver to ground through a 470 ohm resistor
19. If large amounts of paint build up on most or all labels in a system then the maintenance warning LEDs may illuminate even when the reader 15 properly adjusted The maintenance warning LEDs can be manually turned off with switch SW5 2 See section 8 5 for details 10 4 HOLD Indication When the BACK HOLD FORWARD switch is in the HOLD position the decimal points of each of the five displays which make up the label error field illuminate This indication serves as a warning that messages will not be displayed in real time new messages are stored in the queue but will not be seen until the switch is put in the FORWARD position 11 0 Switches Two switches are used to control the display One of these switches BACK HOLD FORWARD permits a review of messages accumulated in the queue When left in FORWARD position messages are displayed in real time The other switch READER 1 ALL READER 0 determines which messages are displayed Use of the display switches does not affect reader operation and messages are still transmitted on the serial communication lines 11 1 BACK HOLD FORWARD Switch Messages are displayed as they occur in real time if this switch is left in the FORWARD position See FORWARD below Otherwise this switch can be used to locate old messages in the queue for review An old message can be viewed indefinitely with this switch in the HOLD position When switching from HOLD to either BACK or FORWARD the next messag
20. LONGOYd 6 L l 31 0 833NI9N3 NIML SASLYVWS 974 A8 Q3393HO 6 872 872 3NOHd NVOIHOIN STIH YILSIHIOY 133415 ONOG 2592 3jaluvws gt sc 310H 40 NOILV2O1 034434344 3jaiavws 4 4 n BADE 0 Wow 138 1 ONINUWM S3ovid 3ONVN3LNIVN 9 S 22 0 S3oVild v 1108 91 6 804 Q31101S NIML 3AdlMdVAS LNNON 13NVd NIML SASLYVWS 92 3Sv3134 AB uddv 40530 VNOM A8 80 6 v0 01 90 9MQ 1 ZLvyNV3S 1 Z01dS SLONGOYd 3215 ON ONIMVYC 31 95 30 15 13345 QNnOWO HlNv3 Jis qns 06 80 10 5 Jan 333NION3 er oN oN 8 V3S 5 974 Q3323HO Ziv L0 vzoLds GNNOYS 1 G13IHS 140d ON NIML WALSAS 8 WaS 3N3938 NIML me 1 01 TVNIIS WOU LINSNVL T 248 N30138 NIML CZv SN 8 V3S ZE7 SY y 1 130 QTSIHS O13IHS GQNNOYS QTSIHS QNS AS N QNS AS GNNOYS TWNOIS 15889 AS NIML NIML ON ON ON NIML SOV 8 V3S WALSAS 32V18 8 v3s 8 ViS LX 1 3N3938
21. LX INE 5 OL DGN OL 1 D AX dac 3N3938 DV 1 WOM wasn vse OL TWNOIS QNS AS 6 8 872 6 58 872 3NOHd NVOIHOIN STIH YILSIHIOY 143415 ONOG 2592 NOIL VNOd3OO gt LINSNVYL dia 238 6 8 N30138 YOLOANNOD CZy SM 6 JIVN anya 0096 007 SI 58 30 HION31 OS SI c c SM 30 HION31 WNWIXVN 0009 SI 227 58 JO WOWIXVN SALON NIML 1304 AMViIXnv 104 10MINOO NIML 8 V3S JO 553400 ONILYVLS VIVQ Is NOLLO3NNOO ON Q3TIVISNI NOLLYNINY3L S31VOIONI NOLWNINYSL M3YOS NI 9flld YOLOANNOD 0 Nid 6 JWW QN3931 vss 86 21 58 NIML 3sn X04 06 12 80 s318vo 938 238 938 0r0 VS NIML 5 LXV 18 0 6 N30138 2029 58 020 VS NIML 5 3 8 0 NIML 3A313VWS y 1950 435 1404 AMVPIIXQV S NIML 3A313VWS c W31SAS 238 INIOd OL INIOd zr Su vil NOILVYNOIJNOD 5 1 1 318v9 090 5 8 v3s JAJLYVNS 1vi30 avo WALSAS OMINOO OL INIOd 2 5 f NOILVSNIIANOO 0 6 N30138 5 1 1130 WALSAS OMINOO
22. N3349 2 1333 N33H9 Q3MNd SI MM n30138 Pca JUHM SI 2 x08 oe JONVISIC 03 SI NOLLONNF EE 318V2 0135 OL nav SMOTIOJ SV JIVO EINER SALON A13IHS ON X08 39v 18 NOLLONNF m qii 01 JUHM 9313934 JUHM 8 31890 3 3LIHM V 43113934 3LIHM 3118 S3AJOLOHd TV o ma NOLLONNF 038 S3A3O010Hd TY 071313 01 3182 30 35 55 NOLLONNF S3A3010Hd 01 M30N3S WO SOINOMIO313 OL 446 N30138 y xog SIIVI3d NOLLONNF NOILONNF 07313 01313 OL OMY 91 WNOlLdO 01 318 NOISN3IX3 53035 5 318v9 quvaNvis 9 318 0 YANIS 318 0 H3A3238 Li 2 9 318 0 H3A3238 335 318VO N3A303M NOLLONNP 318V9 NOISNALX3 Y30N3S 3119433 VIS NOL San qui W130 NOLLO3NNO2 Sissi Ib ees e OE aaraans xog 318vO 1404 1041400 XM 318 2 YINOLSNI NONI 03119915 YINOLSNI 3MIM Gi3IHS E 39 803 3119434 er EE 1NIOd OL 3119934 SSYd IS
23. NW a LV 3134 HONOYHL SISSvd 3 VW ISNW SNOLOnONOO mas Duo 787 san 6 s s310N aaaav ce v z 3svai3s This page left intentionally blank gt SMARTEYE CORPORATION www smarteyecorporation com
24. The box poll id can be either of the two readers in a Twin Acknowledgment is expected for any message transmitted other than on line idle or off line If a transmitted message is not acknowledged then the next message received will produce retransmission At powerup in poll mode each reader is set off line and remains so until an initialize device command is received for the reader or a restart command R is received for both readers in the Twin The restart and initialize command will clear the label and diagnostic message buffer in the Twin The restart or initialize command will not clear the error message buffer in the Twin Filename Twin User Manual R6 doc SMARTEYE in Control ur SMARTEYE Twin User Manual Page 21 13 7 1 Summary Of Responses Poll Mode Twin Response status when message received Received by Twin on line off line r L e c i Pollz r l e c z I Initialize 7 7 Ack B Box poll r l e c z N Nak r l e c z L Lock in diagnostic mode r l e c z U Unlock diagnostic mode 2 Q S Status inquiry rl amp cz Q R Restart Z 2 F Take reader off line n 13 8 Handshake Mode r 1 no response retransmission of previous message label message error message diagnostic message on line idle w o checksum on line idle with checksum off line In Handshake mode each Smarteye Twin is connected to
25. al data If the communication mode is Handshake then all readers are brought on line and the Twin will immediately begin communicating to the control system If Poll mode is selected then readers are off line at power up and are not put on line until an initialization message or R is received from the control system The Smarteye Twin s power up always creates error 0 messages for each of its two readers Check the display as follows Set the READER 1 ALL READER 0 switch to ALL and the Back Hold Forward switch to Forward Now turn on the Twin and check the Front Panel Display against the diagram below The ERROR LABEL field should remain as shown as well as the RDR field MAINTENANCE WARNING READER LABEL ERROR 0 1 FWD READER 0 HOLD ALL Im FWD READER 1 SMARTEYE CORPORATION TWIN Filename Twin User Manual R6 doc SMARTEYE in Control SMARTEYE Twin User Manual Page 16 13 0 Serial Communication The Twin s serial communication is governed by the protocol described in the following paragraphs references to messages received and transmitted are from the point of view of the Smarteye Twin Message flow 15 usually in only one direction at a time However full duplex communication is implemented and during error recovery or when device commands are being received it is possible that messages m
26. ay flow in both directions simultaneously Therefore the control system communicating with the Twin should be implemented for full duplex The Twin has two serial communication ports the control port and the auxiliary port The control port connects to a programmable controller or computer and provides the host system with label inputs from Smarteye readers The auxiliary port connects to a user display terminal and is used for troubleshooting 13 1 Auxiliary Port Operation The auxiliary port transmits exactly the same messages at the same time as the control port This allows the user to determine what the Twin is sending to the control system without interrupting the control port communication line Any messages received by the auxiliary port are ignored The baud rate and parity of the auxiliary port is automatically set to match that of the control port 13 2 Message Conventions A communication message consists of a string of bytes terminated with an ASCII carriage return To represent the bytes in a message string the following conventions are observed A byte with a value that is non printable ASCII is shown as a character string enclosed in brackets lt gt lt gt line feed cr carriage return id binary number representing Reader ID e g lt 60 1 gt Reader wired to Reader port 0 of the Smarteye Twin with address set to 60 octal nn represents a string of ASCII digits The digits are decimal unl
27. e Remove the jumper block at the Twin if a jumper wire is used at the junction box Never connect the drain to chassis ground 8 0 Twin CPU circuit card The intelligence of Smarteye Readers is contained in the Smarteye Twin CPU circuit card The following features are included in the CPU circuit card hardware e Interface to inputs for two readers Interface to a serial RS422 RS423 communication line control port e Interface to a serial RS423 monitor line auxiliary port Switches to set operating parameters Jumper blocks to modify shield terminations and memory size Filename Twin User Manual R6 doc gt SMARTEYE in Control SMARTEYE Twin User Manual Page 4 The diagrams on the following pages describe the function of the various jumper blocks and switches Prior to shipment the switches and jumpers are set to match the anticipated customer environment 8 1 Switch and Jumper Diagram gt 5 LLILI E Filename Twin User Manual R6 doc SMARTEYE n Control u SMARTEYE Twin User Manual Page 5 82 Configuration Legend DIP Switch B Switch off 0 B Switch on 1 Jumper Jumper block not installed Jumper block installed 8 3 Memory Configuration JB1 The memory configuration is set at the factory and should not be altered it is shown here for reference only EPROM 2 1
28. e in the queue which is in the indicated direction and satisfies the criteria established by the other switch will be displayed If the BACK or FORWARD position is continuously maintained then the first message is displayed for 1 6 seconds the second message 15 held for 8 seconds etc The display interval is halved for each succeeding message until it is 1 seconds A 1 second interval applies until the end of the queue in the direction of traverse is reached Te Filename Twin User Manual R6 doc gt SMARTEYE in contro SMARTEYE Twin User Manual Page 14 11 1 1 BACK BACK is a spring loaded position which causes the next older message in the queue that satisfies the selection criteria established by the other switch to be displayed If the oldest suitable message in the queue is reached then it remains on display rendering the BACK position equivalent to the HOLD position 11 1 2 HOLD HOLD will freeze the current message in the display indefinitely The HOLD indicators will remain on as a warning that new messages will not be displayed until this switch is put in the FORWARD position even though new messages are being stored in the queue The HOLD position does not affect reader operation or the serial communication lines 11 1 3 FORWARD FORWARD is used to step toward newer messages in the queue When the newest message is reached then new messages are displayed as they arrive in real time if they satisfy the criteria o
29. eceiver will include a built in passive biasing network fail safe circuitry If the host receiver does not include this network then an external network should be provided to insure reliable communication In this case the resistor across the inputs is 220 ohms the other two are 470 ohms The impedance of a built in passive biasing network will probably be relatively high so that even if one exists it may be desirable to lower the line impedance The network described above will accomplish this Note that a simple termination resistor across the inputs of a receiver which has built in passive biasing will lower the receiver input voltage when the line is idle probably to a value for which the output is indeterminate This would cause communication errors The passive biasing network is much safer Te Filename Twin User Manual R6 doc SMARTEYE In Control SMARTEYE Twin User Manual Page 11 The switch definitions above show that the receiver of a Smarteye Twin may include a simple terminating resistor or a passive biasing network Since all multidropped Twins receivers are in parallel only one receiver may be terminated with either the simple resistor or passive biasing Otherwise the line load will exceed tolerance levels 8 10 Drain Terminations and Auxiliary Port Receiver Termination JB2 JB2 1 Control Port Shield Terminal to Chassis Ground 2 22 Auxiliary Port Shield Terminal to Chassis Ground fi
30. ed on the exterior bottom right of the chassis These terminals provide connections for L1 N and ground A glass type 1 AMP fuse is used to protect the hot side of the line A 2 pole power switch opens both sides of the AC line circuit in the OFF position The Smarteye Twin has been designed to be as immune to AC power line fluctuations as is practical However like most electronic equipment it can be susceptible to brownouts and severe voltage spikes The Twin should be powered with an AC line fed from the secondary of a transformer whose primary is electrically as close to the main power source of the facility as possible The AC line can supply other similar electronic equipment such as programmable controllers but should not power any heavy industrial equipment that causes excessive line fluctuations such as motors motor starters welders etc applicable codes and ordinances should be observed for wiring AC power and ground particularly the National Electrical Code published by the National Fire Protection Association of Boston Massachusetts S 0 Power Supply A single 24 VDC power supply is included in the Smarteye Twin s enclosure This supply provides power for both the CPU circuit card and the readers connected to the Twin The power supply has a screw for adjusting its output voltage Using a voltmeter the output voltage may be adjusted to approximately 24 VDC The power supply includes automatic current limiting circ
31. ence number where n ranges from 0 to 9 incremented circularly modulo 10 for each new message transmitted by the Twin Enn error field A description of the error for each value of nn may be found in Error Messages Filename Twin User Manual R6 doc u SMARTEYE In Control SMARTEYE Twin User Manual Page 19 Asnn Bsnn Csnn Xsnn and Ysnn diagnostic readings Asnn Bsnn and Csnn are the trigger point numbers for photoeyes A B and C Xsnn is the alignment error between photoeyes A and B Ysnn is the alignment error between photoeyes B and C Zzz checksum 18 described in Message Conventions A summary of transmitted messages follows Each message 15 tagged with a lower case letter In the following sections which deal with the various communication modes a message transmitted as a response to a message received is represented by its lower case tag letter 13 6 1 On line Idle Message lt P lt id gt lt er gt i poll mode lt gt lt 4 gt 777 lt gt z poll mode with checksum lt lt gt 777 lt gt handshake mode 13 6 2 Off line Message lt lf gt lt id gt NZzz lt cr gt n off line On line off line notes 1 transmitted messages will include a checksum 2 In poll mode the off line response occurs only when an on line reader is taken off line with the F command Once a reader is off line there are no responses to any messages except the commands or
32. ess otherwise noted sis a sign character preceding an nn string Its values are space Other bytes are ASCII capital letters usually indicating the type of numeric field that follows A letter is also used in a received message to represent a device command Filename Twin User Manual R6 doc SMARTEYE n u SMARTEYE Twin User Manual Page 17 Zzz is the checksum field where zz is two ASCII lower case letters representing the checksum byte The checksum byte is obtained as the exclusive or of all the bytes in the message string up to and including the checksum field indicator Z The two checksum characters are obtained for the checksum byte by adding each hexadecimal digit of the byte values 0 to F to ASCII resulting in two lower case letters each with a value between and p See the example calculation below On received messages this field is optional i e if the Z field is not found then the checksum is not calculated 13 3 Checksum Calculation Example ASCII String from SEA Checksum S Field Indicator pace lt lf gt lt 63 gt L01234 T02S7Zaj lt cr gt 4C 30 31 32 33 34 20 54 30 32 53 37 5A Y Hex P di Checksum Representation Byte of ASCII String The exclusive OR of all Hex bytes above 09 HEX j 61 is the Hex representation 6l 6144 for an ASCI a 61 6A The ASCII equivalent of the resulting Hex numbers 61 and 6A yields the checksum byte aj
33. f the other switch For viewer comprehension real time messages are always displayed for at least 8 seconds Thus each message is held for 8 seconds or until another message arrives which displaces it in the display whichever is longer 11 2 READER 1 ALL READER 0 Switch This switch is used to 1 Selecta specific reader position 0 or 1 2 Select all readers position ALL When this switch changes regardless of queue position of the message currently in the display the newest message satisfying the new criteria is displayed 11 2 1 READER 1 This switch selects messages for reader 1 to be displayed When scanning forward or backward in the queue only messages for reader 1 are displayed 11 2 2 ALL The position will display messages from both reader 0 and reader 1 When scanning forward or backward in the queue messages are displayed in the order in which they occurred independent of the reader number Filename Twin User Manual R6 doc gt SMARTEYE in contro SMARTEYE Twin User Manual Page 15 11 2 3 READER 0 This switch selects messages for reader 0 to be displayed When scanning forward or backward in the queue only messages for reader 0 are displayed 12 0 Power Up After the Twin is mounted and the AC power is terminated an initial checkout can be completed When power 15 applied the Smarteye Twin reads the setup switches and initializes its intern
34. for passive biasing Switch 10 Places a 220 ohm resistor across the output of the RS422 driver for simple termination 8 8 Terminating RS422 Point To Point Handshake Mode In point to point communication the Smarteye Twin s RS422 transmitter is always in an active low impedance state This usually insures a stable line and eliminates the need for special termination at the host s receiver inputs Likewise most host transmitters will hold the line stable eliminating the need for special termination of the Twin s receiver Te Filename Twin User Manual R6 doc u SMARTEYE In Control SMARTEYE Twin User Manual Page 10 The addition of a shunting termination impedance reduces the reflected signal at the receiver and diminishes ringing and overshoot The negative aspect of termination is that it reduces the magnitude of the received signal Termination is more likely to be required in applications where the line length is very long and the transmission speed is greater than that used for Smarteye applications However in the event that line termination is desired 220 ohm terminating resistors have been provided on both the transmitter and receiver lines SW3 10 and SW3 7 220 ohms significantly reduces signal overshoot and ringing reasonably matches the recommended cable Belden 9730 which has a characteristic impedance of 100 ohms and satisfies RS422 specifications which require a minimum receiver impedance of 90 ohms
35. ic check 91 Photoeye A insufficient number of transitions in time allowed 92 Photoeye B insufficient number of transitions in time allowed 93 Photoeyes A and B insufficient number of transitions in time allowed 94 Photoeye C insufficient number of transitions in time allowed 95 Photoeyes A and C insufficient number of transitions in time allowed 96 Photoeyes B and C insufficient number of transitions in time allowed Note Errors 91 96 indicate that 1 or more photoeyes are not transitioning while other photoeyes are Check reader height photoeye operation and reader wiring 99 Diagnostic attempt aborted acceptable hole pattern not found probably due to label speed variation E99 is sent to the control system if diagnostic mode is locked on for a reader E99 does not appear on the display Filename Twin User Manual R6 doc ur SMARTEYE In Control SMARTEYE Twin User Manual Page A 1 Appendix DRAWINGS Twin Installation Details SP2000 01 900 This drawing shows the mounting for the Smarteye Twin unit SEA 8 and Twin Communication Cable Details SP1024 01 412 This drawing shows the detailed communication cables and connections Sender Receiver Cable Details for Twin Applications SP1054 01 410 This drawing shows the detailed reader cables and connections Filename Twin User Manual R6 doc 4 SMARTEYE In Control ur 8 02 01 0 40 S0 9MQ 0 1 006NNIML 1 000ZdS S
36. iry r l e c a n R Restart reader off line r l e c n no response retransmission of previous message label message error message c diagnostic message a on line idle non poll mode n off line MM u Filename Twin User Manual R6 doc ur SMARTEYE In Control SMARTEYE Twin User Manual Page 23 13 8 2 Example 1 Handshake Mode Normal Operation Previous transaction complete line is quiescent SMARTEYE TWIN HOST COMPUTER label 1234 obtained at Reader 63 acm T02S7Zaj lt cr gt host receives label sends ack lt f gt lt 63 gt AZce lt cr gt label 1235 obtained at Reader 62 lt f gt lt 62 gt L01235 TO1S8Zaf cr host receives label note sequence number is incremented to S8 sends ack lt gt lt 62 gt 7 lt gt label 1236 obtained at Reader 63 Mem 1236 03597 lt gt host receives label note sequence number is incremented to S9 sends ack etc Filename Twin User Manual R6 doc gt SMARTEYE in contro SMARTEYE Twin User Manual Page 24 13 8 3 Example 2 Handshake Mode Abnormal Operation Previous transaction complete line is quiescent SMARTEYE TWIN HOST COMPUTER label 1234 obtained at Reader 63 1234 02577 lt gt host receives label sends ack lt 16 lt 63 gt 7 lt gt timeout waiting
37. tion rede ere ed te E 16 13 2 Message Conventions eene pe Ban iin det Po po eae e Ee pet e eda 16 13 3 Checksum Calculation 17 13 4 Received pe e tede eive 18 13 5 Received Commands re eR e o eee c ee itte wis Ren 18 13 6 Messages Transmitted By The 18 13 6 1 On line Idle Message enne nennen nennen enne nennen 19 136 2 Off line Message d iet RI t e aliens a UR dk c e eb RE 19 13 63 Eabel M6SSdge c en e Re RT A e RA RR de e dE tes 19 13 64 Ettor MeSSag6 nen Ee eee P a e eae eve ee 19 13 6 5 Diagnostic Message esi de te te De deii e EE Ae 19 137 POW ee cate a ee ete ir ed ete e deed 20 13 7 1 Summary Of Responses Poll 21 13 8 Handshake Mode RR eR oer smile i ee 21 13 8 1 Summary Of Responses Handshake Mode sse 22 13 8 2 Example 1 Handshake Mode Normal Operation 23 13 8 3 Example 2 Handshake Mode Abnormal Operation 24 14 0 Diagnostic Mode Lock Unlock en nne 25 15 0 DE even pais Pee bed PNEU 25 Appendix DRAWINGS caisre Reel A 1 Twin Installation Details SP
38. uitry with automatic recovery which limits short circuit output current to a safe value This provides protection against damage due to accidental shorting An AC line filter is incorporated into the power supply to reduce noise from line to line and line to ground 6 0 Communication Line Wiring The Twin has two serial communication ports the control port and the auxiliary port The control port connections are made with screw terminals on a green snap in plug The auxiliary port connections require a 9 pin male D type connector The communication ports are located near the lower right corner of the Twin CPU circuit card The control port can be configured for RS422 or RS423 The auxiliary port is set for RS423 only Belden 9730 cable or equivalent 3 shielded pairs 24 gauge is recommended for RS422 connections Belden 8723 or equivalent 2 shielded pairs 22 gauge is recommended for RS423 connections A detailed wiring drawing SP1024 01 412 can be found in Appendix Filename Twin User Manual R6 doc gt SMARTEYE in SMARTEYE Twin User Manual Page 3 7 0 Reader Wiring Pre wired to each of the three receiver photoeyes in a reader assembly is a six foot long cable These three cables are labeled A B C Pre wired to the sender photoeye is a single twenty five foot long unlabeled cable four cables must terminate at a field junction box mounted less than six cable feet from the
Download Pdf Manuals
Related Search
Related Contents
Tyan S7050A2NRF motherboard BATWASHIR Blackberry 8220 Cell Phone User Manual EUROLITE LED ML-56 RGBW 36x3W User Manual Copyright © All rights reserved.
Failed to retrieve file