Download CX-Programmer Operation Manual
Transcript
Section 3-2 Procedures Checking Programs within Function Block Definitions Use the following procedure to check the program in the function block definition for an instance during monitoring. 1,2,3... Right-click the instance and select To Lower Layer from the pop-up menu. The function block definition will be displayed. Monitoring Instance Variables in the Watch Window 1,2,3... Use the following procedure to monitor instance variables. 1. Select View - Window - Watch. A Watch Window will be displayed. 2. Use any one of the three following methods to display the FB variables registration Dialog Box. a. Right-click the instance and select Register in Watch Windows from the pop-up menu. b. Copy the instance and paste it in the Watch Window. c. Right-click an empty row in the Watch Window and select Register in Watch Windows from the pop-up menu. 3. Select Usage - Data Type. The FB Instance setting can also be selected. The default Usage is N: Internal and the other available selections are I: Input, O: Output, and E: External. The default Data Type is A: All. Special data types BOOL and INT can also be selected. 4. Click the OK Button. The selected variable will be registered in the Watch Window and the value will be displayed as shown below. 117