PC-SIMU Manual English Version 11042024
PC-SIMU Manual English Version 11042024
11/04/2024
Page 1 of 55
Disclaimer: While this translation strives for accuracy, it may not always produce perfect
translations. The original authors are not liable for any errors, inaccuracies, or
misunderstandings resulting from the use of translated text. Additionally, it should be noted
that the graphics primarily from version 3.0 are used, rather than those from the original 1.0 version,
in this manual. Furthermore, the last 7 pages of the original manual (pages 58-65) have not been
translated because they pertain to communication with real PLCs using outdated software. My main
immediate objective is to utilize PC-SIMU as a SCADA system for the CADe-SIMU software. I will,
however, treat real examples with the S7-1200 PLC in further revisions.
YouTube Channel
1000 Délices d’électrotechnique
Page 2 of 55
Table of Contents
1. INTRODUCTION 5
2. THE FIRST STEPS 5
3. INTRODUCTION TO SIMULATION AND CONSTRUCTION OF AUTOMATED SYSTEM 7
3.1 Toolbar 1 (Contains 9 Groups of Elements) 8
Edit 8
Simulation 8
Connection 9
Start-Initiate the exchange of I/O information 9
Stop-End the exchange of I/O information. 9
Digital analyzer 9
Analog analyzer 10
3.2 Toolbar 2 (Contains 7 Groups of Elements) 10
3.2.1 Input/Control Elements 10
Interruptor / Switch 10
Pulsador / Push-Button 12
Selector / Selector-Switch 13
Teclado/ Keyboard 14
Preselector 15
3.2.1 Sensors 15
Final de Carrera/ Limit Switch 15
Detector de proximidad / Proximity Sensor 17
Emitter-receiver barrier (Photo Electric Sensor) 18
Reflex barrier (Photo Electric Sensor 19
3.2.3 Outputs (Led, Signaling Beacon, 7-Segment Display, Text) 20
Led 20
Baliza / Signaling Beacon 20
Display 21
Texto / Text 21
3.2.4 Protecciones (Protection Devices) & Salidas (Output devices) 22
Protecciones 22
Salidas 24
3.2.5 Imagen Fondo, Imagen, Imagen IN & Imagen OUT 26
Imagen Fondo (Background Image) 26
Imagen /Image 27
Imagen IN / Input Images 27
Imagen OUT/ Output Images 28
3.2.6 Sonido / Output Sound 28
Page 3 of 55
3.2.7 Barra / Potenciómetro 29
Barra / Bar 29
Potenciómetro / Potentiometer 30
3.3 Toolbar 3 (Contains 7 Groups of Elements) 31
3.3.1 Motor / Motor paso a paso 32
Motor (Motor) 32
Motor paso a paso (Stepper Motor) 33
3.3.2 Cinta transportadora/ Actuador lineal eléctrico 34
Cinta Transportadora (Conveyor Belt) 34
Accionamiento lineal eléctrico (Electric linear actuator) 35
3.3.3 Neumática Actuador doble efecto/ Actuador sin vástago /Actuador de giro / Ventosa /Pinza 36
Neumática Actuador doble efecto (Single & Double effect cylinder electrically actuated) 36
Actuador Neumático sin vástago (Rodless Pneumatic Cylinder) 37
Actuador de giro (Rotary actuator) 38
Ventosa (Suction cup) 39
Pinza (Pincers) 40
3.3.4 Herramientas (Electrical Power Tools) 41
3.3.5 Puerta Garaje (Garage Door) 43
3.3.6 Depósito, Válvula, Tubería, Objeto, Tope Objetos, Perfil aluminio 45
Deposito (Tank/Container) 45
Válvula (Electro-Valve) 46
Objeto 47
Tope Objetos (Stopper/ Bumper) 51
Perfil Aluminio (Aluminium Profiles) 51
3.3.7 Ascensor, Vivienda 52
Ascensor 52
Vivienda 53
3.4 Barra de gráficos (Graphical Toolbar) & Barra de Colores (Colour Toolbar) & Barra de
53
Estrado (Status)
4. MODES OF PC SIMU 54
Edición (Edit Mode) 55
Simulación (Simulation Mode) 55
Conexión (Connection Mode) 55
Inicio (Start Simulation) 55
Fin (Stop Simulation) 55
Page 4 of 55
1. INTRODUCTION
PC_SIMU is a simulator that allows the graphical simulation of automatic processes by exchanging inputs and
outputs, thereby avoiding the need to activate input switches or visualize PLC output LEDs. It can operate in
various ways: through the simulator (S7-200) or via the PC-PPI cable for communication with the real
programmable logic controller (PLC), through Input /Output Adress Table of the Cade_SIMU software running
both in simulation mode.
To run the program, it is necessary to enter a key, which the author provides for free (9966). Additionally, there is
an option to load a program in STEP5 with certain limitations, as it can only simulate one program module and
only with bit operations.
You need a PC with a Microsoft Windows operating system, with at least 13.8 MB of free hard disk space. For
optimal performance, it is recommended to have a RAM memory of more than 512MB. PC_SIMU is a completely
free software and can be found online. After downloading and extracting it, the PC_SIMU directory has the
following structure.
Page 5 of 55
PC Simu Startup Screens
You have successfully accessed PC_SIMU. To uninstall PC_SIMU from your PC, simply delete the PC_SIMU
folder.
Page 6 of 55
3. INTRODUCTION TO SIMULATION AND CONSTRUCTION OF AUTOMATED SYSTEMS
The objective of this chapter is to provide you with a brief introductory course to familiarize yourself with the
most important functions for simulation and construction of automated PLC systems in PC_SIMU.
PC SIMU workspace
The top part displays the components of PC_SIMU; it contains elements that can be simulated such as:
Page 7 of 55
Additionally, there is a digital analyzer and an analogue analyzer available. Using the menu bars at the top
of the window, you can access all the functions necessary for simulating systems.
Edit:
In editing mode, you can draw various simulation objects. With editing mode selected, no simulation can
be performed, nor can a connection with the PLC be established. After switching from connection mode
to editing mode, the PLC inputs will be unforced. If unforcing is not performed, the PLC inputs will remain
forced.
Simulation:
In simulation mode, the PC_SIMU program acts as a simulator. If a program has been loaded in STEP 5,
the simulation will be performed with the program loaded in memory.
If connected to the S7_200 simulation program, it will exchange inputs and outputs."
To interface with Cade_SIMU, the I/O addresses must be identical, and both software programs
must be in simulation mode.
pl
Page 8 of 55
Connection
In this mode, the PC_SIMU program allows working as a SCADA system exchanging inputs and outputs
with the PLC S7-200 connected to the serial port via the PC-PPI cable. It will be necessary to adjust the
following parameters beforehand in the configuration:
Serial port where the PLC is connected via the PC/PPI cable.
Transfer speed between the PC and the PLC.
Inputs and outputs for exchanging information between the PC and the PLC.
Digital analyzer
Through the digital analyzer, the temporal state of the input or output signals can be visualized. Up to
eight digital inputs and outputs can be displayed.
Page 9 of 55
Analog analyzer
Through the analog analyzer, the temporal state of analog input or output signals can be visualized.
Up to eight analog inputs and outputs can be displayed, and the time base can be modified.
Preselector Preselector
Interruptor / Switch
Simulate the behaviour of a switch changing state each time the mouse is clicked. Bistable behaviour.
An input will be assigned to the switch. The state of the switch in the resting position can also be assigned.
Page 10 of 55
Normalmente Abierto (NA) – Normally Open (NO)
Electrical Symbols
Non-Actuated Positions
Whenever the simulation is started or the connection mode is entered, the switch will adopt this
state.
Actuated Positions
When the mouse is clicked in simulation mode the switch will adopt the following states
Page 11 of 55
Pulsador / Push-Button
Simulate the behaviour of a pushbutton by changing its state when activated with the mouse. Monostable
behaviour.
Electrical Symbols
If you want to keep it permanently activated, drag the mouse outside the body of the pushbutton with the
left mouse button pressed. When a click is made with the mouse on the pushbutton, it will return to the
resting state.
Page 12 of 55
Selector / Selector-Switch
Simulate the behaviour of a multi-position selector, changing state each time a click is made with the
mouse. The behaviour of the selector is like that of a rotary switch.
The selector will be assigned the number of inputs based on the number of positions.
Page 13 of 55
Teclado/ Keyboard
Simulate the behaviour of a keyboard by changing state when activated with the mouse. Monostable
behaviours.
If you want to keep a key permanently pressed, drag the mouse outside the key's body with the left mouse
button pressed. When clicked with the mouse, it will return to the resting state.
The number of rows and columns of the keyboard can be selected by assigning one PLC input for each
key.
When assigning the number of rows and columns of the keyboard connected to the PLC, the inputs
automatically increase from the initial address. The final address is indicated below the initial address.
Page 14 of 55
Preselector
Simulate the behaviour of a preselector by changing state when activated with the mouse. Up to 4 digits
can be selected for each preselector.
The preselector can be incremented for each digit by clicking on the top and decremented on the bottom
with the mouse.
When assigning the number of digits for the preselector connected to the PLC, the inputs increase
automatically starting from the initial address. The final address is indicated below the initial address.
Each digit of the preselector connects four inputs in the PLC. The inputs are activated according to the
selected numerical value in BCD (Binary Coded Decimal) code.
3.2.2 SENSORS
Simulate the behavior of a limit switch changing its state when activated with the mouse. Monostable
behavior.
If you want to keep it permanently activated, drag the mouse outside the body of the limit switch with the
left mouse button pressed. When clicked with the mouse on the limit switch, it will return to the resting
state.
Page 15 of 55
Non-Actuated Positions- 2 Versions of Each, Top, Right, Bottom and Left
Page 16 of 55
Detector de proximidad / Proximity Sensor
Simulate the behaviour of a proximity sensor. The proximity sensor can be of two types:
If you want to keep it permanently activated, drag the mouse outside the body of the proximity sensor
with the left mouse button pressed. When clicked with the mouse on the proximity sensor, it will return
to the resting state.
Page 17 of 55
Emitter-receiver barrier (Photo Electric Sensor)
Simulate the behaviour of an emitter-receiver type photoelectric barrier. This object has an emitter and a
receiver, with the detection barrier established on both, which will be activated when interrupted by an
object.
The photoelectric barrier can also be activated with the mouse by clicking on the emitter. If you want to
keep it permanently activated, drag the mouse outside the proximity detector's body with the left mouse
button held down. When you click the mouse on the proximity detector, it will return to the resting state.
The detection distance determines the separation between the emitter and the receiver of the
photoelectric barrier. This detection distance will be the number of pixels on the simulation screen.
Page 18 of 55
Reflex barrier (Photo Electric Sensor)
The reflex barrier sensor consists of a single unit that integrates both the emitter and the receiver in
one housing.
This sensor emits a beam of light (usually infrared) towards a target object, and the light is then
reflected back to the sensor's receiver. By measuring the intensity or presence of the reflected light,
the sensor can determine whether an object is present or not.
Page 19 of 55
3.2.3 Outputs (Led, Signaling Beacon, 7-Segment Display, Text)
Led
Simulate the behaviour of an LED connected to the output of the PLC. The LED changes its state every
time the output is activated.
The LED will be assigned an output and can be assigned colour and shape.
Some Versions
A "3 colour baliza" would likely refer to a beacon or signaling device that emits light in three di erent
colors.
In industrial settings, a three-color beacon might be used to indicate different statuses or conditions
of a machine or process.
Page 20 of 55
Display
Simulate the behavior of a display connected to the output of the PLC. Each display shows the BCD code
activated in the four connected outputs.
When assigning the number of digits of the display connected to the PLC, the outputs are automatically
incremented starting from the initial address. The final address is indicated below the initial address.
Texto / Text
Activate a text message connected to the PLC output. The text changes state each time the output is
activated. A text can have a maximum of 25 characters. The outline of the text can be adjusted to the
desired size.
Page 21 of 55
3.2.4 Protecciones (Protection Devices) & Salidas (Output devices)
Protecciones
Automatico 1+N (Circuit Breaker 1P +N) Automatico III (Circuit Breaker 3P))
Page 22 of 55
Di rencial III +N (Di erential 3P +N) Relé Témico (Thermal Relay)
Page 23 of 55
Salidas
Salidas = Output
Arrancar = Start
Parar = Stop
Page 24 of 55
I
Page 25 of 55
3.2.5 Imagen Fondo, Imagen, Imagen IN & Imagen OUT
This feature allows the user to include a background image in Bitmap format. Users can add their own
custom images.
Example
Custom Images
Page 26 of 55
Imagen /Image
This feature enables the user to select two images and configure each image as either input or output,
assigning the I/O addresses accordingly.
This feature enables the user to select two images and configure each image as an input, assigning the
Input addresses accordingly.
Page 27 of 55
Imagen OUT/ Output Images
This feature enables the user to select two images and configure each image as an Output, assigning the
Output addresses accordingly.
This feature allows the user to assign a sound to an output. The sound file must be in *.WAV format.
Page 28 of 55
3.2.7 Barra / Potenciómetro
Barra / Bar
This simulation object allows users to visualize the value of an analog output.
Type Symbol
Barra vertical
Barra horizontal
Escala angular
Numérico
Page 29 of 55
Potenciómetro / Potentiometer
This simulation object allows users to adjust the value of an analogue input.
Type Symbol
Lineal vertical
Lineal horizontal
Redondo
Numérico
Page 30 of 55
3.3 Toolbar 3 (Contains 7 Groups of Elements)
Pinza Pincer
Válvula Valve
Tubería Pipe
Objeto Object
Ascensor Elevator
Vivienda House
Page 31 of 55
3.3.1 Motor / Motor paso a paso
Motor (Motor)
Simulate the behaviour of a three-phase motor in which the direction of rotation can be changed, and the
rotation speed can be selected. Each rotation direction will be assigned a digital output of the PLC.
The PLC's analog output can be set to work in two modes: unipolar or
bipolar.
In unipolar mode, the motor speed can range from minimum to maximum
frequencies using values from 0 to +32767. The direction of rotation is
controlled by digital outputs.
In bipolar mode, the motor speed varies similarly, but with positive values
rotating the motor to the right and negative values to the left. The motor
stops at zero. The analog range is from -32768 to +32767."
Page 32 of 55
Motor paso a paso (Stepper Motor)
Simulate the behaviour of a Stepper motor in which the number of steps can be selected.
Page 33 of 55
3.3.2 Cinta transportadora/ Actuador lineal eléctrico
Simulate the behaviour of a conveyor belt driven by an electric motor. The conveyor belt can move objects to
the right or to the left. Each direction of movement will be assigned a digital output of the PLC.
The speed of the conveyor belt can be selected between a minimum speed and a maximum speed.
1111
Page 34 of 55
Accionamiento lineal eléctrico (Electric linear actuator)
Page 35 of 55
3.3.3 Neumática Actuador doble efecto/ Actuador sin vástago /Actuador de giro / Ventosa /Pinza
Neumática Actuador doble efecto (Single & Double e ect cylinder electrically actuated)
Simulate the behaviour of a pneumatic actuator. The pneumatic actuator can expand or contract.
The initial state when starting the simulation can be contracted or expanded.
The solenoid valve controlling the actuator can be monostable or bistable. If it is monostable, only one
PLC output will be needed to expand the actuator. If the solenoid valve is bistable, two PLC outputs will
be needed, one to expand and another to contract it.
Electropneumatic Symbols
Retracted Positions
Expanded Positions
Page 36 of 55
Actuador Neumático sin vástago (Rodless Pneumatic Cylinder)
Page 37 of 55
Actuador de giro (Rotary actuator)
Simulate the behaviour of a pneumatic rotary actuator. The pneumatic actuator can expand fully, contract,
or expand in a particular position.
The solenoid valve that controls the actuator can be monostable or bistable, or two solenoid valves to
perform positioning.
If the solenoid valve is bistable, one PLC output will be necessary to expand it and another to contract it. With
two monostable valves, it is possible to expand, contract, or perform positioning, in an intermediate position
of the stroke.
2 Monostable Valves
Page 38 of 55
Ventosa (Suction cup)
Simulate the behaviour of a pneumatic suction cup. The suction cup has a vacuum ejector to perform
suction.
The solenoid valve that controls the suction cup can be monostable or bistable. If it is monostable, only one
output will be necessary to activate the suction cup. If the solenoid valve is bistable, one PLC output will be
necessary to activate the suction cup and another to deactivate it.
The suction cup can be assigned an input from the PLC to which a vacuum switch is connected.
Monostable BIstable
Non-Actuated Actuated
Page 39 of 55
Pinza (Pincers)
Simulate the action of mechanical grippers that can be actuated electrically or pneumatically. Options for
magnetic sensors for open and closed positions are available.
Monostable Bistable
Page 40 of 55
3.3.4 Herramientas (Electrical Power Tools)
Spanish Name English Name
Taladro Drill
Sierra Circular Circular Saw
Agitador Agitator / Mixer
Bomba Agua Water Pump
Ventilador Electric Fan
Compresor Compressor
Grupo Hidráulico Hydraulic Unit
Criba Sieve
Trituradora Crusher
Resistencia Heating element
Calefactora
Quemador Caldera Heat Gun
Dispensador Bottle Caps
tapones Dispenser
Taponadora Capping Machine
Etiquetadora Labelling Machine
Page 41 of 55
Ventilador Agitador
Taponadora Etiquetadora
Page 42 of 55
3.3.5 Puerta Garaje (Garage Door)
Simulates the behaviour of a garage door with operation through an electric motor. It can also be applied as
a window with the opening and closing of the shutter, or a canopy that can be folded or unfolded.
For each opening or closing movement, an output of the PLC will be assigned.
The door can have limit switches, and the opening and closing speed can be adjusted between a minimum
and a maximum value.
Closed-Position
Page 43 of 55
Intermediate Position
Open-Position
Page 44 of 55
3.3.6 Depósito, Válvula, Tubería, Objeto, Tope Objetos, Perfil aluminio
Deposito (Tank/Container)
The liquid tank can be filled through a valve (with liquid at the valve inlet) or through a pipe that pours the
liquid into the tank.
The solid tank is filled with dry objects, which can come from an object generator or a conveyor belt that
moves dry objects.
A sensor can be installed for minimum, medium, and maximum level, assigning a digital input in the PLC.
If an analogue level sensor is used, an analogue input in the PLC will be assigned, which can be unipolar or
bipolar. If the input is unipolar, it will correspond to 0 when the tank is empty and 32767 when the tank is full.
If the input is bipolar, it will correspond to -32768 for an empty tank, 0 for a medium tank, and +32767 for a
full tank.
Page 45 of 55
Válvula (Electro-Valve)
Simulates the behaviour of a valve for liquids. When the valve is deactivated, it blocks the flow of liquid, and
when activated, it allows the liquid to pass. The valve is connected to an output of the PLC.
The flow rate specifies the amount of liquid that passes through the valve when it is activated.
If liquid is selected at the valve input, when the valve is activated, it behaves like a liquid generator, without
the need to connect any element at the valve input.
Tubería (Pipe)
The pipes allow the passage of liquid and establish the connection between valves and tanks.
The elbow allows change of orientation through rotation function. The placement of the pipes must always
be done from the liquid generating valve towards the corresponding tank. The placement of the pipes
establishes the direction of liquid flow.
Page 46 of 55
Objeto
Generates the di erent objects that can be manipulated in the simulation or detected.
Objects come out of the object generator or warehouse and move vertically, simulating gravity. If an object
needs to be fixed, a stop or a simulation object that supports it must be used, such as a conveyor belt or a
rodless pneumatic actuator.
The object generator can be activated through an input, or an output connected to the PLC. Once the object
is activated, an output frequency will be established between the minimum value and a maximum value.
If an input or output is not selected to activate the object, it will be necessary to activate it using the mouse.
Spanish English
Caja Box
Bolsa Bag
Áridos Solid Aggregates
Botella Bottle
Bote Can
Pieza metálica Metal Piece
Pieza plástica Plastic Piece
Pieza color Colored Piece
Hombre Man
Vehículo Vehicle
Importar grafico Bitmap Import
Page 47 of 55
Bottle and Can
Both the bottle object and the can object can be filled with liquid by selecting the output connected to the
PLC, which activates the filling solenoid valve. The detection of the filled bottle or can is done with an input
connected to the PLC.
The filling time can be adjusted between a minimum value and a maximum value.
Spanish English
Activación de llenado Activation of Filling
Captación de llenado Filling Detection
Tiempo de llenado Filling Time
Activación de tapado Closing Activation
Activación de etiquetado Labelling activation
Coloured Piece
Page 48 of 55
Behaviour of detectors and photoelectric barriers with di erent objects
Page 49 of 55
Movement of objects with actuators
Page 50 of 55
Tope Objetos (Stopper/ Bumper)
The stopper is used to hold a simulation object on the screen. The stop does not have simulation; it simply
holds objects that move vertically on the screen due to gravity.
Different versions of aluminum profiles can be inserted on the screen. They can also be configured to act
as stoppers/bumpers similar to the previous one.
Page 51 of 55
3.3.7 Ascensor, Vivienda
Ascensor
To place the elevator in the simulation space, change its name and click to position it. Failure to position the
elevator correctly will result in an error.
Page 52 of 55
Vivienda
3.4 Barra de gráficos (Graphical Toolbar) & Barra de Colores (Colour Toolbar) & Barra de Estrado (Status)
Rectangle
Ellipse
Filled rectangle
Filled Ellipse
Fill Colour
Select Colour
Text
The status bar indicates whether the program is running, the cursor coordinates, the editing mode, as
well as a description of a selected component.
Page 53 of 55
4. MODES OF PC SIMU
In edit mode, you can draw various simulation objects. With edit mode selected, no simulation can
be performed, nor can a connection with the PLC be established.
After switching from connection mode to edit mode, PLC inputs are de-energized. Failure to de-
energize will result in the PLC inputs remaining energized.
In this mode, the PC_SIMU program functions as a simulator. If a program has been loaded in STEP
5, the simulation will be based on the program currently loaded in memory.
If connected to the S7_200 simulation program, it will exchange input and output signals.
In this mode, the PC_SIMU program functions as a simulator. If a program has been loaded in STEP
5, the simulation will be based on the program currently loaded in memory.
Various new connection icons are available in version 3.0 compared to Version 1.0 (will not be
treated in this initial translation revision)
Connection S200
In this mode, the PC_SIMU program allows for SCADA operation by exchanging inputs and outputs
with the S7-200 PLC connected to the serial port via the PC-PPI cable.
Serial port where the PLC is connected via the PC/PPI cable.
Transfer speed between the PC and the PLC.
Inputs and outputs for information exchange between the PC and the PLC.
Page 54 of 55
Inicio (Start Simulation)
Page 55 of 55