Specifications
66 RSLinx – Training Guide
11. Your command button should now be ready to function. However, before you press
it, you should put a value into cell D7.
• This is the location that the macro code you wrote expects to find the value
that it will write to T4:0.PRE.
• Type 300 into cell D7 (be sure you press [Enter] to have Excel accept the
number into the cell). Then click your button.
12. To verify that the new value was indeed written to the PLC, you could add a hot link
into the Excel spreadsheet that reads the value from T4:0.PRE.
13. You can change the text on the button by changing the caption property of the
button. To do so, you must put the button back into design mode.
• Press the Design Mode toggle button on the Control Toolbox.
14. To access the properties for the button, you can right-click on the button and select
the Properties option. When the properties window appears, find the Caption option
in the list of properties and type in an appropriate title for your button.
Design mode
toggle button
Properties
button
When the button is “picked”,
you can choose the Properties
option from the right mouse
menu or the Control Toolbox.
Type any caption
you wish in the
Caption property.