![Omron SYSMAC CX-Programmer 9 Operation Manual Download Page 121](http://html1.mh-extra.com/html/omron/sysmac-cx-programmer-9/sysmac-cx-programmer-9_operation-manual_744241121.webp)
95
Procedures
Section 3-2
Program Circuits That
Must Be Altered before
Generating a Function
Block Definition
In the following case, the program circuits must be altered before a function
block definition can be automatically generated.
Addresses Used Both as Bits and Words
The bit and word addresses will be registered as different variables. The pro-
gram can be altered in advance to avoid this.
Example: MOV(021) for W0 and SET for W0.02
↓
Here, the instruction can be changed to specify a word instead of a bit. As
shown below, W0 is used both for MOV(021) and SETB(532), and the bit
number for SETB(532) is specified using &2.
Program Circuits That
Must Be Altered after
Generating a Function
Block Definition
In the following cases, operand specifications must be changed using array
settings after generating the function block definition.
Instructions with Multiword Operands, Some of Which Are Changed by
Another Instruction in the Program Circuits
Example: D0 Specified as the First Word for MOVL(498) and D1 Specified for
MOV(021)
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: ......