IDEC WB1F Series User Manual

Fix linear ccd scanner plc connection
Hide thumbs Also See for WB1F Series:

Advertisement

Quick Links

WB1F Fix Linear CCD Scanner
PLC Connection
User's Manual
B-1780(0)

Advertisement

Table of Contents
loading

Summary of Contents for IDEC WB1F Series

  • Page 1 WB1F Fix Linear CCD Scanner PLC Connection User’s Manual B-1780(0)
  • Page 2: Trademarks

    Every effort has been made to ensure the accuracy of the information contained in this manual. However, if you do note any errors or inconsistencies please contact the dealer from which you purchased the product or an IDEC sales repre- sentative.
  • Page 3: Related Manuals

    WB1F Fix Linear CCD Scanner B-1780 PLC Connection Explains about PLC Connection. User’s Manual (this manual) B-1741 Instruction Sheet WB1F series Included with the product. WB1F Fix Linear CCD Scanner Explains an overview and functions of the WB1F, plus basic B-1775 User’s Manual operating methods.
  • Page 4: Table Of Contents

    Contents Introduction Attention ................................i Trademarks ................................i Graphic Symbol Glossary ..........................i Notes ......................................i Related manuals ...............................ii Contents Overview 1. 1 PLC connection ..........................1-1 1. 2 Limitation ............................1-2 1. 3 Applicable Models ........................1-2 1. 4 Applicable PLC ..........................1-2 1. 5 Setting Parameters (WB1F) ......................1-3 Operation Specifications 2.
  • Page 5: Contents

    1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet Contents Setting and Wiring 3. 1 Connection to PLC ........................3-1 3. 2 MC Protocol Connection ......................3-2 3. 2. 1 Overview ..............................3-2 3. 2. 2 WB1F Setting examples .......................... 3-2 3.
  • Page 6: Overview

    Overview This chapter describes gives an overview, limitations, applicable models, applicable PLCs, and setting parameters of the PLC connection. 1. 1 PLC connection The PLC connection is a device in which the read result of barcodes is directly written to the data memory of a PLC (Pro- grammable Logic Controller).
  • Page 7: Limitation

    Electric (Model 4, 4C frame, with Checksum) QJ71C24N MELSEC Q QJ71C24N-R2 LJ71C24 MELSEC L LJ71C24-R2 In IDEC, the operation check is performed by these models. For the other models, please perform the operation check at the customer’s side before use.
  • Page 8: Setting Parameters (Wb1F)

    1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet Setting Parameters (WB1F) 1. 5 Setting Parameters (WB1F) The setting parameters and setting values necessary for the PLC connection are as follows: Adjust the setting according to the using environment. All the settings of the WB1F should be performed before using the PLC connection.
  • Page 9 1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet Setting Parameters (WB1F) Address Size Default Setting value Item Sub item Remarks (hex) (dec) (hex) (hex) Sets the number of command Retry Count 06C4 01 - FF : Times retransmissions to a PLC.
  • Page 10: Operation Specifications

    Operation Specifications This chapter describes the operation specification of the PLC connection. 2. 1 Overview The WB1F periodically reads the PLC data memory. When the data memory which is being read has any change, the func- tion assigned to the data memory is performed. This mechanism allows to perform each function of the WB1F only by setting the data memory of PLC to the specified value.
  • Page 11: Special Area

    1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet Special Area 2. 3 Special Area With the special memory area starting address as a header, the following functions shown in the table below are assigned to the data memory.By setting the corresponding bit of the correspoding address to “1”, each function can be performed. The WB1F performs the requested function, and then performs zero clear of the special area.
  • Page 12 1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet Special Area When multiple bits are set to 1 at the same time, the lowest one is preferably executed for both address and bit. The other functions are ignored. e.g.
  • Page 13: Scanner Information Area

    1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet Scanner Information Area 2. 4 Scanner Information Area With the scanner information area starting address as a header, the functions shown in the table below are assigned to the data memory of PLC.The WB1F writes the barcode data and the data length in the scanner information area.
  • Page 14 1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet Scanner Information Area e.g. Storage example to the scanner information area The below shows an example of storing data into the scanner information area. The setting of the barcode data storage order can change the storage order to the data memory. [Condition] Scanner information area starting address: 100 Data memory Data length:...
  • Page 15: Start And End

    1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet Start and End 2. 5 Start and End The PLC connection can be started and ended in the following conditions: Start condition With Address “06C0 (PLC connection – function Enabled) in the setting parameter of the WB1F set and stored to ”01 (En- able), turn the power from OFF to ON.
  • Page 16: Operation Sequence

    1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet Operation Sequence 2. 6 Operation Sequence The WB1F repeatedly performs the following four operations: When barcode reading is completed, the writing of barcode data to the scanner information area is performed. When the execution of the requested function is completed, the zero clear of the special area is performed.
  • Page 17 1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet Operation Sequence e.g. PLC program and access to the data memory of WB1F Data memory WB1F Program Special area: Zero check Scanner information area: Data length Zero clear Special area: Barcode read start bit ON Special area:...
  • Page 18: Setting And Wiring

    Setting and Wiring This chapter describes the connection between the WB1F and PLC. 3. 1 Connection to PLC To use the PLC connection function, configure the WB1F model and the PLC; then, connect the WB1F model and PLC communication interfaces. Communication interface To find the WB1F model, main unit and PLC interface specifications, please refer to the respective user's man- uals for each.
  • Page 19: Mc Protocol Connection

    1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet MC Protocol Connection 3. 2 MC Protocol Connection 3. 2. 1 Overview The MC protocol performs data sending/receiving between the WB1F and the MELSEC sequencer. The MC protocol is the abbreviation of “MELSEC Communication Protocol, ” which is the communication protocol for the MELSEC sequencer allowing the sequencer to communicate with external devices (such as the WB1F) The WB1F can send/receive the data to/from the MC protocol supporting devices in the following conditions: Protocol...
  • Page 20 1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet MC Protocol Connection Here describes the setting examples of the WB1F: Setting MC protocol Address Size Item Sub Item example Remarks Parameter (hex) (dec) (hex) Communication speed 0100 03 : 9,600bps Data length 0101...
  • Page 21: Plc Setting Example

    1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet MC Protocol Connection 3. 2. 3 PLC Setting example The following table shows the setting example of the serial communication unit, QJ71C24N. Parameter Setting example Remarks Operation setting Independent Data Bit Align with the setting for WB1F.
  • Page 22: Wiring Example

    1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet MC Protocol Connection 3. 2. 4 Wiring example The following figure shows the wiring example of a QJ71C24N and a WB1F (WB1F-100S1B). Perform wiring by referring to the figure. During wiring, turn OFF the power. QJ71C24N (CH1) WB1F-100S1B Discription...
  • Page 23: Menu Sheet

    Menu Sheet Menu sheets are a collection of labels for use in configuring WB1F Fix Linear CCD Scanner functions. Scanning the listed labels allows the WB1F model's setting values to be changed/saved/referenced. For information on how to use menu sheets, please refer to Menu Sheet WB1F_MenuSheet_E, B-1782. The setting values written in white against a black back- ground in the menu sheet below are the WB1F default values.
  • Page 24 1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet RS-232 settings z Data length [! @ ! @ ! ! g ! / > * & * * & * ! > / b 01/ ! > m j8) Reference [! @ ! @ ! ! s ! / >...
  • Page 25 1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet RS-232 settings z Stop bits [! @ ! @ ! ! g ! / > * & * # # + ! > / b 01/ ! > m jD) Reference [! @ ! @ ! ! s ! / >...
  • Page 26: Plc Connection

    1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet PLC Connection PLC Connection z Function enabled [! @ ! @ ! ! g 06c0b01/ ! > m j1) Reference [! @ ! @ ! ! s 06c0x00/ ! > m j# & < ) Disabled [! @ ! @ ! ! s 06c0x01/ ! >...
  • Page 27 1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet PLC Connection z Timeout [! @ ! @ ! ! g 06c3b01/ ! > m jF) Reference Read the "Hexadecimal input" label of clause 3 after reading these label. [! @ ! @ ! ! s 06c3x<...
  • Page 28 1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet PLC Connection z Special Area Start Address Reference [! @ ! @ ! ! g 06c8b04/ ! > m j& * * ) 4 characters Read the "Hexadecimal input" label of clause 3 after reading these label.
  • Page 29 1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet PLC Connection z Scanner Information Area Start Address Reference [! @ ! @ ! ! g 06ccb04/ ! > m j! > $ ) 4 characters Read the "Hexadecimal input" label of clause 3 after reading these label.
  • Page 30 1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet PLC Connection z Protocol Parameter [0] : Station No. Reference [! @ ! @ ! ! g 06e0b02/ ! > m jG) 2 characters Read the "Hexadecimal input" label of clause 3 after reading these label.
  • Page 31 1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet PLC Connection z Protocol Parameter [2] : PC No. Reference [! @ ! @ ! ! g 06e4b02/ ! > m jc) 2 characters Read the "Hexadecimal input" label of clause 3 after reading these label.
  • Page 32 1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet PLC Connection z Protocol Parameter [4] : Station No. of the unit requested Reference [! @ ! @ ! ! g 06e8b02/ ! > m j! > $ ) 2 characters Read the "Hexadecimal input"...
  • Page 33: Hexadecimal Input

    1 Overview 2 Operation Specifications 3 Setting and Wiring 4 Menu Sheet Hexadecimal input Hexadecimal input [! @ ! 0 < # & ) [! @ ! 1 < & # ) [! @ ! 2 & & + ) [! @ ! 3 + &...
  • Page 34: Index

    Index Applicable Models ................1-2 Applicable PLC ..................1-2 Assigning Data Memory ...............2-1 Connection to PLC ................3-1 Limitation ....................1-2 MC Protocol Connection Overview ...................3-2 PLC Setting example ............3-4 WB1F Setting examples ............3-2 Wiring example ..............3-5 Menu Sheet Hexadecimal input ............4-11 PLC Connection ..............4-4 RS-232 settings ..............4-1 Operation Sequence ...............2-7...
  • Page 35: Revision History

    Revision history Revised content Edition Published Page Points 1st Edition 2018.6...
  • Page 36 Published: JUNE 2018 1st edition 6-64, Nishi-Miyahara 2-Chome, Yodogawa-ku, Osaka, Japan 2017 IDEC CORPORATION All Rights Reserved. • The specifications and content in this manual may be changed without prior notification. • Reproduction of this manual without prior permission is prohibited. All rights reserved.
  • Page 37 China/Shanghai IDEC (Shanghai) Corporation Tel: +86-21-6135-1515 IDEC Australia Pty. Ltd. Tel: +61-3-8523-5900 sales@au.idec.com idec@cn.idec.com Germany APEM GmbH Tel: +49-40-25 30 54 - 0 service@eu.idec.com China/Shenzen IDEC (Shenzen) Corporation Tel: +86-755-8356-2977 idec@cn.idec.com Singapore IDEC Izumi Asia Pte. Ltd. Tel: +65-6746-1155 info@sg.idec.com China/Beijing IDEC (Beijing) Corporation Tel: +86-10-6581-6131 idec@cn.idec.com...
  • Page 38 B-1780(0)

This manual is also suitable for:

Wb1f-100s1sWb1f-100s1b

Table of Contents