[Emc-users] Multiple instances of classicladder

2014-10-18 Thread Marius Alksnys
Is it possible to run multiple instances of classicladder? I want to run 
several identical production lines from one control system using cl.
The idea is to design one cl for one line and load them like:
loadrt classicladder_rt names=cl1,cl2,cl3,...

loadusr classicladder (...)

and connect signals to multiple cl instances in hal.

I tried names, count, but these arguments are not recognised and this 
raises an error.

Something like this would be useful:
loadrt classicladder_rt names=cl1,cl2
addf cl1.refresh some-thread
addf cl2.refresh some-thread
loadusr classicladder cl1 cl-t1.clp
loadusr classicladder cl2 cl-t2.clp


I tried also:
loadrt classicladder_rt
addf classicladder.0.refresh slow-thread
loadusr classicladder cl-t1.clp
loadusr classicladder cl-t2.clp

System loads, but it loads only first loadusr instance and I get this 
warning:
HAL: ERROR: duplicate component name 'classicladder'

Any other suggestions?


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Multiple instances of classicladder

2014-10-18 Thread Jeff Epler
It's not currently possible to have multiple instances of classicladder
running within the same hal session.  I suspect the modifications to do
this in classicladder would be complex even for someone familiar with
the source code.

Jeff

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Multiple instances of classicladder

2014-10-18 Thread alex chiosso
Hi Marius. CL can run only one instance.
Il giorno 18/ott/2014 21:43, Marius Alksnys marius.alks...@gmail.com ha
scritto:

 Is it possible to run multiple instances of classicladder? I want to run
 several identical production lines from one control system using cl.
 The idea is to design one cl for one line and load them like:
 loadrt classicladder_rt names=cl1,cl2,cl3,...

 loadusr classicladder (...)

 and connect signals to multiple cl instances in hal.

 I tried names, count, but these arguments are not recognised and this
 raises an error.

 Something like this would be useful:
 loadrt classicladder_rt names=cl1,cl2
 addf cl1.refresh some-thread
 addf cl2.refresh some-thread
 loadusr classicladder cl1 cl-t1.clp
 loadusr classicladder cl2 cl-t2.clp


 I tried also:
 loadrt classicladder_rt
 addf classicladder.0.refresh slow-thread
 loadusr classicladder cl-t1.clp
 loadusr classicladder cl-t2.clp

 System loads, but it loads only first loadusr instance and I get this
 warning:
 HAL: ERROR: duplicate component name 'classicladder'

 Any other suggestions?



 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push notifications.
 Take corrective actions from your mobile device.
 http://p.sf.net/sfu/Zoho
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users