Is there a way to simulate PLC realtime data without actual PLC? I remember in one of the tests as integrator, there was CSV file sent to simulate such behavior. How do we do that by ourselves?
Thank you very much.
Is there a way to simulate PLC realtime data without actual PLC? I remember in one of the tests as integrator, there was CSV file sent to simulate such behavior. How do we do that by ourselves?
Thank you very much.
Heh, sounds familiar
Take a look at this thread.
Hi, pturmel
Thanks! Looks like this is what I look for! Will go and check.
Hi pturmel,
I run your project âSimulation Aids Module Demoâ in my PC and I got the following error, any idea?
[quote]ERROR [ProjectTag-Designer-Startup] Error creating tag binding for client tag â[Client]Targetâ
java.lang.RuntimeException: Unknown function: âobjectScriptâ
at com.inductiveautomation.ignition.common.expressions.FunctionExpression.(FunctionExpression.java:27)
at com.inductiveautomation.ignition.common.expressions.parsing.CUP$ELParser$actions.CUP$ELParser$do_action(ELParser.java:567)
at com.inductiveautomation.ignition.common.expressions.parsing.ELParser.do_action(ELParser.java:323)
at java_cup.runtime.lr_parser.parse(lr_parser.java:569)
at com.inductiveautomation.ignition.common.expressions.parsing.ELParserHarness.parse(ELParserHarness.java:22)
at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTag.createTagBinding(ProjectTag.java:84)
at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTag.startBindingImpl(ProjectTag.java:121)
at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTag.startBinding(ProjectTag.java:111)
at com.inductiveautomation.factorypmi.application.sqltags.ClientTagFolder.startBinding(ClientTagFolder.java:152)
at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTagManager.startup(ProjectTagManager.java:445)
at com.inductiveautomation.ignition.client.sqltags.impl.ClientTagManagerImpl.startup(ClientTagManagerImpl.java:155)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadProject(IgnitionDesigner.java:853)
at com.inductiveautomation.ignition.designer.IgnitionDesigner$StartupProjectDialogHandler$1.run(IgnitionDesigner.java:1819)
at java.lang.Thread.run(Unknown Source)
ERROR [ProjectTag-Designer-Startup] Error creating tag binding for client tag â[Client]Rampâ
java.lang.RuntimeException: Unknown function: ârampâ
at com.inductiveautomation.ignition.common.expressions.FunctionExpression.(FunctionExpression.java:27)
at com.inductiveautomation.ignition.common.expressions.parsing.CUP$ELParser$actions.CUP$ELParser$do_action(ELParser.java:567)
at com.inductiveautomation.ignition.common.expressions.parsing.ELParser.do_action(ELParser.java:323)
at java_cup.runtime.lr_parser.parse(lr_parser.java:569)
at com.inductiveautomation.ignition.common.expressions.parsing.ELParserHarness.parse(ELParserHarness.java:22)
at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTag.createTagBinding(ProjectTag.java:84)
at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTag.startBindingImpl(ProjectTag.java:121)
at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTag.startBinding(ProjectTag.java:111)
at com.inductiveautomation.factorypmi.application.sqltags.ClientTagFolder.startBinding(ClientTagFolder.java:152)
at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTagManager.startup(ProjectTagManager.java:445)
at com.inductiveautomation.ignition.client.sqltags.impl.ClientTagManagerImpl.startup(ClientTagManagerImpl.java:155)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadProject(IgnitionDesigner.java:853)
at com.inductiveautomation.ignition.designer.IgnitionDesigner$StartupProjectDialogHandler$1.run(IgnitionDesigner.java:1819)
at java.lang.Thread.run(Unknown Source)
ERROR [ProjectTag-Designer-Startup] Error creating tag binding for client tag â[Client]RampHistoryâ
java.lang.RuntimeException: Unknown function: ârecorderâ
at com.inductiveautomation.ignition.common.expressions.FunctionExpression.(FunctionExpression.java:27)
at com.inductiveautomation.ignition.common.expressions.parsing.CUP$ELParser$actions.CUP$ELParser$do_action(ELParser.java:567)
at com.inductiveautomation.ignition.common.expressions.parsing.ELParser.do_action(ELParser.java:323)
at java_cup.runtime.lr_parser.parse(lr_parser.java:569)
at com.inductiveautomation.ignition.common.expressions.parsing.ELParserHarness.parse(ELParserHarness.java:22)
at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTag.createTagBinding(ProjectTag.java:84)
at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTag.startBindingImpl(ProjectTag.java:121)
at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTag.startBinding(ProjectTag.java:111)
at com.inductiveautomation.factorypmi.application.sqltags.ClientTagFolder.startBinding(ClientTagFolder.java:152)
at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTagManager.startup(ProjectTagManager.java:445)
at com.inductiveautomation.ignition.client.sqltags.impl.ClientTagManagerImpl.startup(ClientTagManagerImpl.java:155)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadProject(IgnitionDesigner.java:853)
at com.inductiveautomation.ignition.designer.IgnitionDesigner$StartupProjectDialogHandler$1.run(IgnitionDesigner.java:1819)
at java.lang.Thread.run(Unknown Source)
[/quote]
This makes the Components unable to display the values they are supposed to have (screenshot attached).
[quote=âianâ][quote]Unknown function: âobjectScriptâ[/quote][/quote]You didnât load the module into your gateway, or you loaded the wrong version.
Pardon me,
Thanks!
[quote=âianâ]1. What module do I need to load? objectScript?[/quote]Simulation Aids[quote=âianâ]2. How do I check the version of the module loaded to be fit with the project?[/quote]From your gatewayâs configuration web page under âConfigurationâ => âModulesâ. Thatâs also where you get to the module install page (at the bottom of the list).
That works really well. Thanks! What I previously had was âProduction-Simulatorâ module (as it was instructed during the test to use this module). It turns out to be different module from âSimulation Aidsâ (I didnât know this).
Thanks for the clarification!