YOKOGAWA FA-M3 Series Instruction Manual

Pulse input module

Quick Links

Instruction
Manual
Y okogawa Electric Corporation
Pulse Input Module
IM 34M6H54-01E
Addendum
See at the end of this manual.
IM 34M6H54-01E
1st Edition
Table of Contents
loading

Summary of Contents for YOKOGAWA FA-M3 Series

  • Page 1 Instruction Manual Pulse Input Module IM 34M6H54-01E Addendum See at the end of this manual. IM 34M6H54-01E 1st Edition Y okogawa Electric Corporation...
  • Page 2 Blank Page...
  • Page 3: Preface

    (7) In cases where the use of this product results in damage or loss to the user or a third party, Yokogawa will not be responsible for any incidental or consequential damage or loss, or any damage or loss suffered by the user or third party resulting from a defect or defects in this product which could not be foreseen by Yokogawa.
  • Page 4: Introduction

    Introduction The FA-M3 Versatile-range Multi-controller builds on new concepts developed by Yokogawa, a company specializing in measurement, control, and information processing. This manual describes the specifications and handling of the subject module. The module receives and counts pulse signals from the field. For the FA-M3 hardware, see the Hard- ware Manual (publication number IM 34M6C11-01E).
  • Page 5: Safety Precautions

    If this instrument is used in a manner not specified in this manual, the protection provided by this instrument may be impaired. Also, Yokogawa Electric assumes no liability for the customer’s failure to comply with these requirements.
  • Page 6 With reference to the equipment types in the WEEE directive Annex 1, this product is classified as a “Monitoring and Control instrumentation” product. Do not dispose in domestic household waste. When disposing products in the EU, contact your local Yokogawa Europe B. V. office. IM 34M6H54-01E 1st Edition : Feb.01,1999-00...
  • Page 7: Table Of Contents

    Toc-1 Pulse Input Module IM 34M6H54-01E 1st Edition CONTENTS Preface ........................i Introduction ......................ii Safety Precautions ..................... iii 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 8 Blank Page...
  • Page 9: Overview

    <1. 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. Features •...
  • Page 10 Blank Page...
  • Page 11: Functions And Operation

    <2. 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 12 V DC...
  • Page 12 <2. Functions and Operation > Components and Their Functions RDY indicator: Lit when the internal circuit is operating normally. XS04- PULSE CH1 to CH2 indicator: The following indicators light up channel-by- channel, when the corresponding condition OUT1 occurs. I: The input signal goes on.
  • Page 13 <2. Functions and Operation > External Connection Diagram – OUT1 – – OUT2 – SHIELD SHIELD – OUT3 – – OUT4 – F0203.EPS Figure 2.3 Terminal Arrangement and Interconnections M3.5 screws 8.2 mm 6.4 mm 7.1 mm F0204.EPS Figure 2.4 Terminal Screw External Connections Table 2.2...
  • Page 14 <2. Functions and Operation > External Dimensions Unit: mm 83.2 28.9 F0205.EPS Figure 2.5 External Dimensions IM 34M6H54-01E 1st Edition : Feb.01,1999-00...
  • Page 15: Operation Of Modules

    <2. Functions and Operation > 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 16 <2. Functions and Operation > Resetting the Counter Resetting the counter means that the counter value returns to 0 (zero). A counter value is reset to 0 by setting the following or if the counter value exceeds its maximum set value. (1) Resetting by output relays Turning on (1) output relays Y 36, Y...
  • Page 17 <2. Functions and Operation > Comparing Counter Values with Preset Values This module can provide two preset values (1 and 2) per input channel. Counter values are always compared with these preset values. • Equal (counter value = preset value) •...
  • Page 18 <2. Functions and Operation > Output to External Output Terminal The module incorporates four independent external output terminals to allow program- mable setting of external outputs. Output setting can be made by: (1) Output selection, and (2) Interconnections between output and input channels. (1) Output selection Comparing the counter values with preset value 1 or 2 allows any output to be se- lected from among eight latched outputs or status outputs, as well as counter operat-...
  • Page 19 <2. Functions and Operation > 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 20 2-10 <2. Functions and Operation > Pulse input $FFFF Preset value 2 * Counter value Preset value 1 * Counter enabled 49 * Counter value = preset value 1 01 * Counter value = preset value 2 02 * Counter value resets to 0 03 * Counter value ≥...
  • Page 21: Attaching And Wiring Modules

    <3. 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 22: Attaching Modules In Intense Vibration Environments

    <3. Attaching and Wiring Modules > 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.
  • Page 23: Wiring Precautions

    <3. Attaching and Wiring Modules > Wiring Precautions (1) Connecting input terminals Do not reverse the connections. If connected in reverse, the module will not work. F3XS04- N IN + – IN – F0303.EPS Figure 3.3 Connecting Input Terminals If the modules are used in harsh environments where they are influenced by noise interfer- ence, apply a shielded, twisted-pair cable for the connection between the signal source and F3X04- N module.
  • Page 24 <3. Attaching and Wiring Modules > (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.
  • Page 25: Module Access

    <4. 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. 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,...
  • Page 26: Reading Data (Read/Hrd)

    <4. Module Access > 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. SEE ALSO Refer to the following instruction manual for details on the special module read instruction and special module high-speed read instruction.
  • Page 27 <4. Module Access > 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 28: Writing Data (Write/Hwr)

    <4. Module Access > 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. SEE ALSO Refer to the following instruction manual for details on the special module write instruction and special module high-speed write instruction.
  • Page 29 <4. Module Access > 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 30 <4. Module Access > 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 31 <4. Module Access > • 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 32 <4. Module Access > • 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 33 <4. Module Access > 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...
  • Page 34: Reading Input Relays

    4-10 <4. Module Access > 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).
  • Page 35 4-11 <4. Module Access > 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 ≠ Counter value of input channel 1 = Latched preset value 1 preset value 1...
  • Page 36: Output To Output Relays

    4-12 <4. Module Access > 4.1.5 Output to Output Relays The output relays used in the pulse input module are shown in Table 4.5. FC040105.EPS Table 4.5 Output Relays Used in the Pulse Input Module Output relay Actions when on Remarks number Resets input relay X...
  • Page 37: Access Using Basic Statements

    4-13 <4. Module Access > 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.
  • Page 38: List Of Data Position Numbers

    4-14 <4. Module Access > 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...
  • Page 39: Reading Data From The Pulse Input Module (Enter)

    4-15 <4. Module Access > 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.
  • Page 40 4-16 <4. Module Access > 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. SEE ALSO For information on how to stop the counter operation, refer to “Counter enabled and disabled”...
  • Page 41 4-17 <4. Module Access > • 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...
  • Page 42 4-18 <4. Module Access > • Interconnections between output-input channels For each output channel, this sets the corresponding input channel whose compari- son result is to be output. Bit number Output Connections to input channel channel Comparison results, etc. of input channel 1 Comparison results, etc.
  • Page 43: Reading Input Relays

    4-19 <4. Module Access > 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).
  • Page 44 4-20 <4. Module Access > 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 ≠ Counter value of input channel 1 = Latched preset value 1 preset value 1...
  • Page 45 4-21 <4. Module Access > You can use the STATUS statement to read the state of the input relay. STATUS SL, 100+n ; P Storage variable for read value Register number specifying the input relay (n = 1, 2) Slot number, number or numeric variable Specify using an integer with the following structure (leading ‘0’s can be omitted): X XX...
  • Page 46 4-22 <4. Module Access > The read data are allocated to 2 words in bits in the following manner. Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used FC040207_02.EPS IM 34M6H54-01E 1st Edition : Feb.01,1999-00...
  • Page 47: Output To Output Relays

    4-23 <4. Module Access > 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 Resets input relay X...
  • Page 48 4-24 <4. Module Access > You can use the CONTROL statement to output to the output relay. CONTROL SL, 100+n ; P , M Mask pattern (numeric value or variable) Output data storage variables Output relay specifying register number (n = 1, 2) Slot number (numeric value or variable) Specify using an integer with the following structure (leading ‘0’s can be omitted): X XX...
  • Page 49 4-25 <4. Module Access > Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used FC040208_02.EPS IM 34M6H54-01E 1st Edition : Feb.01,1999-00...
  • Page 50: Interrupt

    4-26 <4. Module Access > 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) Output data 1 0 1 0 1 1 1 1 0 1 0 1 1 1 1 1 Mask pattern...
  • Page 51: Sample Programs

    <5. Sample Programs > Sample Programs Two sample programs are given here, one using ladder application instructions and the other using BASIC statements. IM 34M6H54-01E 1st Edition : Feb.01,1999-00...
  • Page 52: Sample Program Using Ladder Application Instructions

    <5. Sample Programs > Sample Program Using Ladder Application Instructions Date: 95/09/29 18:21:20 Page : 1 Program name: xs04 slot 4 of XS04 Title: Perform setting for each channel and start counting (0001) *** Setting CH1 *** (0002) Input:rising,ring maximum value $FFFF,continue on return to $0,no filter (0003) Output:counter...
  • Page 53 <5. Sample Programs > Program name:XSO4 Date:95/09/29 18:21:2 Page: 2 Title: Output function (0025) WRITE D3001 (0026) *** CH4 *** (0027) Input:Falling,ring maximum value = 10,continue on return to 0,with filter (0028) Output:Normally OFF Preset value 1 (0029) M0035 D4001 00036...
  • Page 54: Sample Program Using Basic Statements

    <5. Sample Programs > Sample Program Using BASIC Statements 1000 ! F3XSO4 Sample program 1010 ! 1020 ! Setting CH1 1030 ! Input : Rising edge, ring maximum value $FFFF, continue on return to $0, no filter 1040 ! Output : On when counter value returns to 0 1050 CONTROL XS ,17 ;...
  • Page 55 <5. Sample Programs > 1400 ! 1410 LOOP@ 1420 ! Read counter value of all channels 1430 ENTER XS NOFORMAT ; CN (*) 1440 ! 1450 ! Display all count values 1460 PRINT CN (*) 1470 ! 1480 GOTO LOOP @ 1490 STOP 1500 END IM 34M6H54-01E...
  • Page 56 Blank Page...
  • Page 57 Wire material Copper Wire connection method Crimp-on-type Crimp-on Crimp-on terminals For M3.5 screws terminals Tightening torque 0.8 N・m (7.1 lbf・in) Applicable Example: Japan Solderless Terminal Mfg Co.,Ltd. V1.25-M3 crimp-on terminals Nihon Tanshi Co.,Ltd. RAV1.25-3.5 IM34M06H54-01E-006 Apl. 2012 Yokogawa Electric Corporation...
  • Page 58 On page 2-6, replace all text with the following text. 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...
  • Page 59 On page 2-8, replace all text with the following text. 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 options), counter...
  • Page 60 On page 2-9, replace Figure 2.6 with the following figure. Pulse input $FFFF Preset value 2 Preset value 1 Enable counter 49 * Input function * Counter value resets to 0 03 * Reset X 35 * * 1: The relay numbers shown above are for channel 1. * 2: See "Input Function"...
  • Page 61 On page 2-10, replace Figure 2.7 with the following figure. Pulse input $FFFF Preset value 2 * Preset value 1 * Enable counter 49 * Counter value = preset value 1 01 * Counter value = preset value 2 02 * Counter value resets to 0 03 * Counter value >= preset value 1...
  • Page 62 On page 4-10, replace the text below the subhead, “4.1.4 Reading Input Relays” with the following text. Table 4.4 shows the input relays used in the Pulse Input Module. Input relays are either latched type or state type. A latched type input relay turns on when its setting condition is true;...
  • Page 63 On pages 5-2 and 5-3, replace the sample program in Section 5.1, “Sample Program Using Ladder Application Instructions” with the following program. (00001) *** Setting CH1 *** (00002) Input: no filter, continue when value resets to $0, ring max. value $FFFF, rising edge (00003) Output: turns on when counter value returns to 0...
  • Page 64 (00026) *** Setting CH4 *** (00027) Input: filter, continue when value resets to $0, ring max. value 10, falling edge (00028) Output: always off (00029) M00035 Preset value 1 D04001 00036N (00030) Preset value 2 D04002 (00031) Input function D04003 (00032) Output function $4100...
  • Page 65 On pages 5-4 and 5-5, replace the sample program in Section 5.2, “Sample Program Using BASIC Statements” with the following program. 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.
  • Page 66 Blank Page...

This manual is also suitable for:

F3xs04-3nF3xs04-4n

Table of Contents