I have an HMI project working on a s7-1200. The project is developed with Codetyphoon 4.7. I'm trying to run the same project on a s7-1500, but the it chrashes if I set the PLCBlock property "AutoRead" on TRUE.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are you trying to access a DB created with "Symbolic access" flag checked?
I'll suggest to to you, update your codethyphon, because CT 4.7 uses the same PascalSCADA revision included into CT 2.90, and I changed a lot the PascalSCADA between these CT versions.
Otherwise, can you generate a communication log between you application and S7-1500?
The best regards,
Fabio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The "symbolic access" is enabled on the DB.
I installed the latest version of codetyphon (5.60) and I will check if the project works.
I see there are a lot of new features available on pascalscada, it is possible to download project examples or documentation to explain how them works ?
Best regards
Riccardo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, first disable the symbolic access of your DB. PascalSCADA (and much others SCADA systems) don't exchange data with DB's created with this flag checked. The unique exception for this "rule" should be Siemens WinCC.
About the examples, it are shipped with together with CT, on Codeocean (the library of examples), but about the documentation, I don't know what Pilotlogic developers does with that.
If documentation was not shiped with CT, you can download if from
I updated CodeTyphon to version 5.60, but I still face the same problem. The Application chrashes if I set the PLCBlock property "AutoRead" on TRUE.
Please find attached a screenshoot of the error and the S/TCPISO settings and log.
Replace the files of pascalSCADA by the attached ones, recompile the package pl_pascalscada and test. To me, these changes solved the crash on my machine (W7_SP1_32 Lazarus 1.4, Lazarus 1.6 and LinuxMint 17.3 64bits Lazarus 1.7 with FPC 3.1.1)
I'm still changing the code, so if the error persists, please send a message.
If you can, try make a new application and setup a communication with only the problematic Datablock, using the same structure of your application (TCP_UDP_Port -> ISOTCPDriver -> PLCBlock)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I have an HMI project working on a s7-1200. The project is developed with Codetyphoon 4.7. I'm trying to run the same project on a s7-1500, but the it chrashes if I set the PLCBlock property "AutoRead" on TRUE.
Hi!!
Are you using the PascalSCADA version that comes with CodeTyphon?
Dear Fabio,
yes, I'm using the PascalScada version which comes with codetyphoon.
Are you trying to access a DB created with "Symbolic access" flag checked?
I'll suggest to to you, update your codethyphon, because CT 4.7 uses the same PascalSCADA revision included into CT 2.90, and I changed a lot the PascalSCADA between these CT versions.
Otherwise, can you generate a communication log between you application and S7-1500?
The best regards,
Fabio
Dear Fabio,
The "symbolic access" is enabled on the DB.
I installed the latest version of codetyphon (5.60) and I will check if the project works.
I see there are a lot of new features available on pascalscada, it is possible to download project examples or documentation to explain how them works ?
Best regards
Riccardo
Hi Riccardo!
Well, first disable the symbolic access of your DB. PascalSCADA (and much others SCADA systems) don't exchange data with DB's created with this flag checked. The unique exception for this "rule" should be Siemens WinCC.
About the examples, it are shipped with together with CT, on Codeocean (the library of examples), but about the documentation, I don't know what Pilotlogic developers does with that.
If documentation was not shiped with CT, you can download if from
https://sourceforge.net/p/pascalscada/code/HEAD/tree/trunk/docs/
On this page, click on link "Download snapshot"
The best regards,
Hi Fabio,
I updated CodeTyphon to version 5.60, but I still face the same problem. The Application chrashes if I set the PLCBlock property "AutoRead" on TRUE.
Please find attached a screenshoot of the error and the S/TCPISO settings and log.
Best regards
Can you send the callstack of error?
Hi Fabio,
I found a mistake in the configuration of one of my PLCBlock. (PLCSTATION was set to 0)
The application does not crash anymore, but the AUTO READING is not working.
If I write something in the HMI the value is updated in the PLC, while changing a value in the PLC is not detected in the HMI
I good idea is set properties PLCStation, PLCRack and PLCSlot of all tags to 0 (zero) and set these properties on your ISOTCPDriver to correct values.
Dear Fabio
With the following settings I cannot read some PLCBLOCK values from the PLS, but I can write them:
ISOTCPDriver:
PLCRACK 0
PLCSLOT 1
PLCSTATION 2
PLCBLOKS:
PLCRACK 0
PLCSLOT 1
PLCSTATION 2
Leaving the same ISOTCPDriver settings and putting PLCBLOKS settings to 0,0,0 I can't read nor write.
Strange... Do you have changed all tags (PLCBlocks, PLCStructs and PLCTagNumbers)?
Hi Riccardo!
I don't know if your S7 1500 has a option called "Connection mechanisms"? If it has, please disable all options of this option group.
Sorry, check instead of uncked.
Hi Riccardo!
Replace the files of pascalSCADA by the attached ones, recompile the package pl_pascalscada and test. To me, these changes solved the crash on my machine (W7_SP1_32 Lazarus 1.4, Lazarus 1.6 and LinuxMint 17.3 64bits Lazarus 1.7 with FPC 3.1.1)
I'm still changing the code, so if the error persists, please send a message.
These files are available at PascalSCADA trunk too...
If you can, try make a new application and setup a communication with only the problematic Datablock, using the same structure of your application (TCP_UDP_Port -> ISOTCPDriver -> PLCBlock)