QUOTE(scottmurphy @ Apr 16 2009, 10:09 AM) [snapback]81117[/snapback]
QUOTE(stl @ Apr 16 2009, 03:57 AM) [snapback]81116[/snapback]
Hi Scott,
SYSMAC CS1G CPU 44-V1
Thanks
Is this a new CPU, or an existing. Does it support Function Blocks? From memory, the version no's that supported FB's were V3 and later. If so, then you could do something is Structured Text. Am I correct by your username that you are familiar with ST/STL?
Also, I have just checked the manual on the DMPX, it can do up to 32 words as the source, let me know if you need some more help setting the control word.
It must be pretty intense if there is more bits than that? May be worth breaking it up a bit more so it is more manageable and readable?
To do this properly, the bits must be consecutive, how many consecutive bits are you using? Im assuming that these are alarm or step bits of some description?
What is your end goal/result?
Hi Scott
I believe it is an old CPU, It doesnt support FB, and the options for ST or SFC Programs are greyed out.
If the DMPX instruction supports 32 words it should easily be enough and Yes all the Message bits are consecutive.
My background is Siemens Step7 - so im familar with most languages and FB's etc
The program currently has a message bit for each Input state - all conditions including priority are coded into the particular message rung - this is already coded.
Currently there are 52 message bits.
I need to send a message number to a Robot which will display the Text for dignostic purposes
e.g
Message 1: Waiting for Sensor XXX On (Clamp 5 Off)
I only have a single Byte to play with on the Robot side which is good for 255 messages.
Thanks for your help - I'd never seen any Omron gear prior to this week!