CPM2A_PROGRAMMING MANUAL (W353-E1-2) (986750), страница 4
Текст из файла (страница 4)
Excess voltage or loads may result in burning.• Double-check all wiring and switch settings before turning ON the power supply. Incorrect wiring may result in burning.• Check the user program for proper execution before actually running it on theUnit. Not checking the program may result in an unexpected operation.Handling Precautionsxviii• When using, storing, or transporting the product, keep within the specificationslisted in the relevant manual(s).• Confirm that no adverse effect will occur in the system before attempting any ofthe following.
Not doing so may result in an unexpected operation.• Changing the operating mode of the PC.• Force-setting/force-resetting any bit in memory.• Changing the present value of any word or any set value in memory.• Before touching a Unit, be sure to first touch a grounded metallic object to discharge any static built-up. Not doing so may result in malfunction or damage.• Do not touch the Expansion I/O Unit Connecting Cable while the power is being supplied to prevent any malfunction due to static electricity.• Do not pull on the cables or bend the cables beyond their natural limit. Doingeither of these may break the cables.• Do not place objects on top of the cables.
Doing so may break the cables.• When disposing of Units or other products, be sure to do so according to locallaws and regulations.• When using a Temperature Sensor Unit with a thermocouple input(CPM1A-TS001/002, CPM2C-TS001), observe the following precautions:• With the CPM1A-TS001/002, do not remove the cold junction compensator attached at the time of delivery. If the cold junction compensator isremoved the Unit will not be able to measure temperatures correctly.5Application Precautions• With the CPM1A-TS001/002, each of the input circuits is calibrated withthe cold junction compensator attached to the Unit. If the Unit is used withthe cold junction compensator from other Units, the Unit will not be able tomeasure temperatures correctly.• With the CPM1A-TS001/002 or the CPM2C-TS001, do not touch the coldjunction compensator. Doing so may result in incorrect temperature measurement.Maintenance• When replacing a part, be sure to confirm that the rating of a new part is correct.Not doing so may result in malfunction or burning.• When the CPU Unit is replaced, resume operation only after transferring to thenew CPU Unit the contents of the DM and HR Areas required for operation.
Notdoing so may result in an unexpected operation.Transportation and Storage• When transporting the Units, use special packing boxes. Do not subject theUnits or other products to excessive vibration or shock during transportationand do not to drop them.• Store the Units within the following temperature and humidity ranges:Storage temperature: -25 to 65°CStorage humidity:25% to 85% (with no icing or condensation)xixSECTION 1PC SetupThis section explains the PC Setup in the CPM1, CPM1A, CPM2A, CPM2C, and SRM1(-V2) PCs.
The PC Setup can be usedto control the operating parameters. To change the PC Setup, refer to the Operation Manual of the PC for Programming Console procedures.Refer to the SSS Operation Manual: C-series PCs for SSS procedures. Refer to the SYSMAC-CPT Support Software QuickStart Guide (W332) and User Manual (W333) for SYSMAC-CPT Support Software procedures. Refer to the CX-Programmer User Manual (W361) for CX-Programmer procedures.If you are not familiar with OMRON PCs or ladder diagram program, you can read 1-1 PC Setup as an overview of the operating parameters available for the CPM1/CPM1A, CPM2A/CPM2C, and SRM1(-V2). You may then want to read Section 5Memory Areas, Section 6 Ladder-diagram Programming, and related instructions in Section 7 Instruction Set before completing this section.1-11-2PC Setup .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1-1 Changing the PC Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1-2 CPM1/CPM1A PC Setup Settings . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1-3 CPM2A/CPM2C PC Setup Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1-4 SRM1(-V2) PC Setup Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.Basic PC Operation and I/O Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2-1 Startup Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. .1-2-2 Hold Bit Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2-3 Program Memory Write-protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2-4 RS-232C Port Servicing Time (CPM2A/CPM2C/SRM1(-V2) Only) . . .
. . . . . .1-2-5 Peripheral Port Servicing Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2-6 Cycle Monitor Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2-7 Minimum Cycle Time . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2-8 Input Time Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2-9 Error Log Settings . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .223713161617171818181919211SectionPC Setup1-11-1PC SetupThe PC Setup comprises various operating parameters that control PC operation. In order to make the maximum use of PC functionality when using interruptprocessing and communications functions, the PC Setup may be customizedaccording to operating conditions.At the time of shipping, the defaults are set for general operating conditions, sothat the PC can be used without having to change the settings. You are, however, advised to check the default values before operation.Default ValuesThe default values for the PC Setup are 0000 for all words (except for the lowbattery error enable in DM 6655 bits 12 to 15 for CPM2A CPU Units).
The defaultvalues can be reset at any time by turning ON SR 25210 in PROGRAM mode.! CautionWhen data memory (DM) is cleared from a Programming Device, the PC Setupsettings will also be cleared to all zeros.1-1-1 Changing the PC SetupPC Setup settings are accessed at various times depending on the setting, asdescribed below.• DM 6600 to DM 6614: Accessed only when PC’s power supply is turnedON.• DM 6615 to DM 6644: Accessed only when program execution begins.• DM 6645 to DM 6655: Accessed regularly when the power is ON.Since changes in the PC Setup become effective only at the times given above,the PC will have to be restarted to make changes in DM 6600 to DM 6614 effective, and program execution will have to be restarted to make changes inDM 6615 to DM 6644 effective.When DM 6602 bits 00 to 03 are set to protect the program memory, DM 6602cannot be changed using the PC Setup operation of the Support Software. Tochange DM 6602, use the I/O Monitor or DM Edit operation.Making Changes from aProgramming DeviceThe PC Setup can be read, but not overwritten, from the user program.
Writingcan be done only by using a Programming Device.Although the PC Setup is stored in DM 6600 to DM 6655, settings can be madeand changed only from a Programming Device (e.g., SSS, or ProgrammingConsole). DM 6600 to DM 6644 can be set or changed only while in PROGRAMmode. DM 6645 to DM 6655 can be set or changed while in either PROGRAMmode or MONITOR mode. The cycle time will be rather long when the PC Setupis changed in MONITOR mode.The following settings can be made in PROGRAM mode from the SSS usingmenu operations.
All other settings must be made using the hexadecimal settingoperation.• Startup Mode (DM 6600)• I/O Hold Bit Status and Forced Status Hold Bit Status (DM 6601)• Cycle Monitor Time (DM 6618)• Cycle Time (DM 6619)• RS-232C Port Settings (DM 6645 to DM 6649)Note The RS-232C Port Settings (DM 6645 to DM 6649) are not used inCPM1/CPM1A PCs because these PCs aren’t equipped with an RS-232C port.Errors in the PC Setup2If an incorrect PC Setup setting is accessed, a non-fatal error (error code 9B) willbe generated, the corresponding error flag (AR 1300 to AR 1302) will be turnedON, and the default setting will be used instead of the incorrect setting.SectionPC Setup1-11-1-2 CPM1/CPM1A PC Setup SettingsThe PC Setup is broadly divided into four categories: 1) Settings related to basicPC operation and I/O processes, 2) Settings related to the cycle time, 3) Settingsrelated to interrupts, and 4) Settings related to communications.