12/13/2021 4:25 PM | |
Joined: 9/27/2006 Last visit: 7/14/2024 Posts: 12268 Rating: (2675) |
Hello Maestro; This is an extract from the PLCSim v14online help manual, I am afraid te situation remains the same with v15. https://support.industry.siemens.com/cs/ww/en/view/109741755/90353537419 You would need real hardware to test this. Reading actual inputs from the slave over Proibus-DP would give you the information you need, Then you coullld use bit manipulation techniques (standard bit operantions AND and OR, Bit shift...) to determine which bits are ON innside a word register. Hope this helps, Daniel Chartier |
12/13/2021 7:14 PM | |
Joined: 1/11/2019 Last visit: 7/1/2024 Posts: 727 Rating: (143) |
Hi Maestro, Question 1) Is there a way or tips from you to directlyVisualisethe actual "Input / Output" status of a Distributed I/O Device (ET 200M 6ES7 321-1FF for exemple) from the PLCSIM. To read / monitor WHICH of I/O bitof the moduleis curently ON or OFF, like in real system with the led Possible solution: You can simulate all the IOs of your project irrespective of network elements, Simulator will not fetch the signal from either your profibus network or profinet network. I mean simulator will not consider any network elements. Your program just runs based on your IO status as per PLC SIM data. Question 2)Is there a PLC program (Instruction) to read, return, which IO bit of the module are currently ON or OFF on the DP Slave (ET 200M 6ES7 321-1FF for example). Possible solution: You have to manually read using WATCH Table (in TIA) or Variable Table / VAT Table (in Simatic Manager) To get the diagnosis information of networked devices please go through below point The diagnostics of devices, modules and networks play an ever-increasing role in automation technology. By diagnosing with a user program, faulty modules can be detected. This enables you to also program responses to diagnostic messages. You can surf the below link to know more. Diagnostics in User Program with S7-1500 |
12/14/2021 2:32 PM | |
Joined: 11/8/2021 Last visit: 1/17/2022 Posts: 6 Rating: (0) |
Daniel Chartier, So in whatversionof PLCSim, would it be possible for me to simulate the PROFIBUS, Distributed I/O. I need to install wich version of TiaPortal in order to read DP Slave IO Status in simulation? |
12/14/2021 3:20 PM | |
Joined: 7/7/2010 Last visit: 7/12/2024 Posts: 14948 Rating: (2393)
|
In the normal PLCSim you can easily assign incoming telegram data with the Input simulator. Is this not what you want? Or, do you want to also simulate every possible DP slave's behavior with PLCSim? If so, then the same approach is needed. Establish when in time the DP slave(s) values appear and allow your PLC logic to handle it during the PLC simulation.
|
science guy |
|
12/14/2021 3:30 PM | |
Joined: 11/8/2021 Last visit: 1/17/2022 Posts: 6 Rating: (0) |
So is it realy impossible to simulate data exchange Using TiaPortal for DP IO module? How could the data exchange be simulated for siemens PLC and DP slave? |
Last edited by: Maestro-ZS at: 12/14/2021 15:33:21 |
|
12/14/2021 3:46 PM | |
Joined: 7/7/2010 Last visit: 7/12/2024 Posts: 14948 Rating: (2393)
|
Are you not aware how PLCSim works? You preconfigure a time-line of Input addresses and values, then run that simulated input stream against the PLC logic in the simulated PLC. F1-help while PLCsim is running to get to that help more directly although it is also available in regular TIA Portal's help if you add PLCSim to the search text.
|
science guy |
|
Follow us on