Download as pdf or txt
Download as pdf or txt
You are on page 1of 63

Q PLC : Revision of Basics

Training Department
Factory Automation Engineering Centre
Factory Automation & Industrial Division
Mitsubishi Electric India Private Limited
MEI-FAID-FATraining@asia.meap.com
Contents

• PLC types
• Q System Components
• Base Rack
• Power Supply
• CPU modules
• DI /DO module
• Intelligent Modules
• Q PLC Addressing
• CPU Devices in Detail
Positioning of MELSEC series

Function, system scale

NEW!

Medium to large scale

All-around model with high performance, high function,


and multiple line-up that can respond to all types of
controls such as motion control, micro computer control,
and instrumentation control.
Small to medium scale

General machine that OEL, Semiconductor Automotive

Small scale requires cost EMS Logistics


performance and Expandability
All-in-one ease of use miniaturization
Transportation New energy Building
Micro PLC for small scale
system Food Medicine Cosmetics

Social infrastructure
General machine
(Packing, food, molding)

3
8/11/2023 3
PLC

Brick PLC • Modular PLC (Distributed)


• Micro PLC – I/O range is more than 1024
– I/O range typically less than 32 – Functionality is modularized
– Alpha PLC – Expansion of racks also
– FX 1S – I/O distribution on Network like CC-Link

• Small PLC – Q series PLC

– I/O Range typically less than 128


– FX 1N
• Medium PLC
– I/O Range less than 1024
– Expansion possible
–FX 3U Q series

FX3U
FX Series PLC

• Range of small to medium size PLCs


– FX1N, FX2N, FX3U, FX3G
• Latest is FX 3U PLC
– 384 I/Os
– Expandable
– Three communication ports possible
– Wide range of supporting modules
– 65 nSec processing time for Logical instructions
– Ethernet Module for SCADA / Programming
– High speed Adapters and modules
– Positioning Control module for SSCNET -3
Q Series PLC

• Universal PLC CPUs are the latest generation PLC CPU for MELSEC
System Q platform
• It is foundation of iQ platform
• Modular PLC with 8192 I/O systems
• Range of modules for various functionalities
• Networking modules: CC- Link, MelsecNet, DeviceNet, Profibus,
Modbus, Serial Communication like RS232, RS485, Ethernet, and
CC-Link IE (1GBPS)
• Analog controls
• Range of CPUs with different program size
– Sequence CPU: 02H, 06H, 12H, 25H
– Process CPU: 02PH, 06PH,12PH, 25PH
– Redundant CPUs: 12PRH and 25PRH
– Motion CPU : Q172/Q173/Q170M….
Features of Q PLC

• Mini USB interface for the programming


• Integrated Ethernet Port for efficient interfacing with QnUDEH
CPU modules
• Extremely fast processing : 9.5nSec for logical instruction
• Processing time :79 to 34 nSec, QnU :9.5 nSec
• High Speed Data access
• Fully expandable : Locally and Remotely
Q PLC Range
MELSEC Q Series PLC
System Components
Special
Function
Digital I/O Modules
Modules
CPU
Power Module
Supply
Network
Modules

Base Rack

Optional Positioning
Memory Card Modules
Base Racks

• The CPU module, power supply module, I/O module and/or


intelligent function module are installed in base rack
• It is available with 3,5,8 and 12 module slots
• Q CPU base racks are numbered with Q3##B
• ## indicates no. of I/O slots in the rack
• The farthest left slot is for Power Supply module
• Just right of Power Supply, the CPU module is mounted
• For Multiple CPUs, first slot and successive slots are used
Base Racks

Q33B
PS CPU I/O 0 I/O 1 I/O 2

Q35B
PS CPU I/O 0 I/O 1 I/O 2 I/O 3 I/O 4

Q38B
PS CPU I/O 0 I/O 1 I/O 2 I/O 3 I/O 4 I/O 5 I/O 6 I/O 7

Q312B
PS CPU I/O 0 I/O 1 I/O 2 I/O 3 I/O 4 I/O 5 I/O 6 I/O 7 I/O 8 I/O 9 I/O 10 I/O 11
Extension Racks

• The extension racks are available with 3,5,8 and 12 module slots
• QCPU extension racks are numbered with Q6##B
• ## indicates no. of I/O slots in the rack
• Single PLC can handle up to 7 extension racks
• Q52B and Q55B are without power supply slots
Summary of Racks
Rack Power Supply CPU I/O Slots

Q63B 1 X 3

Q65B 1 X 5

Q68B 1 X 8

Q612B 1 X 12

Q52B X X 2

Q55B X X 5

Racks with Power supply Redundancy


Q38RB 2 1 8
Q68RB 2 x 8
Extension Cables

• Extension cables for connecting 2 racks together


• There are 6 different lengths of cable are available
Power Supply Modules
Power Supply Modules

Sr. Model Input Output Current


No 5 VDC 24VDC
1 Q61P (New) 100-240VAC 6A -

2 Q61P-A1 100-120VAC 6A -

3 Q61P-A2 200-240 VAC 6A -

4 Q62P 100-240VAC 3A 0.6A

5 Q63P 24VDC 6A -

6 Q64P 200-240VAC 8.5A -

7 Q64RP 200-240VAC 8.5A -

8 Q63RP 24VDC 8.5A -


Names of Parts of Q61P
CPU Modules

• Sequence CPU
– Basic CPU
– High performance CPU
– Universal CPU
• Process CPU
• Redundant CPU
• Motion CPU
Q Series CPUs
Basic CPU

• 3 types available:
– Q00J/Q00/Q01CPU
• RS 232 programming port
• Integrated Flash ROM
• No memory card slot
• Q00J inseparable unit with
Power Supply and Base Rack
• Q001 and Q002 are classical
CPU modules
Basic CPU

Total I/O Capacity


CPU Memory Speed PG Port
Local Incl. Remote
Q00J 256 2048 8k steps 200ns RS232
Q00 1024 2048 8k steps 160ns RS232
Q01 1024 2048 14k steps 100ns RS232

No.of No.of loaded


CPU
extension base modules
Q00J 2 16
Q00 4 24
Q01 4 24
Basic CPU Devices

Total 16.4
KW Device
Memory
High Performance CPU

• Every processer H-CPU are equipped with USB port


• Memory Card slot is available
• High speed execution of instruction
• 79n to 34n sec execution time for Log instruction
• Wide Range of Devices
• Total 8 racks possible
• Total 64 modules can be mounted
High Performance CPU
I/O Capacity
CPU Including Memory Speed PG Port
Local Remote
Q02 4096 8192 28k 79ns RS232
Q02H 4096 8192 28k 34ns RS232/ USB
Q06H 4096 8192 60k 34ns RS232/ USB
Q12H 4096 8192 124k 34ns RS232/ USB
Q25H 4096 8192 252k 34ns RS232/ USB

No.of extension No.of loaded


CPU
base units modules
Q02 7 64
Q02H 7 64
Q06H 7 64
Q12H 7 64
Q25H 7 64
High Performance CPU

LED
Memory
Indicator
Card slot

Switch
Stop / Run
Settings
Switch

USB
Reset
Port
L Clear

RS232
Port
High Performance CPU Devices

Total 29KW
Device
Memory
Universal CPU

• Faster CPU with more memory


• Faster CPU to CPU Communication via faster bus
• Some CPU have built-in Ethernet port
• Flash ROM Memory , so no battery required
• The Q02UCPU offers 758 instructions
• The Q03UD offers 764 instructions
• CPU with E in part number have a built-in
Ethernet port in place of the standard RS232Port
Process CPU

• Parameter Optimization thru Auto tune


Instruction
• Dedicated Package: PX Developer
• Hot swapping of I/O Modules
• Low cost DCS
• 52 types of process instructions
• Various PID Instructions

I/O Capacity
CPU Memory Speed PG Port
Local Remote
Q12PHCPU 4096 8192 124K 34nS RS232/ USB
Q25PHCPU 4096 8192 252K 34nS RS232/ USB
Redundant CPU
Redundant System Network Architecture
Enterprise level system
GX Developer MELSECNET/H PCI board
PX Developer
3rd party s/w (SCADA,
data logger, etc)

Ethernet

MELSECNET/H PLC to PLC

Redundant system
MELSECNET/H PLC to MELSECNET/H PLC to
Ethernet
PLC Ethernet
PLC

Control system Standby system

MELSECNET/H remote Tracking cable MELSECNET/H remote sub


master master

MELSECNET/H Remote I/O

Redundant
power supply

Station 1 Station 64

Redundant power supply extension base


Redundant CPU

• The same process functions as in the normal process CPUs


• Hot Standby system
• Based on standard components
• System includes power supply module, CPU and base unit designed with
redundancy
• Even if a failure occurs in the control system, the standby system takes over
the control to continue the operation
• Software required: GX developer and PX developer

I/O Capacity
CPU Memory Speed PG Port
Local Remote
Q12PRHCPU 4096 8192 124K 34nS RS232/ USB
Q25PRHCPU 4096 8192 252K 34nS RS232/ USB
Multiple CPU systems: Distributed Systems

• Up to 4 CPUs can be mounted on one Q series Base Rack


– Reduced costs, as multiple base units are not needed
– No need for extra networks
– Speed performance between CPUs are optimized via Q BUS

Integrated Multiple CPU system

Control

Control

Control

・Integrate PLC CPU, Process CPU, Motion CPU, PC-CPU together


・I/O modules can be automatically refreshed between CPUs via the Q BUS
MELSOFT Integrated FA Software

• GX Series
– GX Developer
– GX Simulator
– GX Configurator
• PX Developer
• MX Series
– MX Component
– MX Sheet
• GT Designer
– Programming tool for GOTs
• MT Series
– Integrated motion controller programming software
Discrete I/O Modules
• Digital input modules: QX_
– Electrically isolated with optocouplers
– Removable terminal blocks for 16 connection
addresses
– D-Sub or 40-pin plug connector for 32 or 64
addresses
– Choice of wiring solutions, adapter accessories
Digital Input Modules

Module Points Input Voltage Sink/Source Response Time


QX10 16 100-120VAC - 20ms
QX28 8 240VAC - 20ms
QX40 16 24VDC Sink 1/5/10/20/70ms
QX40-S1 16 24VDC Sink 0.1/.2/.4/.6/1ms
QX41 32 24VDC Sink 1/5/10/20/70ms
QX41-S1 32 24VDC Sink 0.1/.2/.4/.6/1ms
QX42 64 24VDC Sink 1/5/10/20/70ms
QX70 16 5/12VDC Sink/Source 1/5/10/20/70ms
QX71 32 5/12VDC Sink/Source 1/5/10/20/70ms
QX72 64 5/12VDC Sink/Source 1/5/10/20/70ms
QX80 16 24VDC Source 1/5/10/20/70ms
QX81 32 24VDC Source 1/5/10/20/70ms
Discrete I/O Modules
• Digital Output modules: QY_
– Modules with relay, transistor or triac output
technology
– Electrical isolation of process/control and also
channels in some cases
– Choice of interface modules
Digital Output Modules

Module Points O/P Voltage Device Current/point Points/ Com


QY10 16 240VAC/24VDC Relay 2A 16
QY18A 8 240VAC/24VDC Relay 2A 1
QY40P* 16 12/24VDC Transistor 0.1A 16
QY41P 32 12/24VDC Transistor 0.1A 32
QY42P 64 12/24VDC Transistor 0.1A 32
QY50 16 12/24VDC Transistor 0.5A 16
QY22 16 240VAC Triac 0.6A 16
QY70 16 5/12VDC Transistor 16mA 16
QY71 32 5/12VDC Transistor 0.016A 32
QY80 16 12/24VDC Transistor 0.5A 16
QY81P 32 12/24VDC Transistor 0.1A 32
QY68A 8 5-24VDC Transistor 2A 1

* P: short circuit protection


Special Function Modules
Analog Input Modules

• The analog input modules convert analog process signals into


digital values
• The A/D converter modules has
– Resolution of 0.333mV and l .33µA
– High conversion speed (80µs per channel)
– Time averaging and No. of sample averaging
Analog Output Modules

• The analog output modules convert digital values into analog


current or voltage signals.
• The resolution of 0.333mV and 0.83 µA
• Short conversion time of 80 µs per output channel
• All modules provide removable screw terminal blocks
Temperature Control Modules
• PID algorithm temperature control without placing any
load on the Q CPU for the temperature control tasks
• 4 input channels and 4 PID control circuits per module
• With PT-100 : Q64TCRT and Q64TCRTBW
• With Thermocouples: Q64TCTT and Q64TCTTBW
• 64TCRTBW and Q64TCTTBW can detect the
disconnection of a heater
• Auto tuning function for the PID control circuits
• Transistor output to drive the actuator
• Analog modules for temperature sensors: Q64RD,
Q64TD
– Up to 4 temperature channels
– Thermocouples and resistance
– Cable break detection, limit value alarm signal
output
High Speed Counter Modules
• The modules QD62E, QD62, and QD62D detect signals
at a frequency too high for normal input modules
• Maximum counting frequency up to 500 kHz
• Input for incremental shaft encoder with automatic
forward and backward detection
• Preset and selection of counter function via external
digital inputs
• 32-bit counting range(-2147483648 to +2147483647)
• Can be used as up, down or ring counter
• All modules offer two counter inputs
• Two digital outputs which are set according to the
counter value per counter input
• Used for Positioning Control
Positioning Modules

• In combination with stepper motors or servo


amplifiers the modules QD75P1, QD75P2, and
QD75P4 can be used for speed or position
control
• Control of up to four axes with linear
interpolation (QD75P4) or two axes with
circular interpolation (QD75P2 and QD75P4)
• Storage of up to 600 positional data sets in
flash ROM
• Units of travel can be defined in pulses, pm,
inches or degrees
• GX Configurator QP is used to configure it
Serial Communication Module
• QJ71C24R2/R4/R for serial communication with
peripheral devices
• Two channels, both RS232, RS485 or one of each
• Transmission speed up to 115200 bit/s
• Enables PCs connected to the PLC to access the full data
set of the Q CPU
• Options for connection of a printer
• Integrated flash ROM memory for logging quality,
productivity, or alarm data that can be transmitted
when required
• Support for plain ASCII data exchange.
• A user frame can be defined PLC programming and
monitoring through the serial communication line is
supported
CC-Link Module
• The QJ61BT11 is applicable as a master or local station
• It is an open protocol
• It manages the connection of remote I/Os
• The parameters of all modules across the network are
set directly via the master module
• Communication starts automatically
• The refresh time for 2048 I/O points is 3.3 ms only
• Transmission speed of up to 10 Mbps
• Transmission distance up to 1.2 km
• With one master module a system can be extended to
up to 2048 remote I/O points.
• Standby Master configurable
• Interrupt program start via network data command
Ethernet Interface Modules
• The modules QJ71E71/E71-100 and
QD71E71-B2 are used on the PLC side to
connect a host system, e.g. a PC or work
station and the System Q via ETHERNET
• Data transfer using TCP/IP or UDP
• Network types: 10BASE5, 10BASE2 or
10BASE-T
• Transfer rate of 10/100Mbps
• FTP-server functionality
• The communication function using fixed send
and receive buffers is available.
• Up to 16 communication lines can be opened
for concurrent data communication
• PLC programming and monitoring via
ETHERNET
MELSECNET Modules
• Coaxial and Optical Systems
• Enables fast horizontal communication
• Coaxial bus (QJ71BR11) & redundant optical loop
(QJ71LP21)
• High data transfer rates: 10 Mbps with coaxial bus
systems and optional 10 or 25 Mbps with optical loop
systems
• Communications with other PLCs, PCs, or remote I/O
• The network system supports data communications
between any two stations, no matter how many
networks lie between them
• Control station shifting function and automatic return
function
Addressing in Q PLC

• Addressing is in Hexadecimal
• Each module is of fixed no. of I/O points i.e. 16, 32,64 etc.
• Each module takes Input points and output points from the image
memory.
• Usage of allotted I/O points depends on the types of module.
• Example: QX81 is 32 point input module, uses only input points
• Flexible: Any card can be installed in any slots!!
• No Jumper setting / DIP setting on modules
I/O addressing

Power Supply

CPU

X0 to X1F QX81(32 point) Y0 to Y1F

X20 to X3F QY41P (32 point) Y20 to Y3F

X40 to X4F QX80 (16 point) Y40 to Y4F

X50 to X5F QY40 (16 point) Y50 to Y5F

X60 to X7F QX81P (32 point) Y60 to Y7F


P Supply

CPU
0

X
0~F 16 pt Input
1

X
10~2F 32 pt Input
2

X
30~4F 32 pt Input
3

X
50~5F 16 pt Input
4

60~6F 16 pt Output
5

70~7F 16 pt Output
6

80~8F 16 pt Output
I/O addressing

90~AF 32 pt Output
8

B0~CF 32 pt Output
9

D0~DF *Empty
Y

E0~FF 32 pt Output
Y
10 11

100~10F 16 pt Output
Addressing of SFM Modules

• SFM : Special Function Modules


• Takes Input and output Memory bits both
• Assign X and Y Both with Same range of address.

Power Supply

CPU

X0 to X1F QX81(32 point) Y0 to Y1F

X20 to X3F QY41P (32 point) Y20 to Y3F

X40 to X5F QJ61BT11 CC-link Y40 to Y5F


module 32 points
X60 to X6F QY40 (16 point) Y60 to Y6F

X70 to X8F QX81P (32 point) Y70 to Y8F


Addressing Example
System Devices

Class Type Device Name Range Used Addressing


Internal User Bit Devices Input X0 to X1FFF Hex
Devices
Output Y0 to Y1FFF Hex
Internal Relay M0 to M8191 Decimal
Latch Relay L0 to L8191 Decimal
Word Devices Data Registers D0 to D12287 Decimal
Timers T0 to T2047 Decimal

Counters C0 to C1023 Decimal

Internal System Bit Devices Special Relay SM0 to SM2047 Decimal


Devices
Word Devices Special Data Registers SD0 to SD2047 Decimal

Link Devices Bit Devices Link Relays B0 to B1FFF Hex

Link Special Relays SB0 to SB7FF Hex


Word Devices Link Registers W0 to W1FFF Hex
Link Special Registers SW0 to SW7FF Hex
Index Register Word Devices Index Register Z0 to Z15 Decimal
Pointers - Pointer P0 to P4095 Decimal
- Interrupt Pointer I0 to I255 Decimal
System Devices

• Input (X)
– Inputs are designed to give commands and data from external devices, e.g.
pushbuttons, select switches, etc., to the PLC
– Inputs are available as “refresh inputs” and “direct access inputs”
• Output (Y)
– Outputs are used to provide the control results of a program from the PLC
to external devices, e.g. solenoids, signal lamps, etc.
– Outputs are available as “refresh outputs” and “direct access outputs”.
• Internal relays (M)
– Internal relays are auxiliary relays used in a CPU module and not latched
• Latch relays (L)
– Latch relays are auxiliary relays used in a CPU module and latched (backed
up at power failure)
System Devices

• Timer (T)
– A timer (T) is a device that starts counting when its coil turns ON, and
times-out and turns ON its contact when the current value reaches or
exceeds the set value
– The timer is of an up-counting type.
– The current value matches the set value when a “time-out” occurs
• Timer types
System Devices
• Counter (C)
– A counter is a device which counts the number of input condition leading edges in sequence
programs
– When the count value matches the set value, its contact turns ON
– The counter is of an up-counting type
• Data register (D)
– Data registers are memory devices which store numeric data (-32768 to 32767, or 0000H to
FFFFH)
– Data registers, which consist of 16 bits per point, read and write data in 16-bit units.
• When data register is used for 32-bit instruction
– If the data registers are used for 32-bit instructions, the data will be stored in registers Dn and
Dn + 1
– The lower 16 bits of data are stored at the data register No. (Dn) designated in the sequence
program, and the higher 16 bits of data are stored in the designated register No. + 1 (Dn + 1)
– Two data registers can store a range of numeric data from -2147483648 to 2147483647 or
from 0H to FFFFFFFFH
– The most significant bit in a 32-bit configuration is a sign bit
• Real numbers can be stored in D registers
– Two consecutive registers are used
– It is a 32 bit data representation of Floating point
Constants
• Decimal constant (K)
– Decimal constants are devices that designate decimal data in sequence programs
– Specify it as K (example: K1234) in a sequence program
– For word data (16 bits) : K-32768 to 32767
– For 2-word data (32 bits) :K-2147483648 to 2147483647
• Hexadecimal constant (H)
– Hexadecimal constants are devices which designate hexadecimal
– Hexadecimal constants are designated as "H " settings (e.g. H1234)
– For word data (16 bits) :H0 to FFFF
– For 2-word data (32 bits) :H0 to FFFFFFFF
• Real Numbers (E)
– Real numbers are devices which designate real numbers in the sequence program
– Specify it as E (example: E1.234) in a sequence program
– Range for real numbers +2-126 < Device < +2128
• String Constants (“ ”)
– Character string constants are devices used to designate character strings in
sequence programs
– They are designated by quotation marks (e.g. “ABCD1234”)
System Devices
• Special relay (SM)
– A special relay is used to store CPU module status data.
• Special register (SD)
– A special register is used to store CPU module status data (diagnosis and system
information)
• Index Register (Z)
– Index registers are used in the sequence program for indirect setting (index
qualification) designations
– An index register point is used for index modification
• Nesting (N)
– Nesting is a device used in the master control instruction (MC instruction, MCR
instruction) to program operation conditions in a nesting structure
• Pointer (P)
– Pointer devices are used in jump instructions (CJ, SCJ, JUMP) or subroutine call
instructions (CALL)
• Interrupt Pointer (I)
– Interrupt pointers are used for labeling of Interrupt subroutine programs
Special Registers : SD

• Classification of SD as per applications as under:


Special Registers for PLC SCAN
Special Relays : SM
Thank you

You might also like