ARSim 6.4.2 bug? Possibly modbus tcp related?

Hello,

Im currently unable to use my simulation because it keeps crashing when i upload my software on it.

I can see in the ARSim startup the following log:

$accsec:EventID 1073773104 (INFO, 0, 31280), "ROOT", "base log module created"
$arlogconn:EventID 1073773104 (INFO, 0, 31280), "ROOT", "base log module created"
$arlogsys:EventID 1073773104 (INFO, 0, 31280), "ROOT", "base log module created"
$arlogusr:EventID 1073773104 (INFO, 0, 31280), "ROOT", "base log module created"
$fieldbus:EventID 1073773104 (INFO, 0, 31280), "ROOT", "base log module created"
$firewall:EventID 1073773104 (INFO, 0, 31280), "ROOT", "base log module created"
$motion:EventID 1073773104 (INFO, 0, 31280), "ROOT", "base log module created"
$safety:EventID 1073773104 (INFO, 0, 31280), "ROOT", "base log module created"
$textsys:EventID 1073773104 (INFO, 0, 31280), "ROOT", "base log module created"
$unitsys:EventID 1073773104 (INFO, 0, 31280), "ROOT", "base log module created"
$versinfo:EventID 1073773104 (INFO, 0, 31280), "ROOT", "base log module created"
$arlogsys:EventID -2147453620 (WARNING, 0, 30028), "ROOT", "reboot required - modified hardware description (hwd) and/or firmware available"
$visu:EventID 1073773104 (INFO, 0, 31280), "ROOT", "log module <$visu> created"
$fieldbus:EventID -1073708774 (ERROR, 0, 33050), "PnPManager", "MODBUS InternalStartup failed!"
$arlogsys:EventID -2147453618 (WARNING, 0, 30030), "PnPManager", "IF3.ETH.MODBUS.BUS"
$arlogconn:EventID 1076899302 (INFO, 48, 11750), "tOpcUaComm", "Begin startup sequence - multicore support enabled"
$arlogconn:EventID 1076899306 (INFO, 48, 11754), "tOpcUaComm", "NodeSet ./ADDONS/DATA/OPCUA/NodeSet/Vendor/OpcUaCsPlc.uanodeset loaded
"
$arlogconn:EventID 3157478 (SUCCESS, 48, 11750), "tOpcUaComm", ""
$versinfo:EventID 1080033323 (INFO, 96, 43), "McBase", ""
$arlogsys:EventID -1073716510 (ERROR, 0, 25314), "ArException", ""
$arlogsys:EventID -1073735020 (ERROR, 0, 6804), "ArException", "ROOT"
$fieldbus:EventID -1073708774 (ERROR, 0, 33050), "PnPManager", "MODBUS InternalStartup failed!"
$arlogsys:EventID -2147453618 (WARNING, 0, 30030), "PnPManager", "IF3.ETH.MODBUS.BUS"
$arlogconn:EventID 1076899302 (INFO, 48, 11750), "tOpcUaComm", "Begin startup sequence - multicore support enabled"
$arlogconn:EventID 1076899306 (INFO, 48, 11754), "tOpcUaComm", "NodeSet ./ADDONS/DATA/OPCUA/NodeSet/Vendor/OpcUaCsPlc.uanodeset loaded
"
$arlogconn:EventID 3157478 (SUCCESS, 48, 11750), "tOpcUaComm", ""
$arlogsys:EventID -1073716510 (ERROR, 0, 25314), "ArException", ""
$arlogsys:EventID -1073735020 (ERROR, 0, 6804), "ArException", "ROOT"
$fieldbus:EventID -1073708774 (ERROR, 0, 33050), "PnPManager", "MODBUS InternalStartup failed!"
$arlogsys:EventID -2147453618 (WARNING, 0, 30030), "PnPManager", "IF3.ETH.MODBUS.BUS"
$arlogconn:EventID 1076899302 (INFO, 48, 11750), "tOpcUaComm", "Begin startup sequence - multicore support enabled"
$arlogconn:EventID 1076899306 (INFO, 48, 11754), "tOpcUaComm", "NodeSet ./ADDONS/DATA/OPCUA/NodeSet/Vendor/OpcUaCsPlc.uanodeset loaded

My software has two modbus tcp devices under the powerlink port.

Setup spec:

AS 6.3.3.14

ARSim 6.4.2

X90CP154_60_00

Generic Modbus Station V1.1.1.0

ModbusTcp_any

Is this something i am doing wrong or is this a bug?

Is there a workaround for this problem to still use the ARSim? i dont want to delete the two modbus station’s.

Hi,

can you please post additionally the version of the opc ua technology package you’re using?

Best regards.

1 Like

Thanks!
I personally haven’t seen it do far and have no idea if it’s a bug or something else, but that info will help trying to test/reproduce the issue.

Best regards.

1 Like

I did a quick test and it works fine for me. Can you please upload the project? Remove all tasks and sensitive information. Delete the Diagnostic, Binaries and Temp folder before you ZIP the project.

Stephan

1 Like

ARSim_Test.zip (5.5 MB)
Hello Stephan,

I have tried to reproduce the ARSim crashing in a new project without success.

The project i provided is my main project with almost everything deleted but the problem still persists, so maybe its something deeper in the project.

i hope this will help you.

I was able to reproduce the issue and I will forward this to R&D. The issue is related to this setting on the PLK interface.

If you set this to Life List or None the simulation should work.

Stephan

2 Likes

Hi Stephan,
Yes this fixed the issue, thanks for the quick diagnosis.