have you considered using LMS Amesim Statechart control logic tool to represent the PLC?
For more information about the Statechart, please refer to the online documentation or to LMS Amesim help and demos (qthelp://lmsimagine.lab/ame_dir/demo/Platform/PlatformFacilities/Statechart/Statechart.html).
yes there are possibilities to connect a real PLC, e.g. a Siemens S7-1500, to a model in LMS Amesim. The other possibility is to connect an emulated PLC to a LMS Amesim model.
Which kind of PLC do you have in mind?
just to summarize what my colleagues have already mentionned:
Could you tell us more about your application?