fbpx

How to Use a FactoryTalk SE Client Start-Up Macro to Call Screens in Order

When it comes to making an HMI client in FactoryTalk SE no matter what version that you may be using, there can be multiple ways to start an HMI system. This always boils down to what is the best and easiest way to call all of the screens to have the HMI client have the best reactive start to for both operator use and technician use.

Much different than FactoryTalk ME in which you have to select a start screen to pop up upon the HMI powering up. In FactoryTalk View SE, it is best to make a startup macro to call ever component that needs to pop up and start upon the client power up.

When I talk about using a startup macro then I am referring to when you start to make the client that is going to be used. When making a client then you have to select the application that you are using then when the pop-up screen appears you have selections to make to make the HMI client work the way that you need it to respond upon startup.

There is a selection for startup screen which in the case of using a startup macro then you want to leave it blank then in the startup macro section of this prompt select the macro that you would like to use.

Here is an example of what I am talking about:

 

FactoryTalk Se Client Startup macro selection

 

In the example above you can see exactly where to select the startup macro to be used. This may leave you with the question of where the startup macro comes from and the answer is simple, you first have to make the macro so if you try to make the client and do not have a macro made then you will not have a selection to choice from, meaning the drop down will be blank.

But no worries, I will show you an example of the macro that is being called in the section above.

The HMI application is a testing application that Rockwell Automation has put together for their examples of Process Library 3.5 and has been completely converted to a fully working system using RSLogix 5000 emulate so if you are looking for examples of the actual PLC code and HMI application. You can reference to AB.RockwellAutomation.com or straight to the Rockwell Automation Downloads and Compatibility webpage to get this Process Library 3.5 application that I am using, it comes with several different versions of RSLogix 5000 and FactoryTalk View applications so they give you a lot to choose from.

Here is an example of the macro that is being used:

FactoryTalk SE Client Start up Macro Example

The example above shows the macro that is being used in the application.

To describe the way the macro works, the /D is the display function so when you Display a screen you will type the screen name in then indicate where you would like the screen to be placed on the screen. With that being said, if you look above at the macro it calls four screens all together but the order they appear in the order in which they a written in the macro.

The Abort function is first to fully clear anything before calling the display screens, this is a Rockwell best practice but is not actually required in a startup macro.

The /D function is to let you place the select screen in a set location in the startup of the HMI client but if no /D is present then it opens the screen as the screen was designed.

Example: Display “P7s VButtonBar” /DL

This means the P7s VButtonBar will be displayed on the left side of the screen but after the screen above it have been called and to describe the last screen which is ov_Testbed. This is what you would do to allow the screen to open as a full screen of as the display has been designed so it would rely on that screen display settings as shown below.

HMI Screen Display Setting in FactoryTalk SE

To give a much better view of what I am describing or if you do not feel like reading the post then I made a video to fully describe a FactoryTalk View startup macro so without further ado.

In the video above I give an example of the process library 3.5 sample HMI application and focus on the startup macro that is being used so that the full process is given and all in a short 19-minute video. If by chance you would like to see other videos that I have made then you can visit my YouTube channel and go to the RSLogix 5000 Programming Playlist.

I developed this YouTube channel as a way to help everyone with PLC programming and also HMI programming. After all, we only have Allen Bradley training and Rockwell Automation training which if you paid for out of pocket would probably make most of us broke so I figured that I would help spread the knowledge that I have in this field.

I would have loved to have a go-to place to learn for free or even low cost when I first started programming over 12 years ago when I first learned to program it was on PLC 5 and at the time YouTube videos were just not around for such use.

So to keep this article straight to the point and not drag it out I would like to ask if you have any further questions or would like to know more then please feel free to go to my contact page and send me a message, this is the quickest way to contact me and I will get back to you as quick as possible.

Thank you for your time and let me know if I can help any further,

Shane

 

How to Use a FactoryTalk SE Client Start-Up Macro to Call Screens in Order

When it comes to making an HMI client in FactoryTalk SE no matter what version that you may be using, there can be multiple ways to start an HMI system. This always boils down to what is the best and easiest way to call all of the screens to have the HMI client have the best reactive start to for both operator use and technician use.

Much different than FactoryTalk ME in which you have to select a start screen to pop up upon the HMI powering up. In FactoryTalk View SE, it is best to make a startup macro to call ever component that needs to pop up and start upon the client power up.

When I talk about using a startup macro then I am referring to when you start to make the client that is going to be used. When making a client then you have to select the application that you are using then when the pop-up screen appears you have selections to make to make the HMI client work the way that you need it to respond upon startup.

There is a selection for startup screen which in the case of using a startup macro then you want to leave it blank then in the startup macro section of this prompt select the macro that you would like to use.

Here is an example of what I am talking about:

 

FactoryTalk Se Client Startup macro selection

 

In the example above you can see exactly where to select the startup macro to be used.

This may leave you with the question of where the startup macro comes from and the answer is simple, you first have to make the macro so if you try to make the client and do not have a macro made then you will not have a selection to choice from, meaning the dropdown will be blank.

But no worries, I will show you an example of the macro that is being called in the section above.

The HMI application is a testing application that Rockwell Automation has put together for their examples of Process Library 3.5 and has been completely converted to a fully working system using RSLogix 5000 emulate so if you are looking for examples of the actual PLC code and HMI application.

You can reference to AB.RockwellAutomation.com or straight to the Rockwell Automation Downloads and Compatibility webpage to get this Process Library 3.5 application that I am using, it comes with several different versions of RSLogix 5000 and FactoryTalk View applications so they give you a lot to choose from.

Here is an example of the macro that is being used:

FactoryTalk SE Client Start up Macro Example

The example above shows the macro that is being used in the application.

To describe the way the macro works, the /D is the display function so when you Display a screen you will type the screen name in then indicate where you would like the screen to be placed on the screen. With that being said, if you look above at the macro it calls four screens all together but the order they appear in the order in which they a written in the macro.

The Abort function is first to fully clear anything before calling the display screens, this is a Rockwell best practice but is not actually required in a startup macro.

The /D function is to let you place the select screen in a set location in the startup of the HMI client but if no /D is present then it opens the screen as the screen was designed.

Example: Display “P7s VButtonBar” /DL

This means the P7s VButtonBar will be displayed on the left side of the screen but after the screen above it have been called and to describe the last screen which is ov_Testbed. This is what you would do to allow the screen to open as a full screen of as the display has been designed so it would rely on that screen display settings as shown below.

HMI Screen Display Setting in FactoryTalk SE

To give a much better view of what I am describing or if you do not feel like reading the post then I made a video to fully describe a FactoryTalk View startup macro so without further ado.

In the video above I give an example of the process library 3.5 sample HMI application and focus on the startup macro that is being used so that the full process is given and all in a short 19-minute video. If by chance you would like to see other videos that I have made then you can visit my YouTube channel and go to the RSLogix 5000 Programming Playlist.

I developed this YouTube channel as a way to help everyone with PLC programming and also HMI programming. After all, we only have Allen Bradley training and Rockwell Automation training which if you paid for out of pocket would probably make most of us broke so I figured that I would help spread the knowledge that I have in this field.

I would have loved to have a go-to place to learn for free or even low cost when I first started programming over 12 years ago when I first learned to program it was on PLC 5 and at the time YouTube videos were just not around for such use.

So to keep this article straight to the point and not drag it out I would like to ask if you have any further questions or would like to know more then please feel free to go to my contact page and send me a message, this is the quickest way to contact me and I will get back to you as quick as possible.

Thank you for your time and let me know if I can help any further,

Shane

 

Start Up Properly

FactoryTalk SE Applications

Keeping up with Technology

 

Our PLC Training