Back.
1 Waarom krijg ik bij het openen van een bestand de melding 'No *.plc file!'
2 Kan ik zonder de hardware het programma in run testen?
3 De muiscursor is bijna niet zichtbaar in 'Simulatie - mode'.
4 Niet voldoende met 99 regels. Is het mogelijk om dit uit te breiden?
5 Momenteel ben ik in het bezit van de oude versie 1.9.
Indien de nieuwe 2.1 versie wordt geïnstalleerd, zal deze
automatisch de oude overschrijven of moet ik deze eerst
manueel verwijderen?
6 Problemen met de elektuurprint. Na het aansluiten van de spanning gaan alle leds aan en gaan daarna
een voor een uit.
7 I have buy the elektor pcb. When I execute program my circuit don,t work, don,t detect
any inputs or outputs, but I select LOOP.plc example and my circuit work only one secuency to 32 at
output 0, don,t repeat secuency.
8 Is there any possibility to interface DCIPLC and DCIVISU with Matlab
Simulink or Excel to emulate some real-time control and process?
I am already using Matlab Simulink to do process simulation and I found
a way to do almost real time process on Excel using a counter made in a
bunch of cells and using the iterative calculation option (see attached
file). When that counter is running inside the sheet then all other
equation runs in an iterative way (if it was designed to do so!) and
then the process is running as well as display cells I added.
However, I just cant find a way to use the DCIPLC_COM.SetSimInputs()
command (or others) such that when a cell changes from the FALSE state
to a TRUE state it triggers the DCIPLC_COM.SetSimInputs() command (or
any of the commands you provided in your package) and send the feedback
values to the inputs of DCIPLC. The same is true for commands like
GetInputs or GetOutputs.
To top
1- Waarom krijg ik bij het openen van een bestand de melding 'No *.plc file!'
Vanaf versie 1.8 kan je geen bestand meer openen dat niet gemaakt is met DCIPLC.
Dit is om het verkeerd opslaan van een bestand dat niet gemaakt is met DCIPLC te voorkomen .
To top
2- Kan ik zonder de hardware het programma in run testen?
Vanaf de versie 1.9 kan je een programma testen door middel van een simulatie modus.
Je kan ingangen zelf hoog en laag maken en dan de toestand van het programma volgen
en verbeteren indien nodig.
Download de laatste versie!
To top
3- De muiscursor is bijna niet zichtbaar in 'Simulatie - mode'!
Bij een laptop en een extern beeldscherm kan dit probleem zich voordoen.
Schakel een van beide monitors uit in het dialoogvenster 'eigenschappen
voor beeldscherm'. Hierdoor staat op beide monitors hetzelfde venster.
Geef nu aan een van beide schermen de voorrang. Nu is nog maar een monitor
actief en zou het probleem moeten opgelost zijn.
Indien je in het dialoogvenster 'eigenschappen voor beeldscherm' nu beide
monitors wil inschakelen dan geeft Windows zelfs de melding dat sommige
toepassingen niet juist zullen werken met deze optie.
To top
4- Niet voldoende met 99 regels. Is het mogelijk om dit uit te breiden?
Vanaf versie 4 is het mogelijk van 500 regels in ladder te programmeren.
To top
5- Momenteel ben ik in het bezit van de oude versie 1.9.
Indien de nieuwe 2.1 versie wordt geïnstalleerd, zal deze automatisch de
oude overschrijven of moet ik deze eerst manueel verwijderen?
Normaal zal versie 2.1 de oude versie overschrijven, eerst de oude versie
verwijderen kan zeker geen kwaad.
Vanaf versie 2.0 kan je een uninstall doen.
Ga naar configuratiescherm -> Software en selecteer DCIPLC.
Klik daarna op Toevoegen/verwijderen.
To top
6- Problemen met de elektuurprint. Na het aansluiten van de spanning gaan alle leds aan en gaan daarna
een voor een uit.
In het schema van elektuur zit een foutje.
Plaats de haakse 9-polige-sub-D-connenctor op de onderkant van de print en niet zoals op de
foto op de bovenzijde.
Anders zijn de signalen CTS, RTS, GND en DTR verkeerd verbonden!
To top
7- I have buy the elektor pcb. When I execute program my circuit don,t work, don,t detect
any inputs or outputs, but I select LOOP.plc example and my circuit work only one secuency to 32 at
output 0, don,t repeat secuency.
Place the 9-way-sub-D-connector female on the bottom(connectors) side!
To top
- Is there any possibility to interface DCIPLC and DCIVISU with Matlab
Simulink or Excel to emulate some real-time control and process?
I am already using Matlab Simulink to do process simulation and I found
a way to do almost real time process on Excel using a counter made in a
bunch of cells and using the iterative calculation option (see attached
file). When that counter is running inside the sheet then all other
equation runs in an iterative way (if it was designed to do so!) and
then the process is running as well as display cells I added.
However, I just cant find a way to use the DCIPLC_COM.SetSimInputs()
command (or others) such that when a cell changes from the FALSE state
to a TRUE state it triggers the DCIPLC_COM.SetSimInputs() command (or
any of the commands you provided in your package) and send the feedback
values to the inputs of DCIPLC. The same is true for commands like
GetInputs or GetOutputs.
Obviously your software DCIPLC is becoming a source of inspiration. I tried
the few lines you sent me. Unfortunately, it did not gave me the exact
results I expected. It seems that it requires a manual change of the cell
content to triger the send data function. However, it became a good start
for a fruitful brainstorming. I decided to use a user defined function in a
Excel VBA Module instead to trigger a data send function as well as for a
data return function called DCIPLCIN and DCIPLCOUT respectively. The
following is what I did.
Dim DCIPLC_COM2 As New TDCIPLC_COM
Function DCIPLCIN(DataIn)
DCIPLCIN = 1
DCI_IN (DataIn)
End Function
Sub DCI_IN(Value As Integer)
DCIPLC_COM2.SetSimInputs (Value)
End Sub
Function DCIPLCOUT(DataIn)
If (DCIPLC_COM2.GetOutputs() And DataIn) = DataIn Then
DCIPLCOUT = 1
End If
End Function
To validate the concept, I added it to the attached Excel validation
worksheet. I used ALLINOUT.PLC file in the DCIPLC software for the testing.
All you need to trigger the data call or data send function is a logical
function in a cell that will get true periodically (See de framed
functions).
Download: allinout.xls. (20-3-2003)
Thank you for this great PLC simulation software and for your help.
Best regards from Quebec.
Sylvain Morel
To top
-