![background image](http://html1.mh-extra.com/html/omron/sysmac-cx-programmer-9/sysmac-cx-programmer-9_operation-manual_744241139.webp)
113
Procedures
Section 3-2
3.
A function block called FunctionBlock1 will be automatically inserted after
the Function Blocks icon. This icon contains the definition of the function
block.
4.
Double-click the
FunctionBlock1
Icon. The variable table and algorithm
will be display.
3-2-17 Downloading/Uploading Programs to the Actual CPU Unit
After a program containing function blocks has been created, it can be down-
loaded from the CX-Programmer to an actual CPU Unit that it is connected to
online. Programs can also be uploaded from the actual CPU Unit. It is also
possible to check if the programs on the CX-Programmer (personal computer)
and in the actual CPU Unit are the same. When the program contains function
blocks, however, downloading in task units is not possible (uploading is possi-
ble).
3-2-18 Monitoring and Debugging Function Blocks
The following procedures can be used to monitor programs containing func-
tion blocks.
Monitoring I/O in Ladder
Programs within
Instances
With the CX-Programmer Ver. 6.0 and later versions, it is possible to monitor
the status of bits and content of words in a ladder program within an instance
when monitoring the program. To monitor I/O bits and words (I/O Bit Monitor),
either double-click the instance or right-click the instance and select
Monitor
FB Ladder Instance
from the pop-up menu. At this point, it is possible to
monitor bits and words, change PVs, force-set/reset bits, and perform differ-
entiation monitoring.
Note
(1) It is not possible to perform online editing or change timer/counter SVs.
(2) Changing PVs and force-setting/resetting bits is not possible for input-
output variables. Also, if data structures are used as input-output vari-
ables, you cannot display forced-set/reset information (key icons) for any
BOOL members of those data structures.
Summary of Contents for SYSMAC CX-Programmer 9
Page 2: ......
Page 4: ...iv ...
Page 6: ...vi ...
Page 8: ......
Page 16: ...xvi ...
Page 20: ...xx ...
Page 26: ...xxvi Application Precautions 4 ...
Page 27: ...Part 1 Function Blocks ...
Page 28: ......
Page 154: ...128 Procedures Section 3 2 ...
Page 155: ...Part 2 Structured Text ST ...
Page 156: ......
Page 160: ...134 CX Programmer Specifications Section 4 2 ...
Page 206: ...180 Procedures Section 6 1 ...
Page 208: ...182 System defined external variables supported in function blocks Appendix A ...
Page 230: ...204 Revision History ...
Page 231: ......