J
On February 24, 2004, Michael Griffin wrote:
<clip>
> If the project involved some back and forth, that is changing the drawing
> after the PLC program was started, then the information would need to flow
> both ways. <
This is most likely, I suspect
In any case, it covers both of the other two possibilities, so it'd be best to design for this.
> If the PLC software had
> the device data available to it, it could tell you not just the symbol
> name, but also what is actually connected to it - which would be an aid to
> troubleshooting. <
Indeed. The circuit drawing might also be (somewhat) animated, so that the computer would tell you what voltages should be on which wires, in the same way that it does for ladder rungs. (That'd let you troubleshoot by
reconciling between what the computer thinks and what the voltmeter says.)
> The XML file seems like the obvious and simple choice, but may have
> limitations for large projects involving multiple people. The problem would
> be in keeping the different versions in sync if more than one person can
> edit them. <
Well, that's the existing version-control problem of multiple people editing the PLC program or multiple people editing a CAD drawing. It'd be made somewhat worse by involving several departments, but it's already cross department due to maintenance...
Any of the existing version-control technologies would do the trick; but you do have to keep it in mind while designing the software.
> Another means might be to have a third application which is used for
> creating and editting symbol files, from which both the CAD and PLC
> programs import their data. <
Ideally you want a two-way connection, so that in your CAD or PLC software you can invoke the "add a symbol" function and pull up the "symbol properties" dialog.
> perhaps even pulling design
> information from the mechanical drawings. <
Now that'd be really neat
As a pipe dream, this would note the location of motors and limit switches and automatically generate associations between them in the PLC programming software (including diagnostic messages when the motor should've reached the
limit switch by now, but hasn't - just fill in the timeout).
Anyway, that's well in the future (many years). For now, just displaying all the related drawings to the maintenance tech would do.
Another many-years-hence possibility would be the reverse: using the PLC program to animate the mechanical drawings.
> Some or even all of the above may not be entirely new. It does seem rather
> obvious to anyone who has worked in this field. I have seen products which
> do pieces of it. I haven't however actually seen anything which does all of
> this. I suspect that the reason for this is the lack of open standard data
> formats which would enable the exchange of data between software written by
> different parties. <
Well, the obvious solution is to use open-source software: you can read (and reuse) the code which reads and writes their formats, write the bit in the middle that manages it all, and even submit patches to them to integrate it into their respective menus.
Can we look forward to you announcing this project soon?
Jiri
--
Jiri Baum <[email protected]> http://www.csse.monash.edu.au/~jirib
MAT LinuxPLC project --- http://mat.sf.net --- Machine Automation Tools
<clip>
> If the project involved some back and forth, that is changing the drawing
> after the PLC program was started, then the information would need to flow
> both ways. <
This is most likely, I suspect
In any case, it covers both of the other two possibilities, so it'd be best to design for this.
> If the PLC software had
> the device data available to it, it could tell you not just the symbol
> name, but also what is actually connected to it - which would be an aid to
> troubleshooting. <
Indeed. The circuit drawing might also be (somewhat) animated, so that the computer would tell you what voltages should be on which wires, in the same way that it does for ladder rungs. (That'd let you troubleshoot by
reconciling between what the computer thinks and what the voltmeter says.)
> The XML file seems like the obvious and simple choice, but may have
> limitations for large projects involving multiple people. The problem would
> be in keeping the different versions in sync if more than one person can
> edit them. <
Well, that's the existing version-control problem of multiple people editing the PLC program or multiple people editing a CAD drawing. It'd be made somewhat worse by involving several departments, but it's already cross department due to maintenance...
Any of the existing version-control technologies would do the trick; but you do have to keep it in mind while designing the software.
> Another means might be to have a third application which is used for
> creating and editting symbol files, from which both the CAD and PLC
> programs import their data. <
Ideally you want a two-way connection, so that in your CAD or PLC software you can invoke the "add a symbol" function and pull up the "symbol properties" dialog.
> perhaps even pulling design
> information from the mechanical drawings. <
Now that'd be really neat
As a pipe dream, this would note the location of motors and limit switches and automatically generate associations between them in the PLC programming software (including diagnostic messages when the motor should've reached the
limit switch by now, but hasn't - just fill in the timeout).
Anyway, that's well in the future (many years). For now, just displaying all the related drawings to the maintenance tech would do.
Another many-years-hence possibility would be the reverse: using the PLC program to animate the mechanical drawings.
> Some or even all of the above may not be entirely new. It does seem rather
> obvious to anyone who has worked in this field. I have seen products which
> do pieces of it. I haven't however actually seen anything which does all of
> this. I suspect that the reason for this is the lack of open standard data
> formats which would enable the exchange of data between software written by
> different parties. <
Well, the obvious solution is to use open-source software: you can read (and reuse) the code which reads and writes their formats, write the bit in the middle that manages it all, and even submit patches to them to integrate it into their respective menus.
Can we look forward to you announcing this project soon?
Jiri
--
Jiri Baum <[email protected]> http://www.csse.monash.edu.au/~jirib
MAT LinuxPLC project --- http://mat.sf.net --- Machine Automation Tools