Hi,
Maybe watch this video first?: https://youtu.be/2njmNua-cdQ
I have been a PLC programmer for a long time and have experience with multiple brands of PLCs and HMI screens. (Schneider, Siemens, Allen Bradley, Sigmatek, Bachmann)
Lately, I have been working a lot with Vijeo Designer.
But now (on the recommendation of Claude AI) I wanted to try something...
And I'm trying to make something together with Claude, but after talking in circles for 2 days, I finally went looking for a forum. ![]()
I actually want to create an Ignition screen alongside the Vijeo Runtime, which is connected to the same PLC and addresses.
In Vijeo, I assigned one %MW to each valve for the status.
The 0th bit of the 16 bits is valve closed (bit0=0) valve open (bit0=1)
bit 1 = 0/1 is moving or inposition. bit 1, valve is yellow, that it is moving.
Bit 2= 0/1 Valve in Alarm, if it takes too long to open or closed.
bit 3, if this bit is high, the valve is in manual mode, and a square is drawn around the valve, which is essentially a button.
Bit 4 is set high when you press the valve while it is in manual mode.
This bit is set low again in the PLC. In the PLC, the valve responds to the rising edge of that bit, sends the valve open or closed, and resets the bit.
And then the last bits in the word, so from bit5 to bit15 is the angle in degrees. So with that, I can rotate the valve by 45 degrees, for example.
And so this is what I'm trying to make in Ignition.
But actually, in such a way that I only need to attach 1 tag to it? And if I put multiple on a screen, so that they all attach to their own tag.
And it works pretty well, but then suddenly everything goes wrong...
I put it in Container Coordinate (together with Claude)? And then an EmbeddedView on another screen, but then I can link it to different tags, but when I want to scale it I get sliders? And the blue scale box does get bigger, but the flap inside the box doesn't scale...
At first Claude was very positive, and everything was possible with Ignition, but after 2 days I get the feeling that it's all impossible. Am I asking too much? Or is it actually doable? But Claude doesn't know how?
So as you can see in the video, the first 20 seconds show the colors without the manual box.
Then the manual box. at 52 seconds 9 (so manual and green), and if I click 9, change to 25, so the PLC knows you clicked the valve...
And at 1 minute, you see 1440, which is 45 degrees and closed... then 1441 is 45 degrees and open...