YOKOGAWA F3XS04-3N User Manual
YOKOGAWA F3XS04-3N User Manual

YOKOGAWA F3XS04-3N User Manual

Pulse input module
Hide thumbs Also See for F3XS04-3N:

Advertisement

Quick Links

User's
Manual
Applicable Modules:
Model Code
F3XS04-3N
Pulse input module
F3XS04-4N
Pulse input module
Yokogawa Electric Corporation
Pulse Input Module
Model Name
IM 34M6H54-01E
IM 34M6H54-01E
2nd Edition

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the F3XS04-3N and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for YOKOGAWA F3XS04-3N

  • Page 1 User’s Manual Pulse Input Module IM 34M6H54-01E Applicable Modules: Model Code Model Name F3XS04-3N Pulse input module F3XS04-4N Pulse input module IM 34M6H54-01E 2nd Edition Yokogawa Electric Corporation...
  • Page 2 Blank Page...
  • Page 3: Applicable Product

    The document number for this manual is given below. Refer to the document number in all communications, including when purchasing additional copies of this manual. Document No.: IM 34M6H54-01E IM 34M6H54-01E All Rights Reserved Copyright © 1999, Yokogawa Electric Corporation...
  • Page 4: Precautions

    - Every effort has been made to ensure accuracy in the preparation of this manual. However, should any errors or omissions come to the attention of the user, please contact the nearest Yokogawa Electric representative or sales office.  Safety Symbols - ”Handle with care.”...
  • Page 5 WARRANTY that is provided separately. - Yokogawa Electric assumes no liability to any party for any loss or damage, direct or indirect, caused by the use or any unpredictable defect of the product.
  • Page 6  Software Supplied by the Company - Yokogawa Electric makes no other warranties expressed or implied except as provided in its warranty clause for software supplied by the company. - Use the software with one computer only. You must purchase another copy of the software for use with each additional computer.
  • Page 7  General Requirements for Using the FA-M3 / e-RT3 Controller  Set the product in a location that fulfills the following requirements: - INDOOR USE ONLY - This product is an open equipment. The product must be installed in a metallic panel enclosure with an impact rating IK08 or more.
  • Page 8  Configure and route cables with noise control considerations: - Perform installation and wiring that segregates system parts that may likely become noise sources and system parts that are susceptible to noise. Segregation can be achieved by measures such as segregating by distance, installing a filter or segregating the grounding system.
  • Page 9 Yokogawa Europe B. V. Euroweg 2, 3825 HD Amersfoort, The Netherlands  Contact in United Kingdom: - To contact the local Yokogawa office in the United Kingdom: Yokogawa United Kingdom Limited. Stuart Road Manor Park Runcorn, WA7 1TR United Kingdom.
  • Page 10 viii  General Requirements for Using the FA-M3 Slave Units (TAH Series)   C onnect YHLS cable to SHIELD terminal: - Connect the DRAIN line of the YHLS cable to the SHIELD terminal of the YHLS master module securely. Failing to do so may affect the performance of the YHLS system.
  • Page 11 This product complies with the WEEE marking requirement. This marking indicates that you must not discard this electrical/electronic product in domestic household waste. When disposing of products in the EEA or UK, contact your local Yokogawa office in the EEA or UK respectively. ...
  • Page 12: Introduction

    Introduction  Overview of the Manual This Pulse Input Module Instruction Manual describes the specifications and handling of the pulse input module, one of the FA-M3’s input/output modules. The pulse input module receives and counts pulse signals from the field. ...
  • Page 13: Copyrights And Trademarks

     Copyrights The copyright of the programs and online manuals contained in the software medium of the Software Product shall remain in YOKOGAWA. You are allowed to print the required pages of the online manuals for the purposes of using or operating the Product; however, reprinting or reproducing the entire document is strictly prohibited by the Copyright Law.
  • Page 14 Blank Page...
  • Page 15: Table Of Contents

    TOC-1 Pulse input module IM 34M6H54-01E 2nd Edition CONTENTS Applicable Product ..................i Precautions ....................ii Introduction ....................x Copyrights and Trademarks ............... xi Overview ....................1-1 Functions and Operation ..............2-1 Specifications ....................2-1 Operation of Modules .................. 2-5 Attaching and Wiring Modules ............3-1 Attaching and Detaching Modules .............
  • Page 16 Blank Page...
  • Page 17: Overview

    Overview The F3XS04-3N and F3XS04-4N Pulse Input Modules are used with the FA-M3 Range- free Multi-controller. These modules receive and count voltage pulse signals of 0 to 20 kHz. A single F3XS04 module can receive up to 4-channel pulse signals.
  • Page 18 Blank Page...
  • Page 19: Functions And Operation

    Functions and Operation Specifications  Standard Specifications Table 2.1 Standard Specifications Specifications Item F3XS04-3N F3XS04-4N Counter Number of channels Count range $0000 to $FFFF (16 bits) Operation mode Ring up-counter Input signal Type DC voltage Rated input voltage 24 V DC...
  • Page 20  Components and Their Functions Figure 2.1 Front View  Internal Circuit Figure 2.2 Circuit Configuration IM 34M6H54-01E...
  • Page 21  External Connection Diagram Figure 2.3 Terminal Arrangement and Interconnections Figure 2.4 Terminal Screw  External Connections Table 2.2 Wire and Terminals Connection Method Terminal block type Applicable conductor 0.33 to 0.82 mm (AWG22 to 18) Shield twisted pair wire Example: Fuji Cable Industries, Inc.
  • Page 22  External Dimensions Figure 2.5 External Dimensions IM 34M6H54-01E...
  • Page 23: Operation Of Modules

    Operation of Modules  Basic Operation of the Counter The module incorporates a 16-bit ring up-counter to count the number of input pulses: rising inputs from off to on, or falling inputs from on to off. The initial value of the counter is 0 (zero).
  • Page 24  Resetting A Counter Resetting a counter returns its value to zero. A counter can be reset using output relays or it may reset automatically when the counter value exceeds its maximum set value. (1) Resetting a counter using output relays Turning on output relay Y36, Y40, Y44 or Y48 (...
  • Page 25 actually cleared before turning off the output relay. Turning on the output relay for only one scan may fail to clear the input relay. CAUTION In a multi-CPU configuration, be sure to set the slot where the module is installed to “not used”...
  • Page 26 This interrupt is allowed by declaring an interrupt.  Output to External Output Terminal The module incorporates four independent external output terminals to allow programmable setting of outputs. Output setting can be made by (1) output selection, and (2) interconnection between output and input channels. (1) Output selection There are 11 output selection options: latched or state output indicating the result of comparison between a counter value and preset value 1 or 2 (8...
  • Page 27  Input filter If the module accepts dry-contact input pulses which may contain chattering noise, and the counter counts these pulses, accurate counter values will not be obtained. To obtain a correct counter value, use an input filter. Whether or not an input filter is used for each channel can be set.
  • Page 28 2-10 * 1: A decimal integer larger than 32,767 (or hexadecimal $7FFF) is normally regarded as a negative number. However, comparison operations on the F3XS04 treat all integers as unsigned with values ranging from 0 to 65535. * 2: Relay numbers shown above are for channel 1. Figure 2.7 Input Relay Reset IM 34M6H54-01E...
  • Page 29: Attaching And Wiring Modules

    Attaching and Wiring Modules Attaching and Detaching Modules 3.1.1 Attaching Modules Figure 3.1 shows how to attach the pulse input module (hereinafter referred to as module) to the base module. First hook the anchor slot at the bottom of the module to be attached onto the anchor pin on the bottom of the base module.
  • Page 30: Attaching Modules In Intense Vibration Environments

    3.1.3 Attaching Modules in Intense Vibration Environments If the modules are used in intense vibration environments, fasten the modules with a screw directly beneath the yellow anchor/release button, as shown in Figure 3.2. For this, use a 12- to 14-mm long M4 (4-mm thick) binder screw. With a Phillips screwdriver, tighten the upper side of the module with this screw.
  • Page 31: Wiring Precautions

    Wiring Precautions (1) Connecting input terminals Do not reverse the connections. If connected in reverse, the module will not work. Figure 3.3 Connecting Input Terminals If the modules are used in harsh environments where they are influenced by noise interference, apply a shielded, twisted-pair cable for the connection between the signal source and F3X04-N module.
  • Page 32 (2) Do not reverse the output connections. If an inductive load is connected, connect a diode in parallel with the load as indicated in Figure 3.5. Connect the diode so that its cathode will be connected to the positive line of the power supply. Figure 3.5 Connecting Output Terminals IM 34M6H54-01E...
  • Page 33: Module Access

    Module Access Access Using Ladder Special Module Instructions 4.1.1 List of Data Position Numbers The data position numbers (ladder) of the F3XS04-N Pulse Input Module are shown in Table 4.1. There are the following two data areas. [1] Input data: The region in which the counter value of each channel is stored [2] Setting data: The region in which the preset values, input function, output function, and input filter constant of each channel is set...
  • Page 34: Reading Data (Read/Hrd)

    4.1.2 Reading Data (READ/HRD) Use the special module read instruction and special module high-speed read instruction for reading the data from the pulse input module. NOTE Refer to the following instruction manual for details on the special module read instruction and special module high-speed read instruction. Sequence CPU Instruction Manual —...
  • Page 35 Example: Reading counter value Specify the data position number of the input data in the first data position number  for read data (n1).  The data position number of the input data corresponds to the channel number. Program example for reading counter value When X00501 is on, it reads four data channels from channel 1 to 4 of the pulse input module installed in slot number 106 into the data registers (D0001 to D0004).
  • Page 36: Writing Data (Write/Hwr)

    4.1.3 Writing Data (WRITE/HWR) Use the special module write instruction and special module high-speed write instruction for writing data to the pulse input module. NOTE Refer to the following instruction manual for details on the special module write instruction and special module high-speed write instruction. Sequence CPU Instruction Manual —...
  • Page 37 Example: Writing the preset value, input function, output function, and input filter constant Specify the data position number of the output data in the first data position number for write data (n2). Program example for writing setting data When X00502 is on, it writes (outputs) the setting data to the pulse input module installed in slot number 107.
  • Page 38  Preset values Preset values 1 and 2 are used for comparison with the counter value. Preset value 2 can be used as the ring up-counter maximum value. CAUTION To change the ring up-counter maximum value, first stop the counter operation and then reset it.
  • Page 39 Bit number 2: Stop setting of counter operation  Select the counter operation when the counter values exceeds the ring up- counter maximum value and returns to 0. 0: When returned to 0, counter operation continues. 1: When returned to 0, counter operation stops. ...
  • Page 40 Output selection  This selects the output type for the comparison results of the counter value with either preset value 1 or 2, or outputs the counter operating status. Bit number Output selection and type Counter value = preset value 1, latched type Counter value <...
  • Page 41 Example 1: Setting $0000 to data position number 20 for the output function in output channel 1 Bit number Output Data position channel number TC040103_06.EPS Example 2: Setting $0001 to data position number 24 for the output function in output channel 2 Bit number Output Data position...
  • Page 42: Reading Input Relays

    4-10  Input filter constant Input filter constants are set in bits 0 to 3 of data position number 33 using the ladder program. The initial value is set so that the minimum pulse width that can be counted is 32.8 ms (a preset value of 13). Bit number Data position number...
  • Page 43 4-11 Table 4.4 Input Relays Used in the Pulse Input Module Input relay Is interrupt Relay status=on Relay status=off Type number possible? Counter value of input channel 1  X01 Counter value of input channel 1 = Latched preset value 1 preset value 1 Counter value of input channel 1 ...
  • Page 44: Output To Output Relays

    4-12 4.1.5 Output to Output Relays The output relays used in the pulse input module are shown in Table 4.5. Table 4.5 Output Relays Used in the Pulse Input Module Output relay Actions when on Remarks number Y33 Resets input relay X01 (or the external output terminal selected by this state).
  • Page 45: Access Using Basic Statements

    4-13 Access Using BASIC Statements 4.2.1 List of Statements The BASIC statements given in Table 4.6 can be used in the pulse input module. Operation of the module cannot be assured if statements other than those given in the table are used. Table 4.6 BASIC Statements Which Can Be Used Function Format of statements...
  • Page 46: List Of Data Position Numbers

    4-14 4.2.2 List of Data Position Numbers The data position numbers (BASIC) of the F3XS04-N Pulse Input Module are shown in Table 4.7. There are the following two regions for data. Input data: The region in which the counter value of each channel is stored Setting data: The region in which the preset values, input function, output function, and input filter constant of each channel are set Table 4.7 List of Data Position Numbers (BASIC)
  • Page 47: Reading Data From The Pulse Input Module (Enter)

    4-15 4.2.4 Reading Data from the Pulse Input Module (ENTER) The ENTER statement is used for reading data from the pulse input module. The data read is stored in the specified input variable or input variable array. If the channel number is not specified, it reads from channel number 1. The number of channels read is determined by the number of input variables.
  • Page 48 4-16 CAUTION To change the ring up-counter maximum value, first stop the counter operation and then reset it. If its maximum value is changed while the counter is operating, operation of the counter will not be assured. NOTE For information on how to stop the counter operation, refer to “Counter enabled and disabled”...
  • Page 49 4-17 Bit number 3: Setting use of input filter  Select whether to use the input filter. The input filter constant setting is common to all channels. 0: Do not use input filter. 1: Use input filter.  Output function The output function can be set by selecting the output using bits 0 to 9 of the data position number corresponding to each channel and then setting the output-input interconnections using bits 12 to 14.
  • Page 50 4-18 Interconnections between output-input channels  For each output channel, this sets the corresponding input channel whose comparison result is to be output. Bit number Output Connections to input channel channel Comparison results, etc. of input channel 1 Comparison results, etc. of input channel 2 Comparison results, etc.
  • Page 51: Reading Input Relays

    4-19  Input filter constant Input filter constants are set in bits 0 to 3 of data position number 33 using the ladder program. The initial value is set so that the minimum pulse width that can be counted is 32.8 ms (a preset value of 13). Bit number Data position number...
  • Page 52 4-20 Table 4.8 Input Relays Used in the Pulse Input Module Input relay Is interrupt Relay status=on Relay status=off Type number possible? Counter value of input channel 1  X01 Counter value of input channel 1 = preset Latched value 1 preset value 1 Counter value of input channel 1 ...
  • Page 53 4-21 You can use the STATUS statement to read the state of the input relay. IM 34M6H54-01E...
  • Page 54 4-22 The read data are allocated to 2 words in bits in the following manner. IM 34M6H54-01E...
  • Page 55: Output To Output Relays

    4-23 4.2.8 Output to Output Relays The output relays used in the pulse input module are shown in Table 4.9. Table 4.9 Output Relays Used in the Pulse Input Module Output relay Actions when on Remarks number Y33 Resets input relay X01 (or the external output terminal selected by this state).
  • Page 56 4-24 You can use the CONTROL statement to output to the output relay. IM 34M6H54-01E...
  • Page 57 4-25 IM 34M6H54-01E...
  • Page 58: Interrupt

    4-26 The mask pattern is used to specify the bits in the output data to be changed. Only bits that are set to 1 are changed; output of bits 0 are not changed. (Example) 4.2.9 Interrupt An interrupt can be generated when a change in the input relays X01 to X15 from off to on is detected.
  • Page 59: Sample Programs

    Sample Programs Two sample programs are given here, one using ladder application instructions and the other using BASIC statements. IM 34M6H54-01E...
  • Page 60: Sample Program Using Ladder Application Instructions

    Sample Program Using Ladder Application Instructions IM 34M6H54-01E...
  • Page 61 IM 34M6H54-01E...
  • Page 62: Sample Program Using Basic Statements

    Sample Program Using BASIC Statements 1000 ! F3XSO4 Sample program 1010 1020 DEFINT A-Z 1030 XS=4 1040 ASSIGN XS04=XS 1050 ! Setting CH1 1060 ! Input: rising edge, ring max. value=$FFFF, continue when value resets to $0, no filter 1070 ! Output: turns on when counter value resets to 0 1080 CONTROL XS,1;$4000...
  • Page 63 1400 1410 ! Start counting for all channels 1420 CONTROL XS,102;$1111 1430 1440 LOOP@ 1450 ! Read counter value for all channels 1460 ENTER XS NOFORMAT;CN(*) 1470 1480 ! Display all counter values 1490 PRINT CN(*) 1500 1510 GOTO LOOP@ 1520 STOP 1530...
  • Page 64 Blank Page...
  • Page 65: Revision Information

    New publication ■For Questions and More Information If you have any questions, you can send an E-mail to the following address. plc_message@cs.jp.yokogawa.com E-mail: ■Written by Yokogawa Electric Corporation ■Published by Yokogawa Electric Corporation 2-9-32 Nakacho, Musashino-shi, Tokyo, 180-8750, JAPAN IM 34M6H54-01E...
  • Page 66 Blank Page...

This manual is also suitable for:

F3xs04-4n

Table of Contents