Home
SP4000-01 S-net DeviceNet User Manual
Contents
1. 4 XO8 NOUONnF Ou VNOILdO adnddns s3Woisno gan c0 11 s0 SNOISIAZY IVH3N39 ysy 70 80 90 H19N31 Y3GN3S Q3SIA3N 709 0 21 6 3Sv3138 WLINI A8 Hddv ava NOlLdl4283 VNOM AB FCI lv y0 60 90 O3llOld 9MQ 0 l ZLvNI3N3OIA3O HLM 13N S 10 000 dSNSIOnQONaN a zs Cty 10 000vdS ON ONIMVHO L al 3NOS L 3O ld3HS 0 02 80 31VO NOLO3NNOO 13N32I 3G 80N 833NIO9N3 l3N S 3A313VAS gQw AB 3493H9 JIUL WSU A8 NMVSO 6 Gg S8 8yZ Xv4 S6PY ES8 Bc 3NOHd 60 8v NvOIHOIN emp M31S3H20M 133NIS ONOG 9Z 3jalavws p VNVO O O HNVO Sn8 Sh8 NIvHO N m x 0 Z y E J10VId3O38 INIA JIN Nid S 3A3lHVINS A8 JOU S O O 199 0 22 8 3SV3133 Tun 0 AB Yddv 3iva NOlLdlM9S3G AY VNOM A8 Cen ly pO 0 O O3llOld IMCL LLN HIM 13N S LO0 O00 dS S1ONGOYd 1v 10 000vdS ON ONIMYYG SLN 30v9S L 30 1 ld3HS siva 318vo 0 02 80 A4MOd NOLIVOINQWANOO AYYNIXNY 833NIO9N3 LINN TOYLNOD 13N S 3A3INVWS BOW Ag GaxOSHO JIUL YSY A
2. gan 60 11 s0 SNOISIA3H VH3N39 Z ysy v0 80 90 H19N31 N3ON3S G3SA33 709 0 21 6 3Sv3l138 WUINI 0 A8 Yddv Alva NOILdI42S30 A38 WNOY Ag ILL IV GO L1 GO O 3llOld OMG Z 1 1L1L 10 O00rdS IANS9IAIA I3N S 10 000bdS SLONGOYd _ XO8 NOILONAF LLy L0 000 dS ou gue SIN aos et Ps l 3o 133HS WEIER N JINnON 310W33 0 61 80 318v9 446 N3O138 e J3N S HOJ SIIVI30 d18vO 833NIO9N3 M3AIO3M N30N3S 3A313VWS gaw 9 G35O3HO9 HL ADI AR NMvYG 6 g 8 gy Xv4 G6bv cc8 SZ 3NOHd 60 8v NvOIHOIN STIH YILSIHIOY 133NIS NOB 9Z 3jalavws p Cem m s _ WE Xog NOLLONQI JALAS OL INE 1313 NOUS JHM DE aad s 33010Hd Lf Tv 33S 226 N3a138 XY LA 343010Hd MOVIE 8 3A3010Hd Z MOVIE 3A3010Hd JUHM 8 3A3010Hd Da 3J18V9 WJAHOJS A N3N3038 NOYA SIIYL30 303 TWANVW y3SN JHL 40 NOILO3S 9NUNnON 2 M3Q0v3S 310W3H 201 OL 00S amp LL6 8I MjddH XO8 NOILONAP 310W3S S IV130 NOILO3NNOO 13N S 1334 3HL lv Q3IHS 3HL ANNOX Jonvisia N30138 SW OL AMVSS3O3N 38 AVW ll quus maus ON H 318V9 DAD 3ONVISIO XYN xy V NI 8 Lf yd3dAnr vi Qyvog ONY 3dAL 318V9 cxovi8 JInoydlo I3N S JHL 1v ONnONS 1 gei o Atz OL O3193NNO
3. 109 3SV313M TVILNI AB dch NOlLdlM9S30 q sMARTEYE CORPORATION www smarteyecorporation com
4. Phase relationship value between photoeye B and photoeye C The following table lists the S net Binary Diagnostic Message Bit Descriptions Filename SP4000 01 S net DeviceNet User R3 doc E Q SMARTEYE n Control Description Diag Bit1 Diag Bit 0 Meaning Undefined 0 0 No S net diagnostic data available state The diagnostic value is below the acceptable Low reader values The low limit value for the A B and C diagnostic 0 1 diagnostic is 5 The low limit value for the X alarm and Y diagnostic is 7 Reader adjustment may be necessary see reader user manual The diagnostic value is above the acceptable High reader values The high limit value for the A B and diagnostic 1 0 C diagnostic is 9 The high limit value for the X and Y diagnostic is 7 Reader alarm adjustment may be necessary see reader user manual Reader The diagnostic values are within the diagnostic 1 1 acceptable range Reader adjustment is not OK necessary Table 8 9 SMARTEYE S net SP4000 01 User Manual Page 17 V w rO 8 4 ASCII Message Format The ASCII S net message is a full ASCII character format that consists of a command packet and a response packet 8 4 4 ASCII S net Command Packet The ASCII S net command packet consists of six bytes The Protocol Overhead Bytes 1 amp 2 is used for the DeviceNet gateway module and will be covered later The command packet is sent from the control system to the S ne
5. SMARTEYE S net with DeviceNet Interface SP4000 01 User Manual Version 1 0 5 Revision 3 d gt SMAR RTEYE www smarteyecorporation com related documents SMARTEYE Sender Receiver 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 BELDEN is a registered trademark of Belden CDT Inc DeviceNet is a trademark of the Open DeviceNet Vendors Association Allen Bradley and PLC 5 are trademarks of Rockwell Automation RSNetWorx RSLinx and RSLogix5 are trademarks of Rockwell Software Inc a Rockwell Automation company 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 S net SP4000 01 User Manual Pagei M XXX n TABLE OF CONTENTS 1 0 DRT GUC 1 sss aan 1 2 0 S net Fh CACC T 1 3 0 S net Installation 1 4 0 Power Wir
6. 500Kb 300 baud 19 2 Kb DeviceNet RS232 Figure 11 2 Filename SP4000 01 S net DeviceNet User R3 doc 4 Uy SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 38 The DeviceNet Gateway indicators lights are explained below Indicator Light State Description Off No power to S net On Green Normal indication Flashing Green Gateway module not allocated to DeviceNet master MAC ID is already used on network Check for duplicated MAC ID addresses On Red NET Unrecoverable error Cycle power to S net if state persists replace S net Device removed from network Check DeviceNet master scan list Flashing Red DeviceNet configuration error Check and correct DeviceNet parameter settings Off No power to S net On Green Normal indication Flashing Green Not defined MOD i O On Red Unrecoverable error cycle power If state persists replace S net Flashing Red DeviceNet configuration error Check and correct DeviceNet parameter settings Off No data being transmitted Normal indication On Green Not defined Flashing Green Data being transmitted Normal indication TX Transmit parity or overrun error Check Status byte for On Red e transmit errors Cycle power to S net Flashing Red Not defined Off No data being received Normal indication On Green Not defined Flashing Green Data being received Normal indication RX
7. Factory Set OFF Factory Set OFF Factory Set OFF Factory Set OFF Factory Set OFF Factory Set ON Factory Set ON Factory Set Figure 7 4 Filename SP4000 01 S net DeviceNet User R3 doc gt SMARTEYE in Control Page 6 SMARTEYE S net SP4000 01 User Manual 7 5 S net Address Selection SW3 SW3 OFF Factory Set 0 oK OFF Factory Set Ll EE OFF Factory Set ES OFF Factory Set 6 RN ON Factory Set lol RS ON Factory Set SES OFF Factory Set EL SS OFF Factory Set Figure 7 5 Note Page 7 The control system uses the DeviceNet node address MAC ID for communication to the S net The S net address is only used in the ASCII command packet see the ASCII S net Command Packet section for details Filename SP4000 01 S net DeviceNet User R3 doc gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 8 7 6 Control Port Communications Setup SW4 SW4 40 02 5 ON Factory Set Z OFF Factory Set Z ON Factory Set EN OFF Factory Set RS ON Factory Set RY Message Format OFF ASCII ON Binary SS OFF Factory Set EN Diagnostics OFF Disabled ON Enabled Figure 7 6 Notes Message Format e The Binary Message format sends the S net reader data in a smaller DeviceNet packet more suitable for a PLC application e The ASCII Message format sends the full ASCII S net reader data string Diagnos
8. e SW1 Sw2 SW6 free 2 B J1 MEL E i e oo 2 se ITI Ei ITI 3 Oe J zoe J M CH 8o TH el 3 3V POWER ue aL aL 8 INPUT POWER LOW TX RX TX RX l P1 AUXILIARY PORT P2 CONTROL PORT P3 READER P4 24VDC KD KD ci Figure 7 1 Filename SP4000 01 S net DeviceNet User R3 doc B SMARTEYE in Control wm SMARTEYE S net SP4000 01 User Manual Page 5 v t O Vss 7 2 Dip Switch and Jumper Block Legend 4 Switch ON 1 7 Switch OFF 0 7 Jumper block installed Jumper block not installed Figure 7 2 Notes Do not change the settings of the factory set Dip Switches This could cause the S net to stop operating The S net reads the state of the Configuration Dip Switches only at power up Cycle power to the S net after changing any User Selectable Dip Switches The Diagnostic Dip Switch SW4 8 can be modified without cycling power to the S net Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual 7 3 Auxiliary Port Configuration SW1 AAG OFF Factory Set OFF Factory Set OFF Factory Set OFF Factory Set OFF Factory Set OFF Factory Set OFF Factory Set OFF Factory Set ON Factory Set ON Factory Set Figure 7 3 7 4 Control Port Configuration SW2 SW2 x 77 W_ J ZY 2 uU at SS 77 77 OFF Factory Set OFF Factory Set OFF
9. 1vooi f0 61 80 31G X3A3934 430NIS Ze sq nwa A3N S 303 SIIVI3O d18vO BON 3H33NISN3 so SLIHM N3AO3M NJON3S 3A3INVAS SON A8 Q3wOHO ana 4 3a rore A8 Meng 2 gt Khoa i 2 5 2 2 2 3 2 2 2 8 2 Tv M3ABO3M J 68S8 8S8 gpZ Xv4 G bb rc8 8yZ 3NOHd my DU EI EL ELS 23 MOND NOYA 6088y NVOIHOIN STIH YILSIHOOY 133MIS ONOG 9Z XE eh dye oa pes er pe oe bee 4 EIESEJEIEIEIEJEIEJESES B NOLWYOdYOO 2 EIEIEIEIEIEIEIEIEIEIE ON SwE REPERE eg kasu mima sS SIS eng e Ki Perl Ee ed a Fea nE gt ma 4 mr SEIS QI gt na 4 sept epis Ga et H 318V9 3dAHB9393 Shy he IN S 2 8 N3N3O3N NON 3A3INVNS OL rem Y d e ON H Lee yours BRAB A V ZZ NOIL23NNOO ON ON 2U Sg NOILWNINSAL due 39v9 N 9md gt O d gt L Wioug 4 FUYE HEE V J18Y9 MJAHOJM x e Q N3931 Z gt Z 4 S3AIO3N NOX SWE NOMOINNOD I3N S TA n 2U NINOS EN 318V9 M3 N3S 4 o c M30N3S NOY S IV140 318VO 9 9 D DKCH f o 7 O o lt i H 318v2 YIONIS HOT R adyqNYIS 14 9 MII EIERE 42 ERZ N3A323N S Oo wd JIBVO WD OuvaNvIS 13 SZ Ya AE 3A303N ZE N3QN3S N 9 Y NANOJ9 DEI Leg 31OH 30043 o C pm iz
10. 8 Each time a label passes the reader a diagnostic message is transmitted to the host The diagnostic message comes in addition to any label or error messages 9 11 VERSION v lt cr gt The version command displays the current software revision along with the build date The output from the v command looks like this Version 1 0 5 Build Date 14 April 2005 Filename SP4000 01 S net DeviceNet User R3 doc 4 sMARTEYE n Control Uy SMARTEYE S net SP4000 01 User Manual Page 32 V ss n 10 0 S net DeviceNet Configuration The S net uses a DeviceNet gateway module to communicate on a DeviceNet network The gateway packages the S net messages into a DeviceNet message packet for transmission on the network 10 1 Setting the Data Rate and MAC ID of the S net The DeviceNet gateway is housed inside the S net enclosure Rotary switches for setting MAC ID DeviceNet Baud and Serial Baud are on the inside cover of the S net reader There are two Bi color LED s for DeviceNet status and two Bi color LED s for serial status on the S net MAC ID BAUD 00 63 PGM RATE PGM PGM 6X gt NET 5 o MSD OR 321 STATUS 6789 MOD 5 0 LSD TX z 4 1 32 9600 baud PGM 4800 baud I 2400 baud 125Kb 1200 baud I V 250kb 600 baud 500Kb 300 baud 19 2 Kb DeviceNet RS232 Figure 10 1 The RS232 baud rate must be set to 9600 baud This is the communication rate between the gateway and the S net C
11. Baud 3 Parity No Parity 4 Data Size 8 5 Stop Bit 1 6 Flow Control No Flow Control 7 Receive Count lt Read Only gt 8 Transmit Count lt Read Only gt I I 40 with diagnostics 9 Maximum Receive Size 4 18 without a R 10 Maximum Transmit Size 2 6 00 String Format 0 01 Strip Parit 0 M Daa Pea 02 Pad Left Right 0 03 Pad 00 Pre Post Delimiter 1 00 Pre Post Delimiter 0 01 Strip Delimiter 1 02 Delimeter Enable 12 Block Mode 03 Rcv Seq Number 1 04 Enable Xmit Seq Number 1 05 Resend 1 06 Sync 1 13 Receive Delimiter 224 13 14 Pad Character 32 15 Status Enable lt Read Only gt 16 Status Clear Enable lt Read Only gt Table 10 1 E33 Filename SP4000 01 S net DeviceNet User R3 doc Q SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 34 11 0 S net Troubleshooting 11 1 S net Error Codes The error messages defined below will be sent out the control port unless otherwise noted Note Errors 04 05 06 and 15 may be caused by improper installation or alignment of the reader assembly Refer to the reader installation drawings and User Manual for details aa Meaning Cause 00 Smarteye S net power up message S net just powered up Possible Sources Induced electrical noise on the photoeye cables 01 Unrecognizable label Excessive transitions of Damaged or dirty label photoeyes detected Faulty photoeye Erroneous error caused by
12. E gs SW4 ST j NEN I sss la Ei m xD Sw5 zd 2b EHI PB1 RESET LC sw Sw2 swe z 2 m e ml I J1 mo xm i S SS Lt C Sum S H SES 3 3V POWER 8 aL al TT INPUT POWER LOW TX RX TX RX P1 AUXILIARY PORT P2CONTROLPORT P3 READER P424VDC KEA S S lt Figure 11 1 The S net CPU board indicators lights are explained below Indicator Light State Description 3 3V POWER Off No power to S net On Green Power on Normal indication Off Input power within parameters Normal indication INPUT POWER LOW Low input power warning LED will illuminate when Caed input voltage is less than 10 5 volts Check input power TX Red RX Green Off No data being transmitted or received Normal indication Aux Or Control Port Flashing Data being transmitted or received Normal indication Table 11 2 Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual 11 3 DeviceNet Gateway Module Indicator Lights Page 37 The DeviceNet gateway module has four tri color indicator lights NET DeviceNet status LED MOD Module status LED RX Receive status LED TX Transmit status LED The indicator lights are shown in Figure 11 2 MAC ID BAUD 00 63 PGM RATE PGM PGM 6 a MET 5 50 MSD RX PA 4 gt Z 32 STATUS ei Ba I MOD 5 0 LSD TX Z 4 Z 1 32 9600 baud PGM 4800 baud 2400 baud 125Kb 1200 baud 250Kb 600 baud
13. The control system will acknowledge the receipt of the response message by setting the Receive Acknowledge Number equal to the Receive Request Number This will indicate to the gateway that the message has been received by the control system 9 0 S net Auxiliary Port Communication The Auxiliary Port is used to monitor the control port and for S net inquiries The factory default settings for the Auxiliary Port are RS232 protocol 9600 baud 8 bits 1 stop bit and no parity For the Auxiliary Port interconnection diagram cable pin out configuration refer to drawing SP4000 01 413 in Appendix A The Auxiliary Port is programmed to respond to single character commands followed by a carriage return enter key The single character commands are h Help displays a list of valid commands e m Monitor toggles the monitor function on and off e i Input selects incoming messages only for the monitor function o Output selects outgoing messages only for the monitor function e b Both selects both incoming and outgoing messages for the monitor function p Photoeyes displays the state of the three photoeyes e un Switches displays the switch settings for switches SW3 SW4 and SW5 e Label displays the last label read e e Error displays the last error e c Diagnostic displays the last diagnostic values e v Version displays the software version number and build date Filename SP4000 01 S net DeviceNet User R3 doc E
14. U Receive parity or overrun error Check Status byte for On Red receive errors Cycle power to S net Flashing Red Not defined Table 11 3 Filename SP4000 01 S net DeviceNet User R3 doc E Q SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page A 1 Appendix A Drawings Sender Receiver Cable Details for S net Local Mounting Applications SP4000 01 410 This drawing shows the wiring details for a locally mounted reader Sender Receiver Cable Details for S net Remote Mount Applications SP4000 01 411 This drawing shows the wiring details for a remotely mounted reader using a customer supplied junction box S net Communication Cable Details SP4000 01 412 This drawing shows the location and wiring details for the DeviceNet connection S net Auxiliary Port Wiring Details SP4000 01 413 This drawing shows the wiring details for the auxiliary port S net Installation Details SP4000 01 420 This drawing shows the mounting dimensions of the S net Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control VNOM A8 1Z LL ly G0 11 60 03LIO1d 9MQ Z 1 0L 10 000vdSNI3N3OIA30 1IN S L0 000vdSNSIO0nOONa VI a 3ZIS 01v 10 000 dS ON NIMYYG S1N 31N9S EN L 30 4 133HS ad s oNUNnon
15. gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 27 jrsoi a yo vnm IV The command characters are case sensitive and are lower case Typing a carriage return without a command character preceding it will result in the following message being displayed SMARTEYE Type h for help If a command character is typed that is not found in the above list of valid commands then the message Invalid Command will be displayed 9 1 HELP h lt cr gt The help command displays a list of valid command characters along with a brief description for each 9 2 MONITOR m lt cr gt The monitor command toggles the monitor function on and off This function monitors the control port The monitor function is off at power up When the monitor function is off typing the monitor command activates the monitor and displays the Monitor ON message When the monitor function is on typing the monitor command disables the monitor and displays the Monitor OFF message The monitor function has three modes of operation 1 Input only see i command 2 Output only see oi command 3 Both see b command In input only mode the monitor only displays messages that have been received by the control port In output only mode the monitor only displays messages that have been transmitted by the control port In Both mode all messages received and transmitted by the control port are displayed Th
16. local reader mounting can be found on drawing SP4000 01 410 in Appendix A Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 3 VrT s ay 6 3 Remote Reader Mounting The Smarteye reader can also be remotely mounted from the S net control unit The remote field junction box must be located no more than six cable feet from the receiver assembly The remote junction box should have eight terminals labeled A B C and SH shield Belden 9773 3 shielded pairs 18 gauge is recommended for connecting the S net to the remote junction box A remotely mounted reader will also need the four hole reader cable grommet replaced with a single hole grommet Maximum remote mounting distance is 500 feet The shield drain wires of the Belden 9773 cable are normally connected to 24V ground at the S net This is accomplished with the jumper block J1 8 on the S net circuit card If the environment is electrically noisy then it may be necessary to connect the shield to 24V ground at the remote reader s junction box This can be accomplished by installing a jumper wire from the SH terminal to the terminal in the remote junction box Do not connect the shield at both ends of the cable Remove the jumper block J1 8 at the S net if the jumper wire is used at the remote junction box Never connect the shield to chassis ground An optional junction box for the se
17. Byte Format Description Values Label Number 3 amp 4 Integer Label number 1 16383 Error Number 3 amp 4 Integer S net error number 1 99 Diagnostic Bits 3 amp 4 Bit Diagnostic status OK High Alarm Low Alarm Packet Type 5 Bit S net packet type information Time 6 Integer Age of the event in tenths of a second 99 Table 8 4 8 3 2 1 Binary S net Packet Type Byte 5 Bit Layout The S net response packet can only be one of six types The following table lists binary S net Packet Type Bit Descriptions Bit Position 7 6 5 4 3 2 1 0 Packet Type Unused Unused Retrans Idle Manual Cal Error Label Byte 5 Table 8 5 Type Description Label Label message Error S net error message Cal Diagnostic status message Manual Manually entered Label Number on Manual Data Input MDI keypad Idle S net is active but no data available for transmission Retrans Retransmission of previously sent but unacknowledged message Note Table 8 6 When the S net sends a retransmission message it will also set the Label Error Cal or Manual bit For example if the S net send a retransmission of an error message the Retrans and Error bits will be set Filename SP4000 01 S net DeviceNet User R3 doc gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 15 V Ta T isi 8 3 2 2 Binary S net Label or Error Message Byte 3 amp 4 Bit Layout If the respo
18. Ch Lock S net reader in diagnostic mode Reader will respond with a label error idle or diagnostic message Unlock U 55h Unlock S net diagnostic mode Reader will respond with a label error idle or diagnostic message Offline F 46h Take the S net reader offline Reader will respond with an offline message Reader will not respond until an Initialize I or Restart R command is received by the S net Table 8 11 Continued 8 4 2 ASCII S net Response Packet The ASCII S net response packet consists of 18 bytes with diagnostics turned off switch SW4 1 off or 40 bytes with diagnostics turned on switch SW4 1 on The Protocol Overhead Bytes 1 amp 2 is used for the DeviceNet gateway module and will be covered later The response packet contains ASCII characters representing the label error and diagnostic values The response packet is sent from the S net to the control system in response to a command packet Filename SP4000 01 S net DeviceNet User R3 doc gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 19 rx es 8 4 2 1 ASCII S net Idle Message Response Packet Idle Message Description s Proteco NDS Used by DeviceNet gateway module Byte 3 Line Feed Start of message indicator Byte 4 S net ID S net ID 60d 0 zero ASCII Byte 5 Z Checksum field indicator Capital Z Byte 6 Checksum Byte 1 S net calcul
19. O ATIVNSON cxovig 31IHM 8 M3A3938 X08 2901 318vO JO G3IHS JHL NOUONn ON NOLLOANNOD ON ON LOW9 3IIHM V S3N303N aad OL OL Q3193NNOO LON SI LI NOLIVNIWH3L AND 39v9 NI 9Md gt O IN SS ATNO 2901 Q13IHS 3HL 9NIONYT NO TERI EROS e e V HIH WOU X04 SI XOB NOIINNr 3LON3y 3LIHM amg S3A3010Hd TY FHL NI WNINS3L HS JHL AINO SE Ea GN3 3NO 1Y Q3103NNOO 38 QN3931 s JSnA vu 318vO JO GJ3IHS 3HL 039 t NMOYE S3A3010Hd Tv Gen 1NI30 318v9 339 318v9 YANIS q3Sn 1ON SI N3389 x08 A8N3SSV NOILONAP S3A3010Hd OL M30N3S WOU N33N9 HUM O3Mlvd SI yoOv8 IN S 0l JUHM HUM Q3NIVd SI Z MI 446 N3T138 cay HLM O3Blvd SI yow8 m SIIVI30 XO8 NOILONAP NoUDNN Go Sv O3uivd 318v9 446 N3q139 L NNWININ OMY 91 WNOLLdO OL 9 IvNOlLdO 318VO NOISN3IX3 N3QN3S N3A3038 ue SIVI3d 318vO RA Q qdyqNYIS 13 9 gen YIONIS SR 8 EE S NEE EN 2 BY SSAB038 QuvaNvIS 14 SZ i c Bua JIEVO HDH xog Ya 3189 233AJ3932 4 318v1 33S xw o Maced V Fav NOISNIDG 830N3S GE aariadns Y13934 J 310H 319NIS 33NoIsn9 o 33N3038 WOYJ LHM 2 M3A3938 o S3LON e
20. P4000 01 413 A 5 A 5 S net Installation Details SP4000 01 420 sse A 6 Filename SP4000 01 S net DeviceNet User R3 doc B SMARTEYE in Control wp SMARTEYE S net SP4000 01 User Manual Page 1 s r s s s nO h 10 Introduction A Smarteye Reader senses an identification number coded into a Smarteye Label When a label moves past the reader signals are sent from the reader to the S net that enables the S net 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 that can be detected by a reader as the label passes by The S net processes label inputs from one Smarteye Reader and communicates this information in binary or ASCII form to a control device such as a programmable controller over a DeviceNet network 2 0 S net Features The S net includes the following major features Smarteye CPU circuit card with power on and low power indicators one 1 DeviceNet communication Control Port one 1 serial communication Auxiliary Port and reader interface circuitry A cage clamp connector is provided for connection to field wiring from the reader A cage clamp connector is also used for the auxiliary communication port NEMA 12 enclosure Five pin male mini connector for DeviceNet commu
21. PU The DeviceNet baud rate must be set to match the network application baud rate Set the rotary switch on the S net to the appropriate setting 125kb 250kb or 500kb The DeviceNet address or MAC ID is set using two rotary switches One rotary switch is for the most significant digit MSD of the address and the other rotary switch is for the least significant digit LSD of the address Example S net DeviceNet Node address 42 MSD rotary switch setting 4 LSD rotary switch setting 2 Filename SP4000 01 S net DeviceNet User R3 doc 4 SMARTEYE in Control wp SMARTEYE S net SP4000 01 User Manual Page 33 102 Register the S net EDS file into the DeviceNet Software Before configuring the DeviceNet parameters in the S net with the DeviceNet software the EDS file for S net CDN066 must be registered The current EDS file is on the CD included with the S net reader The file can also be downloaded from the Smarteye website at www smarteyecorporation com Refer to the manufacturer s DeviceNet software User Manual for details concerning the registering of the S net CDN066 EDS file 10 3 Configure the Device Parameters for S net The S net can be configured with the following EDS parameters Parameter Binary Message Format ASCII Message Format ID Description Parameter Value Parameter Value 1 Status lt Read Only gt 2 Baud Rate 9600
22. R NMvYO 6 g 8 gv Xv4 G6bv cc8 SZ 3NOHd 60 8v NvOIHOIN STIH M31S3H20M 133MIS NOB 9Z 3jalavws p GNNOYD HIV TIS 9 CC TWNINYSL ON JAM A ooo m o IEF GC ML OL SARUM ESCH e NOY ANNOYS TYN9IS mE eng 2 8 N3038 Z8Z Sy 1 avaa Fave 0S SI ZeZ SN JO HI9N3 WNWIXYN 3I0N 13N S ev Z8Z Sy 1 lW130 3182 IN S 140d AnIXny dy NOILO3NNOO ON ON VNINY3L Geess Aedeg u3sn 140d ABVIIXOV I3N S Z amp Z Sy OL 709 0 4Z L 3dAL NOLLVOINDWWOO q3lvaan 709 0 21 6 Zeg WILINI 0 A8 Yddv Alva NOILdI42S30 N38 VNOM A8 61 6 1V v0 0 90 03llOld SMG 0 0ZFN13N3QIA30 HLM INS LO 0O00FdSNSlOngOMdN I 0Zy 10 000rdS ON SNIMVHO 30v9S SIIVL3O NOILVTIVISNI 133HS AYNSOTONS CL VW3N salva LINN 1OMINOO 833NIO9N3 13N3OIA30 M 13N S 3A3INVWS gan AB OH JIUL vSy AR NMvYO 6cG8 c68 BYZ vi S6pp S8 87 3NOHd 60 8v NvOIHOIN STIH YILSIHIOY 133NIS NOB 9Z 3jalavws p LS Z0Z 964 s gsi sz 9 log 801 8c v orge osi ec09 g Z6 1 seo r oz zi oso gg9 eez oce loovsz ooo ofy 64Z 3A31UVNWS 9 JOU S 3 o6 e
23. alid label prior to the l command the message No Data Found will be displayed 9 9 ERROR e lt cr gt The error command displays the last error read by the S net reader The output from the e command looks like this Error 00 If the reader has not had an error prior to the e command the message No Data Found will be displayed See S net Troubleshooting section for a complete list of error codes 9 10 DIAGNOSTIC e lt cr gt The diagnostic command displays the last diagnostic message The output from the c command looks like this Cal A 05 B 03 C 02 X 01 Y 01 If the reader has not generated any diagnostic values prior to the c command the message No Data Found will be displayed Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 31 MMMM A diagnostic message contains five numbers which indicate if the reader needs maintenance A 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 S net calculates a diagnostic message each time a label passes by its reader The diagnostic message is transmitted to the host only if the S net is placed in diagnostic mode factory default SW4
24. any commands until a Restart R or an Initialize I command is received The Restart R and Initialize T are valid for the ASCII message format while the Initialize I is not valid for the binary message format 8 2 Control Port Message Format The S net has two message formats binary or ASCII form The binary format is a compact binary number based format to keep the DeviceNet message size small The ASCII format is a full ASCII character based format 8 3 Binary Message Format The binary S net message is a compact form that consists of a command packet and a response packet 8 3 1 Binary S net Command Packet The binary S net command packet consists of four bytes The Protocol Overhead Bytes 1 amp 2 is used for the DeviceNet gateway module and will be covered later The command packet is sent from the control system to the S net Bit Position 7 6 5 4 3 2 1 0 DM Protocol Overhead Byte 2 Byte 3 S net Command See Table 8 2 Byte 4 Carriage Return 0Dh Table 8 1 Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 13 VW n The following table lists the binary S net Command Byte 3 Values S net Command Byte 3 String Value Hex Value Restart R 52h Command Description Initialize reader Reader will respond with an idle message Request messag
25. ated checksum byte 1 Byte 7 Checksum Byte 2 S net calculated checksum byte 2 Byte 8 Carriage Return End of message indicator Byte 9 s Unused bytes Byte 40 Table 8 12 Example ASCII S net Message Idle Message lt po gt lt po gt lt f gt 0Zga lt cr gt Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 20 8 4 2 2 ASCII S net Error Message Response Packet Example ASCII S net Messages Error 15 Error Message Description Se SEN NS Used by DeviceNet gateway module Byte 3 Line Feed Start of message indicator Byte 4 S net ID S net ID 60 octal 0 zero ASCII Byte 5 E Error message indicator Capital E Byte 6 Error Char 1 S net error digit 1 Byte 7 Error Char 2 S net error digit 2 Byte 8 Retransmit Char R retransmit message otherwise a space Byte 9 T Time field indicator Capital T Byte 10 Timestamp Char 1 S net timestamp digit 1 Byte 11 Timestamp Char 2 S net timestamp digit 2 Byte 12 S Sequence number field indicator Capital S Byte 13 Sequence Number S net sequence number Range 0 to 9 Byte 14 Z Checksum field indicator Capital Z Byte 15 Checksum Byte 1 S net calculated checksum byte 1 Byte 16 Checksum Byte 2 S net calculated checksum byte 2 Byte 17 Carriage Return End of message indicator Byte 18 is Unused bytes Byte 40 Table 8 13 lt po gt
26. ates in poll mode only The control system will send a command packet to the S net The S net will only respond to a command from the control system When the S net receives a command packet it will send a response packet to the control system The response packet will be a label idle error or diagnostic if enabled message A message transaction between the control system and the S net is shown below Step Control System Command Message Direction S net Response 1 Restart R gt gt gt 2 lt lt lt Idle message 3 Box Poll B gt gt gt 4 lt lt lt Error 0 message 5 Box Poll B gt gt gt 6 lt lt lt Idle message 7 Label 225 Passes Reader 8 Box Poll B gt gt 9 lt lt lt Label 225 message 10 Ack A gt gt gt 11 Box Poll B gt gt gt 12 lt lt lt Idle message 13 Label 337 Passes Reader 14 Box Poll B gt gt 15 Transmission error detected SC Label 337 message by control system 16 NAK N gt gt gt 17 So Label 337 re transmit message 18 Ack A gt gt gt Figure 8 1 Filename SP4000 01 S net DeviceNet User R3 doc N lt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 12 v o 7 x o VVis p Note When the S net is first powered up the control system must send a Restart R or an Initialize T command to the S net The S net will not respond to
27. calculated checksum byte 2 Byte 20 Carriage Return End of message indicator Byte 21 deg Unused bytes Byte 40 Table 8 14 Example ASCII S net Messages Label 1234 lt po gt lt po gt lt f gt 0L01234 T02S7Zak lt cr gt Normal label message lt po gt lt po gt lt lf gt 0L01234RT02S7Zhj lt cr gt Retransmit label message MDI Label 1234 lt po gt lt po gt lt f gt 0M01234 T02S7Zal lt cr gt EZE Z I III III I 04 Filename SP4000 01 S net DeviceNet User R3 doc gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 22 8 4 2 4 ASCII S net Diagnostic Message Response Packet Diagnostic Message Description s SE NDS Used by DeviceNet gateway module Byte 3 Line Feed Start of message indicator Byte 4 S net ID S net ID 60 octal 0 zero ASCII Byte 5 C Diagnostic message indicator Capital C Byte 6 Space Byte 7 A Photoeye A Diagnostic field indicator Capital A Byte 8 Sign Photoeye A diagnostic value sign or Byte 9 A Diagnostic Char 1 Photoeye A diagnostic value digit 1 Byte 10 A Diagnostic Char 2 Photoeye A diagnostic value digit 2 Byte 11 Space Byte 12 B Photoeye B Diagnostic field indicator Capital B Byte 13 Sign Photoeye B diagnostic value sign or Byte 14 B Diagnostic Char 1 Photoeye B diagnostic value digit 1 Byte 15 B Diagnostic Char 2 Photoeye B diagnostic value dig
28. e default setting when activated is to monitor both input and output from the control port Monitor messages are preceded by either an IN or an OUT header to distinguish whether the message was received or transmitted by the control port The text message that follows either the IN or OUT header shows the actual characters received or transmitted by the control port The hexadecimal character value is shown in brackets for all non printable characters A typical label message sequence would look like the following IN S 0D the S 1s a status command and the OD is carriage return OUT EO 01 01 O9 E1 label message see details below IN A 0D the A is an ack command and the OD is carriage return Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 28 FF v sssOcY Tai Detail description for the label message OUT Field Description E0 Receive pre delimiter 224d indicates start of text i Low byte of label number 2Ch 00101100 binary only use low 7 bits 01 High byte of label number 01h 00000001 binary only use low 7 bits 01 Label message type 01h 00000001 binary 09 Age of message in tenths of seconds E1 Receive post delimiter 225d indicates end of text Figure 9 1 A typical diagnostic message sequence would look like the following IN S 0D the S is a status command a
29. e from reader Reader will Box Poll B 42h respond with a label error idle or diagnostic message Acknowledge the previous S net transmission If a message was pending the S net will not respond otherwise it will send an idle message Negative acknowledge the previous S net transmission If a message was pending NAK N 4Eh the S net will respond with a retransmission of the previous message otherwise it will send an idle message Status inquiry for reader Reader will Status S 53h respond with a label error idle or diagnostic message ACK A 41h Table 8 2 8 3 2 Binary S net Response Packet The binary S net response packet consists of six bytes The Protocol Overhead Bytes 1 amp 2 is used for the DeviceNet gateway module and will be covered later The response packet is sent from the S net to the control system in response to a command packet Bit Position 7 6 5 4 3 2 1 0 Erel Protocol Overhead Byte 2 Byte 3 Unused Label Number Error Number Diagnostic Bits Low Byte Byte 4 Unused Label Number Error Number Diagnostic Bits High Byte Byte 5 Packet Type Byte 6 Time Table 8 3 El Filename SP4000 01 S net DeviceNet User R3 doc gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual The following table lists the binary S net Response Packet Description and Values Page 14 Field
30. e switched If there are 2 ones in the p command result while only one photoeye is blocked then you would know that two photoeyes are shorted together The correct p command results are e PE 00000100 with photoeye A blocked e PE 00000010 with Photoeye B blocked e PE 00000001 with Photoeye C blocked Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 30 H Ma O V TT zer 9 SWITCHES s lt cr gt The switches command displays the current state of the three S net setup switches The three setup switches are SW3 SW4 and SW5 SW3 is used to setup the S net address SWA is used to set the S net control port parameters SWS is used to setup the S net auxiliary port parameters The display format for the s command is SWX 87654321 Where SW signifies the switch block and the X denotes the switch block number 3 4 or 5 Each switch block has 8 individual switches numbered from 1 to 8 The 87654321 designates which bit the individual switches refer to The output from the s command looks like this SW3 00110000 SW4 10110101 SW5 00000101 Switch 3 in the above example has individual switches 5 and 6 turned on box address 60 in octal 9 8 LABEL lK lt cr gt The label command displays the last label read by the S net reader The output from the 1 command looks like this Label 000172 If the reader has not read a v
31. et Command Packet Protocol Overhead Bytes This packet is sent from the control system to the S net Bit Position 7 6 5 4 3 2 1 0 Byte 1 Receive Acknowledge Number Transmit Request Number Byte 2 Byte Count Byte 3 m Command Data Byten Table 8 17 S net Response Packet Protocol Overhead Bytes This packet is sent from the S net to the control system Bit Position 7 6 5 4 3 2 1 0 Byte 1 Receive Request Number Transmit Acknowledge Number Byte 2 Byte Count Byte 3 xi Response Data Byten Table 8 18 Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 26 Ir O i wO as OU The control system will initiate a message to the S net by incrementing the Transmit Request Number The DeviceNet gateway will receive the message strip off the protocol overhead bytes bytes 1 amp 2 and transmit the command data to the S net The gateway will acknowledge the transmission by setting the Transmit Acknowledge Number equal to the Transmit Request Number This will indicate to the control system that the message has been transmitted to the S net The S net will respond to the command by transmitting a response to the DeviceNet gateway the gateway will add the protocol overhead bytes increment the Receive Request Number and the packet will be sent to the control system
32. g timeout If error persists replace the S net Errors 91 through 99 are detected during diagnostic ch SW4 8 is on the reader may still read the label eck if Diagnostic Enable switch Photoeye A insufficient number of transitions in time allowed Photoeye B insufficient number of transitions 92 e in time allowed These errors indicate that 1 or more Photoeyes A and B insufficient number of photoeyes are not transitioning while 93 ae erat transitions in time allowed the other photoeyes are Check for 94 Photoeye C insufficient number of transitions Check label for obstructions reader in time allowed height photoeye operation and 95 Photoeyes A and C insufficient number of reader wiring transitions in time allowed 96 Photoeyes B and C insufficient number of transitions in time allowed Diagnostic attempt aborted acceptable hole 99 pattern not found E99 is sent to the control Possible label speed variation system if diagnostic mode is locked on for the reader and the S net is in ASCII mode Table 11 1 continued Filename SP4000 01 S net DeviceNet User R3 doc E Q SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 36 n lt r s 11 2 S net CPU Board Indicator Lights lt swARTEVE Gi S NET INTERFACE e JM SP4020 01 e 6 gt SOM SW3 gt lt
33. he control port are not shown When the o command is entered an Output Only message will be displayed 9 5 BOTH b cr The both command sets the monitor mode to input and output In this mode all characters received or transmitted by the control port are displayed When the b command is entered an Input and Output ON message will be displayed 96 PHOTOEYES p lt cr gt The photoeyes command displays the current state of the reader input port The reader port is an 8 bit input port Since only 3 photoeyes are used in a SMARTEYE S net reader only the last 3 bits of the displayed data are relevant The other 5 bits will always be zero If we number the input port bits from 0 7 then bit 2 is for photoeye A bit 1 is for photoeye B and bit 0 is for photoeye C A few examples are e PE 00000111 All photoeyes blocked red light on back of photoeye off e PE 00000000 All photoeyes unblocked red light on back of photoeye on e PE 00000100 Photoeye A is blocked B and C unblocked The photoeye command can be used to verify that the reader has been wired correctly While blocking each of the three photoeyes individually enter the p command and note the result When only photoeye A is blocked the p command should return a result of PE 00000100 If the p command returned a result of PE 00000010 in this scenario you would know that photoeye A and B were wired incorrectly and need to b
34. hronization 25 9 0 S net Auxiliary Port Communication 26 GE LEE E 27 9 2 MONITOR Cero LR 27 93 ICH EN 160 u ses SS Ier OR eere nae oM unphu un ns 29 UTC 29 95 BOTH 29 9 6 PHOTOEYES p lt cr gt 000 29 97 SWITCHES SSC pi DE Pe I deri ep ni HEAR PRENDE 30 OS 30 9 9 ERROR M cu MG 30 9 10 DIAGNOSTIC 6C lt cr gt ae 30 911 VERSION EYE 31 10 0 S net DeviceNet Configuration 32 10 1 Setting the Data Rate and MAC ID of the S net sss 32 10 2 Register the S net EDS file into the DeviceNet Software 33 10 3 Configure the Device Parameters for S net 33 ILU S net Troubleshooting 34 REN Ssnet Error EE 34 11 2 S net CPU Board Indicator Lights 36 11 3 DeviceNet Gateway Module Indicator Lights pp 37 Appendix A DDE AWA GS u n S esas sss essasaaasssessess A 1 A 1 Sender Receiver Cable Details for Local Mounting Applications SP4000 01 410 A 2 A 2 Sender Receiver Cable Details for Remote Mount Applications SP4000 01 411 A 3 A 3 S net Communication Cable Details SP4000 01 412 A 4 AA S net Auxiliary Port Wiring Details S
35. inal to chassis ground Auxiliary Port shield terminal to 3 3V ground Control Port shield terminal to chassis ground Control Port shield terminal to 3 3V ground Reader Port shield terminal to chassis ground Reader Port shield terminal to 24V ground Figure 7 9 The jumper block J1 is provided to allow drain wire terminations of the serial communication cables and the reader cables Never connect a drain wire at both ends of a communication line The jumper block J1 3 can be installed to terminate the auxiliary port communication cable s drain wire to chassis ground as necessary The jumper blocks J1 7 and 8 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 S net This is accomplished by installing jumper J1 8 Jumper J1 7 is provided for troubleshooting purposes only normally it is not installed Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 11 sarin 8 0 S net Control Port Communication The S net Control Port connects to a DeviceNet bus and provides the control system with label inputs from the Smarteye Reader The S net communicates through a DeviceNet gateway module The DeviceNet gateway module packages the S net message into a DeviceNet packet and transmits it on the DeviceNet network 8 1 Control Port Operation The S net oper
36. ing and Power Consumption 1 5 0 Communications Wiring 2 S l Control Port Winne nn reti ee tin ten Rene R Eee Ferd raa AERE RUPEE EE E 2 5 2 Auxiliary Port Wimme ee 2 6 0 Reader Wiring and Mounting 2 6 1 S netReader Wiring un tei i AE ben EL e Reemi iet la dete ERR e RE era EEan 2 6 2 Local Reader Mounting e eee emi ederet sepe aep ros PP doen uua vetu oda een eyed 2 6 3 Remote Reader Mounting sasata aasawa enne enne nnne ne nene nnne nen 3 7 0 S net CPU Configuration 3 7 1 Switch and Jumper Location DiagTann 4 7 2 Dip Switch and Jumper Block Legend sss 5 7 3 Auxiliary Port Configuration SW1 nnne nen nnne 6 7 4 Control Port Configuration SW2 enne nnne nenne nnne nen 6 7 5 S net Address Selection SW3 000000 7 7 6 Control Port Communications Setup SWA4 enne 8 7 7 Auxiliary Port Communications Setup SW5 nnne 9 7 8 Receiver Configuration Wei 10 7 9 Drain Wire Terminations OI 10 8 0 S net Control Port Communication 11 8 1 Control Port Operation e dE eege SES 11 8 2 Control Port Message Fo
37. it 2 Byte 16 Space Byte 17 C Photoeye C Diagnostic field indicator Capital C Byte 18 Sign Photoeye C diagnostic value sign or Byte 19 C Diagnostic Char 1 Photoeye C diagnostic value digit 1 Byte 20 C Diagnostic Char 2 Photoeye C diagnostic value digit 2 Byte 21 Space Byte 22 X X diagnostic field indicator Capital X Byte 23 Sign X diagnostic value sign or Byte 24 X Diagnostic Char 1 X diagnostic value digit 1 Byte 25 X Diagnostic Char 2 X diagnostic value digit 2 Byte 26 Space Byte 27 Y Y diagnostic field indicator Capital Y Byte 28 Sign Y diagnostic value sign or Byte 29 Y Diagnostic Char 1 Y diagnostic value digit 1 Byte 30 Y Diagnostic Char 2 Y diagnostic value digit 2 Byte 31 Retransmit Char R retransmit message otherwise a space Byte 32 T Time field indicator Capital T Byte 33 Timestamp Char 1 S net timestamp digit 1 Byte 34 Timestamp Char 2 S net timestamp digit 2 Byte 35 S Sequence number field indicator Capital S Byte 36 Sequence Number S net sequence number Range 0 to 9 Continued next page Table 8 15 E33 Filename SP4000 01 S net DeviceNet User R3 doc lt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 23 E X ss m ee S net Diagnostic Message Response Packet Continued Diagnostic Message Description By
38. liary Port Wiring The auxiliary port connection is a cage clamp connector located next to the control port on the CPU circuit card The auxiliary port is factory configured for RS232 communications Belden 8723 or equivalent 2 shielded pairs 22 gauge is recommended for RS232 connections A detailed wiring diagram can be found on drawing SP4000 01 413 in Appendix A 6 0 Reader Wiring and Mounting 6 1 S net Reader Wiring A Smarteye Reader features a six foot cable prewired to each of its three receiver photoeyes and a twenty five foot cable prewired to the sender The photoeye cables terminate at the S net or a remote field junction box near the receiver assembly The three receiver cables are labeled A B or C respectively The sender photoeye has a single unlabeled cable The S net provides a cage clamp connector for the Smarteye Reader connection Note 1 Readers are delivered with the white signal wires of the receivers terminated to the reader connector 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 S net The S net is powered by the DeviceNet Bus 6 2 Local Reader Mounting The Smarteye reader is typically wired for local mounting to the S net The three receiver photoeyes and the sender photoeye are routed through the four hole reader cable grommet and terminated on the reader cage clamp connector Connection details for
39. lt po gt lt f gt 0E15 T02S7Zdd lt cr gt Normal error message lt po gt lt po gt lt If gt 0EI5RT02S7Zeb lt cr gt Retransmit error message EE Filename SP4000 01 S net DeviceNet User R3 doc Q SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 21 V OS v a lt n 8 4 2 3 ASCII S net Label Message Response Packet Label Message Description P Protocol overnead Used by DeviceNet gateway module Byte 3 Line Feed Start of message indicator Byte 4 S net ID S net ID 60 octal 0 zero ASCII Label message indicator Capital L or Capital Mi Byte 5 L for a manual entered label on the Manual Data Input MDI keypad Byte 6 Label Char 1 S net label number digit 1 Byte 7 Label Char 2 S net label number digit 2 Byte 8 Label Char 3 S net label number digit 3 Byte 9 Label Char 4 S net label number digit 4 Byte 10 Label Char 5 S net label number digit 5 Byte 11 Retransmit Char R retransmit message otherwise a space Byte 12 T Time field indicator Capital T Byte 13 Timestamp Char 1 S net timestamp digit 1 Byte 14 Timestamp Char 2 S net timestamp digit 2 Byte 15 S Sequence number field indicator Capital S Byte 16 Sequence Number S net sequence number Range 0 to 9 Byte 17 Z Checksum field indicator Capital Z Byte 18 Checksum Byte 1 S net calculated checksum byte 1 Byte 19 Checksum Byte 2 S net
40. nd the OD is carriage return OUT EO 0F 04 09 E1 Diagnostic message see details below IN A 0D the A is an ack command and the OD is carriage return Detail description for the diagnostic message OUT Field Description E0 Receive pre delimiter 224d indicates start of text Diagnostic bits 3Fh 00111111 binary Bits 0 1 11 Photoeye A Gain OK Bits 2 3 11 Photoeye B Gain OK Bits 4 5 11 Photoeye C Gain OK Bits 6 amp 7 Unused Diagnostic bits OFh 00001111 binary Bits 0 1 11 X alignment OK Bits 2 3 11 Y alignment OK Bits 4 to 7 Unused 04 Diagnostic message type 04h 00000100 binary 09 Age of message in tenths of seconds E1 Receive post delimiter 225d indicates end of text OF Figure 9 2 Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 29 VTnIoT s O 9 3 INPUT i lt cr gt The input command sets the monitor mode to input only In this mode only characters received by the control port are displayed Characters that are transmitted by the control port are not shown When the 1 command is entered an Input Only message will be displayed 9 4 OUTPUT o lt cr gt The output command sets the monitor mode to output only In this mode only characters transmitted by the control port are displayed Characters that are received by t
41. nder can be used if extra cable length is required This junction box should provide two terminals labeled Cabling details for remote reader mounting can be found on drawing SP4000 01 411 in Appendix A 7 0 S net CPU Configuration The intelligence of the Smarteye Reader is contained in the Smarteye S net CPU circuit card The following features are included in the CPU circuit card hardware Interface to a single reader Interface to a DeviceNet bus control port Interface to a serial RS232 auxiliary port monitor line Switches to set operating parameters Jumper blocks to modify shield terminations 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 factory defaults and anticipated customer environment Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 4 7 1 Switch and Jumper Location Diagram f lt sMArTEYE IIIS CA S NET INTERFACE im D CN CAP SP4020 01 E e M errn amp lt Eeer a x SW4 E Sa IE SEC emm n t sws Sr o CD TH PB1 RESET
42. nication and power 3 0 S net Installation The Smarteye S net is designed to function in the environment found in most industrial facilities The S net will operate properly in the same environment as a programmable controller It is rated for operation at temperatures from 0 to 60 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 S net should be mounted in such a way to allow access to open the hinged cover for maintenance Mounting dimensions for the S net NEMA 12 enclosure can be found on drawing SP4000 01 420 in Appendix A 4 0 Power Wiring and Power Consumption The S net is powered by the DeviceNet Bus and requires 8 watts at 11 24VDC A five pin male mini connector is provided on the S net A diagram of the DeviceNet connection can be found on drawing SP4000 01 412 in Appendix A Filename SP4000 01 S net DeviceNet User R3 doc gt SMARTEYE in Control wp SMARTEYE S net SP4000 01 User Manual Page 2 u s W r a o_x m OsA Q sm S 0 Communications Wiring 5 1 Control Port Wiring The S net is supplied with a five pin mini male connector on the outside of the box for the DeviceNet connection This connector provides control port communication and power connections for the S net A diagram of the DeviceNet connection can be found on drawing SP4000 01 412 in Appendix A 5 2 Auxi
43. nse type is a label or an error message the number is sent in two bytes the low order bits in byte 3 and the high order bits in byte 4 Bit Position 7 6 5 4 3 2 1 0 Data Data Data Data Data Data Data Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Data Data Data Data Data Data Data Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Byte3 Unused Byte 4 Unused Table 8 7 The low order bits byte 3 and the high order bits byte 4 must be combined into a single 14 bit integer number The mapping is shown below Label or Error Number Figure 8 2 El Filename SP4000 01 S net DeviceNet User R3 doc gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 16 8 3 2 3 Binary S net Diagnostic Message Byte 3 amp 4 Bit Layout If the response type is a diagnostic message the diagnostic bits are arrayed as follows Bit Position 7 6 5 4 3 2 1 0 C Diag C Diag B Diag B Diag A Diag A Diag Bytes Unused Unused Bii Bro Bei Rito Biti Bio Y Diag Y Diag X Diag X Diag Byte 4 Unused Unused Unused Unused Bit 1 Bit 0 Bit 1 Bit 0 Table 8 8 There are two bits used for each diagnostic field The fields are A B amp C Diagnostic Gain value for photoeye A B amp C X Diagnostic Phase relationship value between photoeye A and photoeye B Y Diagnostic
44. r Message from S net Hex Value of character Byte 1 Protocol Overhead Byte 2 Protocol Overhead Byte 3 Line Feed 0A Byte 4 0 30 Byte 5 E 45 Byte 6 1 31 Byte 7 5 35 Byte 8 lt space gt 20 Byte 9 T 54 Byte 10 0 30 Byte 11 2 32 Byte 12 S 53 Byte 13 2 32 Byte 14 Z 5A Byte 15 d Byte 16 g Byte 17 Carriage Return Exclusive OR of bytes 3 to 14 36 Figure 8 3 The result of the Exclusive OR calculation of bytes 3 to 14 is 36 Add an ASCII a to each digit of the Exclusive OR calculation 3 6 61 61 64 ASCII d 67 ASCII g The resulting checksum characters are d byte 15 and g byte 16 Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 25 M m rnemeerl 8 5 Control System DeviceNet Gateway Message Synchronization The DeviceNet gateway protocol requires the control system to acknowledge the receipt of an incoming message S net Response Packet This protocol also requires the gateway to acknowledge the transmission of an outgoing message S net Command Packet The protocol uses the Transmit Request Number and Receive Request Number to synchronize the message process Valid numbers for the Transmit Request Number and Receive Request Number are 1 to 15 with zero used to reset the gateway s numbers S n
45. rmat 12 5 3 Binary Message Format eonen et ER FEDERE PEU eat Eae re erro ge 12 8 3 1 Binary S net Command Packet 12 8 3 2 Binary S net Response Packet L nennen rennen enne ain ne nnns 13 8 3 2 1 Binary S net Packet Type Byte 5 Bit Layout 14 8 3 2 2 Binary S net Label or Error Message Byte 3 amp 4 Bit Layout 15 8 3 2 3 Binary S net Diagnostic Message Byte 3 amp 4 Bit Layout 16 8 4 ASCII Message Format 17 8 4 1 ASCII S net Command Packet eese ener enne rene 17 8 4 2 ASCILS net Response Packet 0m iieiea e nie det eran 18 8 4 2 1 ASCII S net Idle Message Response Packet essen 19 8 4 2 2 ASCII S net Error Message Response Packet 20 Filename SP4000 01 S net DeviceNet User R3 doc gt SMARTEYE in Control wy SMARTEYE S net SP4000 01 User Manual Page ii rac E CR OAM ECC ECC C 1 1 8 4 2 3 ASCII S net Label Message Response Packet 21 8 4 2 4 ASCII S net Diagnostic Message Response Packet 22 8 4 2 5 ASCII S net Offline Message Response Packet 23 8 4 2 6 ASCII S net Message Checksum Calculation sss 24 8 5 Control System DeviceNet Gateway Message Sync
46. t Description Bye Protocol Overhead Byte 2 Byte 3 Line Feed 0Ah Byte 4 S net ID 30h 0 zero ASCII Byte 5 S net Command See Table 8 11 Byte 6 Carriage Return 0Dh Table 8 10 The following table lists the ASCII S net Command Byte 5 Values S net Command Byte String Value Hex Value Restart R 52h Command Description Initialize reader Reader will respond with an idle message Request message from reader Reader will Box Poll B 42h respond with a label error idle or diagnostic message Acknowledge the previous S net transmission If a message was pending the S net will not respond otherwise it will send an idle message ACK A 41h Continued next page Table 8 11 Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual ASCII S net Command Values Continued Page 18 S net Command Byte einen String Value Hex Value Description NAK N 4Eh Negative acknowledge the previous S net transmission If a message was pending the S net will respond with a retransmission of the previous message otherwise it will send an idle message Status S 53h Status inquiry for reader Reader will respond with a label error idle or diagnostic message Initialize I 49h Initialize the S net reader online Reader will respond with an Idle message Lock L 4
47. te 37 Z Checksum field indicator Capital Z Byte 38 Checksum Byte 1 S net calculated checksum byte 1 Byte 39 Checksum Byte 2 S net calculated checksum byte 2 Byte 40 Carriage Return End of message indicator Table 8 15 Continued Example ASCII S net Message Diagnostic Message lt po gt lt po gt lt lf gt 0C A 00 B 00 C 00 X 00 Y 00 T04S2Zhi lt cr gt 8 4 2 5 ASCII S net Offline Message Response Packet Idle Message Description i Proteco overhead Used by DeviceNet gateway module Byte 3 Line Feed Start of message indicator Byte 4 S net ID S net ID 60 octal 0 zero ASCII Byte 5 N Offline message indicator Capital N Byte 6 Z Checksum field indicator Capital Z Byte 7 Checksum Byte 1 S net calculated checksum byte 1 Byte 8 Checksum Byte 2 S net calculated checksum byte 2 Byte 9 Carriage Return End of message indicator Byte 10 ssi Unused bytes Byte 40 Table 8 16 Example ASCII S net Message Offline Message lt po gt lt po gt lt f gt 0NZco lt cr gt El Filename SP4000 01 S net DeviceNet User R3 doc gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual 8 4 2 6 ASCII S net Message Checksum Calculation Page 24 The checksum field in the ASCII S net message contains two lowercase ASCII bytes The calculation for the values of these bytes is shown below Erro
48. the fixtures on a carrier breaking the photoeye beams 04 Unrecognizable label front and back bits 0 These errors can be the result of 05 Unrecognizable label front and back bits 1 oe eee photoeye beams 06 Unrecognizable label incorrect parity Check label for obstructions 07 Parity error in character of command message Check command message structure received or parity 10 Unrecognizable command message received Check command message content 15 Unrecognizable label incorrect Hamming code Check label for obstructions 17 Command message received w o cr Command message was missing the terminator carriage return lt cr gt at the end Possible Sources Induced electrical noise on the photoeye cables 19 Overload of input data from reader v Sunset ordig Jabel Faulty photoeye Erroneous error caused by the fixtures on a carrier breaking the photoeye beams 20 Checksum error in command message received Check command message content Continued next page Table 11 1 Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual S net Error Codes continued Page 35 Error Meaning Cause Code Unrecognizable label incorrect number of data Check label for obstructions or 30 39 bits LSD least significant digit of error is the incorrect label size of data bits in number of data bits in the label read system TT Firmware watchdo
49. tics e When enabled the diagnostic data is sent to the Control Port The diagnostic data is also saved for the Diagnostic Command on the Monitor Port e When disabled the diagnostic data is only saved for the Diagnostic Command on the Monitor Port The data is not sent to the Control Port Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 9 Vr Ima n 77 Auxiliary Port Communications Setup SWS SW5 IT Z ZZ Baud Rate See Table 7 1 below Z SS Parity OFF None ON Odd Parity SS OFF Factory Set WS OFF Factory Set NN OFF Factory Set SS OFF Factory Set Factory Default Shown 9600 Baud No Parity Figure 7 7 Baud Rate Table Baud Switch SW5 Position Rate 1 2 3 300 OFF OFF OFF 600 ON OFF OFF 1200 OFF ON OFF 2400 ON ON OFF 4800 OFF OFF ON 9600 ON OFF ON 19200 OFF ON ON 38400 ON ON ON Table 7 1 Filename SP4000 01 S net DeviceNet User R3 doc E gt SMARTEYE n Control SMARTEYE S net SP4000 01 User Manual Page 10 s nOOs nT vmo O 7 8 Receiver Configuration SW6 SW6 saa ON Factory Set WY OFF Factory Set WY OFF Factory Set RY ON Factory Set NY OFF Factory Set SS OFF Factory Set Figure 7 8 7 9 Drain Wire Terminations J1 77 Jumper installed Factory Set Jumper not installed Factory Set 20075 Auxiliary Port shield term
Download Pdf Manuals
Related Search
Related Contents
Severin BR 7962 ASUS VW193D UFSconnect 906 BEDIENUNGSANLEITUNG - Besøg masterpiece.dk Plextor (PX-12CSI) Internal 12x CD InFocus large audience LP 790 User's Manual Sony SAL20TC camera lense Solar Sun Stake Light Instruction Sheet Iluminación Spark SPL-D60 Copyright © All rights reserved.
Failed to retrieve file