


#SIMATIC S7 PLCSIM ADVANCED 32 BIT#
'Read float 32 bit from DB 10 DWORD address 64 (7_DoubleWord = 4) S7ProSim.ReadDataBlockValue(12, 58, 0, 4, pDataI) 'Read DWORD from DB 12 address 58 (7_DoubleWord = 4) S7ProSim.ReadFlagValue(1200, 0, 3, pDataW) S7ProSim.ReadDataBlockValue(156, 20, 0, 2, pDataB) 'Read Byte from DB, address 156 byte address 20 (7_Byte = 2) S7ProSim.ReadOutputPoint(100, 0, 2, pDataB) 'Read Byte output, address 100.0 (7_Byte = 2)

'Write inputs array 3x-16 bit integer, address 120, 122, 124 Private WithEvents S7ProSim As New S7PROSIMLib.S7ProSim With COM component can read not only I/O interface, but variables (flags, int16, dint, DB) too.Įxample VB.NET application with S7-PLCSIM version 5.4 and S7-PROSIM COM API: Microsoft Dot.Net, Microsoft Excel, C++). S7PROSIM – COM API provides programmatic access to the simulated PLC interface of S7-PLCSIM. The API interface can be used with all Windows applications supporting the Component Object Model technology (e.g.
#SIMATIC S7 PLCSIM ADVANCED UPDATE#
Update user Interface and calculate values of the process simulationĮxample VB 6.0 application with S7-PLCSIM version 5.2 and S7-PROSIM OCX component:.With this version only possible read and write I/O interface of simulated PLC. The API interface is based on ActiveX-Controls, which permits the required process variables to be dynamically simulated with all Windows applications supporting the active X technology (e.g. S7PROSIM – OCX component provides programmatic access to the simulated PLC interface of S7-PLCSIM. You must consider that update to the new version of STEP 7 (eg 5.4, 5.5) is automatically installed an new version of S7-PLCSIM with S7PROSIM COM component instead of OCX and therefore management programs S7-PLCSIM for these versions are incompatible. OCX – ActiveX-Controls for S7-PLCSIM version 5.3 and before.S7PROSIM will be installed on your hard disk with installation of the S7-PLCSIM. S7PROSIM is interface component for control, manipulate data PLCSIM from user program.
