charp Posted October 25, 2013 Report Posted October 25, 2013 I have a GT1675 communicating with 2 Mitsubishi Q02CPU's via Ethernet - CPU 1 will be the host on the network and influence all elements on my screens. At times i require elements on the screens to be referencing CPU 2 in order to display their statuses. I plan on doing this via control from a status of a marker within the CPU 1 to direct the HMI to the relevant CPU in order to influence for example a bit lamp on the screen, both CPU's will also be using identical device addresses (ie. M100 in CPU 1 will also be M100 in CPU 2). Effectively achieving the following: If M0 = 1 then then the HMI will look to CPU 1 for the Bit Lamp Status Else M0= 0 then the HMI will look to CPU 2 for the Bit Lamp Status I've been looking through the manuals provided with GT Designer 3 and believe I may have to use a script in order to do this. I have no previous experience with the scripting so if someone could kindly point be in the right direction that would be great Thanks, Danny
Crossbow Posted October 27, 2013 Report Posted October 27, 2013 Use the Change Station Number switch to create a button on the screen which switches communication from station 1 to station 2. That's how I've always done it. You can also actually create objects on the screens and reference either CPU. Had a system with 5 identical lines, we networked them, put the GOT on the network, and made one set of screens with a row of station change switches to cycle between the CPUs.
charp Posted October 28, 2013 Author Report Posted October 28, 2013 Thanks for the response, although your suggestion isn't quite what I'm looking to achieve. I understand I can reference different CPU numbers on the network although need the elements on the page to automatically switch to using the 2nd CPU instead of needing any human interaction dependent on the status of a marker (0 or 1) reference CPU 1 or 2.
Bryll Posted October 28, 2013 Report Posted October 28, 2013 Would it be possible to control the visibility of your objects with the tag you ´select the PLC from? If M0=1 make object visible for PLC1 If M0=0 make object visible for PLC2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now