0% found this document useful (0 votes)
336 views32 pages

F1 40MR ES Datasheet

Uploaded by

Sơn Nhất Hà
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
336 views32 pages

F1 40MR ES Datasheet

Uploaded by

Sơn Nhất Hà
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

Data Pack D Issued March 1995 019-206

Programmable logic controller


Data Sheet (PLC) system F1-series

The RS/Mitsubishi F1 PLC range 4 FX-MING graphics package


The F1-series PLC system is an integrated family of 5 Accessories
components using a modular approach. They are 5.1 EEPROM/EPROM programmer
compatible with the majority of the components of the 5.2 EPROM cassette
F2-series thus allowing a high degree of user flexibili- 5.3 EEPROM cassette
ty. 5.4 Analogue I/O unit
5.5 Input simulators
5.6 Other accessories for use with F1 PLC
Section index 5.7 F1-F2 series programming manual
1 Introduction 6 Programming
1.1 System features 6.1 Basics
1.2 System interconnection 6.2 Memory map F1 series
2 Base and extension units 6.3 Programming examples
2.1 Base units 6.4 Circuit examples
2.2 Extension units 7 Typical control example
3 Programmes 8 F1 facilities - additional features
3.1 Graphic programming panel 9 Special function listing.
3.2 Advanced programming panel
3.3 Basic programming panel Note: There are numerous references made to the F2
3.4 Data access unit series PLC range, which is no longer available, but
3.5 FX-MEDOC documentation software many of these items may be used with either items
3.6 F1/F2 to FX-MEDOC software upgrade kit from the F1 or F2 range.
3.7 F/PLC interface unit
019-206

1 Introduction Alternatively, in the majority of applications the same


A programmable logic controller is a system for con- control function can be performed using the F1-20I/O
trolling industrial and production processes, electro- plc base unit (RS stock no. 318-250). Once pro-
mechanical equipment and automated assembly oper- grammed (using a programming panel) the controller
ations. This control function is performed by can be directly connected to the input and output
continuously monitoring the states of all the input devices. Programming will typically take 1-2 hours.
devices connected to the controller (eg. proximity Any alterations to the control function of the system can
switches and mechanical contacts). Following the user be simply implemented within minutes by modifying
instructions stored in the controller (known as the the stored program. Other advantages over more con-
program), the states of all of its output devices are set ventional systems include compact size, low power
as appropriate (eg. relays, solid state relays or transis- consumption, fast response, versatility and lower over-
tors). These output elements can in turn control the all cost. As the input/output requirements of a system
operation of an external system. increase, the advantage of using a PLC becomes much
more significant due to the complexity of the equiva-
Due to the simplicity of entering and modifying the lent hardwired system and its labour and material
programmed instructions to suit the requirements of costs.
the process under control, the PLC is a truly versatile
and flexible device that can be employed easily and
efficiently to repeatedly control tasks that vary in 1.1 System features
nature and complexity.
● 12 to 120 I/O capacity
A schematic diagram of the basic PLC control system
is shown in Figure 1. ● All mains powered components are suitable for
110/240Vac operation
In this representation the central processing unit con-
trols the overall operation of the system. Input devices ● Same physical size as the equivalent F2-series
may be switches, relay contacts, timers, solid state components
switches, proximity and limit switches, sensors, ● Removable terminal blocks on the 40 and 60 I/O
analogue to digital converters or other electronic units
circuits. The output devices may be external relays, ● Analogue I/O capability for interfacing with sensors,
heating elements, lights, alarms, sub-assemblies, elec- transducers, drivers and indicators
tronic and electrical circuits, motors or other electronic ● Arithmetic functions
and electrical circuits, motors or other electromechan-
ical devices. ● Built-in high speed counting facility
To illustrate the advantages of using a PLC over a ● Choice of external program storage (EPROM,
traditional electromechanical system consider a con- EEPROM or cassette tape)
trol system with 20 input/output points. This assembly ● 1000 step program capacity on all units
could comprise 60-80 relays, some counters and/or ● I/O status and self monitoring via LED indication
timers and a great deal of wiring. This assembly would ● User instructions are supplied where necessary.
be cumbersome with a power consumption of 30-
40VA. A considerable time would be required to
design, build, test and commission the assembly and
once it is in full working order any desired modifica-
tions, even of a minor nature, could require major
hardware changes.

Figure 1 Schematic diagram

Note: For a comprehensive description of features and facilities relating to the F1 PLC, refer to the F1-F2 series programming manual
(RS stock no. 319-613).

2
019-206

Table 1 F1 and F2 series compatibility F1 and F2 Accessory Compatibility Table


RS Mitsubishi Old Enhanced
Program loader Description stock no. part no. F1 F2 F2
printer interface MING graphics 628-800 FX-MING YES YES YES
computer package
Base units MEDOC documentation 628-793 FX-MEDOC YES YES YES
software package
Programmers Extension units
12 I/O F1 12 Graphic programming panel 318-834 GP-20F-E YES YES YES
Refer to Accessory 20 I/O F1 20 F1 10 10 I/O Advanced F2 programming
Compatibility Table
30 I/O F1 30 panel 331-663 F2-20P-E YES YES YES
F1 20 20 I/O
40 I/O F1 40 F1 40 40 I/O Programming panel 354-846 F1-20P-E YES YES YES
60 I/O F1 60
Data access unit 354-997 F-20DU2 YES YES YES
F1 60 60 I/O
Program loader/printer
40 I/O F2 40 F2 40 40 I/O interface 330-806 F2-20H-DE YES YES YES
60 I/O F2 60
EPROM/EEPROM
F-4T-E programmer 354-975 F2-20MW-E YES YES YES
Accessories 4-channel analogue timer EPROM cassette 332-789 F-ROM-1 YES YES YES
F2-6A-E Analogue I/O 1K EEPROM cassette 318-345 F-EEPROM-1YES NO YES
Refer to Accessory
Compatibility Table module - F1 and enhanced Programming panel/EPROM
F2 units only 331-708 F-20P-CAB YES YES YES
programmer extension cable
Analogue timer -4-channel 331-225 F-4T-E YES YES YES
denotes expansion port
Analogue I/O module 318-351 F2-6A-E YES* NO YES
Peripheral power supply 343-931 F-PSU-2A YES YES YES
Notes: 1. F2 base units are compatible with F1-10, 20 and 40 extension units
Input simulators Refer to text
see I/O selection chart.
2. F1/F2 base units (24Vdc input versions) interface directly to input DIN-rail kits
devices such as limit switches, relays, timers and counters with F1/F2 to FX MEDOC 354-981 YES YES YES
relay or switch output. PNP versions of inductive and optical prox- upgrade kit
imity switches may also be directly interfaced - refer to
sensors/transducers section. *Except F1-12
3. For a comprehensive description of features and facilities relating to
both the F1 and F2 PLC systems a detailed programming manual
RS stock no. 319-613 is available.

Table 2 The RS PLC system (F1/F2) - possible I/O combinations


Total I/O 12 20 22 30 32 40 50 60 70

Inputs 6 12 10 16 16 18 24 20 24 28 28 36 32 36 40 40

Outputs 6 8 12 14 14 14 16 20 16 22 22 24 28 24 30 30

Base 12 20 12 20 30 12 20 30 40 30 40 40 40 60 40 60

Extension 10 10 30 20 10 20 10 20 10 20 10

10 10

Total I/O 80 90 100 110 120

Inputs 48 48 48 44 52 48 60 60 56 64 64 72 72 72

Outputs 32 32 32 36 38 42 40 40 44 46 46 48 48 48

Base 40 40 60 60 60 60 60 60 60 60 60 60 60 60

Extension 40 20 20 10 20 10 40 20 20 20 40 40 60 20

20 10 10 10 20 10 20 10 20 20

10 10 10 20

1.2 System interconnection Number of extension


Base unit
In general a PLC system comprises a base unit plus ports available
one or more extension units and or analogue I/O F1-12 1
unit(s) or timer(s). The F1 system base and extension F2/F1-20 1
units can be integrated with the F2-series base and F1-30 1
extension units to form many I/O combinations as F2/F1-40 2
shown in Tables 1 and 2. F2/F1-60 3
Note: The criterion for adding extension units, ana- Thus the F1-60 base unit can have for example an F1-
logue timers and analogue I/O units to a PLC base unit 20 extension unit plus one analogue timer plus an ana-
is determined by the number of extension ports logue I/O unit or it can have one F2-40 extension unit
available on the base unit and the number of extension plus one other add-on unit requiring a single port etc.
ports required by the add-on units as shown below.
Number of extension
Add-on unit
ports required
F1-10 1
F1-20 extension 1
F2/F1-40 unit 2
F1-60 3
F-4T timer 1
F2-6A analogue I/O unit 1

3
019-206

2 Base and extension units Features


● 110/240Vac supply operation
2.1 Base units ● Opto-isolated inputs
This is the main component of the PLC system. It ● LED indication for I/O status and system operation
contains the central processing unit (CPU) and the conditions
program memory as well as specified I/O capability. ● Relay outputs
Built-in timers, counters and internal (auxiliary) relays ● Removable screw terminal blocks on the F1-40 and
are also incorporated. The F1-series base units range F1-60
from 12 (F1-12) to 60 I/O (F1-60) in size. ● Surface/DIN rail mounting (except the F1-60)
● 1000-step program capacity on all units
Base units ● 5 year battery back-up for the built-in RAM memory
● External program storage in EPROM, EEPROM or
cassette tape*
F1-12
W.165 H.90 D.90
● Mathematical capabilities on BCD data
● Analogue I/O capability (except for the F1-12) via
the analogue I/O unit which provides 4 input and 2
output channels
● 32 timers, 30 counters and 232 internal relays
F1-20 ● Standard ladder logic and step ladder
W.250 H.90 D.90 programming
● Built-in 2kHz high speed counter for sensor
interface
● External or programmed 'emergency off' switching
for all inputs
F1-30
● Input simulators available for all base units.
W.275 H.90 D.90
* For this type of storage the F2 programming panel
(RS stock no. 331-663) or LCD programming panel
(RS stock no. 318-834) is required. Alternatively the
program loader (RS stock no. 330-806) can offer
F1-40 this facility.
W.300 H.110
D.110

The following F2 PLC system components are


compatible with the F1 base units (refer to the
current RS catalogue for details).
F1-60 20/40 I/O extension units
W.350
Basic, F2 advanced and LCD programming
H.110 panels
D.140 EPROM programmer
EPROM cassette
Programmer extension lead
Analogue timer units
DIN rail kits
Program loader/printer interface.

Mitsubishi part no. RS stock no. Note: For a comprehensive description of


F1-12MR-ES 318-244 features and facilities relating to the PLC, refer to
F1-20MR-ES 318-250 the F1-F2 series programming manual (RS stock no.
F1-30MR-ES 318-266 319-613).
F1-40MR-ES 318-272
F1-60MR-ES 318-288

Instruction manual supplied.

4
019-206

2.2 Extension units Features


An extension unit increases the I/O capability of the ● 110/240Vac supply operation
base unit. Possible combinations of base and extension ● Opto-isolated inputs and relay outputs
units are given in Table 2. ● Screw terminal connections, with the 40 and 60 I/O
versions having removable terminal blocks to
Extension units simplify maintenance
● LED indication for I/O status and power 'on'
● Surface/DIN rail mounting (except for the 60 I/O
F1-10 version)
W.165 H.90 D.90 ● Totally compatible with the F2 series base units
● Input simulators available for the 20, 40 and 60 I/O
versions
● Dimensionally identical to the corresponding base
unit.
F1-20
W.250 H.90 D.90

Mitsubishi part no. RS stock no.


F1-10ER-ES 318-294
F1-20ER-ES 318-301
F1-40 F1-40ER-ES 318-317
F1-60ER-ES 318-323
W.300 H.110
D.110

The following F2 PLC system components are


compatible with the F1 extension units (refer to
the current RS catalogue for details).
F1-60 All base units
W.350 DIN rail kits
H.110
D.140

5
019-206

Mitsubishi part no. RS stock no. Suitable base unit Suitable extension unit
F1-12M-IS 318-367 F1-12MR-ES
F1-20M-IS 318-373 F1-20MR-ES F1-20ER-ES
F1-30M-IS 318-389 F1-30MR-ES
F1-40M-IS 318-395 F1-40MR-ES F1-40ER-ES
F1-60M-IS 318-402 F1-60MR-ES F1-60ER-ES

Base and extension unit specifications


General specifications
Power supply 93.5-132V/187-264Vac
Ambient temperature 0±C to +55±C
Ambient humidity 45-95%, no condensation
Insulation withstand voltage ac 1500V, 1 min. (between earth terminal and all other terminals)
Insulation resistance 5MΩ 500Vdc (between earth terminal and all other terminals)
Grounding Less than 100Ω

Functional specifications (base unit)


Execution speed Average 12µ second/step
Program capacity 1000 steps
Basic sequence 20 instructions (including MC/MCR, CJP/EJP, S/R)
Instructions Stepladder 2 instructions (STL, RET)
Function block 87 instructions (including +, -, 3, ÷, <, =, ≥, etc.)
Program memory CMOS-RAM built in, EPROM-EEPROM and tape cassette
128
Standard
64 with battery back-up
Auxiliary relays
State 40 (can be used as normal with battery back-up)
Special relays 16
Data register 64
0.1 sec timers 24 on-delay timers (0.1-999 seconds)
Timers
0.01 sec timers 8 on-delay timers (0.01-99.9 seconds)
Counters (retentive) 30 down counters (0-999)
High speed counter (retentive) 1 up/down counter (0-999999), maximum 2kHz
Battery back-up Lithium battery approximately five years life
Diagnosis Program check (sum, syntax, circuit check), watch-dog timer, battery
voltage, power supply voltage

Input specifications
Input device Non-voltage contacts or PNP open collector transistor
Isolation Photo-coupler isolated
Input voltage Built-in supply 24V±4Vdc, external supply 24V±8Vdc
Input impedance Approximately 3.3kΩ
OFF→ON dc 4mA minimum
Operation current
ON→OFF dc 1.5mA maximum
OFF→ON
Response time Approximately 10ms (8 inputs can be changed from 0 to 60ms)
ON→OFF

Output specifications
Output Relay output
Resistive load 2A/point
Output load Inductive load 35VA/up to 300,000 operations (without additional components)
Lamp load 100W
Leakage current 0mA
OFF→ON
Response time Approximately 10m sec
ON→OFF

6
019-206

Individual specifications

Models F1-12MR-ES F1-20MR-ES F1-40MR-ES F1-60MR-ES


F1-10ER-ES F1-20ER-ES F1-30MR-ES F1-40ER-ES F1-60ER-ES
6 (F1-12)
Number of inputs 12 16 24 36
4 (F1-10)
Number of outputs 6 8 14 16 24
Terminal block Fixed terminals Removable terminals
Power consumption 18VA 20VA 22VA 25VA 40VA
Input sensor power 0.1A 0.1A 0.1A 0.1A 0.2A

3 Programmers Features
● A high resolution liquid crystal display (128 dot 3
3.1 Graphic programming panel 128 dot) with adjustable contrast control,
This powerful, small graphic programming panel is incorporating system prompt and message
compatible with all RS PLC base units (F1 and F2). The information. (11 lines 3 9 columns: 11 contacts + 1
unit offers a large LCD display area upon which PLC coil per line)
programs may be entered, modified and monitored. ● A choice of programming mode and display
formats, including ladder, list and batch
representations
Graphic programming panel ● A ladder 'zoom' facility incorporating enhanced
element identification
● Output force and online monitoring capabilities
● A tactile programming keypad with adjustable
audible feedback
● A retentive memory for up to 12 hours
● A standard cassette tape recorder interface (via
lead supplied) to provide program storage facilities
on tape. Program transfer from tape to the PLC base
is also possible as is program comparison between
tape and RAM
● May be plugged directly into the base unit.
Alternatively a 1.5m extension cable RS stock no.
331-708 is available
● A single portable panel can be used to program any
number of base units.
Supplied complete with instruction manual and
cassette lead.
Mitsubishi part no. RS stock no.
GP-20F-E 318-834

7
019-206

3.2 Advanced F2 series programming panel Features


This programming panel is compatible with all of the ● 35-key programming keypad incorporating tactile
RS PLC range of base units. It is particularly suitable feedback
for F2 base units incorporating expanded program ● Simultaneous display of program step number
memory capacity of 2000 steps as it features an instructions and element number or data
enhanced LED display and all necessary keys to sim- ● Operation mode selector switch
plify the programming of the more powerful functions
and facilities available. Most keys have a dual function ● Base unit type selector switch and LED indication
whose operation is defined automatically according to ● On/Off state monitoring of program elements and
the previous keystrokes entered. instructions during PLC operation
Note: This panel allows F1 series users to take advan- ● Standard cassette tape recorder interface (via lead
tage of the standard cassette tape recorder interface to supplied) to provide program storage facility on
facilitate program storage and program comparison. tape. At least five copies of one complete program
can be stored on one side of a 30-minute tape.
Program transfer from tape to the PLC base RAM is
Advanced F2 programming panel also possible as is program comparison between
tape and RAM
● May be plugged directly into the base unit.
Alternatively a 1.5m extension cable RS stock no.
331-708 is available
● A single portable panel can be used to program
any number of base units. User instruction manual
is supplied; however a comprehensive program-
ming manual RS stock no. 319-613 is essential for
programming the system and is available
separately.

Display description

F2-40 60 F2-20P MITSUBISHI ELECTRIC CORP.

F-40 STEP LD AND OR MC STL INSTR CMT

7 /LDI 8 /ANI 9 /ORI MCR RET STEP RECORD


F-12 20

4 /OUT 5 /AND 6 /ORB S DELET STEP (-) READ


CMT INSTR
MONITOR
1 /RST 2 /SFT 3 /PLS R INSERT STEP (+) VERIFY
ON/OFF
K/ WHITE
PROGRAM 0 /NOP - /END CJP EJP SEARCH MONITOR CLEAR

ACT DATA
Mitsubishi part no. RS stock no.
F2-20P-E 331-663

Indicator LED Indicator description


Base unit type indicator This shows the position of the
base unit selector switch on the
side of the programming panel.
Important: ensure base unit
selector switch is set correctly
before programming or
monitoring.
CMT indicator This is turned 'ON' when the
programming panel is in
cassette tape mode.
ON/OFF indicator This indicates the ON/OFF status
of an element whilst being
monitored.
ACT indicator This indicates that a given rung
in the program is energised.
This is used in conjunction with
instruction monitoring which is
possible on the F2 series while
the PLC is in RUN or STOP
mode.
In addition the F2 programming panel displays
simultaneously the step number (max 1999), instruction
and the element number or data (eg. counter value).

8
019-206

3.3 Basic programming panel 3.4 Data access unit (RS stock no. 354-997)
This programming panel is compatible with all of the This data access unit is specifically designed to be
RS PLC base units. It has a group of dedicated keys to 'panel' mounted and may be used with both F1 and F2
simplify programming of some of the more powerful PLC systems.
functions and facilities available on the base units. The unit enables operations to be performed via a
keyboard and large easy-to-read LED display.
Programming panel
Data access unit

Main features
● 31-key programming keypad
● 4-digit LED step number display. Compatible with
F1 PLC
● Simultaneous display of program step number, Main features
instruction and element number or data ● Full monitoring of Timers (T), Counters (C), Data
● Operation mode selector switch registers (D) and stepladder states
● Base unit type selector switch and LED indication ● Enables values of T, C and D to be modified direct-
● Automatic repeat stepping function ly without reverting to the program via program-
● Keypad audible tactile feedback ming panels
● On/Off state monitoring of program elements and ● Unit incorporates a 'user-definable' entry code
instructions during PLC operation facility, prohibiting unauthorised access
● May be plugged directly into the base unit. ● Real time clock facility for time and calendar setting
Alternatively a 1.5m extension cable (RS stock no. and display, and transfer to PLC.
331-708) is available The data access unit is supplied complete with an
● A single portable panel can be used to program interface unit, which connects directly to the PLC base
any number of base units. unit and connection cable (3m in length). Instruction
manual supplied.
User programming manual is supplied which must be
referred to when programming the F1 series.
Mounting requirements
Mitsubishi part no. RS stock no.
F1-20P-E 354-846

The following F2 PLC system components are


compatible with the basic programming panel
(refer to the current RS Catalogue for details).
F2-series base units
Programmer extension cable

9
019-206

3.5 FX-MEDOC documentation software


Typical configuration
This software package enables programs for F1, F2
Interface unit* F1, F2 series programmable controller and FX PLCs series to be generated, in list or ladder
format (and transposed either way) on an IBM PC, XT,
AT or 100% compatible. A colour monitor should be
regarded as a minimum requirement.
FX-MEDOC supersedes F-MEDOC RS stock no. 319-
635, now discontinued.
These programs may be annotated with comments to
identify, locate and define functions such as timers,
counters, input and output usage, etc.
These annotations are permanently stored within the
computer or on disk and may be displayed or includ-
ed in program printouts.
The package includes a comprehensive user manual
and both software diskettes and protocol converter.
The package enables the following functions to be per-
formed.
File handling - Project files can be read, written,
copied, created, erased and renamed on a disk.
Names - These may be given to all I/O addresses and
used while programming.
Data access* Comments - Program comments may be written and
unit
Cable* edited in either instruction or ladder form.
Lists - The following may be output on a printer:
- Comment list
*Items supplied in RS stock no. 354-852 package - I/O list
- Program list in instruction type
- Program list in ladder type
Data access unit specification - Cross reference list
- I/O use list
Power source 5Vdc, 100mA (supplied from - Parameter list.
programmable controller) Transfer a program direct to and from the program-
Working mable controller.
ambient Monitoring of the program in the PLC in ladder mode
temperature 0°C to +55±C and in name mode on the VDU screen.
Working MEDOC is simplified by an easy-to-learn menu system
ambient with a powerful help facility.
humidity 45% to 85% RH (no condensation)
It is always possible to obtain an explanation of a
Vibration 10Hz to 55Hz, 0.5mm (2G max.) 2 hours to
MEDOC function by simply pressing the HELP key.
each direction of 3 axes
Shock 10G (3 times to each direction of 3 axes)
Working Must be free from corrosive gas and
atmosphere excessive dust
Keyboard Key sheet type using polycarbonated flat
film
Display 7-digit red, 7-segment type (4.5 3 7mm)
Access unit W 120
dimensions H 174
D 50

Note:
Access unit equivalent to Mitsubishi part no. F-20 DU2.
Interface unit equivalent to Mitsubishi part no. F-20 DF.
Data access cable equivalent to Mitsubishi part no.
F-20 DU-CAB.

10
019-206

FX-MEDOC requirements ii) Using the protocol converter (SC03) supplied with
To run the MEDOC software the following conditions initial supplies of FX-MEDOC, or protocol converter
must be fulfilled: (S03 S1) supplied subsequently.
● The host computer must be an IBM-PC/XT/AT,
IBM-PS/2 or compatible computer
● The IBM-PC must have a ‘hard’ disk and ‘floppy’
drive
● The RAM memory must be at least 512Kbyte
● The IBM-PC must be equipped with an
asynchronous serial port; and a parallel port.

F1 PLC to PC connection
Programs may be transferred from the computer to F1
PLC using one of the following ways:
i) Using the protocol converter (SC02) previously
supplied with F-MEDOC

Note: SC03 and SC03 S1 protocol converter have a


port marked program. This port is not for FX hand held
programmer RS stock no. 628-692.

Mitsubishi part no. RS stock no.


FX-MEDOC package 628-793

3.6 F1/F2 to FX-MEDOC software upgrade


kit (RS stock no. 354-981)
This software upgrade kit enables existing MEDOC-F
documentation software users to compile programs for
F1, F2 and FX PLCs. It includes disks and interface
cable to be used via existing protocol converters.

11
019-206

3.7 F/PLC interface unit 4 FX-MING graphics package


This colour graphics IBM® or compatible personal
F/PLC interface unit computer based software package FX-MING is
designed to enable complete plant emulation/opera-
tion for users of F1, F2 and FX-Series PLCs, so as to
eliminate the need for hard wired mimics and other
monitoring devices. It allows pictorial representation
of the process being controlled by the PLCs, with
interactive display capability for data values, input/out-
put status for real time monitoring.
The manual supplied within the MING package
describes in depth the features and facilities available.
Topics covered include:
Introduction
Software overviews and installation
Hardware configuration
Drawing tutorial
F GEN reference section (system generation)
F MON reference section (system monitor).

Mitsubishi part no. RS stock no.


F2-20 GF1 319-641

The unit enables programs to be transferred in either


direction between computer and PLC. Connection to
the FX-MEDOC package is detailed in the previous
entry. Connection to the F-MING package requires
cables to be made to length to suit the system’s instal-
lation requirements – see F-MING details for further
information.
The unit comes complete with 3 system PROMS,
marked F-20 GC-1, F-20 GC-2 and F-40 GC. They are
required to enable FX-MEDOC to display values of
registers, timers, counters and I/O status, when used
with older F-20 and F-40 PLCs.
Note: They are not required when using F1 or F2
series programmable logic controllers.
Note: Before the MONITOR function is selected, both
programs within the FX-MEDOC memory and PLC
system must be identical, otherwise misleading infor-
mation will be displayed.

System PROM usage:

PLC Comment
F-12 It is not possible to perform MONITORING on the
F-12 system.
F-20 Check the system type and serial number on the
side of the unit.
If the system type is F-20R**, then PROM installation
and hence MONITORING is not possible.
If the system type is F-20M** and the first two digits
in the serial number form a number that is less than
38, then the F-20 GC-1 system PROM should be
installed, otherwise F-20 GC-2.
F-40 The F-40 GC system PROM should be installed.

12
019-206

Features Using multiplexer MPX RS stock no. 320-348 allows;


● Up to 100 digital items per screen displayed per ● the computer to be sited up to 15m away from MPX
PLC unit
● Up to 8 time/counter values per screen displayed ● up to 24 F1, F2 or FX PLCs to be configured on the
per PLC same system using up to 3MPX units
● 100 screens ● a common system baud rate of up to 19,200. All
● 500 interactive elements PLCs must be set to the same baud rate
● 6 password levels ● Each PLC to be sited up to 250m from the MPX unit
using RS-422 serial line.
● Associated name tagging for devices
● Documentation facility for interactive element listing
Connecting cable configuration
● User definable screen grid size for quick and
Each cable must be terminated with a 25-way D plug
accurate graphic construction
RS stock no. 474-029, socket RS stock no. 474-035 and
● Extensive alarm capabilities including transitional covers RS stock no. 469-588 (see current RS catalogue).
alarms
Cable i. Computer (dongle) to MPX unit.
● Display items: icons, dynamic labels, lines, etc.
Female Male
● Test mode ON/OFF (computer) (MPX)
● Save, restore 'current set-up' 1 ---------------------- 1 (optional)
● Move 'window' in display 2 _______________ 2
● Interactive system parameter adjustment 3 _______________ 3
● Data register input command 4 _______________ 4
● Report facility. 5 _______________ 5
Note: F GEN is a drawing package, similar in concept 6 _______________ 6
to some of the commercially available drafting pack-
7 _______________ 7
ages available for the IBM PC. F GEN is used during
the design and implementation phases of a PLC sys- 8 _______________ 8
tem to create a description (drawing) of the system to 20 _______________ 20
be monitored. Maximum cable length 15m.
Once F GEN has created the required 'plant', F-series
system, the F MON program communicates to the Cable ii. MPX to MPX
PLCs and animates the graphical display as defined in
F GEN. Within F MON a plant operator may interrogate Male Female
the PLC system and if permitted by the levels of secu- (MPX) (MPX)
rity designed into the drawing by F GEN, adjust control 1 ---------------------- 1 (optional)
parameters of the system. 2 _______________ 2
3 _______________ 3
PLC to PC connection 4 _______________ 4
F1 or F2 PLCs may be connected to the computer in 5 _______________ 5
one of the following ways. Each way requires a dongle,
supplied. FX-MING comes with a dongle to be 7 _______________ 7
plugged into the parallel part of the computer, F-MING
(RS stock no. 354-868, discontinued) was supplied with Cable iii. MPX to F2-20GF1 (RS stock no. 319-641)
a serial dongle to be used either in line or in a second Male Female
serial port. (MPX) (RS stock no. 319-641)
● Protocol converter SC03 or SC03 S1, supplied with 1 ---------------------- 1 (optional)
FX-MEDOC, RS stock no. 628-793 2 _______________ 2
● Multiplexer MPX, RS stock no. 320-348. 3 _______________ 3
4 _______________ 4
Dongle in 5 _______________ 5
second Computer
serial port Parallel dongle 6 _______________ 6
in printer port
Dongle 7 _______________ 7
S S in line P
15 _______________ 15
SC03 Cable i 16 _______________ 16
lead
Cable ii
17 _______________ 17
SC03/ MPX MPX
SC03 S1 18 _______________ 18
Cable iii Cable should have 120Ω characteristic impedance
GF1 GF1 Cable iii and be no more than 250m in length.
(RS stock no. 319-641)
F1/F2 F1/F2 FX

13
019-206

FX-MING requirements Main features


To run the FX-MING software the following conditions ● Bidirectional data transfer (EPROM or EEPROM to
must be fulfilled: RAM; RAM to EPROM or EEPROM)
● The host computer must be an IBM-PC/XT/AT, ● Comparison of program data in RAM and EPROM or
IBM-PS/2 or 100% compatible computer EEPROM
● The IBM-PC must have a 'hard' disc and 'floppy' ● Data transfer error detection and diagnosis
drive ● Plugs directly into the base unit. Alternatively a 1.5m
● The RAM memory must be at least 640Kbyte extension cable (RS stock no. 331-708) is available
● MS DOS 2.1 or higher must be installed ● A single portable unit can be used to program
● Real time clock EPROMs or EEPROMs for any number of base units.
● EGA card or VGA card
● Colour monitor (EGA or VGA) 5.2 EPROM cassette (RS stock no. 332-789)
● RS-232 communication card
● Microsoft mouse or 100% compatible (bus or serial) EPROM cassette

FX-MING consists of user manual, dongle and


software discs.

Mitsubishi part no. RS stock no.


FX-MING package 628-800

5 Accessories
W.50
5.1 EEPROM/EPROM programmer D.31
H.16
(RS stock no. 354-975)

EEPROM/EPROM programmer Equivalent to Mitsubishi part no. F-ROM-1


This unit plugs into a special connector port on the
base unit. It is programmed using the EPROM pro-
grammer RS stock no. 354-975 (see above) by trans-
ferring data from the RAM in the base unit into the
memory IC. Once the fully programmed cassette is
plugged in, it overrides the RAM program in the base
unit and controls the system operation. The plugged in
cassette program can also be monitored using the
programming panel. Different programs can be
stored on various cassettes if required. Thus a sys-
tem’s operation can be quickly changed using a differ-
H.80 ent EPROM cassette. The EPROM may be erased
W.165
D.33 using a suitable UV eraser eg. RS stock no. 424-254.

Equivalent to Mitsubishi part no. F2-20MW-E Technical specification


Typical life __________ 100 program/erase operations
This unit clips onto the base unit for the transfer of
programmed instructions between the base unit Erase time __________________42 minutes (minimum)
battery backed RAM memory and the non-volatile using 6mW/cm2 eraser
memory on the EPROM cassette (RS stock no. 332-
789) or EEPROM cassettes (RS stock nos. 318-345 and
319-629).

Connection to the base unit


Switch off the system power supply prior to
inserting/removing the programmer. Remove the
memory cassette connector cover on the base unit.
Plug the EPROM or EEPROM cassette (ordered sepa-
rately) into the programmer. The latter may now be
connected to the base unit in the same way as the pro-
gramming panel.
Bidirectional data transfer between RAM and user
EPROM or EEPROM cassette can now be initiated.

14
019-206

5.3 EEPROM cassette 5.4 Analogue I/O unit


This unit enables the F1 PLC base units (except the
EEPROM cassette F1-12) to interface with analogue input devices eg.
temperature flow and pressure sensors and provides
analogue output to energise voltage or current driven
loads. In principle analogue input (voltage or current)
data is converted to digital values which can then be
processed by the base unit and the resultant outcome
can be transferred back to the analogue I/O unit and
converted to analogue output (voltage or current). The
module is connected to the base unit via a ribbon
cable (supplied). Each module can provide 4 input
and 2 output channels via the screw terminal connec-
tions (3 terminals per channel, common, voltage input
and current input).
W.50
H.16
D.31 Technical specification

Supply voltage 110/240V ac 50/60Hz


Supply voltage tolerance +10% -15%
Mitsubishi part no. RS stock no. Number of inputs/outputs 4 inputs/2 outputs single-ended
F-EEPROM-1 318-345 I/O occupation on base 20/unit
unit (one extension connector)
This unit is used to store the F1 PLC program. The unit Voltage 0-10Vdc
plugs into a special connector port on the base unit. It Input (input impedance 85kΩ)
is programmed using any of the programming panels range Current 0-20mAdc
basic, F2 advanced, LCD, or EEPROM programmer RS (input impedance 250Ω)
stock no. 354-955 by transferring data from the RAM in Digital output to CPU 8 bit binary
the base unit into the ic memory. Once the fully
Output Voltage 0 to +10Vdc (load 500Ω-1MΩ)
programmed cassette is plugged-in it overrides the
RAM program in the base unit and controls the system range Current 0 to +20mAdc (load 0-500Ω)
operation. Different programs can be stored on vari- Digital input from CPU 8 bit binary
ous cassettes if required. Thus, a system’s operation Absolute voltage and
can be quickly changed using a different 1K EEPROM current ±12V/±22mA
cassette. Program transfer from EEPROM to RAM is Conversion A/D Approximately 350µsec.
also very simple using a programming panel. speed D/A Approximately 200µsec.
Note: This 1K EEPROM cassette may also be used with
Insulation between I/O Photo-coupler isolated
the 'Enhanced' F2 series PLC.

Analogue I/O unit - front view with covers removed


240V Output 00
voltage
Note 2 Output 01
50/60Hz
current
120V

L N1 N2 . SD . . V I C . V I C .

SW1 SW2
VR1 VR2 0~5V VR3 VR4 0~5V
0~10V 0~10V
0~20mA 0~20mA
4~20mA 4~20mA
ZERO GAIN ZERO GAIN

D/A CH 00 D/A CH 01
Ribbon
cable
Outputs connector
A/D inputs

SW3
CH

SW5 10 11 1213 SW1


STOP VR3 VR4 0~5V
0 - 10V
0~10V
CLEAR HOLD 0 - 5V 0~20mA
CLEAR HOLD 0 - 20mA 4-20mA
4 - 20mA
CPU E

Input 10 Input 11 Input 12 Input 13

V I C SD V I C . V I C SD V I C .
Analogue
common - Note 1
Voltage input Current Shield or screen - Note 2
connection input connection
Notes: 1. All analogue common terminals are connected together internally.
2. All shield terminals are connected together internally and normally connected to earth.
3. Terminals marked ● are not connected internally.

15
019-206

Input mode selection example


Analogue I/O unit
SW3/CH.10 CH.11 CH.12 CH.13
up down up down
SW4 set to the left
This combination allows input channels 10 and 12 to
accept 0-10V inputs and channels 11 and 13 to accept
0-5V or 0-20mA each.
If SW4 is set to the right then input channel should all
be used in the 4-20mA mode (all SW3 switches down).

Outputs
Two independent channels that can each be con-
W.165 figured in voltage or current modes (0-10V, 0-20mA or
H.90
D.90 4-20mA) depending upon the slide switch (SW1 for
channel 00 and SW2 for channel 01) position. Each
channel has ‘ZERO’ and ‘GAIN’ adjustment to enable
alternative output ranges eg. 0-5V or 0-20mA etc. The
Mitsubishi part no. RS stock no. ‘GAIN’ potentiometer is factory set for 0-10V, 0-20mA
F2-6A-E 318-351 or 4-20mA.
Example: If SW1 is switched to the left channel 00 will
provide output voltage in the range 0-10V or current
Typical application output in the range 0-20mA depending on the output
terminal. The ‘ZERO’ and ‘GAIN’ adjustment can be
used to alter these ranges.
Analogue input signals
F1 base unit Temperature sensor Note: Either output can be arranged (via SW5) to hold
Arithmetic ANALOGUE INPUT Amplifier Level sensor its value or reset to zero on CPU error-condition or
program
execution A/D CONVERSION when the base unit is in the STOP mode.
input Valve
Interface INTERFACE positioner

output
D/A CONVERSION
Integration with the base unit
ANALOGUE OUTPUT
Hot waiter
The inputting from and outputting to the analogue I/O
F2-6A
unit of data is accomplished via registers D700-770 on
Analogue output signals the base units. The data to be transferred is a digital
constant in the range 0-250 as standard to correspond
to 0-10V, 0-20mA or 4-20mA, or any scaled version of
these ranges. It is possible to arrange for 0-255 digital
range to correspond to the current or voltage range, a
Inputs higher value than 255 will not be recognised. Thus if
the constant '125' was transferred onto one of the out-
Four input channels that can be arranged to accept puts set in the 0-10V mode the analogue output voltage
voltage or current input signals. Voltage input is resulting after conversion is 5V.
connected by using the V and C terminals. Current
signals are entered via C and the commoned V and I Program examples for transferring data between the
terminals. analogue I/O unit and the PLC base unit are given later
in this data sheet.
The input channels can be configured to accept 0-5V,
0-10V, 0-20mA or 4-20mA signals. Where the 4-20mA
option is selected then all the channels must be of the 5.4.1 Data transfer programming – analogue unit
4-20mA current type, otherwise input channels may be In order to transfer data between the base unit and the
configured independent of one another. A single set of analogue I/O unit, special functions F670, 671 and 672
'ZERO' and 'GAIN' controls allows accurate and/or (refer to programming manual) are used and the type
alternative scalings to be achieved. of transfer is determined by the K value of F670. The
program below can be used for the initial settings of
the input and output ‘ZERO’ and ‘GAIN’ adjustments.
Input type* Input impedance Max. input SW3** SW4 Thus if a 0-250 digital range is to correspond to 0-6V
then the ZERO control will be used to give 0V output at
0-5V 200kΩ 12V down left the lower limit and the GAIN adjustment to give 6V at
0-10V 85kΩ 12V up left 250. Each incremental step corresponds to 24mV out-
put.
0-20mA 250Ω 22mA down left
4-20mA 250Ω 22mA down right

* Range values given are at factory set 'ZERO' and 'GAIN'


controls.
** SW3 selects the individual channel input mode. It has one
switch designated for each input channel.

16
019-206

Program listing Program listing


0 LD 400 27 LD 70
1 OUT 671 28 OUT 671
L10
Constant 250 is transferred 2 K 250 29 K 410
to data register D700 when 3 OUT 672 30 OUT 672
input (X400) is turned on
4 K 700 31 K 710
5 OUT 670 32 OUT 670
6 K 33 33 K 88
Constant 1 is transferred
to data register D700 when 7 LDI 400 34 OUT 671
input (X400) is turned off 8 OUT 671 35 K 411
9 K 1 36 OUT 672
10 OUT 672 37 K 711

Value of data register


11 K 700 38 OUT 670
D700 (1 or 250) is output 12 OUT 670 39 K 85
to analogue output of CH400.
13 K 33 40 OUT 671
14 LD 70 41 K 412
15 OUT 671 42 OUT 672
Value of data register 16 K 700 43 K 712
D700 (1 or 250) is output
to analogue output of CH401. 17 OUT 672 44 OUT 670
18 K 400 45 K 712
19 OUT 670 46 OUT 671

Analogue input value of 20 K 86 47 K 413


CH410 is transferred to 21 OUT 671 48 OUT 672
data register D710.
22 K 700 49 K 713
23 OUT 672 50 OUT 670
24 K 400 51 K 85
Analogue input value of CH411 25 OUT 670 52 END
is transferred to
data register D711. 26 K 86

*Note:
Field (K value)
Analogue input value of
CH412 is transferred to (1) Extension number
data register D712. given by port of base unit (ie 0, 4 or 5)
(2) Output (O)
or Input (I)
(3) Channel
Analogue input value of CH413 Outputs 0 or 1
is transferred to data register Inputs 0 to 3
D713.

5.5 Input simulators


A pcb carrying changeover switches for energising
the PLC inputs from the 24V on-board supply. Some of
Input simulators these switches have both latching and momentary ‘on’
positions to allow for pulsed input simulation. An
additional stop/run switch is available to control the
mode of operation of the base unit. The board has
rigid terminal posts that fit directly into the screw ter-
minal block on the PLC component. In addition each
board has a 3-way screw terminal block for wiring a
single PNP type sensor. These modules are ideal for
program testing and verification during commission-
ing and service.

17
019-206

5.6 Other accessories for use with F1 PLC ● Functional instructions


The F1-series is compatible with many F2-series covering:
accessories. A list of these items in the RS catalogue is Overview
given below. Reset instructions
Data register functions
Data calculations
Description Mitsubishi RS stock Arithmetic functions and
part no. no. Miscellaneous
EPROM programmer* F-20MW 332-773
The manual includes many worked examples and hints
Program loader/printer F2-20H-De 330-806 to better programming understanding and techniques.
interface
Programmer extension cable F-20P-CAB 331-708
4-channel analogue timer F-4T-E 331-225
6 Programming
6.1 Basics
* Units purchased from RS prior to July 1987 will require a software
Programming is the entering and storing of a
update before they can be used with the F1-series base units. sequence of instructions in a PLC memory. This mem-
(Refer to the current RS catalogue for details) ory is normally built into the base unit. Alternatively the
program may be stored on an external memory eg.
EPROM, EEPROM or cassette tape. The program is
5.7 F1-F2 series programming manual executed by the PLC to control the states of its output.

F1-F2 Programming manual 6.1.1. Ladder logic representation of a program


Starting from the left, string 1 implies an instruction to
switch ON output 431 only when input 402 AND input
407 are both ON. String 2 instructs the PLC to switch
output 433 ON when input 402 is ON OR input 405 is
OFF - either condition when satisfied will switch output
433 ON.

Ladder logic example

Mitsubishi part no. RS stock no.


F-PC-M2 319-613

Programming the F1-series PLC is very similar to the


F2-series. To fully exploit the F1-series it is strongly
recommended that the F1-F2 programming manual
(RS stock no. 319-613) be used.
This programming manual describes in depth the
features and facilities available from the F1-series PLC.
It provides a comprehensive reference work for all
Note: Inputs and outputs may refer to the inputs and
levels of user and forms an essential user guide.
outputs on the PLC base (and extension) units or they
Topics include: may represent the states of counters, timers and inter-
● Principles of operation nal flags.
● Installation To avoid confusion when ladder logic diagrams are
● Controls and indications being drawn, it is recommended that the following
letters should accompany the numeric assignment of
● Programming, elements and element numbering each element.
covering:
Auxiliary relays (M)
Counters
Input elements (X)
Output elements (Y)
State elements (S)
Timers (T)
● Function keys
covering:
AND, ANI, ANB, CJP, EJP, END, LD, LDI, MC, MCR,
NOP, OR, ORI, ORB, OUT, PLS, RST, R, S, SFT, STL,
STEP LADDER PROGRAMMING, OPERATING
KEYS.
18
019-206

Element type Letter 5. Auxiliary relays


Input terminal X There is a total of 232 internal relays of which 128 are
Output relay Y standard auxiliary relays, 64 are latch relay (power
Timer T loss retentive) and 40 are used as state relays and are
Counter C used for flow-chart programming or may be used as
Auxiliary relay M additional latch relays.
Thus
6. I/O forcing
By using the programming panel, the logic status of
any input, output, internal relay or STATE relay can be
forced ON or OFF. Also, any timer or counter can be
forced to time-up or count-up regardless of the pro-
gram stored in the processor memory.
represents an instruction to switch output relay 432 ON
when input 412 and auxiliary relay 103 are both ON.
6.2 Memory map F1 series
6.1.2 Ladder logic diagram implementations The F1 PLCs have inputs, outputs etc assigned in the
To convert the ladder diagram into instructions accept- following way. Not all units have the inputs and outputs
able by the PLC, the programming panel is equipped (X and Y) as these will depend upon the base unit and
with a set of instruction keys. Together with the numer- any extensions used. The remainder are not physical
ic assignments of the various elements in the diagram devices but are locations in the memory of the PLC
these instructions form the PLC program correspond- and are common to all the base units except where
ing to the original ladder diagram. Table 3 shows the noted.
application of each instruction key. Letters X, Y etc.
underneath certain elements represent the allowable Inputs X 00-27, 00-427, 500-527
types of operable instructions for that element (ie.
Outputs Y 30-37, 430-437, 530-537
inputs, outputs, counters etc.)
Auxiliary relays M 100-377

Notes: Special functions M 70-77

1. Inputs Timers T 50-57, 450-457, 550-557, 650-657


The inputs are all 24Vdc and source type in order to Counters C 60-67, 460-467, 560-567, 660-667
meet the DIN standards. A 24Vdc supply is internally Stepladder STL 600-647
generated which will power no-voltage contacts and in Conditional jumps CJP 700-777
some cases external devices such as proximity
devices. Each input is photo-coupler isolated so as to Data registers D 700-777 (Except F1-12)
minimise the effect of external electrical interference
and to isolate each input circuit for safety. The input fil-
6.2.1 Special function relays
ter constant may be changed in the software between
200µs and 60ms. This is a group of relays which is of general use with
the following functions. With the exception of relay 77
they are only accessible via their contacts ie. they do
2. Outputs not have coils.
F1-series base and extension units are only available
with relay outputs. These will handle up to 2 amps 70 Run monitor Continuously ON when the PLC
(resistive) at 240Vac or 24Vdc. These relays have no is in RUN
leakage components across the contacts.
71 Initialise pulse A single pulse lasting 1
execution cycle which occurs
3. Timers when the PLC is put in to RUN
There are 32 digital timers of which 24 have a range 72 Clock (100ms) A continuous pulse train of
0.1 to 999 seconds and eight have a range 0.01 to 99.9 50ms ON, 50ms OFF
seconds. The timers may be monitored by any of the 73 Clock (10ms) A continuous pulse train of 5ms
programming panels and their values are set in the ON, 5ms OFF
software. The timers are crystal controlled and are 76 Battery voltage Turns ON when the memory
therefore very accurate. Timers may be cascaded in back-up battery is becoming
order to give long time durations. discharged
77 Output inhibit If this coil is energised all
4. Counters outputs are turned OFF
There are 30 pre-settable down counters with reset regardless of the rest of the
inputs and the count value is retained when power is program
removed from the unit. Each counter has a range from
1-999 and they may be cascaded in order to extend
the count value.
Timer or counter setting value may be changed while
the PLC is operating. This is useful for applications
where the PLC cannot always be stopped during a
control process.

19
019-206

Table 3 Programming function guide


MCR Cancels
MASTER common serial
Instruction CONTROL contact point
code Function Applicable element type RESET -
Starts logic CJP Conditional M=700~777
LD operation
CON- jump to EJP
LOAD (normally open
DITIONAL when input is on
contact) X,Y,M,T,C,S,F
JUMP
Starts logic
LDI operation Note: Examples of converting various ladder diagram
LOAD (normally configurations into PLC program instructions using the
INVERSE closed contact) X,Y,M,T,C,S,F programming panel keypad are given as follows
AND (normally (additional configurations are available in the manual
AND open contact supplied with the programming panels).
AND serial
connection) X,Y,M.T,C,S,T 6.3 Programming examples
AND inverse 6.3.1 LD, LDI, OUT
ANI (normally
AND closed contact
INVERSE serial
connection) X,Y,M,T,C,S,F
OR (normally
OR open contact
OR parallel
connection) X,Y,M,T,C,S,F
OR inverse
ORI (normally
OR INVERSE closed contact
parallel
connection) X,Y,M,T,C,S,F
Serial
ANB connection
AND BLOCK between
blocks -
Parallel
ORB
connection
OR BLOCK between blocks - String (or rung) 1 implies output 430 (relay) turns ON
Coil (output) when input 400 is ON. String 2 implies outputs 431 and
OUT
drive 432 (relays) turn ON when input 401 is OFF. The output
OUT instructions Y,M,T,C,S,F element(s) in a particular string can subsequently be
entered as input(s) in other parts of the ladder dia-
RST Resets shift C
gram. The corresponding instruction set for the above
register and M100, 120, 140, 160, 200, 220,
diagram is:
RESET counter 240, 260, 300, 320, 340, 360
step instruction element
When the input

PLS
signal is rising a
pulse is
produced for M100~M377
String 1 { 0
1
2
LD
OUT
LDI
400
430
401
PULSE the length of
one execution
cycle
String 2
{ 3
4
OUT
OUT
431
432
It is advisable when forming the instruction set to fol-
Temporary
SFT low the same string order as the ladder diagram.
memory 1 bit M100, 120, 140, 160, 200, 220,
SHIFT shift 240, 260, 300, 320, 340, 360 Note: Step No. is only to indicate the program order
and size and is not physically entered via the
Holds Y, M and
S programming panel.
S operations
SET Y.M200~M377.S
Cancels Y, M
R and S
RESET operations Y.M200~M377.S
MC Common serial
MASTER contact point
CONTROL M100~M177

20
019-206

6.3.2 AND, ANI (AND INVERSE) 6.3.4 ORB (OR BRANCH)


Connects two branches in parallel

Equivalent instructions
step instruction element
0 LD 400
1 AND 401
String 1 implies output 431 (relay) turns ON when input 2 LD 402
400 is ON, input 401 is OFF and auxiliary relay 102 is 3 ANI 403
ON. 4 ORB -
5 OUT 432
Equivalent instructions
step instruction element 6.3.5 ANB (AND BRANCH)
0 LD 400 Connectors two groups in series
1 ANI 401
2 AND 102
3 OUT 431

6.3.3 OR, ORI (OR INVERSE)

Equivalent instructions
step instruction element
0 LD 400
1 OR 401
2 LDI 402
3 OR 107
4 ANB -
5 OUT 430

6.3.6 Setting an internal timer

This implies auxiliary relay 106 is ON when input 400 is


ON or input 403 is ON, or auxiliary relay 103 is OFF ie. Implies that when input 405 turns ON the output of
any one or more of these input conditions will turn the timer 50 turns ON after 7.5 seconds (K=7.5).
output ON. Equivalent instructions
Equivalent instructions step instruction element
step instruction element 0 LD 405
0 LD 400 1 OUT 50
1 OR 403 2 K 7.5
2 ORI 103 The value of K can be set within 0.1 - 9.9 in 0.1 second
3 OUT 106 increments or 1-99 in 1 second increments. The timer
output resets if the input is switched OFF. Timer
cascading with other timers and counters is possible.

21
019-206

6.3.7 Setting the analogue timer Equivalent instructions


In order to incorporate any of the analogue timer step instruction element
circuits into the PLC program the timer coil, and the 0 LD 407
associated timer output have to be specified. 1 RST 60
Example. Timer circuit 440 (having output 420) 2 LD 403
3 OUT 60
4 K 5

6.3.9 PLS (PULSE)


Introduces a positive pulse onto an auxiliary relay.

Whenever input 402 turns ON a positive pulse is


generated on auxiliary relay 102. This pulse can feed
internally elsewhere eg. to reset a counter. Pulse width
equals one program execution cycle time.
Equivalent instructions
Equivalent instructions
step instruction element
step instruction element 0 LD 402
0 LD 410 1 PLS 102
1 OUT 440
2 LD 420 6.3.10 SFT (SHIFT)
3 OUT 430 This instruction applies to a shift register which is a
The ladder logic diagram indicates that if input 410 is block of 16 auxiliary relays with consecutive numbers
closed then timer coil 440 is energised, and after a ie. 100-127, 130-147 ... up to and including 370-377.
delay equal to the time set on the circuit (by the DIL
switch pair and front potentiometer for that circuit), the
timer output 420 is energised.
Note: As the timer output 420 is only internal it should
be connected to an output in the base unit if external
switching is required. In the example above output
430 was used as the external relay.
An example of analogue timer and internal PLC timer
cascading is given later.

6.3.8 Setting a counter Equivalent instructions


step instruction element
0 LD 400
1 ANI 402
2 OUT 130
3 LD 401
4 SFT 130
5 LD 402
6 RST 130
A positive pulse on X407 resets counter 60 to OFF The ladder diagram implies that when input 402 is OFF
state. If 5 positive pulses (or OFF to ON transmissions) M130 has the same state as input 400. Input 401 is the
appear on X403 the counter output turns ON (K 3 5). shift input and every time this input switches ON (or
Any changes on X403 are disregarded as long as X407 pulsed) the original state of M130 advances one step
is ON. through the register until it ‘drops off’ or feeds through
to another element. If input 401 continues to be
clocked any subsequent changes on input 400 (ie.
M130) will similarly advance through the register.
This facility is used in sequence control applications by
utilising the auxiliary relay states to control various out-
put devices. Input 402, when turned ON, resets the
shift register (ie. turns OFF all the auxiliary relays) and
shift pulses are not accepted whilst input 402 is ON.
Note: Shift register cascading is possible for longer
sequence requirements.
22
019-206

6.3.11 Set and Reset - S, R


Example:
For latching and releasing certain elements. These
features also form the basis for stepladder program-
ming (see later).
Applicable elements: M200-377, all outputs, all state
elements.

Example:

Equivalent instructions
step instruction element
0 LD 400 Equivalent program
1 S 430
2 LD 401
3 R 430

6.3.12 Conditional jump 'CJP' and end of jump 'EJP'


This allows areas of the program to be selectively
jumped. The jump instruction accompanied by an
element number together with 'end of jump' instruction
with the same number define the boundary of the Program
Program section
program section to be jumped. execution jumped
Applicable elements: auxiliary relays M700-M777.

Remainder
of program

In this example the jump operation is performed on


the condition that input 401 is turned ON.
Note: Program section jumped is not scanned, thus the
overall scan time of the PLC program is reduced when
conditional jump is operative.

23
019-206

6.3.13 Master control 'MC' and Master control reset Equivalent program
'MCR' LD 400
Master control instruction MC effectively positions an OUT 100
auxiliary relay on the busbar of the ladder diagram LD 402
thus allowing sections of the program to be turned on OR 403
and off. OUT 101
Master control reset MCR is required to terminate MC MC 100
instruction and thus returns the processor to the ____________  Program
remainder of the PLC program. ____________  section
Applicable elements: M100-177. ____________ switched on
____________
 and off by
____________ MASTER CONTROL 100
Example:
MC 101
____________
 Program
____________  section
____________  switched on
____________ and off by
____________ MASTER CONTROL 101

MCR 101 Resets master control


____________
____________ Remainder of
____________ program
____________


____________

In this example when input 400 is ON auxiliary relay


100 is turned ON and thus part of the program con-
trolled by Master Control 100 will be executed.
Similarly if either of inputs 402 and 403 is ON then pro-
gram section under MC101 control will be executed.

Notes:
1. In this example only one reset instruction MCR 101
was required. This is because the MCR instruction
will automatically cancel all lower order Master
Control instructions.
2. The program sections under Master Control are
always scanned by the processor regardless of the
states of MC elements. This program scan time is not
shortened by turning off a Master Control function.
3. When a Master Control element is turned off all
timers within the program section of that element
will reset.
4. Use of Master Control and Conditional Jump
instructions may be combined. Refer to program-
ming manual RS stock no. 319-613 details.

24
019-206

6.3.14 Stepladder programming The ladder diagram for the previous example is:
This is a special feature which makes the PLC behave
in a similar way to a step sequencer (sequence con-
troller). Here a sequence of operations is executed in
series ie. the end of a particular operation triggers the
start of the following one.

Operation

Using the state elements (S600-647), the PLC can


perform stepladder operations. A schematic represen-
tation of a stepladder program is shown below.

(Start) The equivalent program is listed below:


LD 400 Notes:
Y431 (first operation) S 600
STL 600 1. STL instruction
(End of first operation)
OUT 431 effectively shifts the
LD 401 busbar to the dotted
Y432 (second operation) S 601 line above.
STL 601
OUT Y32 2. Reset instruction R is
(End of second operation)
LD 402 necessary to reset the
Y433 (third operation) S 602 last stepladder element
STL 602 in the sequence.
OUT 433
(End of third operation) LD 403 3. RET instruction returns
(End of stepladder) R 602 the program to normal
RET busbar.

Inputs 401, 402 and 403 are arranged to turn on at the Auxiliary relay M574 is used as an emergency stop
end of output 431, 432 and 433 respectively, eg. a limit facility to inhibit stepladder program execution.
switch at the end of carriage travel.
Stepladder programs can be split for parallel or
Here the setting of the stepladder element causes the conditional sequences eg.
automatic resetting of the previous element. This is the
key to stepladder programming.
The sequence of operations will be as follows:
X400 on → S600 is set and Y431 on
↓ 1st operations performed until
X401 on → S600 is reset and Y431 off
S601 is set and Y432 on
↓ 2nd operation performed until
X402 on → S601 is reset and Y432 off
S602 is set and Y433 on
↓ 3rd operation performed until
X403 on → S602 is reset and Y433 off.

25
019-206

In addition repeated sequences or parts of sequences 6.4 Circuit examples


are possible. Some common circuit programs are shown below.
Further details on these facilities are given in the
programming manual RS stock no. 319-613. 6.4.1 Cyclic timer

6.3.15 NOP (NO OPERATION)


This instruction produces a blank program step which
the PLC scans without taking any action. If this
instruction replaces another program instruction it can
change the program flow eg:

While input X405 is ON, output Y435 continues to cycli-


cally turn ON for 2 seconds and OFF for 0.5 seconds.
On and OFF periods can be set to a minimum of 0.1
seconds. Considerably longer periods can be
Equivalent instructions achieved by timer/timer (or counter/timer) cascading.
instruction element
LD 400 6.4.2 Delay on de-energise
AND 401
OUT 430
LD 402
AND 403
OUT 431

Should LD402 be replaced by 'NOP' instruction ie.


‘rubbed off’. The resulting ladder diagram is:

Output Y437 immediately follows input X407 on switch


ON but when input X407 is turned OFF output Y437
remains energised for 4.5 seconds before switching
OFF.

6.3.16 End 6.4.3 Internal and analogue timer cascading


This instruction terminates the program. When not
used the PLC scans the full program space (1000
steps) regardless of the program length. However if
‘END’ is used the PLC will only scan and execute the
program portion up to the ‘END’ position thus increas-
ing the speed of the PLC response to fast I/O changes.

Total time delay between input 402 energisation and


output 431 switching ON equals, in the example
shown, 35 seconds plus the time delay of analogue
timer circuit 441.

26
019-206

7 Typical control application The PLC task is to initially move the box transport
This example shows how the RS PLC can be used to mechanism (low inertia assembly) until the first box is
control a conveyor belt system below. directly underneath the conveyor belt roller. The PLC
is then to start the conveyor belt and when 4 items fall
into the box it is to be swiftly replaced by another
Conveyor belt system control example empty box with the conveyor belt still moving (assum-
ing sufficient time between the production items falling
into the box). This process is to continue until the
system is turned OFF. In addition, the two drive
mechanisms are to have a common emergency stop
switch. In order to program the PLC for controlling this
system all the inputs and outputs used must be
assigned. In this example the following connections
are chosen:

Before programming it is useful to draw a block


diagram to represent the detailed system operation
and then convert this into a ladder logic diagram,
which can be translated into program instructions. For
the conveyor belt system the block diagram is shown
below.
The flow chart can now be converted into a ladder
logic diagram and the actual program can also be list-
ed as shown in Table 4.

Conveyor belt system control block diagram

27
019-206

When the PLC is switching ON two pulses are generat-


ed, one rests counter 61, the other resets counter 60
and starts the box transport drive until PC1 detects the
correct positioning of a box and increments C60 (to
the specified K value) which turns the box transport
OFF. At the same time the conveyor belt starts moving
and PC2 detects the production items falling into the
box. When four of these have dropped, counter C61
resets C60 thus starting the box transport again, and at
the same time C61 resets itself ready to count the next
four items.

Table 4 Ladder logic diagram for conveyor belt system

Single pulse is generated


on M71 when PLC is
switched to RUN mode 
1 LD 71  generates reset pulses
2 OR 61 after switch ON and
3 PLS 100  whenever four production
4 PLS 101 items fall into a box

5 LD 100
 moves box transport
6 RST 60 until photo cell or
7
8
LD
OUT
401
60
 emergency switch X403
stops the mechanism.
9 K 1)

10 LD1 60

11 ANI 403
12 OUT 30


13 LD 101 when four items fall into a
14 ST 61  box, this part resets counter
15 LD 402 61 which in turn resets
16 OUT 61
 counter 60 thus restarting box
17 K 4 transport mechanism


18 LD 401 Latching circuit which
19 OR 102
 maintains the belt drive ‘ON’
20 ANI 403  after the 1st signal from PC1
21 OUT 31 unless reset by the
22 OUT 102 emergency switch 403)
23 END

Note: The length of the program (terminated by 'END'


instruction) determines the frequency at which the PLC
scans the program. The shorter the program the faster
the scan – resulting in a faster response to varying
input/output conditions.
Important. If the PLC is programmed to control a
particular plant or assembly, it is essential to check that
the required control sequence can be correctly
achieved by simulating the input and output conditions
and testing the entire program before connecting the
PLC to the actual system requiring control.

28
019-206

8 F1 facilities - additional features 9 Special function listing


As with the F2-series, the F1 PLC base unit has a
powerful set of special functions to enable the follow-
Mathematics ing tasks to be performed:
The arithmetic functions operate with BCD data. They ● Input/Output refresh
are: addition, subtraction, multiplication and division. It
● The I/O image memory data can be updated by
will also compare for equality, ‘greater-than’ and
interruption program execution
‘less-than’. There is a data-transfer facility to aid the
use of the mathematical functions. ● Data transfers
● Data can be transferred between any of the X, Y, M,
S, data registers and timer/counter current value
Data transfer registers
This allows the storage and transfer of BCD data from ● Arithmetic (+, -, 3, ÷, <, =, ≥)
one storage resister to another. This is useful for ● High speed counter data handling
applications where the PLC must select stored data for
processing controls or where data must be stored for ● Momentary pulse handlings
use on display. ● Analogue input/output data handling*
● Data set/reset.

Momentary input signal detection *See data transfer programming - analogue I/O unit -
Two input points can recognise input pulse signals end of data sheet.
shorter than the PLC program scanning time (approxi-
mately 200µsec.). The momentary signals are caught The following table gives a summary of the special
by hardware circuits and utilised in the program. This functions available and the corresponding K values for
is useful for applications where such detection is element F670 - for full details refer to F1-F2 program-
necessary. ming manual (RS stock no. 319-613).

Table 5 F1 special functions summary


High speed counter
A built-in digital counter with a range from 0 to 999999 K Special functions summary
can count either up or down a single phase signal of up 00 Immediate update of the status of all input contacts
to 2kHz for interfacing to external sensors, detecting 02 Immediate update of the status of all output contacts
objects or speed etc. Counting starts from either zero
04 Refreshes the watchdog timer at any point in the
or another preset value. The counter is preset by an
program
external input signal or special internal preset function
(auto-reload function). The counting value is com- 10 Resets the ‘counter full’ flag M473 of counter
pared with programmed values, causing program C660/C661
execution to be interrupted at the preset points. 11 Resets the output contact of counter C660/C661
Counter output is considerably faster than in normal 14 Sets the carry flag
program scanning (direct output function). This 15 Resets the carry flag
counter may also be used as a six-digit normal
16 Sets the zero flag
counter.
17 Resets the zero flag
18 Sets the borrow flag
Auto-reload function 19 Resets the borrow flag
Immediately after data comparison is executed, it is 26 Resets all elements within a band defined by the first
possible to internally preset the counter. (Note: and last elements to be reset
comparison interrupts program scanning). This is very 27 Converts a decimal constant into its BCD equivalent.
useful when it is not possible to externally preset the Sets value into a series of output contacts (Y), state
counter, for example, when producing coil or film elements (S) or auxiliary relays (M100-M377)
windings. 28 Writes an octal number into a series of output
contacts (Y), state elements (S) or auxiliary relays
(M100-M377). Octal range between 0 and 377
Direct output function 29 Reads the BCD value set into a series of input
After data comparison is executed (interrupting pro- elements (X), output contacts (Y), auxiliary relays
gram scanning), the comparison result is immediately (M100-M377) or state elements (S) and copies that
directed to an external output. This eliminates prob- value to another series of Y, S or M elements. BCD
lems caused by program scanning, hence improving range 1 to 16 bits
the accuracy of control. 33 Writes a decimal constant into any data register,
including the current value registers and setting
registers of counters and timers
34 Reads the BCD value set into a series of input
contacts (X), output contacts (Y), auxiliary relays
(M100-M377) or state elements (S) and copies that
value to any data register, including the current
value registers and setting registers of counters and
timers

29
019-206

35 Reads the current value of any data register, 59 Adds the contents of two 6-digit (BCD) data
including the setting values for counters and timers registers, adds in the carry bit and stores the results
and copies that value to auxiliary relays, output in a third data register
contacts or state elements
60 Adds the contents of two 3-digit (octal) data
36 Reads a 12-bit BCD value set into a series of input registers, adds in the carry bit and stores the results
contacts (X), output contacts (Y), auxiliary relays in a third data register
(M100-M377) or state elements (S) and copies that
value into a data register 61 Adds 1 to the contents of a 3-digit BCD specified
data register and if appropriate, sets the carry flag
37 Reads the 3 digits of a given data register and copies or the zero flag
that data to a series of input elements (X), output
contacts (Y), auxiliary relays (M100-M377) or state 62 Adds 1 to the contents of a 6-digit BCD specified
elements (S) as a 12-bit BCD value data register and if appropriate, sets the carry flag
38 Writes a given 3-digit decimal value into a series of or the zero flag
data registers 63 Adds 1 to the octal contents of a given 3-digit data
39 Copies the contents of any data register into a series register and if appropriate, sets the carry flag or the
of data registers zero flag
40 Compares a 3-digit decimal constant with the 64 Adds 1 to the contents of the current value register of
contents of any data register, including the current a given counter and if appropriate, sets the carry
value and setting registers of counters and timers flag or the zero flag
41 Compares the contents of a data register or the 66 Subtracts a given 3-digit decimal constant from a
current value of a counter or timer, with a 3-digit specified 3-digit BCD data register, using the
BCD value set into a series of state elements (S), borrow bit when necessary, and stores the result in
input elements (X), output relays (Y) or auxiliary another data register
relays (M) 67 Subtracts a given 6-digit decimal constant from a
42 Compares the contents of a counter or a data specified 6-digit BCD data register, using the
register with a 3-digit BCD value set into a series of borrow bit when necessary, and stores the result in
state elements (S), input elements (X), output relays another data register
(Y) or auxiliary relays (M)
68 Subtracts one 3-digit BCD data register from another
43 Compares the contents of any registers with two and stores the result in a third data register
3-digit decimal values
69 Subtracts one 3-digit BCD data register from another
44 Compares a 6-digit value from a counter or data and stores the result in a third data register. The
register with two 6-digit decimal constants borrow bit is used when necessary
45 Compares the contents of a counter or data register
70 Subtracts one 6-digit BCD data register from another
with the contents of another counter or data register
and stores the results in a third data register. The
46 Interrogates any specified data register for zero borrow bit is used when necessary
content
71 Subtracts one 3-digit octal data register from another
48 Reads the contents of a given data register, clears a and stores the results in a third data register
specific digit and stores the resultant value in a data
register selected by the user 72 Subtracts 1 from the BCD contents of a specified 3-
digit data register and if appropriate, sets the
49 Exchanges the contents of two data registers
borrow flag or the zero flag
51 Transfers a 3-digit BCD value from any data register,
current value register or setting register to any other 73 Subtracts 1 from the BCD contents of a specified 6-
data register, current value register or setting digit data register and if appropriate, sets the
register borrow flag or the zero flag
52 Copies the contents of one data register to another 74 Subtracts 1 from the octal contents of a given 3-digit
data register. The address of the data source is data register and if appropriate, sets the borrow flag
obtained indirectly from another register or the zero flag
53 Copies the contents of one data register to another 75 Subtracts 1 from the 3-digit BCD current value of a
data register. The address of the data destination is specified counter
obtained indirectly from another register 77 Multiplies the contents of a given 3-digit BCD data
54 Copies the contents of one data register to another register by a 3-digit decimal number and stores the
data register. The addresses of both source and results in a 6-digit data register
destination registers are obtained indirectly from 78 Multiplies the contents of a given 6-digit BCD data
other data registers register by a 6-digit decimal number and stores the
55 Adds a programmed decimal value to the contents result in a 12-digit data register
of a data register and stores the results in another
79 Multiplies together the contents of two 3-digit BCD
data register
data registers and stores the product in a 6-digit data
56 Adds a programmed decimal value to the contents register
of a data register, adds in the carry bit and stores the
results in another data register 80 Multiplies together the contents of two 6-digit BCD
data registers and stores the product in a 12-digit
57 Adds the contents of two 3-digit (BCD) data registers
data register
and stores the result in a third register
81 Divides the contents of a given 3-digit BCD data
58 Adds the contents of two 3-digit (BCD) data
register by a 3-digit decimal number and stores the
registers, adds in the carry bit and stores the results
result, and the remainder in other data registers
in a third data register

30
019-206

82 Divides the contents of a given 6-digit BCD data 114 Detects the leading edge of a signal appearing at
register by a 6-digit decimal number and stores the input contact X401
result, and the remainder in other data registers 115 Detects the leading edge of a signal appearing at
83 Divides the contents of a data register by the input contact X401
contents of another data register, both 3-digit BCD, 116 Used when M470 is in force, to remove the high-
and stores the result and the remainder in other data speed counter reset function from relay X401
registers
117 Performs an automatic reload of counters
84 Divides the contents of a data register by the C660/C661 when the combined current values
contents of another data register, both 6-digit BCD, reach a predetermined level
and stores the result and the remainder in other data
registers 118 Authorises automatic reload of counters C660/C661
85 Reads the 8-bit binary output from the analogue unit 119 Performs an immediate ‘read and compare’
and converts it into 3-digit BCD for storage in a data operation on the current value register of high-
register speed counter (C660/C661) and uses the result of
the comparison to drive a selected output contact,
86 Converts the contents of the specified data register giving a direct output at the time the counter current
into 8-bit binary format and writes it to the analogue value reaches a specific number
unit
120 Inhibits direct output mode for high-speed counter
87 Sets the format for the subtraction instructions F670-
K66, K67, K68, K69, K70 and K71 121 Enables simultaneous output in direct output mode
88 Interrogates a series of data registers within the 122 Measures the pulse width, in 1ms increments, of a
range D700 to D777 to determine if the contents are signal appearing at input contact X402
in BCD and the correct format for the controller 123 Measures the pulse width, in 1ms increments, of a
100 Immediate update of the status of all input contacts signal appearing at input contact X403
101 Immediate memory update - input contacts X400 to 124 Used to count the pulses appearing at input contact
X400
X407
125 Used to count the pulses appearing at input contact
102 Immediate update of the status of all output contacts X401
103 Resets all elements within a band defined by the first 130 Generates a shift in a specified shift register
and last elements to be reset
131 Converts a BCD number into a binary number
104 Transfers a 3-digit BCD value from auxiliary relays
M260 to M273 into a counter current value register 132 Converts a binary number into a BCD number
105 Transfers the current value of any 3-digit BCD
counter to auxiliary relays M260 to M273 (which can
drive output elements)
106 Compares the current value register of a specified
counter with two 3-digit decimal values. Flags M571,
M572 and M573 indicate the results
107 Compares the contents of a counter current value
register with the value set into the series of auxiliary
relays, M260 to M273. The results are indicated by
flags M572, M572 and M573
108 Compares the current value of a 6-digit counter with
two 6-digit decimal constants. Flags M571, M572 and
M573 indicate the result
109 Converts a 6-digit decimal constant into its BCD
equivalent and sets the value into a series of
auxiliary relays M240 to M253, M260 to M273
110 Resets the ‘counter full’ flag M473 of counter
C660/C661
111 Resets the output contact of counter C660/C661
112 Detects the leading edge of a signal appearing at
input contact X400
113 Detects the leading edge of a signal appearing at
input contact X400

31
019-206

The information provided in RS data sheets is believed to be accurate and reliable; however, RS Components Ltd. assumes no responsibility for inaccuracies or
omissions, or for the use of this information, and all use of such information shall be entirely at the user’s own risk.
No responsibility is assumed by RS Components Ltd. for any infringements of patents or other rights of third parties which may result from its use.
Specifications shown in RS Components Ltd. data sheets is subject to change without notice.

RS Components Ltd. PO Box 99, Corby, Northants, NN17 9RS Telephone: 01536 201234
An Electrocomponents Company © RS Components Ltd. 1995

You might also like