DUEMMEGI
MCP 4 – User's manual
Contatto
If the module is used to measure a pressure (through a proper transducer with 0
10V output) in the range 1
bar (at 0V output) to 15 bar (at 10V output), then the settings required by MCP VISIO to show the read value
in bar unit will be:
Zero Value = 1
Full scale Value = 15
The Value/Bit will be updated by the program according to the other two values.
For the “special” analog modules (e.g. MOD2PT and MODNTC) the scale setting should be
left to the default value, because the measured parameters are well defined.
Regarding the counter modules MODCNT (see figure on this right side), it is possible to reset
each one of the 4 counting values clicking on the related box te4 while holding down the Shift
button on the keyboard.
10.3.2- The Projects of MCP VISIO
MCP VISIO allows to save all its current settings, intended as opened groups, windows, positions and
dimensions of the windows, zoom levels and graphic levels, etc..
To create a project, press the button
of MCP VISIO, or select the menu item Save project from the Visio
menu.
To recall a previously saved project, press the button
of MCP VISIO, or select the menu item Open
Project from the Visio menu.
10.3.3- The Simulator of MCP VISIO
MCP VISIO features a simulator allowing to test and debug the MCP 4 program (or part of it). The simulator
is a fully software tool, therefore no serial connection to MCP 4 is required.
The simulator shows the behavior of the output parameters of a program (e.g. real and virtual output points,
registers, counters, etc.) as result of some stimulus on input parameters.
To activate the simulator select Run in the Simulator menu; select the file containing the program to be
simulated (the file must have .BIN extension and it is automatically created by the compiling process of MCP
IDE). Once loaded, the name of the file under simulation, together its path, will be shown in the status bar on
the bottom side of MCP VISIO, together to the related controls Run, Stop, Reset and Reload.
While the simulation is running, its possible to change values, status of input modules, virtual points and so
on; to do this, simply click on the object to be changed. For digital points (input modules, virtual points, etc.)
the left button of the mouse performs the switching on, while the right button performs the switching off.
The Stop button stops the simulation while the Reset button restores all the parameters at their power up
value (this is similar to the power up of MCP 4).
The Reload button reloads the file shown in the control panel; when changing anything in a program, it must
be complied again and it must be reload in the simulator.
DUEMMEGI
s.r.l. - Via Longhena, 4 – 20139 MILANO
Tel. 02/57300377 - Fax 02/55213686 –
www.duemmegi.it
Rel.: 1.2 October 2018
Page 69 of 87