background image

WCS-EIG310

Communication with WCS read heads

 2

0

2

0

-0

3

21

5

Communication with WCS read heads

5.1

Request Byte for Read Heads

F0=0: The read head sends the position data to the interface module. This standard function is 
automatically active after commissioning.

F0=1: The read head sends the results of the diagnostic function.

5.2

Data Format for Modules

In "only Position" operating mode, 4 bytes are reserved for each WCS reader.

In "Position and Speed" operating mode, 6 bytes are reserved for each WCS reader.

Pxx: position data, P00 = LSB 
Sxx: speed (in multiples of 0.1 m/s), S00 = LSB

Example: Byte 5 = 00011011 = 27, corresponds to 2.7 m/s 
A1, A0: reader address, 00 = WCS reader address #1 
DB: pollution display, 1 = cleaning necessary 
OUT: code rail loss, 0 = code rail recognized 
ERR: error display, error code (LEDs)

Read head address 

3

Read head address 

2

Read head address 

1

Read head address 

0

Bit

7

6

5

4

3

2

1

0

0

F0

0

F0

0

F0

0

F0

Bit

7

6

5

4

3

2

1

0

Byte 0

0

0

0

0

0

P18

P17

P16

Byte 1

P15

P14

P13

P12

P11

P10

P09

P08

Byte 2

P07

P06

P05

P04

P03

P02

P01

P00

Byte 3

0

0

0

DB

ERR

OUT

A1

A0

Table 5.1

Data format for each connected WCS reader in "only Position" operating mode, reader 
address = 0...3

Bit

7

6

5

4

3

2

1

0

Byte 0

0

0

0

0

0

P18

P17

P16

Byte 1

P15

P14

P13

P12

P11

P10

P09

P08

Byte 2

P07

P06

P05

P04

P03

P02

P01

P00

Byte 3

0

0

0

DB

ERR

OUT

A1

A0

Byte 4

0

0

0

0

0

0

0

0

Byte 5

0

S06

S05

S04

S03

S02

S01

S00

Table 5.2

Data format for each connected WCS reader in "Position and Speed" operating mode, 
reader address = 0...3

Summary of Contents for WCS-EIG310

Page 1: ...WCS EIG310 WCS Interface Module EtherNet IP Manual ...

Page 2: ...sion as well as the supplementary clause Expanded reservation of proprietor ship Worldwide Pepperl Fuchs Group Lilienthalstr 200 68307 Mannheim Germany Phone 49 621 776 0 E mail info de pepperl fuchs com North American Headquarters Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 USA Phone 1 330 425 3555 E mail sales us pepperl fuchs com Asia Headquarters Pepperl Fuchs Pte Ltd P F Bu...

Page 3: ... 3 2 Electrical Connection 12 3 3 Dismounting 14 4 Commissioning 15 4 1 Introduction 15 4 2 Connecting the WCS Read Head 15 4 3 Connection to the Network 17 4 4 Setting the IP Address and Subnet Screen 18 4 5 Network Settings 19 5 Communication with WCS read heads 21 5 1 Request Byte for Read Heads 21 5 2 Data Format for Modules 21 6 Appendix 23 6 1 Software Tool for RSLogix 5000 V15 and V17 23 6 ...

Page 4: ... EU type examination certificate EU declaration of conformity Attestation of conformity Certificates Control drawings Instruction manual Other documents 1 2 Target Group Personnel Responsibility for planning assembly commissioning operation maintenance and dismount ing lies with the plant operator Only appropriately trained and qualified personnel may carry out mounting installation com missioning...

Page 5: ...d in descending order as fol lows Informative Symbols Action This symbol indicates a paragraph with instructions You are prompted to perform an action or a sequence of actions Danger This symbol indicates an imminent danger Non observance will result in personal injury or death Warning This symbol indicates a possible fault or danger Non observance may cause personal injury or serious property dam...

Page 6: ...terface The data from the interface module to the control panel is trans ferred via the EtherNet IP protocol You can connect a maximum of four WCS read heads of type LS221 and or LS121 to one WCS EIG310 interface module If you connect several WCS read heads they must have differ ent addresses The number of connected WCS read heads is configured in the hardware proj ect settings 2 2 Dimensions The ...

Page 7: ...omponents Figure 2 2 Interface module overview 1 RS 485 bus termination slide switch 2 X1 RS 485 interface 3 Mounting bracket 4 X2 Connection for power supply 5 X3 EtherNet IP communication interface 6 Front panel with rotary coding switch and LED indicator lights 4 3 1 6 2 5 ...

Page 8: ...rface module displays the binary coded error and or warning number via the Error No Select ID LEDs Error No Select ID Read head address 8 4 2 1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 2 1 0 0 0 3 Table 2 1 Display via the four ErrorNo Select ID LEDs when the State LED lights up green Error No 1 5 Switch the interface module off and back on If the error occurs again the module must be replaced Warning No 6 15 ...

Page 9: ...us hardware error or incorrect fieldbus ID 0 1 0 1 5 Script error 0 1 1 0 6 Reserved 0 1 1 1 7 WCS read head communication RS send buffer overflow 1 0 0 0 8 WCS read head communication RS receive buffer overflow 1 0 0 1 9 WCS read head communication RS timeout 1 0 1 0 10 General fieldbus error 1 0 1 1 11 Parity error or frame check error 1 1 0 0 12 Reserved 1 1 0 1 13 Fieldbus configuration error ...

Page 10: ...irectly activated by the Ethernet controller and lights up green when the interface module at port 2 is on a working network When there is data traffic on the network the LED flashes green at the same speed as the sent received data Net Status LED Interface state Flashes green red Self test Lights up green Connection present data exchange is active Flashes green Waiting for a connection to be esta...

Page 11: ...nto place The module is mounted 2 You must connect the DIN mounting rail to the switch cabinet s equipotential busbar The connection wire must have a cross section of at least 10 mm2 2 1 Note Heat Dissipation You may place other modules to the left and right of the module Above and below the modules there must be at least 5 cm of free space for heat dissipation Note Vertical Installation You can a...

Page 12: ...ore cannot be plugged in incorrectly Danger Device damage due to incorrect installation Incorrect installation of cables and connection lines can endanger the function and the electri cal safety of the device Observe the permissible core cross section of the conductor If you are using stranded conductors crimp the stranded conductors with wire end fer rules Make sure that conductors are insulated ...

Page 13: ...on Interface This interface can be found on the interface module in the form of two 8 pin RJ45 sockets on the bottom of the housing Insert the EtherNet IP connector into one of the RJ45 socket s with the inscription In cable from master or Out further cable to the next EtherNet IP slave Terminal Description 1 UB Pwr Operating voltage of interface mod ule operating voltage of sensor 2 0 V Pwr Groun...

Page 14: ...the terminals on connector X1 must be connected Connect the read head to the terminal Use the enclosed jumper to connect the terminals to each other Figure 3 3 Terminal X1 RS485 Termination Rx422 off Tx422 on 1 2 3 4 5 6 7 Rx232 Tx232 AP GND Rx422 Rx422 Tx422 Tx422 RS485 RS485 Rx422 Termination Tx422 On Off On Off X1 ...

Page 15: ...dule 1 Disconnect all the supply and signal lines Figure 3 4 Dismounting 2 Insert the screwdriver 2 into the groove of the mounting bracket 3 3 Press the screwdriver 2 in the specified direction until the lock on the DIN mounting rail 4 opens see figure 4 Then press the module 1 upwards and lift it out of the DIN mounting rail 4 3 2 1 ...

Page 16: ...le The EDS file can be downloaded from our website www pepperl fuchs com Simply enter the product name or item number in the product keyword field and click the Search icon 1 To access the product detail page for the device go to http www pepperl fuchs com and enter information about the device e g the product description or the item number into the search function 2 Select your product from the l...

Page 17: ...he rotary switch S4 in accordance with the table Rotary switch S4 Rotary switch S4 Rotary Coding Switch S5 Rotary coding switch S5 has no function Always set this switch to the 0 switch position WCS read head connection pin Terminal on interface mod ule WCS2B WCS3B 2 1 X2 1 4 2 X1 4 1 4 X1 5 3 3 X2 2 Table 4 1 Connection of WCS read heads Switch position S4 Number of WCS read heads Read head addre...

Page 18: ... and 5 of connector X1 Activating the RS 485 Bus Termination If the interface module is operated as the first or last physical device in an RS 485 bus or if you operate one read head on the interface module a bus termination must be performed on this interface module Figure 4 1 RS 485 Bus Termination Set the T2 slide switch 1 to On to activate the bus termination 150 Note The T1 slide switch 2 has...

Page 19: ...label P1 cable from master or P2 further cable to the next slave Pinout P1 and P2 Connecting the Device to the Controller Plug the Ethernet connector into the RJ45 socket Use a data cable of at least Category 5 Note The cable to the surrounding Ethernet devices must be at least 0 6 m long Terminal Designation 1 TD Transmission line 2 TD Transmission line 3 RD Receive line 4 n c Not connected 5 n c...

Page 20: ... WCS UGC_PF configuration tool Unzip the files contained in the ZIP file in a directory of your choice on your computer Start UGC_PF exe and select Help from the menu bar Select Readme in the drop down menu Here you will find a brief description of the WCS UGC_PF configuration tool s functions 1 Set the two rotary switches S4 and S5 on the front panel of the interface module to position F 2 Establ...

Page 21: ...erface module Setting Rotary Switches S4 and S5 1 Switch off the interface module 2 Close the WCS UGC_PF configuration tool 3 Disconnect the RS 232 connection between the interface module and the PC 4 Set the rotary switch S4 to the correct position in accordance with your hardware configuration 5 Set the rotary switch S5 to the correct position in accordance with your hardware configuration The i...

Page 22: ...our project planning tool The values for Input Size and Output Size depend on the number of readers and the desired data output You have to adjust these according to your hardware configuration Values for Input Size and Output Size Example Parameters Value Input assembly 101 Output assembly 100 Configuration assembly 4 Minimum RPI 20 ms Hardware configuration Input Size and Output Size 1 reader 4 ...

Page 23: ...2020 03 22 WCS EIG310 Commissioning You have connected three readers to the interface module and want to use the velocity output Enter the value 18 in both fields Input Size and Output Size ...

Page 24: ... WCS reader address 1 DB pollution display 1 cleaning necessary OUT code rail loss 0 code rail recognized ERR error display error code LEDs Read head address 3 Read head address 2 Read head address 1 Read head address 0 Bit 7 6 5 4 3 2 1 0 0 F0 0 F0 0 F0 0 F0 Bit 7 6 5 4 3 2 1 0 Byte 0 0 0 0 0 0 P18 P17 P16 Byte 1 P15 P14 P13 P12 P11 P10 P09 P08 Byte 2 P07 P06 P05 P04 P03 P02 P01 P00 Byte 3 0 0 0 ...

Page 25: ...0 0 0 Current position value binary coded in P00 P18 Good 0 0 1 WCS reader outside of the code rail not a position value Good P0 P18 0 WCS reader partly outside the code rail P0 1 P2 P18 0 WCS reader completely outside of the code rail 1 0 0 Current position value binary coded in P00 P18 Poor 1 0 1 No position value WCS reader outside of the code rail Poor X 1 X No position value error message fro...

Page 26: ...can be reset by the user SST Status bit speed usually 0 1 when an invalid speed value occurs Out Code rail outside of read head range ERR An error has occurred Check Last Error for details DB dirty lens system Please clean the scanning system with a soft damp cloth without cleaning additives WCS WCSbyte1 WCSbyte2 WCSbyte3 WCSbyte4 WCSbyte5 WCSbyte6 Position Speed Last_Error WCS1 WCS_EthernetIP I D...

Page 27: ...nected at the beginning and one device is connected at the end of the data line Figure 6 1 Connection of one reading head If two WCS readers are connected to one interface module there are two wiring versions Version A One WCS reader is located at the beginning and one WCS reader at the end of the data line For both WCS readers the RS 485 terminator is activated The interface module is located bet...

Page 28: ...ing of the data line one WCS reader is located at the end of the data line Both need the RS 485 terminator The second WCS reader is connected to the line connection between the interface module and the first WCS reader through a short spur length 1 m Use a bus terminal to connect the spur Interface or control PLC Reading head Reading head ...

Page 29: ...sion B The wiring version used depends on which is best suited for the application If three or four WCS readers are used on the same interface module connect these using spurs as shown in variant B Reading head Reading head Interface or control PLC Spur line max 1 m Bus terminal ...

Page 30: ...ielded data cable including analog Unshielded cable for DC and AC voltages 0 60 V Shielded cable for DC and AC voltages 0 230 V Coaxial cables for monitors Group B Unshielded cable for DC and AC voltages 60 400 V Group C Unshielded cable for DC and AC voltages greater than 400 V Shielding Cables The shielding of cables is required to suppress electromagnetic interference Establishing a low resista...

Page 31: ... WCS2 read heads with a heater 6 wire data cables 3 x 2 can be used These data cables use two pairs for the voltage supply doubling the cable cross section and one pair for the RS 485 data line The table below shows the possible cable lengths depending on the cable capacitance core core The number of connected read heads is of no significance Cable cross section AWG 1 1 American Wire Gauge a syste...

Page 32: ... female cordset 5 pin straight 5 m PUR cable shielded V15 G 10M PUR ABG M12 single ended female cordset 5 pin straight 10 m PUR cable shielded Field attachable single ended female cordsets and available by the meter V15 G ABG PG9 M12 single ended female cordset 5 pin straight field attachable shielded V15 G ABG PG9 FE M12 single ended female cordset 5 pin straight field attachable shielded with gr...

Page 33: ...Pepperl Fuchs Quality Download our latest policy here www pepperl fuchs com quality www pepperl fuchs com Pepperl Fuchs Subject to modifications Printed in Germany DOCT 6396 ...

Reviews: