Omron CX-PROGRAMMER V8.1 Operation Manual page 23

Function blocks/ structured text
Table of Contents

Advertisement

Application Precautions
xxiv
• Disable sharing hard disks, printers, or other devices with other com-
puters on any network.
• With some notebook computers, the RS-232C port is allocated to a
modem or an infrared line by default. Following the instructions in doc-
umentation for your computer and enable using the RS-232C port as
a normal serial port.
• With some notebook computers, the default settings for saving energy
do not supply the rated power to the RS-232C port. There may be both
Windows settings for saving energy, as well as setting for specific com-
puter utilities and the BIOS. Following the instructions in documenta-
tion for your computer, disable all energy saving settings.
• Do not turn OFF the power supply to the PLC or disconnect the connect-
ing cable while the CX-Programmer is online with the PLC. The computer
may malfunction.
• Confirm that no adverse effects will occur in the system before attempting
any of the following. Not doing so may result in an unexpected operation.
• Changing the operating mode of the PLC.
• Force-setting/force-resetting any bit in memory.
• Changing the present value of any word or any set value in memory.
• Check the user program for proper execution before actually running it on
the Unit. Not checking the program may result in an unexpected opera-
tion.
• When online editing is performed, the user program and parameter area
data in CJ2, CS1-H, CJ1-H, CJ1M, and CP1H CPU Units is backed up in
the built-in flash memory. The BKUP indicator will light on the front of the
CPU Unit when the backup operation is in progress. Do not turn OFF the
power supply to the CPU Unit when the BKUP indicator is lit. The data will
not be backed up if power is turned OFF. To display the status of writing to
flash memory on the CX-Programmer, select Display dialog to show PLC
Memory Backup Status in the PLC properties and then select Windows -
PLC Memory Backup Status from the View Menu.
• Programs including function blocks (ladder programming language or
structured text (ST) language) can be downloaded or uploaded in the
same way as standard programs that do not contain function blocks.
Tasks including function blocks, however, cannot be downloaded in task
units (uploading is possible).
• If a user program containing function blocks created on the CX-Program-
mer Ver. 5.0 or later is downloaded to a CPU Unit that does not support
function blocks (CS/CJ-series CPU Units with unit version 2.0 or earlier),
all instances will be treated as illegal commands and it will not be possible
to edit or execute the user program.
• If the input variable data is not in boolean format, and numerical values
only (e.g., 20) are input in the parameters, the actual value in the CIO
Area address (e.g., 0020) will be passed. Therefore, be sure to include an
&, #, or +, - prefix before inputting the numerical value.
• Addresses can be set in input parameters, but an address itself cannot be
passed as an input variable. (Even if an address is set as an input param-
eter, the value passed to the function block will be that for the size of data
of the input variable.) Therefore, an input variable cannot be used as the
operand of an instruction in the function block when the operand specifies
the first or last of multiple words. With CX-Programmer version 7.0, use
4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac ws02-cxpc1-v8Sysmac cx-programmer 8.1

Table of Contents