YOKOGAWA FA-M3 Series User manual

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

Blank Page

<Toc> <Ind> <Rev> <Preface> i
IM 34M6H54-01E
Preface
Applicable Products
●FA-M3 Range-free Multi-controllers
Models: F3XS04-3N and F3XS04-4N
Model name: Pulse input module
March 1999
Revision History
March 1999 First Edition - New Publication
Notice
(1) This manual should be passed on to the end user.
(2) Yokogawa Electric Corporation (hereinafter simply referred to as Yokogawa) does not
warrant that the functions contained in this product will suit the particular purpose of
the user.
(3) Under absolutely no circumstances may the contents of this manual, in part or in
whole, be transcribed or copied without permission.
(4) The contents of this manual are subject to change without prior notice.
(5) 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 representative or sales office.
(6) In the interest of protecting and ensuring the safety of this product and the system
which is controlled by this product, ensure that all instructions and precautions in this
manual relating to safety are adhered to in the use of this product. If separate protec-
tion and/or safety circuits are to be installed for this product or the system which is
controlled by this product, ensure that such circuits are installed external to the prod-
uct. Do not attempt to make modifications or additions internal to the product.
(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.
(8) Concerning the software supplied by Yokogawa on floppy disks:
1. This software is to be used on only one specific computer. If it is required on other
computers as well, purchase that software separately.
2. The copying of this software for any purposes except backup is strictly prohibited.
3. Keep the floppy disks (originals) of this software in a safe place. If the original
disks are not in user’s possession, Yokogawa may decline to provide quality
assurance and maintenance services.
4. The decompiling or reverse-assembly, etc., of this software (“reverse engineer-
ing”) is strictly prohibited.
The document number and document model code for this manual are as follows:
Document number: IM 34M6H54-01E
Document model code: DOC IM
Please refer to the document number in all communications; also refer to the document
number or document model code when purchasing additional manuals.
1st Edition : Feb.01,1999-00Media No. IM 34M6H54-01E (CD) 1st Edition : Feb. 1999 (YK)
All Rights Reserved Copyright © 1999, Yokogawa Electric Corporation

ii
<Toc> <Ind> <Rev> <Preface>
IM 34M6H54-01E 1st Edition : Feb.01,1999-00
◆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).
●Documentation Conventions
Symbol marks used.
The following symbol marks are used in this manual:
CAUTION
Indicates that the operator must refer to an explanation in this manual to avoid dam-
age to the modules.
TIP
Gives information that complements the present topic.
SEE ALSO
Referential items and page numbers are indicated.
The modules listed in the following table can also be used for the “astnex” open-architecture
system (the additional code “/A” is appended to the model and suffix codes of these mod-
ules.)
F3XS04-3N (pulse input module) F3XS04-3N/A
F3XS04-4N (pulse input module) —
Model and suffix codes for
FA-M3 modules in this manual Corresponding model and
suffix codes for astnex
T00.EPS

<Toc> <Ind> <Rev> <Preface> iii
IM 34M6H54-01E 1st Edition : Feb.01,1999-00
◆Safety Precautions
This instrument is an IEC safety class I instrument (provided with terminal for protective
grounding). The following general safety precautions must be observed during all phases
of operation, service and repair of this instrument. 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.
The following symbols are used on this instrument.
To avoid injury, death of personnel or damage to the instrument, the operator must
refer to an explanation in the Instructions Manual.
Protective grounding terminal.
Function grounding terminal. This terminal should not be used as a “Protective
groundingterminal.”
Alternating current.
Direct current.
Make sure to comply with the following safety precautions. Not complying might
result in injury, death of personnel or damage to the instrument.
WARNING
Power Supply
Ensure the source voltage matches the voltage of the power supply before turning ON
the power.
Protective Grounding
Make sure to connect the protective grounding to prevent an electric shock before
turning ON the power.
Necessity of Protective Grounding
Never cut off the internal or external protective grounding wire or disconnect the wiring
of protective grounding terminal. Doing so poses a potential shock hazard.
Defect of Protective Grounding and Fuse
Do not operate the instrument when protective grounding or fuse might be defective.
Do not Operate in an Explosive Atmosphere.
Do not operate the instrument in the presence of flammable liquids or vapors.
Operation of any electrical instrument in such an environment constitutes a safety
hazard.

iv
<Toc> <Ind> <Rev> <Preface>
IM 34M6H54-01E
Waste Electrical and Electronic Equipment
Waste Electrical and Electronic Equipment (WEEE), Directive 2002/96/EC
(This directive is only valid in the EU.)
This product complies with the WEEE Directive (2002/96/EC) marking requirement.
The following marking indicates that you must not discard this electrical/electronic product
in domestic household waste.
Product Category
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.
1st Edition : Feb.01,1999-00

Toc-1<Int> <Ind> <Rev>
IM 34M6H54-01E
CONTENTS
1st Edition : Feb.01,1999-00
Pulse Input Module
IM 34M6H54-01E 1st Edition
Preface....................................................................................................................i
◆Introduction.........................................................................................................ii
◆Safety Precautions.............................................................................................iii
1. Overview..................................................................................................1-1
2. Functions and Operation...........................................................................2-1
2.1 Specifications....................................................................................................2-1
2.2 Operation of Modules........................................................................................2-5
3. Attaching and Wiring Modules...................................................................3-1
3.1 Attaching and Detaching Modules.....................................................................3-1
3.1.1 Attaching Modules............................................................................3-1
3.1.2 Detaching Modules...........................................................................3-1
3.1.3 Attaching Modules in Intense Vibration Environments.......................3-2
3.2 Wiring Precautions............................................................................................3-3
4. ModuleAccess.........................................................................................4-1
4.1 Access Using Ladder Special Module Instructions............................................4-1
4.1.1 List of Data Position Numbers...........................................................4-1
4.1.2 Reading Data (READ/HRD)..............................................................4-2
4.1.3 Writing Data (WRITE/HWR)..............................................................4-4
4.1.4 Reading Input Relays.....................................................................4-10
4.1.5 Output to Output Relays.................................................................4-12
4.2 Access Using BASIC Statements....................................................................4-13
4.2.1 List of Statements...........................................................................4-13
4.2.2 List of Data Position Numbers.........................................................4-14
4.2.3 Declaring Use of Module (ASSIGN)................................................4-14
4.2.4 Reading Data from the Pulse Input Module (ENTER)......................4-15
4.2.5 Reading the Setting Data (STATUS)...............................................4-15
4.2.6 Writing the Setting Data (CONTROL)..............................................4-15
4.2.7 Reading Input Relays.....................................................................4-19
4.2.8 Output to Output Relays.................................................................4-23
4.2.9 Interrupt..........................................................................................4-26
5. Sample Programs.....................................................................................5-1
5.1 Sample Program Using LadderApplication Instructions....................................5-2
5.2 Sample Program Using BASIC Statements.......................................................5-4

Blank Page

<Toc> <Ind> <1. Overview > 1-1
IM 34M6H54-01E 1st Edition : Feb.01,1999-00
1. 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.
Asingle F3XS04 module can receive up to 4-channel pulse signals.
Features
• Up to 20-kHz pulse signals can be received with four independent inputs.
• The input and output terminals are insulated from the internal circuit with
photocouplers.
• Afilter can be selected using software to suppress chattering in the input signals.
• At the count edge, either the rising edge or the falling edge can be selected.
• Incorporates a 16-bit ring-up counter. The maximum ring size is programmable.
• Each channel can have two preset values.
• Generates various types of outputs for combinations of counter values and preset
values.
• Asingle channel can set up to four external programmable outputs.
• Generates an interrupt signal when the counter value reaches a preset value or
exceeds its maximum value.
• Counter operation can stop immediately after the counter value returns to zero.

Blank Page

<Toc> <Ind> <2. Functions and Operation > 2-1
IM 34M6H54-01E 1st Edition : Feb.01,1999-00
2. Functions and Operation
2.1 Specifications
■Standard Specifications
Table 2.1 Standard Specifications
Number of channels 4
Count range $0000 to $FFFF (16 bits)
Operation mode Ring up-counter
Type DC voltage
Rated input voltage 24 V DC 12 V DC
Frequency 0 to 20 kHz
Minimum pulse width 10 µs
Filter 4 µs to 132 ms (for chatter elimination)
Number of points 4
Format Transistor contact
Rated load voltage 12 to 24 V DC
Counter value ≥Preset values 1, 2
Counter value = Preset values 1, 2
Counter value = 0 return *1
Insulation method Photocoupler-isolated.
(all input/output points are independent.)
External connection 18-point terminal block, M3.5 screws
External dimensions 28.9 (W) ×100 (H) ×83.2 (D) mm *2
Current consumption 150 mA (at 5 V DC)
Weight 170 g
Item Specifications
F3XS04-3N F3XS04-4N
Counter
Input signal
Output signal
Internal comparison
General
specifications
T0201.EPS
*1: Acounter operation of wrapping around to zero value.
*2: Excluding any protrusions (see External dimension diagram for details.)

2-2
<Toc> <Ind> <2. Functions and Operation >
IM 34M6H54-01E
■Components and Their Functions
PULSE
OUT4
IN1
OUT1
XS04- uN
+
-
+
-
L
IN4
+
-
+
-
L
OUT3
IN3
+
-
+
-
L
OUT2
SHIELD
SHIELD
IN2
+
-
+
-
L
I
O
CH1 I
O
CH2 I
O
CH3 I
O
CH4
RDY
RDY indicator:
Lit when the internal circuit is operating normally.
CH1 to CH2 indicator:
The following indicators light up channel-by-
channel, when the corresponding condition
occurs.
I: The input signal goes on.
O: The output signal goes on.
F0201.EPS
Figure 2.1 Front View
■Internal Circuit
Filter Counter
Counter
Photocoupler
Photocoupler
Same as the above.
Same as the above.
Internal circuit
Display circuit
L
L
4
3
2
1
15
16
17
18
IN 1
OUT 1
IN 4
OUT 4
+
–
+
–
+
–
+
–
9
10 FG
Shielded wire
I/O
bus
+5V
F0202.EPS
Figure 2.2 Circuit Configuration
1st Edition : Feb.01,1999-00

<Toc> <Ind> <2. Functions and Operation > 2-3
IM 34M6H54-01E
■External Connection Diagram
1
3
5
7
9
11
13
15
17
1
2
5
6
10
11
12
15
16
3
4
7
8
9
13
14
17
18
2
4
6
8
10
12
14
16
18
IN1
–
+
–
+
–
+
–
+
–
+
SHIELD SHIELD
OUT1
IN2
–
+
IN3
–
+
IN4
–
+
L
OUT2
L
OUT3
L
OUT4
L
F0203.EPS
Figure 2.3 Terminal Arrangement and Interconnections
8.2 mm
M3.5 screws
7.1 mm
6.4 mm
F0204.EPS
Figure 2.4 Terminal Screw
■External Connections
Table 2.2 Wire and Terminals
Applicable conductor size 0.3 to 0.75 mm
2
(AWG22 to 18)
Wire connection method Crimp-on type
Wire temperature rating 75°C min.
Wire material Copper
Crimp-on terminals For M3.5 screws
Tightening torque 0.8 N.cm (8 kgf.cm, 6.9 lbf.in)
Applicable crimp-on Example: Japan Solderless Terminal Mfg Co.,Ltd.: V1.25-M3
terminals Nihon Tanshi Co.,Ltd.: RAV1.25-3.5
Connection Method Terminal block type
Crimp-on
terminals
T0202.EPS
1st Edition : Feb.01,1999-00

<Toc> <Ind> <2. Functions and Operation > 2-5
IM 34M6H54-01E
2.2 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). The counter can count from $0 to $FFFF in hexadecimal. If the counter value
exceeds $FFFF, the counter will reset to 0.
Select a count edge of either rising or falling to count the number of input pulses (see the
input functions).
TIP
Note that a count value exceeding 32,767 in decimal numbers is expressed as a negative number.
■Setting the Ring Up-Counter Maximum Value
The counter has been set to count $0 to $FFFF in hexadecimal as a ring up-counter.
However, the maximum count value of the counter can be changed by setting bit 1 at the
input data set position and changing preset value 2 to an appropriate value. The ring up-
counter maximum set value is given by:
Ring up-counter maximum value = (preset value 2) – 1
In the above setting, if bit 0 is set, the ring up-counter maximum value will be $FFFF (see
the example below).
Example: When set value 2 is changed to 5, the ring up-counter is configured as follows:
Counter value changes: 0 to 1 to 2 to 3 to 4 to 0 to 1 to 2 to 3 to 4 to 0 to 1 to 2 to ......
The module detects a preset value when the counter value changes from 4 to 5, and
the counter will then reset to 0. This will configure a 0 to 4 ring up-counter.
When the counter is used as a variable ring up-counter, set the ring maximum value greater
than 20 (instead of set value 2). If the input pulse frequency is 1 kHz or lower, there is no
maximum set value limitation on preset value 2.
Input pulse frequency Preset value 2 for variable ring up-counter
0 Hz to 1 kHz No limitations on preset value 2
1 to 20 kHz Preset value 2 ≥20 TC0202.EPS
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.
1st Edition : Feb.01,1999-00

2-6
<Toc> <Ind> <2. Functions and Operation >
IM 34M6H54-01E
■Resetting the Counter
Resetting the counter means that the counter value returns to 0 (zero). Acounter 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 relaysYuuu36,Yuuu40,Yuuu44, andYuuu48(slot
numbers for modules are entered in uuu) related to input channels 1 to 4 will reset
their related counter values.
(2) Counter value exceeds its maximum value
Acounter value is reset when it exceeds its maximum value.
■Counter Enabled and Disabled
Operation of the counter is enabled or disabled by setting the following:
(1) Enabling or disabling the counter by output relays
To set Counter Enabled or Disabled, use output relays Yuuu49, Yuuu53,
Yuuu57, and Yuuu61 (slot numbers for modules are entered in uuu) related to
input channels 1 to 4. While the output relay related to the input channel is off (0),
counter operation is disabled. While the output relay related to the input channel is on
(1), counter operation is enabled. Counter operation in the initial state after the power
is turned on is disabled (“stop counter operation”).
(2) Automatically stop the counter operation when the counter value is reset.
Operation of the counter will stop when the counter value exceeds its maximum value
and it is then reset. To stop the counter operation, set bit 1 rather than bit 2 at the data
position at which the corresponding input is set. When 0 is set for bit 2, counter
operation will continue.
To restart the counter operation, turn on the output relays related to the input channels 1 to
4(Yuuu35,Yuuu39,Yuuu43,andYuuu47).
1st Edition : Feb.01,1999-00

<Toc> <Ind> <2. Functions and Operation > 2-7
IM 34M6H54-01E
■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)
• Counter value is smaller than the preset value (counter value < preset value)
• Counter value is equal to or greater than the preset value (counter value ≥preset
value)
These comparisons are applied to the input relays Xuuu01 to Xuuu31 (not including
Xuuu04, Xuuu08, Xuuu12, Xuuu16, Xuuu19, Xuuu20, Xuuu23, Xuuu24,
Xuuu27, and Xuuu28).
Input relays Xuuu01 to Xuuu15 (not including Xuuu04, Xuuu08, and Xuuu12) and
the corresponding external outputs will be off (0) if the related output relaysYuuu33
throughYuuu47 (not including Yuuu36,Yuuu40, and Yuuu44) change from off (0) to
on(1).
Preset value 2 is applicable as a maximum value of the ring up-counter.
The following gives an example of the coincidence of a counter value and the preset value.
When the set value is 0 (initial value):
The coincidence is detected when a counter value exceeds its maximum value and
returns to 0.
When $FFFF is set for the set value:
The coincidence is detected when the counter value exceeds $FFFE and then
reaches $FFFF.
TIP
The coincidence of a counter value with a preset value is detected when the counter value reaches the
preset value. However, when an output relay resets a counter value to 0 and the preset value is 0, or
when the set value has been changed to agree with the current counter value, the coincidence will not be
detected.
■Interrupts
An interrupt can be allowed in the following states:
(1) When the counter value and preset value 1 coincide;
(2) When the counter value and preset value 2 coincide; and
(3) When the counter value resets to 0 (zero).
This interrupt is allowed by declaring an interrupt.
1st Edition : Feb.01,1999-00

2-8
<Toc> <Ind> <2. Functions and Operation >
IM 34M6H54-01E
■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-
ing states, “output normally on” and “output normally off.” In the initial state, latched
outputs, after the counter values have been compared with preset value 1, will be
selected.
The latched outputs are turned on when the counter value and preset value 1 or 2
coincide, or when the counter value exceeds a ring up-counter maximum value and is
reset. If a user’s program turns on a related output relay, the latched output will be off
(0). The latched output remains on until it is reset.
Astate output will be on when the comparison operation is true, and will be off when
the comparison operation is false.
The counter operating status indication output remains on (1) while the counter is in
operation, and remains off (0) while the counter is not in operation.
An output that is normally on or off remains on or off regardless of the counter operat-
ing status.
(2) Interconnections between input and output channels
Up to four remote output terminals can be set to output comparison results obtained in
a one-input channel. In the initial state, “output is issued to remote output terminals
n
relating to the input terminal
n
” has been set. For example, comparison results in input
channel 1 are issued to remote output terminal 1.
Interconnecting between the input and output channels allows comparison results of
counter values in input channel 1 with preset values 1 and 2 to be output to four
remote output terminals. However, note that comparison results in input channels 2
through 4 cannot be issued to the remote output terminals.
1st Edition : Feb.01,1999-00

<Toc> <Ind> <2. Functions and Operation > 2-9
IM 34M6H54-01E 1st Edition : Feb.01,1999-00
■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. Input filter constants are common to all input channels. For applica-
tions where the modules are used in a location with undesired electrical disturbance, set an
appropriate filter using application software.
Pulse input
$FFFF
$00 $02 $06
Preset value 2
Preset value 1
0
Counter enabled
Yuuu49 *
1
Input functionality
Counter value resets to 0 (zero)
Xuuu03 *
1
X03 (reset)
Yuuu35 *
1
F0206.EPS
Counter
value
*1: The relay numbers shown above are for channel 1.
Figure 2.6 Counter Operations (1)

2-10
<Toc> <Ind> <2. Functions and Operation >
IM 34M6H54-01E
Pulse input
$FFFF
$00
Preset value 2 *1
Preset value 1 *1
0
Counter enabled
Yuuu49 *2
Input function
Counter value resets to 0
Xuuu03 *2
Counter value = preset value 1
Xuuu01 *2
Counter value = preset value 2
Xuuu02 *2
Counter value ≥preset value 1
Xuuu17 *2
Counter value ≥preset value 2
Xuuu18 *2
X01 (reset)
Yuuu33 *2
X02 (reset)
Yuuu34 *2
X03 (reset)
Yuuu35 *2
F0207.EPS
Counter
value
*1: If the set value exceeds 32,767 in decimal numbers ($7FFF in hexadecimal), it will be handled as a negative integer,
and compared with signed integers (0 to 65,535) for comparison operations inside the XS04.
*2: The relay numbers shown above are for channel 1.
Figure 2.7 Counter Operations (2)
1st Edition : Feb.01,1999-00
This manual suits for next models
2
Table of contents
Other YOKOGAWA I/O System manuals
Popular I/O System manuals by other brands

Measurement Computing
Measurement Computing PCI-DIO24 user guide

Artistic License
Artistic License vSplit mono xlr8-8 user guide

M-system
M-system R7F4DC-DAC16C-H instruction manual

M-system
M-system 6BSN instruction manual

Mitsubishi
Mitsubishi FX3U-16CCL-M installation manual

NCR
NCR 7772-K038 Kit instructions

Tektronix
Tektronix VX4801 user manual

Crestron
Crestron DMB-4K-CPU-128 Installation guides

Allen-Bradley
Allen-Bradley ArmorBlock-LP 1792-IB16LP installation instructions

Rockwell Automation
Rockwell Automation Allen-Bradley GuardPLC 1753-IB20XOB8 installation instructions

GST
GST I-9301 quick start guide

DOLD
DOLD BG 5914.08 0 Series operating instructions