background image

352

Serial Communications

Section 6-1

FINS Commands

The following table lists the FINS commands. Refer to the FINS Commands
Reference Manual (W227)
 for more details.

Host Link 
communi-
cations 
processing 
commands

XZ

ABORT (command 
only)

Aborts the host link command that is currently being processed.

**

INITIALIZE (com-
mand only)

Initializes the transmission control procedure of all PLCs connected to the 
host computer.

IC

Undefined com-
mand
(response only)

This response is returned if the header code of a command was not recog-
nized.

Type

Header 

code

Name

Function

Type

Command 

code

Name

Function

I/O Memory 
Area Access 
Commands

01

01

MEMORY AREA READ

Reads consecutive data from the I/O memory area.

01

02

MEMORY AREA WRITE

Writes consecutive data to the I/O memory area.

01

03

MEMORY AREA FILL

Fills the specified range of I/O memory with the same 
data.

01

04

MULTIPLE MEMORY AREA 
READ

Reads non-consecutive data from the I/O memory area.

01

05

MEMORY AREA TRANSFER

Copies and transfers consecutive data from one part of 
the I/O memory area to another.

Parameter 
Area Access 
Commands

02

01

PARAMETER AREA READ

Reads consecutive data from the parameter area.

02

02

PARAMETER AREA WRITE

Writes consecutive data to the parameter area.

02

03

PARAMETER AREA FILL

Fills the specified range of the parameter area with the 
same data.

Program Area 
Access Com-
mands

03

06

PROGRAM AREA READ

Reads data from the user program area.

03

07

PROGRAM AREA WRITE

Writes data to the user program area.

03

08

PROGRAM AREA CLEAR

Clears the specified range of the user program area.

Execution 
Control Com-
mands

04

01

RUN

Switches the CPU Unit to RUN or MONITOR mode.

04

02

STOP

Switches the CPU Unit to PROGRAM mode.

Configuration 
Read Com-
mands

05

01

CONTROLLER DATA READ

Reads CPU Unit information.

05

02

CONNECTION DATA READ

Reads the model numbers of the specified Units.

Status Read 
Commands

06

01

CONTROLLER STATUS READ

Reads the CPU Unit’s status information.

06

20

CYCLE TIME READ

Reads the average, maximum, and minimum cycle 
times.

Clock Access 
Commands

07

01

CLOCK READ

Reads the clock.

07

02

CLOCK WRITE

Sets the clock.

Message 
Access Com-
mands

09

20

MESSAGE READ/CLEAR

Reads/clears messages and FAL (FALS) messages.

Access Right 
Commands

0C

01

ACCESS RIGHT ACQUIRE

Acquires the access right if no other device holds it.

0C

02

ACCESS RIGHT FORCED 
ACQUIRE

Acquires the access right even if another device cur-
rently holds it.

0C

03

ACCESS RIGHT RELEASE

Releases the access right regardless of what device 
holds it.

Error Access 
Commands

21

01

ERROR CLEAR

Clears errors and error messages.

21

02

ERROR LOG READ

Reads the error log.

21

03

ERROR LOG CLEAR

Clears the error log pointer to zero.

Forced Status 
Commands

23

01

FORCED SET/RESET

Force-sets, force-resets, or clears the forced status of 
the specified bits.

23

02

FORCED SET/RESET CANCEL Cancels the forced status of all force-set and force-reset 

bits.

Содержание CP1H-CPU - 05-2006

Страница 1: ...OPERATION MANUAL CP1H CPU Unit SYSMAC CP Series CP1H X40D CP1H XA40D CP1H Y20DT D Cat No W450 E1 02...

Страница 2: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised May 2006...

Страница 3: ...iv...

Страница 4: ...on some OMRON products often means word and is abbreviated Wd in documentation in this sense The abbreviation PLC means Programmable Controller PC is used however in some CX Pro grammer displays to m...

Страница 5: ...the PLC Information Using the Unit Manufacturing Information Note CX Programmer version 6 1 or lower cannot be used to confirm unit versions for CP series CPU Units PLC Information If you know the dev...

Страница 6: ...the unit version of the CPU Unit Unit Manufacturing Information In the IO Table Window right click and select Unit Manufacturing informa tion CPU Unit The following Unit Manufacturing information Dial...

Страница 7: ...the CPU Unit These labels can be attached to the front of previous CPU Units to differenti ate between CPU Units of different unit versions Unit version Ver 1 0 Ver 1 0 Ver Ver These Labels can be us...

Страница 8: ...Connecting Programming Devices 24 1 4 Function Charts 35 1 5 Function Blocks 38 SECTION 2 Nomenclature and Specifications 41 2 1 Part Names and Functions 42 2 2 Specifications 48 2 3 CP1H CPU Unit Op...

Страница 9: ...s and Counters 162 4 14 Data Memory Area D 164 4 15 Index Registers 166 4 16 Data Registers 173 4 17 Task Flags 175 4 18 Condition Flags 175 4 19 Clock Pulses 177 SECTION 5 Basic CP1H Functions 179 5...

Страница 10: ...8 1 Program Transfer 452 8 2 Trial Operation and Debugging 452 SECTION 9 Troubleshooting 459 9 1 Error Classification and Confirmation 460 9 2 Troubleshooting 465 9 3 Error Log 477 9 4 Troubleshootin...

Страница 11: ...xii TABLE OF CONTENTS...

Страница 12: ...CPM1A Expansion Units and CPM1A Expansion I O Units when expanding I O capacity I O words are allocated in the same way as the CPM1A CPM2A PLCs i e using fixed areas for inputs and outputs CS CJ CP Se...

Страница 13: ...O Memory Areas and Parameter Areas Section 5 describes the CP1H s interrupt and high speed counter functions Section 6 describes all of the advanced functions of the CP1H that can be used to achieve...

Страница 14: ...U Unit serial ports Serial Communications Unit Board ports and Communications Unit ports can be used Refer to the relevant operation manuals for information on commands addresses to Spe cial I O Units...

Страница 15: ...xvi...

Страница 16: ...AS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE OMRON DISCLAIMS ALL OTHER WARRANTIES EXPRESS OR IMPLIED LIMITATIONS OF LIABILITY OMRON SHALL NOT BE RESPONSIBL...

Страница 17: ...that the uses listed may be suitable for the products Outdoor use uses involving potential chemical contamination or electrical interference or conditions or uses not described in this manual Nuclear...

Страница 18: ...onfirm actual specifications of purchased products DIMENSIONS AND WEIGHTS Dimensions and weights are nominal and are not to be used for manufacturing purposes even when tolerances are shown PERFORMANC...

Страница 19: ...xx...

Страница 20: ...the information contained before attempting to set up or operate a PLC system 1 Intended Audience xxii 2 General Precautions xxii 3 Safety Precautions xxii 4 Operating Environment Precautions xxiv 5...

Страница 21: ...amming and operating the Unit Be sure to read this manual before attempting to use the Unit and keep this man ual close at hand for reference during operation WARNING It is extremely important that a...

Страница 22: ...confirming that no adverse effects will be caused by extending the cycle time Otherwise the input signals may not be readable Caution Confirm safety at the destination node before transferring a progr...

Страница 23: ...is ON 4 Operating Environment Precautions Caution Do not operate the control system in the following locations Locations subject to direct sunlight Locations subject to temperatures or humidity outsid...

Страница 24: ...Unit only after checking the connectors and terminal blocks completely Be sure that all the terminal screws and cable connector screws are tight ened to the torque specified in the relevant manuals I...

Страница 25: ...the cables beyond their natural limit Doing either of these may break the cables Do not place objects on top of the cables Doing so may break the cables When replacing parts be sure to confirm that th...

Страница 26: ...rds required that batteries be replaced only by experienced technicians Do not allow unqualified persons to replace batteries Also always follow the replacement procedure provided in the manual Never...

Страница 27: ...devices and the overall machine conform to EMC standards Note The applicable EMC Electromagnetic Compatibility standard is EN61131 2 Low Voltage Directive Always ensure that devices operating at volta...

Страница 28: ...re Examples When switching an inductive load connect an surge protector diodes etc in parallel with the load or contact as shown below Circuit Current Characteristic Required element AC DC Yes Yes If...

Страница 29: ...sed dielectric strength value of the diode must be at least 10 times as large as the circuit voltage value The forward current of the diode must be the same as or larger than the load current The reve...

Страница 30: ...XP L1 L2 N COM 01 03 05 07 09 11 01 03 05 07 09 11 00 02 04 06 08 10 00 02 04 06 08 10 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 07 COM 02 COM 05 07 IN OUT CH NC NC NC NC NC NC COM COM COM C...

Страница 31: ...xxxii Conformance to EC Directives 6...

Страница 32: ...and Main Functions 2 1 1 1 CP1H Overview 2 1 1 2 Features 6 1 2 System Configuration 15 1 2 1 Basic System 15 1 2 2 System Expansion 17 1 2 3 System Expansion with CJ series Units 20 1 2 4 Restrictio...

Страница 33: ...and pulse outputs can be used on four axes with the CPU Unit alone The CP1H can be expanded to a maximum total of 320 I O points by using CPM1A Expansion I O Units Using CPM1A Expansion Units also al...

Страница 34: ...also allows extra functions such as tem perature sensor inputs to be added Installing an Option Board enables RS 232C and RS 422A 485 communi cations for connecting to Programmable Terminals Bar Code...

Страница 35: ...Board enables RS 232C and RS 422A 485 communi cations for connecting to Programmable Terminals Bar Code Readers Inverters etc Using CJ series CPU Bus Units enables communications with higher and lowe...

Страница 36: ...ut specifica tions Relay output Transistor out put Relay output Transistor out put Transistor out put High speed counter inputs High speed counter inputs 4 axes 100 kHz single phase 50 kHz differentia...

Страница 37: ...ram creation and control are simplified by using function blocks FB and tasks CX One CP1H CPU Unit Example XA Two digit 7 segment LED display USB port Battery CJ1W BAT01 Input terminal block Periphera...

Страница 38: ...oint is to be used as a normal input interrupt input quick response input or high speed counter Y CPU Units Along with two 100 kHz single phase 50 kHz differential phases high speed counter inputs two...

Страница 39: ...Gate Flag from the ladder program Versatile Pulse Control All Models Positioning and speed control by a pulse input servo driver is enabled by out putting fixed duty ratio pulse output signals from th...

Страница 40: ...more or less than the pulse output PV Triangular Control If the amount of output pulses required for acceleration and deceleration the target frequency times the time to reach the target frequency exc...

Страница 41: ...counted and an interrupt task started when the count reaches a specified value The maximum number of points is 8 for X and XA CPU Units and 6 for Y CPU Units See note Note For each input point a sele...

Страница 42: ...e of accuracy such as for example a setting based on changes in out door temperatures or potentiometer inputs CNTX A642 Phillips screwdriver Analog adjuster Ladder program Example The production quant...

Страница 43: ...ncluding the USB port this makes it possible to simultaneously connect a computer PT CP1H and or various components such as an Inverter Tem perature Controller or Smart Sensor POWER ERR ALM BKUP 100CH...

Страница 44: ...d by the CPU Unit Modbus RTU Communications can be executed independently of the program by setting a Modbus RTU command in the DM and turning ON a software switch Inverter SYSMAC CP1H BATTERY MEMORY...

Страница 45: ...to read a ladder pro gram from a CX Programmer access to the program is denied if the password that is entered does not match the registered password If incorrect pass words are entered for five cons...

Страница 46: ...by connecting two CJ series CPU Bus Units and or Special I O Units SYSMAC CP1H BATTERY MEMORY PERIPHERAL POWER ERR ALM BKUP RUN INH PRPHL 100CH 101CH EXP L1 L2 N COM 0CH 1CH 01 03 05 07 09 11 01 03 0...

Страница 47: ...be used to store user programs in flash memory parameters DM initial values comment memory FB pro grams and data in RAM 10 g max NS series PT personal computer bar code reader etc RS 232C Expansion C...

Страница 48: ...o the maximum total number of expansion I O points is 280 Unit Model Current consumption External power supply 5 V DC 24 V DC CPU Unit CP1H XA40DR A 0 430 A 0 180 A 0 3 A max CP1H XA40DT D 0 510 A 0 1...

Страница 49: ...se I O terminals 24 VDC CP1H Y20DT D 12 DC inputs 8 transistor out puts sinking 300 Appearance Model Normal inputs Normal outputs Weight CPM1A 40EDR 24 VDC 24 inputs 16 relay outputs 380 g max CPM1A 4...

Страница 50: ...stance thermometer input Pt100 JPt100 CPM1A TS102 4 inputs DeviceNet I O Link Unit CPM1A DRT21 As a DeviceNet Slave 32 inputs and 32 out puts are allocated 200 g max CompoBus S I O Link Unit CPM1A SRT...

Страница 51: ...utputs CPM1A 16ER None 2 0 042 A 0 090 A 8 inputs CPM1A 8ED 1 None 0 018 A 8 outputs CPM1A 8ER None 1 0 026 A 0 044 A CPM1A 8ET 0 075 A CPM1A 8ET1 Expansion Units Analog I O Units A D 2 points D A 1 p...

Страница 52: ...ies Special I O Units or CPU Bus Units Note The CJ Unit Adapter comes packaged with one CJ1W TER01 End Cover 40 g max Classification Unit name Model Current consumption 5 VDC Weight CPU Bus Units Ethe...

Страница 53: ...ed Number of CJ series Units Connected No more than two CJ series Special I O Units or CPU Bus Units can be con nected to the CP1H via a CJ Unit Adapter No CJ series Basic I O Units can be connected E...

Страница 54: ...X40DT D CP1H X40DT1 D CP1H XA40DT D CP1H XA40DT1 D CP1H Y20DT D CP1H X40DR A CP1H XA40DR A 100 67 50 55 Ambient temperature C 100 Input voltage 26 4 V 55 Ambient temperature C 100 55 Ambient temperat...

Страница 55: ...tware e g the CX Programmer using commercially available USB cable to a standard periph eral USB port The peripheral USB port conforming to USB 1 1 B connector is a dedicated port for connecting Suppo...

Страница 56: ...s on the OS of the computer The following procedures are for Windows XP and Windows 2000 Windows XP Turn ON the power supply to the CP1H and connect USB cable between the USB port of the computer and...

Страница 57: ...ion and then click the Next Button 3 The following window will be displayed Click the Browse Button for the In clude this location in the search Field specify C Program Files OMRON CX Server USB win20...

Страница 58: ...be displayed if the installation is completed nor mally Click the Finish Button Windows 2000 Turn ON the power supply to the CP1H and connect USB cable between the USB port of the computer and the per...

Страница 59: ...28 Connecting Programming Devices Section 1 3 1 2 3 1 The following message will be displayed Click the Next Button 2 The following window will be displayed...

Страница 60: ...he Next Button The following window will be displayed From the list in the window select the Specify location Checkbox and then click the Next Button 4 Click the Browse Button specify C Program Files...

Страница 61: ...A search will be made for the driver and the following window will be dis played Click the Next Button The driver will be installed 6 After the driver has been successfully installed the following wi...

Страница 62: ...rogrammer 1 2 3 1 Select CP1H as the device type in the Change PLC Dialog Box and con firm that USB is displayed in the Network Type Field 2 Click the OK Button to finish setting the PLC model Then co...

Страница 63: ...confirm that OMRON SYSMAC PLC Device is displayed Re installing the USB Driver If the USB driver installation fails for some reason or is cancelled in progress the USB driver must be reinstalled Check...

Страница 64: ...re connecting the USB cable First return the Support Software to offline status and then reconnect the USB cable Then perform the online connection procedure for the Support Software Windows 98 If the...

Страница 65: ...ral bus toolbus This is the faster mode so it is generally used for CX Pro grammer connections Only 1 1 connections are possible When a CP1H CPU Unit is used the baud rate is auto matically detected b...

Страница 66: ...by instructions Normal outputs 16 outputs CIO 100 bits 00 to 07 CIO 101 bits 00 to 07 Immediate refreshing supported Pulse outputs 4 outputs Pulse outputs 0 to 3 CIO 100 bits 00 to 07 Unit version 1...

Страница 67: ...ty ratio 0 0 to 100 0 Unit 0 1 Frequency 0 1 to 6 553 5 Hz Origin search CIO 101 bits 00 to 03 Used as error counter reset output operation modes 1 and 2 only CIO 0 and 1 bits 00 to 03 Used as origin...

Страница 68: ...nk NT Links 1 N no protocol Serial PLC Link See note 1 Serial Gateway See note 2 peripheral bus Note 1 Two ports cannot be used simultaneously for Serial PLC Link communications Note 2 With Modbus RTU...

Страница 69: ...sed with programs for other PLCs This makes it pos sible to create a library of standard processing functions 1 5 2 Advantages of Function Blocks Function blocks allow complex programming units to be...

Страница 70: ...The function block s I O is entered as local variables so the data addresses in the function block do not have to be changed as they do when copying and reusing a program section Creating Libraries Pr...

Страница 71: ...40 Function Blocks Section 1 5...

Страница 72: ...rs 79 2 4 CPU Unit Operation 81 2 4 1 General Flow 81 2 4 2 I O Refreshing and Peripheral Servicing 82 2 4 3 I O Refresh Methods 83 2 4 4 Initialization at Startup 85 2 5 CPU Unit Operating Modes 86 2...

Страница 73: ...minal block 12 Option Board slots 13 Input indicators 14 Expansion I O Unit connector 15 Output indicators 10 Memory Cassette slot 16 External 24 VDC See note 2 and output terminal block 17 Connector...

Страница 74: ...itten or accessed in the built in flash mem ory backup memory The BKUP indicator also lights while user programs parameters and Data Memory are being restored when the PLC power supply is turned ON No...

Страница 75: ...switch settings before mounting the terminal block to the base While setting this switch be very careful not to damage the wiring on the PCB 10 Memory Cassette Slot Used for mounting a CP1W ME05M Mem...

Страница 76: ...ts can be connected For details on using Expansion Units and Expansion I O Units refer to SECTION 7 Using CPM1A Expansion Units and Expansion I O Units 15 Output Indicators The output indicators light...

Страница 77: ...e cover and then pull the cover out Then to mount the Option Board check the alignment and firmly press it in until it snaps into place Caution Always turn OFF the power supply to the PLC before mount...

Страница 78: ...Always turn OFF the power supply to the PLC before mounting or removing an Option Board RS 422A 485 Terminal Block Pin Abbr Signal name Signal direction 1 FG Frame Ground 2 SD TXD Send Data Output 3 R...

Страница 79: ...ection for RD See note 2 OFF RS control disabled Data always received 6 ON RS control enabled RS control selection for SD See note 3 OFF RS control disabled Data always sent O N 1 2 3 4 5 6 Power supp...

Страница 80: ...C power supplies Dielectric strength 2 300 VAC 50 60 Hz for 1 min between the external AC and GR terminals leakage current 5 mA max No insulation between primary and secondary DC power supplies Noise...

Страница 81: ...nterrupt inputs counter mode and the quick response inputs Rising or falling edge Response time 0 3 ms 6 inputs Shared by the external interrupt inputs counter mode and the quick response inputs Risin...

Страница 82: ...ided as standard equipment 2 ports max The following Option Boards can be mounted CP1W CIF01 One RS 232C port CP1W CIF11 One RS 422A 485 port Applicable communications modes same for all of the above...

Страница 83: ...y Cassette User programs parameters such as the PLC Setup DM Area data memory initial data comment memory CX Programmer conversion tables comments program indices and FB program memory Writing to Memo...

Страница 84: ...in flash memory is transferred to RAM at startup DM Area words for CJ series Special I O Units D20000 to D29599 100 words 96 Units DM Area words for CJ series CPU Bus Units D30000 to D31599 100 words...

Страница 85: ...roximity input signal 04 Normal input 4 High speed counter 2 phase A increment or count input 05 Normal input 5 High speed counter 2 phase B decrement or direction input 06 Normal input 6 High speed c...

Страница 86: ...dance 3 0 k 3 0 k 4 7 k Input current 7 5 mA typical 7 5 mA typical 5 mA typical ON voltage 17 0 VDC min 17 0 VDC min 14 4 VDC min OFF voltage current 1 mA max at 5 0 VDC max 1 mA max at 5 0 VDC max 1...

Страница 87: ...ncrement pulse input CIO 0 05 CIO 0 07 CIO 0 09 CIO 0 11 B phase pulse input Direction input Decrement pulse input Normal input CIO 0 01 CIO 0 02 CIO 0 03 CIO 1 00 Z phase pulse input or hardware rese...

Страница 88: ...rupt input 5 Quick response input 5 CIO 1 02 Interrupt input 6 Quick response input 6 CIO 1 03 Interrupt input 7 Quick response input 7 NC 00 01 02 03 04 06 00 01 03 04 06 NC COM COM COM COM 05 07 COM...

Страница 89: ...ns to the right are not executed When a pulse output instruction SPED ACC PLS2 or ORG is executed When the origin search function is set to be used in the PLC Setup and an origin search is executed by...

Страница 90: ...s 125 VAC cos 0 4 250 VAC cos 0 4 4 0 55 0 3 47 Common terminal current A Ambient temperature C Item Specification CIO 100 00 to CIO 100 07 CIO 101 00 and CIO 101 01 CIO 101 02 to CIO 101 07 Max switc...

Страница 91: ...outputs CIO 101 00 CIO 101 01 and CIO 101 02 to CIO 101 07 Sinking Outputs Normal outputs CIO 101 00 CIO 101 01 and CIO 101 02 to CIO 101 07 Sourcing Outputs Item Specification CIO 100 00 to CIO 100 0...

Страница 92: ...PWM Outputs CIO 101 00 and CIO 101 01 2 2 4 Built in Analog I O Specifications XA CPU Units Only Analog I O Terminal Block Arrangement Note Do not connect the shield Item Specification Max switching c...

Страница 93: ...ution 1 6000 or 1 12000 full scale See note 2 Overall accu racy 25 C 0 3 full scale 0 to 55 C 0 6 full scale 25 C 0 4 full scale 0 to 55 C 0 8 full scale A D conversion data Full scale for 10 to 10 V...

Страница 94: ...3 set to be used Origin search function for pulse outputs 0 and 1 set to be used A0 High speed counter 0 phase A increment or count input fixed B0 High speed counter 0 phase B decrement or direction i...

Страница 95: ...oxim ity input signal Input terminal block Input operation setting High speed counter operation setting Origin search function Word Terminal Bit Normal inputs Interrupt inputs See note Quick response...

Страница 96: ...5 s max 50 s max 1 ms max Circuit configuration Differential input mode Pulse plus direction input mode Up down input mode Increment mode A0 A0 A1 A1 A phase pulse input Pulse input Increment pulse in...

Страница 97: ...nputs when high speed counter is not being used Max count fre quency 50 kHz 4 100 kHz Differential input mode Pulse plus direction input mode Up down input mode Increment mode Phase A Phase B Phase Z...

Страница 98: ...be used in the PLC Setup and an origin search is executed by the ORG instruction When the PWM instruction is executed Terminal Word Bit Normal output Fixed duty ratio pulse output Variable duty ratio...

Страница 99: ...0 04 to CIO 100 07 CIO 101 00 and CIO 101 01 CIO 101 02 and CIO 101 03 Max switching capacity 4 5 to 30 VDC 300 mA output 0 9 A common 1 8 A Unit See note 2 Min switching capacity 4 5 to 30 VDC 1 mA L...

Страница 100: ...to distortions in pulse waveforms resulting from connecting cable im pedance the pulse widths in actual operation may be smaller than the values shown above PWM Outputs CIO 101 00 and CIO 101 01 0 9 0...

Страница 101: ...mpedance 4 7 k Input current 5 mA typical ON voltage 14 4 VDC min OFF voltage 5 0 VDC max ON delay 0 to 32 ms max Default 8 ms See note 1 OFF delay 0 to 32 ms max Default 8 ms See note 1 Circuit confi...

Страница 102: ...16ER With the CPM1A 16ER the load current is restricted depending on the ambi ent temperature Design the system considering the load current based on the following graph 300 200 100 50 30 20 5 3 2 10...

Страница 103: ...output OUT00 01 4 5 to 30 VDC 0 2 A output OUT02 to 07 4 5 to 30 VDC 0 3 A output 0 9 A common 3 6 A Unit 0 9 A common 1 8 A Unit 0 9 A common 1 8 A Unit Leakage current 0 1 mA max 0 1 mA max 0 1 mA...

Страница 104: ...a initial values are trans ferred from the built in flash memory to RAM when the power supply is turned ON RAM DM Area 2 3 1 1 3 3 3 3 3 12 or 24 built in inputs See note 1 CPU Unit User program I O m...

Страница 105: ...he cyclic tasks are executed again starting from the one with the lowest task number This is called the cyclic scan method I O Memory The I O memory area is a RAM area read and written by the user Som...

Страница 106: ...e network can be reached by passing through relay nodes Local Network Table The local network table contains the unit number and network address of all Communications Units that are part of the local...

Страница 107: ...data from data areas in I O memory in the built in flash memory using operations from the CX Programmer The symbol table comment file and program index file can be stored in the comment memory in flas...

Страница 108: ...memory data This data is written to flash memory when a project is trans ferred from the CX Programmer and transferring comment memory is specified Function block source data This data is written to f...

Страница 109: ...ed ON can be enabled or disabled in the PLC Setup Comment memory data Not read Function block source data RAM User program area Parameter area I O memory area DM Area Battery Backup Built in flash mem...

Страница 110: ...e data Either of both of the following can be transferred to the Memory Cassette Data in the built in flash memory Data in RAM DM Area data RAM DM Area data from RAM User program area Parameter area I...

Страница 111: ...erred to the built in flash memory DM Area data DM Area data originally from the built in flash memory is transferred back to the flash memory and DM Area data originally from RAM is trans ferred to R...

Страница 112: ...memory Overseeing processing Program execution Operation processing Execute the user program Error processing Turn OFF outputs Reset Units for bus errors After error Clear I O memory if an error occu...

Страница 113: ...t Area CJ series Spe cial I O Units Words allocated in CIO Area 10 words Unit Depends on the Unit Special I O Unit Area Unit specific data CompoBus S Master Unit Depends on the Unit Remote I O Communi...

Страница 114: ...1 2 3 1 Cyclic refresh period 2 When instructions with an immediate refresh variation are executed 3 When IORF 097 is executed Cyclic Refreshing I O is refreshed after all the instructions in executab...

Страница 115: ...the immediate refresh option instruction execu tion time will be increased increasing the overall cycle time Be sure to confirm that this will not adversely affect system operation IORF 097 Refreshin...

Страница 116: ...old Bit at that time 2 The forced status held or cleared according to the status of the Force Sta tus Hold Bit and the setting for Forced Status Hold Bit Status at Startup in the PLC Setup read only w...

Страница 117: ...ed Executed Executed I O refreshing Executed Executed Executed External I O status OFF According to program According to program I O memory Non holding memory Cleared According to program According to...

Страница 118: ...al I O Unit bits Work bits Timer PV Completion Flags Index Registers Data Registers Task Flags Auxiliary Area bits words are holding or non holding depending on the address HR Area DM Area Counter PV...

Страница 119: ...ts will turn OFF despite the status of the I O Memory Hold Bit or I O Memory Hold Bit at power ON settings in the PLC Setup 2 AC Power 85 of the rated voltage 85 V or less for a 100 to 240 V AC system...

Страница 120: ...ted voltage or less for AC power 90 of the rated voltage or less or DC power 0 to 10 ms for AC 0 to 2 ms for DC Momentary power interruption not detected and operation continues Greater than 10 ms for...

Страница 121: ...n status Checks hardware and user program memory Executes user program i e executes READY cyclic tasks Waits until the set cycle time has elapsed Calculates cycle time Sets error flags Performs I O re...

Страница 122: ...Note 1 The cycle time is not affected by the number of tasks that are used in the user program The tasks that affect the cycle time are those cyclic tasks that are READY in the cycle 2 When the mode i...

Страница 123: ...ng time is 0 ms Services events for CJ series CPU Bus Units Note Peripheral servicing does not include I O refreshing Services USB port If a uniform peripheral servicing time hasn t been set in the PL...

Страница 124: ...e stopped PLC Setup Related Flags Cycle Time Monitoring The maximum cycle time is stored in A262 and A263 and the present cycle time is stored in A264 and A265 every cycle Minimum cycle time effective...

Страница 125: ...nd is recorded in 32 bit binary 0 to FFFF FFFF hex or 0 to 429 496 729 5 ms A263 is the leftmost word Present Cycle Time A264 and A265 These words contain the present cycle time in increments of 0 1 m...

Страница 126: ...K21 V1 0 15 ms There will be an increase of 1 0 ms 0 7 s number of data link words There will be an additional increase of the event execution times when message services are used Serial Commu nicatio...

Страница 127: ...e edit ing that is performed Be sure that the additional time will not adversely affect system operation Item Details CP1H CPM1A 40EDR 40 pt I O Unit 2 Units CPM1A 20EDT 20 pt I O Unit 2 Units CPM1A 8...

Страница 128: ...Bit turning ON Cycle time Minimum I O Response Time The I O response time is shortest when data is retrieved immediately before I O refresh of the CPU Unit The minimum I O response time is calculated...

Страница 129: ...nse Times Input Interrupt Tasks The interrupt response time for I O interrupt tasks is the time taken from when a built in input has turned ON or OFF until the I O interrupt task has actually Input I...

Страница 130: ...has actually been executed The length of the interrupt response time for scheduled interrupt tasks is 1 ms max There is also an error of 80 s in the time to the first scheduled interrupt 0 5 ms min N...

Страница 131: ...7 10 Pulse Output Start Time The pulse output start time is the time required from executing a pulse output instruction until pulses are output externally This time depends on the pulse output instru...

Страница 132: ...pezoidal 74 s PLS2 triangular 76 s Pulse output instruction Start time Pulse output instruction Change response time INI immediate stop 57 s 1 pulse output time SPED immediate stop 54 s 1 pulse output...

Страница 133: ...102 Computing the Cycle Time Section 2 7...

Страница 134: ...3 Connecting CJ series Units 113 3 3 4 DIN Track Installation 114 3 4 Wiring CP1H CPU Units 116 3 4 1 Wiring Power Supply and Ground Lines 117 3 4 2 Wiring Built in I O 119 3 4 3 Wiring Safety and No...

Страница 135: ...PLC operation Note When a fatal error occurs all outputs from Output Units will be turned OFF even if the IOM Hold Bit has been turned ON to protect the contents of I O memory When the IOM Hold Bit i...

Страница 136: ...the PLC to water oil or chemical reagents Always enclose or protect the PLC sufficiently in the following locations Locations subject to static electricity or other forms of noise Locations subject t...

Страница 137: ...inals while power is being supplied or immediately after power has been turned OFF Doing so may result in burns Caution After the power supply has been turned OFF wait until the PLC has suffi ciently...

Страница 138: ...installation or DIN Track installation Surface Installation Even if a DIN Track is not used a CP1H CPU Unit and CPM1A Expansion Units or Expansion I O Units can be mounted using M4 screws For restric...

Страница 139: ...CPU Unit and the first four Expansion Units and Expansion I O Units It cannot be used from the fifth Unit onwards I O Connecting Cable can be used in one place only and not in multiple places CP1W EXT...

Страница 140: ...through wiring ducts Install the duct so that it is easy to wire from the I O Units through the duct It is handy to have the duct at the same height as the Racks Note Tighten terminal block screws and...

Страница 141: ...101CH 100CH DC24V 0 3A OUTPUT EXP L1 L2 N COM 01 03 05 07 09 11 01 03 05 07 09 11 00 02 04 06 08 10 00 02 04 06 08 10 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 07 COM 07 COM 05 07 OUT POWER...

Страница 142: ...t must be factored in Always allow for the additional height when considering the depth of the control panel in which the PLC is to be mounted 3 3 2 Connecting CPM1A Expansion Units and Expansion I O...

Страница 143: ...e Expansion I O Unit s expansion connector Unit A mm CP1H CPU Unit 140 0 5 Expansion I O Unit 40 I O points 140 0 2 Expansion I O Unit 20 I O points 76 0 2 Expansion I O Unit 16 outputs 76 0 2 Expansi...

Страница 144: ...1H IN BATTERY AC100 240V 0CH 1CH 101CH 100CH DC24V 0 3A OUTPUT L1 L2 N COM 01 03 05 07 09 11 01 03 05 07 09 11 00 02 04 06 08 10 00 02 04 06 08 10 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 0...

Страница 145: ...and CP1H CPU Unit will not operate in either RUN or MONI TOR mode if the End Cover is not connected If this occurs the following infor mation will be set in memory Always turn OFF the power supply bef...

Страница 146: ...pins to securely lock the Units in place 4 When connecting CJ series Units the Units must be mounted to a DIN Track and held at both ends by a pair of End Plates When mounting an End Plate pull up on...

Страница 147: ...Note 1 Do not remove the protective label from the top of the Unit until wiring has been completed This label prevents wire strands and other foreign mat ter from entering the Unit during wiring proc...

Страница 148: ...range Note 1 Before connecting the power supply make sure that the CPU Unit re quires an AC power supply and not a DC power supply The CPU Unit s internal circuitry will be damaged if AC power is mist...

Страница 149: ...er reduced by providing the power supply through a 1 1 isolating transformer Leave the iso lating transformer s secondary side ungrounded CPU Units with DC Power Supply DC Power Supply Wiring Use crim...

Страница 150: ...power supply wiring Use crimp terminals or solid wire for wiring Do not connect bare stranded wires directly to terminals Tighten the terminal block screws to the torque of 0 5 N m Use crimp terminals...

Страница 151: ...vices for DC Output Models IN COM CP1H 7 mA 0 V IN CP1H 7 mA 0 V COM IN COM CP1H 7 mA 0 V CP1H COM IN IN COM CP1H 0 V IN COM CP1H Contact output Two wire DC output Sensor power supply NPN open collect...

Страница 152: ...n current when the PLC is OFF and sensor leakage cur rent IOFF Ileak Connect a bleeder resistor if Ileak is greater than IOFF Use the following equation to calculate the bleeder resistance constant R...

Страница 153: ...fuse in the external circuit Use a fuse with a capacity of about twice the rated output Connecting to a TTL Circuit A TTL circuit cannot be connected directly to a transistor output because of the tr...

Страница 154: ...e suppressors and diodes with the following specifications Noise from External Wiring Take the following points into account when externally wiring I O power sup ply and power lines When multi conduct...

Страница 155: ...r the input circuit To use high speed counters make the following setting in the PLC Setup Enable using the high speed counters with Built in Input High Speed Counter 0 to 3 Use high speed counter 0 t...

Страница 156: ...utputs make the setting under Pulse Output 0 to 3 in the PLC Setup L L L L L L L L L L L L L L L L 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 07 COM 02 COM 05 07 CIO 100 CIO 101 CIO 100 CIO 1...

Страница 157: ...used under Enable using the high speed counters with Built in Input High Speed Counter 2 and 3 Use high speed counter 2 and 3 For details on high speed counter inputs refer to 2 2 5 I O Specifications...

Страница 158: ...ounter 0 Phase A 0 V High speed counter 0 Phase B 0 V High speed counter 0 Phase Z 0 V 008 009 003 COM 0 V 24 V IA IB IZ Encoder Power provided Do not use the same I O power supply as other equipment...

Страница 159: ...motor driver No pulses are output while the pulse output transistor is OFF For a direction output OFF indicates that CCW output is in progress Do not use the same power supply for both pulse output 24...

Страница 160: ...24 VDC power supply Be careful to ensure that the Position Control Unit output current does not damage the input circuit at the motor driver and yet is sufficient to turn it ON Take into account the p...

Страница 161: ...witch must be set before the terminal block is mounted Use a screwdriver with a thin blade and be careful not to damage the internal board 100 02 100 03 COM Motor driver for 5 V input 5 V DC power sup...

Страница 162: ...m to not be used by clearing the selection of the Use checkbox If an input that is set to be used is not actually used the data for that input may be unstable If that occurs the instability can be rem...

Страница 163: ...tton in with a small flat blade screwdriver and pull the line out while the lock is released The screwdriver shown below is recommended for disconnecting wiring Recommended Screwdriver Recommended Fer...

Страница 164: ...xpansion Units such as Analog I O Units Temperature Sensor Units CompoBus I O Link Units and DeviceNet I O Link Units refer to SECTION 7 Using CPM1A Expansion Units and Expansion I O Units 40 point I...

Страница 165: ...L L L L L L L L L L L L L L NC 00 01 02 04 05 07 00 02 04 05 07 NC COM COM COM 03 01 03 COM 06 COM COM 06 250 VAC 24 VDC L L L L L L L L L L L NC 00 01 02 04 05 07 00 02 04 05 07 NC COM COM COM 03 01...

Страница 166: ...ut Wiring Output Wiring CPM1A 20EDR1 Relay Output CPM1A 20EDT Sinking Transistor Output COM 01 03 05 07 09 11 NC 00 02 04 06 08 10 CIO m 1 CIO m 1 24 VDC L L L L L L 00 01 02 04 05 07 COM COM COM 03 C...

Страница 167: ...Wiring L L L L L L 00 01 02 04 05 07 COM COM COM 03 COM 06 L L COM 01 03 05 07 00 02 04 06 COM Unit Upper Terminal Block 24 VDC Unit Lower Terminal Block 24 VDC The Unit s upper terminal block COM an...

Страница 168: ...6 COM 05 07 COM 01 03 00 02 L L L L L L L L 4 5 to 30 VDC Unit Upper Terminal Block Unit Lower Terminal Block 4 5 to 30 VDC COM 01 03 05 07 00 02 04 06 COM L L L L L L L L Unit Upper Terminal Block 4...

Страница 169: ...138 CPM1A Expansion I O Unit Wiring Section 3 6...

Страница 170: ...on Units and Expansion I O Units 150 4 2 5 I O Allocation Examples 152 4 3 Built in Analog I O Area XA CPU Units Only 153 4 4 Data Link Area 154 4 5 CPU Bus Unit Area 155 4 6 Special I O Unit Area 156...

Страница 171: ...203 Built in analog input terminals OK OK OK OK OK OK Built in Analog Output Area 2 words CIO 210 to 211 Built in analog output termi nals OK OK OK OK OK OK Data Link Area 3 200 bits 200 words CIO 100...

Страница 172: ...g the Counter Completion Flags TR Area 16 bits TR0 to TR15 Shared by all tasks OK OK OK OK No No Data Memory Area 32 768 words D00000 to D32767 No Note 2 OK OK OK OK No Timer Completion Flags 4 096 bi...

Страница 173: ...links may be used in programming Data Link Area These words are used when the Controller Link auto setting area is set to the link area or for PLC links Words that aren t used in data links may be us...

Страница 174: ...tead of the DeviceNet Area Internal I O Area These words can be used in programming they cannot be used for I O exchange with external I O terminals Be sure to use the work words provided in the Work...

Страница 175: ...CP1H Programming Manual for details Data Memory Area D The DM Area is a multi purpose data area that is normally accessed only in word units These words retain their content when the PLC is turned ON...

Страница 176: ...F Flags The Condition Flags are specified with symbols rather than addresses Clock Pulses The Clock Pulses are turned ON and OFF by the CPU Unit s internal timer These bits are specified with symbols...

Страница 177: ...log I O Areas XA CPU Units only Data Link Area CPU Bus Unit Area Special I O Unit Area Serial PC Link Area DeviceNet Area Internal I O Area Work Area W Cleared Retained Retained Retained Cleared Retai...

Страница 178: ...Flags and Words PLC Setup Name Address Description IOM Hold Bit A500 12 Specifies whether the I O memory will be retained or not when the CPU Unit operating mode is changed between PROGRAM and RUN MO...

Страница 179: ...rror other than one created by exe cuting a FALS 007 instruction Memory will be retained if operation fails due to execution of a FALS 007 instruction 4 2 1 Overview CIO 0 and CIO 1 are allocated to t...

Страница 180: ...s in CIO 101 from bit 00 to bit 07 Bits 08 to 15 in CIO 100 and CIO 101 can be used as work bits Inputs Outputs CIO 0 00 to CIO 0 11 CIO 1 00 to CIO 1 11 CIO 100 00 to CIO 100 07 CIO 101 00 to CIO 101...

Страница 181: ...on Unit or Expan sion I O Unit Words are allocated automatically when the power supply to the CPU Unit is turned ON The I O Area addresses used in ladder programming will no longer agree with the actu...

Страница 182: ...0 to 07 in word n 1 One input word 12 bits and one output word 8 bits are allocated for 20 point Expansion Unit Input bits 12 to 15 are always cleared by the system and cannot be used as work bits Out...

Страница 183: ...does not use input or output words the words are allo cated to the next Unit Unit name Model Number of allocated words Input Output Analog I O Unit CPM1A MAD01 MAD11 2 words 1 word Temperature Sensor...

Страница 184: ...Programmer 4 When operation fails due to a fatal error other than one created by execut ing a FALS 007 instruction Memory will be retained if operation fails due to execution of a FALS 007 instruction...

Страница 185: ...area for Controller Link Networks and PLC Links are not used Data links can be generated automatically using the same number of words for each node or manually When a user defines the data links manua...

Страница 186: ...cle during I O refreshing which occurs after program execution Words in this data area cannot be refreshed with immediate refreshing or IORF 097 Each CPU Bus Unit is allocated 25 words based on its un...

Страница 187: ...o CIO 2959 Words in the Special I O Unit Area are allocated to transfer data such as the operating status of the Unit Each Unit is allocated 10 words based on its unit number setting Data is exchanged...

Страница 188: ...s with no need for special programming The Serial PLC Link allocations are set automatically by means of the follow ing PLC Setup in the Polling Unit Serial PLC Link Mode Number of Serial PLC Link tra...

Страница 189: ...ocations words are automatically allocated to the slaves in the specified fixed allocation area according to node addresses With user set allocations the user can allocate words to Slaves from the fol...

Страница 190: ...following cases 1 When the operating mode is changed from PROGRAM to RUN or MONI TOR mode or vice versa and the IOM Hold Bit is OFF 2 When the power is cycled 3 When the Work Area is cleared from the...

Страница 191: ...efore the PLC s internal power supply and the Holding Area bit will be reset Instead use a configuration like the one shown below There are no restrictions in the order of using bit address or in the...

Страница 192: ...tored ON OFF status of the branch point Forcing Bit Status TR bits cannot be changed from the CX Programmer Examples In this example a TR bit is used when two outputs have been directly con nected to...

Страница 193: ...check but the timers will operate as long as the instructions are not executed in the same cycle The following table shows when timers will be reset or maintained Note 1 If the IOM Hold Bit A500 12 is...

Страница 194: ...etion Flag of the counter When a counter number is used in an operand that requires word data the counter number accesses the PV of the counter The refresh method for counter PVs can be set from the C...

Страница 195: ...imer Counter as Binary Option in the PLC Properties Dialog Box The timers and counters for all tasks will be executed in binary mode 4 14 Data Memory Area D The DM Area contains 32 768 words with addr...

Страница 196: ...DM Area Allocation to Special I O Units Parts of the DM Area are allocated to Special I O Units and CPU Bus Units for functions such as initial Unit settings The timing for data transfers is different...

Страница 197: ...Use MOVRW 561 to set the PLC memory address of a timer counter PV in an Index Register Note Refer to Appendix E Memory Map for more details on PLC memory addresses Indirect Addressing When an Index R...

Страница 198: ...he content of IR is treated as the PLC memory address of a bit or word IR LD IR0 Loads the bit at the PLC memory address contained in IR0 Indirect addressing with constant offset The constant prefix i...

Страница 199: ...ess of CIO 13 0C000D hex in IR2 The SET instruction adds 5 from bit 13 to this PLC memory address so it turns ON bit CIO 1 02 Index Register Initialization The Index Registers will be cleared in the f...

Страница 200: ...sses in the Index Registers are stored using a MOVR instruction 2 Operation is then executed by indirectly addressing Index Registers to the operand for Instruction A 3 The addresses are moved using p...

Страница 201: ...Index Registers In the following example TIM instructions for timer numbers 0 to 99 use set values in D100 to D109 This can be achieved by using one TIM instruction using an index register for the tim...

Страница 202: ...ress for the PV area for TO is set in IR0 IR1 IR2 MOVR T0 IR1 The PLC memory address for the Completion Flag for TO is set in IR1 MOVR W0 00 IR2 The PLC memory address for W0 00 is set in IR2 MOV 100...

Страница 203: ...n tasks This setting will be enabled uniformly for all Index Regis ters and Data Registers Sharing Index Registers The following setting can be made from the PLC Properties Dialog Box on the CX Progra...

Страница 204: ...dress of a bit or word in I O memory Data Registers contain signed binary data so the content of an Index Register can be offset to a lower or higher address D1001 and D1000 stored in IR0 or Actual me...

Страница 205: ...n t be cleared when a FALS error occurs or the operating mode is changed from PROGRAM mode to RUN MONITOR mode or vice versa If the IOM Hold BIt A500 12 is ON and the PLC Setup s IOM Hold Bit Status a...

Страница 206: ...Condition Flags are cleared when the program switches tasks so the sta tus of the ER and AER flags are maintained only in the task in which the error occurred Forcing Bit Status The Condition Flags c...

Страница 207: ...N when the first operand of a Comparison Instruction is greater than the second or a value exceeds a specified range Equals Flag P_EQ Turned ON when the two operands of a Comparison Instruction are eq...

Страница 208: ...treats condition flags as global symbols beginning with P_ CMP CCS CCL Instruction A Instruction B Stores result of comparison in the Condition Flags This will enable loading the results to use with I...

Страница 209: ...t be overwritten from instructions or the CX Programmer The Clock Pulses are cleared at the start of operation Using the Clock Pulses The following example turns CIO 100 00 ON and OFF at 0 5 s interva...

Страница 210: ...1 5 2 4 PLC Setup 212 5 2 5 High speed Counter Terminal Allocation 212 5 2 6 Pulse Input Connection Examples 215 5 2 7 Ladder Program Example 216 5 2 8 Additional Capabilities and Restrictions 219 5 3...

Страница 211: ...uts and executes the corresponding interrupt task when the count reaches the SV The maximum input response frequency for input interrupts in counter mode is 5 kHz Scheduled Interrupts This function ex...

Страница 212: ...nsert Program in the pop up menu A new program called NewProgram2 unassigned will be inserted in the project workspace 2 Right click NewProgram2 unassigned and select Properties from the pop up menu t...

Страница 213: ...of the interrupt condition to the actual execution of the corresponding interrupt task In particular it is possible that scheduled interrupts will not be executed in the preset time so the program mu...

Страница 214: ...e saved result of the B instruction 1235 is written to D0 when processing returns to the cyclic task In the end the interrupt task s processing has no effect Prevention of Duplicate Processing B D0 00...

Страница 215: ...k when the corresponding input signal up or down differentiated is received Input Interrupt Bit and Terminal Allocations The following diagrams show the input bits and terminals that are used for the...

Страница 216: ...nput interrupt 3 Interrupt task 143 04 to 11 Normal inputs 4 to 11 CIO 1 00 Normal input 12 Input interrupt 4 Interrupt task 144 01 Normal input 13 Input interrupt 5 Interrupt task 145 02 Normal input...

Страница 217: ...l inputs 2 3 4 and 5 CIO 1 00 Normal input 6 Input interrupt 2 Interrupt task 142 01 Normal input 7 Input interrupt 3 Interrupt task 143 02 Normal input 8 Input interrupt 4 Interrupt task 144 03 Norma...

Страница 218: ...ettings The MSKS 690 instruction must be executed in order to use input interrupts The settings made with MSKS 690 are enabled with just one execution so in general execute MSKS 690 in just one cycle...

Страница 219: ...gram to interrupt task 140 4 Use the CX Programmer to write MSKS 690 in the program Input interrupt number Interrupt task number 1 Up differentiation or Down differentiation 2 Enabling Disabling the i...

Страница 220: ...ut Interrupts Direct Mode for details The counter input mode can be set to up or down incrementing or decre menting with MSKS 690 The counter mode input interrupts start the same interrupt tasks 140 t...

Страница 221: ...uted in order to use input interrupts The settings made with MSKS 690 are enabled with just one execution so in general execute MSKS 690 in just one cycle using an up differentiated condi tion MSKS 69...

Страница 222: ...CX Programmer to write MSKS 690 in the program Operation When execution condition W0 00 goes ON MSKS 690 is executed to enable operation of the input interrupt in counter mode Input interrupt number...

Страница 223: ...measured by the CPU Unit s built in timer Interrupt task 2 is allocated to scheduled inter rupt Procedure PLC Setup Click the Timings Tab and set the input function to Scheduled Interrupt Inter val th...

Страница 224: ...ntil the oth er interrupt task is completed When different kinds of interrupts are being used design the program to handle multiple interrupts smoothly Even if two interrupts occur at the same time th...

Страница 225: ...ms 2 Use the CX Programmer to create the interrupt program allocated to inter rupt task 2 Operation When execution condition W0 00 goes ON MSKS 690 is executed to enable the scheduled interrupt with t...

Страница 226: ...arison For details on the built in high speed counter refer to 5 2 High speed Counters Procedure W0 00 30 5 ms 30 5 ms 30 5 ms Cyclic task processing Interrupt task 2 Interrupt Interrupt task 2 Interr...

Страница 227: ...n each CPU Unit Item Setting Use high speed counter 0 to 3 Use counter Counting mode Linear mode Circular mode ring mode Circular Max Count 0 to FFFF FFFF hex When circular ring mode is selected as th...

Страница 228: ...ent or Direction input 08 High speed counter 0 Phase A Increment or Count input 09 High speed counter 0 Phase B Decrement or Direction input 10 High speed counter 3 Phase A Increment or Count input 11...

Страница 229: ...nputs CIO 0 Inputs CIO 1 High speed counter terminals 00 04 10 00 02 04 COM 01 05 11 01 03 05 NC A0 B0 Z0 A1 B1 Z1 A0 B0 Z0 A1 B1 Z1 High speed counter 3 Phase Z or Reset input High speed counter 3 Ph...

Страница 230: ...321 04 ON for match in range 6 A274 05 A275 05 A320 05 A321 05 ON for match in range 7 A274 06 A275 06 A320 06 A321 06 ON for match in range 8 A274 07 A275 07 A320 07 A321 07 Comparison In progress Fl...

Страница 231: ...et values Target value 1 rightmost digits Target value 1 leftmost digits Task number for target value 1 0001 to 0030 hex 1 to 48 target values 0000 0000 to FFFF FFFF hex Target value 48 rightmost digi...

Страница 232: ...rupts 0 to 7 in counter mode 1000 or 1001 PWM 891 output 0 or 1 C Control data 0000 Start comparison 0001 Stop comparison 0002 Change the PV 0003 Stop pulse output NV First word of new PV NV and NV 1...

Страница 233: ...rting at word D20000 Even though range 1 is the only range being used all 40 words must still be dedicated to the range comparison table W0 00 CTBL 882 0000 0000 D10000 Use high speed counter 0 First...

Страница 234: ...nge 2 lower and upper limit values Not used and don t need to be set Range 2 settings D20009 FFFF Disables range 2 D20014 D20019 D20024 D20029 D20034 FFFF Set the fifth word for ranges 3 to 7 listed a...

Страница 235: ...otary encoder can be connected to a built in input to produce a high speed pulse input High speed interrupt processing can be performed when the high speed counter PV matches a target value or is with...

Страница 236: ...t PRV 881 HIGH SPEED COUNTER PV READ The PRV 881 instruction can be used to measure the pulse fre quency Range with differential phase inputs 0 to 50 kHz Y models 0 to 500 kHz Range with all other inp...

Страница 237: ...Software reset The counter is reset when the phase Z input goes ON while the Reset Bit is ON Software reset The counter is reset when the Reset Bit goes ON Set the counter reset method in the PLC Setu...

Страница 238: ...ON and decre mented when it is OFF Only up differentiated pulses rising edges can be counted Reset Bit Used for the PV software reset A531 00 A531 01 A531 02 A531 03 High speed Counter Gate Bit When a...

Страница 239: ...The count in the current cycle is com pared with the count in the previous cycle to determine if it is being incre mented or decremented The results are reflected in the High speed Counter Count Direc...

Страница 240: ...rcular Max Count which is the max value of the input pulse counting range The max ring count can be set to any value between 00000001 and FFFFFFFF hex Restrictions There are no negative values in ring...

Страница 241: ...he beginning of the PLC cycle during the oversee ing processes Reset processing is performed at the same time The OFF to ON transition will not be recognized if the Reset Bit goes OFF again within the...

Страница 242: ...omparing High speed Counters 0 to 3 Counting Mode Linear mode Ring mode Program the interrupt task with any interrupt number between 0 and 255 to be executed when using a target value comparison or ra...

Страница 243: ...input terminals that can be used for high speed counters in each CPU Unit Item Setting Use high speed counter 0 to 3 Use counter Counting mode Linear mode Circular mode ring mode Circular Max Count ma...

Страница 244: ...ent or Count input High speed counter 2 Phase A Increment or Count input High speed counter 2 Phase Z or Reset input High speed counter 2 Phase B Decrement or Direction input High speed counter 0 Phas...

Страница 245: ...ection input High speed counter 2 Phase Z or Reset input Upper Terminal Block Inputs CIO 0 Inputs CIO 1 High speed counter terminals High speed counter 2 Phase A Increment or Count input High speed co...

Страница 246: ...se Z Orange Vcc Brown 0 V COM Blue 24 VDC power supply 0 V 24 V Encoder Power 24 VDC Example E6B2 CWZ6C NPN open collector output 008 High speed counter 0 Phase A 0 V Differential Input Mode 009 High...

Страница 247: ...ed ON by an interrupt and the indicator PL1 is lit If the workpiece fails output CIO 100 01 is turned ON by an interrupt and indicator PL2 is lit The interrupt program is interrupt task 10 Differentia...

Страница 248: ...se B input See note 10 and 11 Not used normal input CIO 1 00 to 11 Not used normal input Output terminal Usage Word Bit CIO 100 00 Normal input PL1 Dimension pass output 01 Normal input PL2 Dimension...

Страница 249: ...puts L1 L2 N COM 01 03 05 07 09 11 01 03 05 07 09 11 LG 00 02 04 06 08 10 00 02 04 06 08 10 Workpiece end detection Counter 0 phase Z Workpiece start detection Counter 0 phase B Counter 0 phase A Top...

Страница 250: ...he high speed counters are operating in Incrementing or Up Down Input Modes D10005 to D10008 All 0000 Range 2 lower and upper limit values Not used and don t need to be set Range 2 settings D10009 FFF...

Страница 251: ...when the high speed counter PV matches the registered target value Up to 48 target values between 1 and 48 can be registered in the com parison table A different interrupt task can be registered for e...

Страница 252: ...cycle The next interrupt task in the table will be executed in the next cycle Note The range comparison table can be used without starting an interrupt task when the comparison condition is met The r...

Страница 253: ...peed Counter Enable Disable Setting Required Select the Use high speed counter 0 Option in the PLC Setup 2 Pulse Input Mode Setting Required Set the High speed Counter 0 Pulse Input Mode Input Setting...

Страница 254: ...Mode Setting Required Set the High speed Counter 0 Counting Mode in the PLC Setup If ring mode counting is selected set the Circular Max Count max ring count in the PLC Setup 4 Reset Method Setting R...

Страница 255: ...be selected automatically when the pulse output instruction is executed The CW CCW direction is selected by determining whether the number of pulses specified in the instruction is greater than or le...

Страница 256: ...ion 1 1 and later Pulse outputs 0 1 2 3 1 Hz to 100 kHz Unit version 1 0 and earlier Pulse outputs 0 and 1 1 Hz to 100 kHz 1 Hz units Pulse outputs 2 and 3 1 Hz to 30 kHz 1 Hz units Target frequency r...

Страница 257: ...NI 880 instruction executed to change the PV the CW or CCW direction is selected automati cally based on the relationship between the pulse output PV and the pulse Output Amount specified when the pul...

Страница 258: ...are used when the origin location is undetermined Relative pulse specification Absolute pulse specification The pulse type can be specified with an operand in PULS 886 or PLS2 887 Note The absolute pu...

Страница 259: ...gement NC 00 01 02 03 04 06 00 01 03 04 06 NC COM COM COM COM 05 07 COM 02 05 07 Lower Terminal Block Example Transistor Outputs CIO 100 Pulse output 0 COM Pulse output 1 Pulse output 2 Pulse output 3...

Страница 260: ...ed 04 Normal output 4 Pulse output 2 CW Pulse output 2 pulse 05 Normal output 5 Pulse output 2 CCW Pulse output 2 direction 06 Normal output 6 Pulse output 3 CW Pulse output 3 pulse 07 Normal output 7...

Страница 261: ...nput 4 High speed counter 2 phase A increment or count input 05 Normal input 5 High speed counter 2 phase B decrement or direction input 06 Normal input 6 High speed counter 1 phase A increment or cou...

Страница 262: ...CCW fixed Pulse output 1 direc tion CIO 100 04 Normal output 4 Pulse output 2 CW Pulse output 2 pulse 05 Normal output 5 Pulse output 2 CCW Pulse output 2 direc tion 06 Normal output 6 Pulse output 3...

Страница 263: ...01 Normal input 1 Interrupt input 1 Quick response input 1 High speed counter 2 phase Z reset 04 Normal input 2 High speed counter 2 phase A incre ment or count input 05 Normal input 3 High speed coun...

Страница 264: ...ut signal open collector 03 Normal input 9 Interrupt input 5 Quick response input 5 Pulse 0 Origin input signal open collector 04 Normal input 10 Pulse 1 Origin proxim ity input signal 05 Normal input...

Страница 265: ...pulses are being output accord ing to an ACC 888 or PLS2 887 instruc tion and the output frequency is being changed in steps accelerating or deceler ating 0 Constant speed 1 Accelerating or decelerat...

Страница 266: ...ncy higher or lower of the pulse output in one step SPED 885 Continu ous SPED 885 Continu ous Port Continu ous Target fre quency Change speed smoothly Changing the speed smoothly during operation Chan...

Страница 267: ...othly Decelerate to a stop Decelerates the pulse output to a stop Note If ACC 888 started the operation the original acceleration deceleration rate will remain in effect If SPED 885 started the operat...

Страница 268: ...ote Note The target position specified number of pulses can not be changed dur ing position ing PULS 886 ACC 888 Indepen dent Number of pulses Relative or abso lute pulse specifica tion Port CW CCW or...

Страница 269: ...can be executed during positioning to change the acceler ation deceleration rate and target fre quency The target position specified number of pulses is not changed PULS 886 ACC 888 or SPED 885 Indep...

Страница 270: ...changed without main taining the same speed range an error will occur and the original oper ation will con tinue to the original tar get position PULS 886 ACC 888 Indepen dent PLS2 887 Number of pulse...

Страница 271: ...LS2 887 can be executed during positioning with rel ative pulse specifi cation to change to absolute pulses and reverse direction PULS 886 ACC 888 Indepen dent PLS2 887 Number of pulses Absolute pulse...

Страница 272: ...pen dent Target fre quency 0 Stop sloped pulse out put smoothly Number of pulses set ting is not preserved Decelerate to a stop Decelerates the pulse output to a stop Note If ACC 888 started the opera...

Страница 273: ...xecution will be ignored and the previ ous opera tion will be continued ACC 888 Continu ous PLS2 887 Port Acceleration rate Deceleration rate Target frequency Number of pulses Note The starting fre qu...

Страница 274: ...er of pulses setting The pulse output PV after instruction execution Number of movement pulses Number of pulses setting Note The pulse output PV is reset to 0 just before pulses are output After that...

Страница 275: ...ses setting 100 Number of movement pulses Number of pulses setting Pulse output PV when instruc tion is executed The movement direction is determined automat ically Pulse output PV when instruction is...

Страница 276: ...celeration can be used for pulse output instructions involving acceleration deceleration When there is leeway in the maximum allowable speed S curve accelerations decelerations will help control shock...

Страница 277: ...ation rates a cubic polynomial approximation The curve s parameters cannot be changed The maximum acceleration will be 1 5 times that of trapezoidal acceleration deceleration for the same acceleration...

Страница 278: ...source clock frequency by an integer ratio The source clock frequency for ports 0 and 1 is 20 MHz and the frequency for ports 2 and 3 is 16 4 MHz Consequently there may be a slight difference between...

Страница 279: ...ations The INT function extracts an integer from the fraction The non integer remainder is rounded Source clock frequency Dividing ratio Clock frequency x 2 Set frequency Set frequency kHz x 2 Actual...

Страница 280: ...0 000 41 481 927 to 493 827 487 804 99 201 005 to 203 045 202 020 100 199 004 to 201 005 200 000 101 197 044 to 199 004 198 019 200 99 750 to 100 250 100 000 164 99 696 to 100 000 100 000 201 99 255 t...

Страница 281: ...he current position to 0 5 3 5 1 Origin Search When ORG 889 executes an origin search it outputs pulses to actually move the motor and determines the origin position using the input signals that indi...

Страница 282: ...to 1 Limit Input Signal Settings Limit Input Signal Operation and Undefine Origin Settings Acceleration Deceleration Curve Setting Other Parameter Settings 1 Operation Mode Set the best operation mode...

Страница 283: ...gin Proximity Input Signal goes from OFF ON OFF 1 Read the Origin Input Signal after the Origin Proximity Input Signal goes from OFF ON 2 Just read the Origin Input Signal with out using the Origin Pr...

Страница 284: ...d NC Line driver 3 Normally open NO Line driver Y CPU Units Pulse outputs 2 and 3 0 Normally closed NC 1 Normally open NO When power is turned ON Positioning monitor time 0000 to 270F hex 0 to 9 999 m...

Страница 285: ...received during this deceleration and an Origin Input Signal Error error code 0202 will be generated In this case the motor will decelerate to a stop Operating Mode 1 with Error Counter Reset Output...

Страница 286: ...begin decel erating from the origin search high speed to the origin search proximity speed In this operating mode the motor will stop at the Origin Input Signal after deceleration is completed 1 1 0...

Страница 287: ...n the deceleration time Origin Input Signal is ignored during deceleration Motor stopped by an Origin Input Signal received after deceleration Starts when ORG 889 is executed Stop Ideal time for the O...

Страница 288: ...od The origin detection method depends on the Origin Proximity Input Signal set tings Select one of the following three methods in each port s parameters 1 1 0 0 Pulse output Error Counter Reset Outpu...

Страница 289: ...s stopped when the Origin Input Signal goes OFF ON Initial speed Acceleration High speed for origin search Deceler ation Proximity speed for origin search Start when ORG 889 is executed Stop 1 1 0 0 C...

Страница 290: ...ted by the origin search operation and origin detection method settings These examples have a CW origin search direction The search direction and limit input signal direction would be different for an...

Страница 291: ...x imity Input Sig nal not used Note When the direction of operation is reversed it is reversed immediately without deceleration or acceleration 1 1 0 0 CCW CCW CCW CW CW CW Origin Proximity Input Sign...

Страница 292: ...put Signal reversal not required Note When the limit input signal is received the motor stops without deceleration 1 1 0 0 CCW CCW CCW CW CW CW Origin Proximity Input Signal Origin Input Signal Pulse...

Страница 293: ...d Sets the motor s speed after the Origin Proximity Input Signal is detected Specify the speed in the number of pulses per second pps Origin Search Acceleration Rate Sets the motor s acceleration rate...

Страница 294: ...ioning opera tion has been completed i e the pulse output has been completed A Posi tioning Timeout Error error code 0300 will be generated if the motor driver s Positioning Completed Signal does not...

Страница 295: ...n Function Pulse output number 0 1 2 3 Output Stopped Error Flags ON when an error occurred while outputting pulses in the origin search function 0 No error 1 Stop error occurred A280 07 A281 07 A326...

Страница 296: ...Input Signal is already being input in the origin search direction When a non regional origin search is being performed the Origin Input Signal and the Limit Input Signal in the oppo site direction fr...

Страница 297: ...OFF Origin search direction 0 CW direction System Configuration Instructions Used ORG 889 I O Allocations Example X XA CPU Units Inputs CW limit detection sensor Origin Proximity Input sensor Workpiec...

Страница 298: ...tput 0 Origin Search Operating Mode 1 hex Mode 1 Pulse Output 0 Origin Search Operation Setting 0 hex Reverse mode 1 Pulse Output 0 Origin Detection Method 0 hex Origin detection method 0 Pulse Output...

Страница 299: ...to the target speed moving at the target speed and then decelerating to a stop at the origin position ORG 0000 0000 CW limit detection sensor 1 06 CW Limit Input Signal 1 07 CCW limit detection sensor...

Страница 300: ...for both pulse output 0 and pulse output 1 Various origin return parameter settings Execution of ORG 889 To specify the origin return operation set bits 12 to 15 of the second operand to 1 hex Determi...

Страница 301: ...n and CW CCW method 1000 Origin search and pulse direction method 1100 Determine the pulse output method output frequency and port Pulse output method CW CCW inputs Pulse outputs 0 to 3 Pulse directio...

Страница 302: ...ontrol with acceleration deceleration the same rate is used for both acceleration and deceleration INI 880 Specify port number and stop pulse output when necessary PRV 881 Specify port number and read...

Страница 303: ...gin search function is enabled Ladder program PLS2 887 Specify port number and set the output method CW CCW method or Pulse direction method and pulse output control with trapezoidal acceleration dece...

Страница 304: ...of pulses must be set in advance with PULS 886 Used Used ACC 888 ACCELERATION CONTROL Performs pulse output con trol with acceleration and deceleration When positioning the number of pulses must be s...

Страница 305: ...creating stepwise changes in the speed Operand Contents P Port specifier 0000 Pulse output 0 0001 Pulse output 1 0002 Pulse output 2 0003 Pulse output 3 T Pulse type 0000 Relative pulse output 0001 Ab...

Страница 306: ...method See note 0 hex CW CCW 1 hex Pulse direction Bits 12 to 15 Not used Always 0 hex F First pulse frequency word F and F 1 contain the pulse frequency setting in units of 1 Hz F contains the rightm...

Страница 307: ...5 Hz Specify the increase or decrease in the frequency per pulse control period 4 ms S 1 and S 2 S and S 1 contain the target frequency setting in units of 1 Hz S 1 contains the rightmost 4 digits and...

Страница 308: ...Bits 0 to 3 Mode 0000 Relative pulse output 0001 Absolute pulse output Bits 4 to 7 Direction 0 hex CW 1 hex CCW Bits 8 to 11 Pulse output method See note 0 hex CW CCW 1 hex Pulse direction Bits 12 to...

Страница 309: ...00000000 to 000F4240 hex 0 Hz to 1 MHz Pulse outputs 2 and 3 00000000 to 0000186A0 hex 0 Hz to 100 kHz S 4 and S 5 S 4 and S 5 contain the number of pulses setting S 4 contains the rightmost 4 digits...

Страница 310: ...er or interrupt functions refer to 5 1 Interrupt Functions or 5 2 High speed Counters Operand Contents P Port specifier 0000 Pulse output 0 0001 Pulse output 1 0002 Pulse output 2 0003 Pulse output 3...

Страница 311: ...Flag Note This section explains the functions related to pulse outputs only For details on the PRV 881 instruction s high speed counter or interrupt functions refer to 5 1 Interrupt Functions or 5 2 H...

Страница 312: ...1 Outputting pulses Bit 5 No origin Flag 0 Origin established 1 Origin not established Bit 6 At Origin Flag 0 Not stopped at origin 1 Stopped at origin Bit 7 Pulse Output Stopped Error Flag 0 No error...

Страница 313: ...direction cannot be switched 3 SPED 885 Independent to ACC 888 Independent The number of pulses cannot be changed The frequency can be changed The acceleration deceleration rate can be changed The ou...

Страница 314: ...deceleration The acceleration deceleration rate can be changed The rate can even be changed during acceleration or deceleration The output mode and direction cannot be switched 8 PLS2 887 to PLS2 887...

Страница 315: ...0 interrupt task number 140 starts a scheduled interrupt with a scheduled time of 0 5 ms The scheduled interrupt task executes the pulse output instructions and stops the scheduled interrupt PWM outpu...

Страница 316: ...6 Sets the number of output pulses SPED 885 Starts the pulse output Preparation PLC Setup Built in Input Settings Pulse Output 0 Settings PLC Setup setting details Use built in input 0 00 as the inter...

Страница 317: ...setting units in the PLC Setup PLC Setup setting details Data Set the scheduled interrupt time units to 0 1 ms 0002 hex 0000 0100 MSKS 690 P_First_Cycle_Task Task Start Flag Built in interrupt input 0...

Страница 318: ...886 0000 P_On Always ON Flag Pulse output 0 Relative pulse specification Number of output pulses 100 000 pulses Pulse output 0 Specifies CW CCW outputs CW direction and independent mode Target freque...

Страница 319: ...rated at a constant speed for a short time between the acceleration and deceleration Jog Operation Specifications and Operation Low speed jog operation CW will be executed from pulse output 1 while in...

Страница 320: ...be made in the PLC Setup DM Area Settings Settings to Control Speed while Jogging D0 to D1 and D10 to D15 Target frequency 100 000 Hz CW High speed jog 1 06 CCW high speed jog 1 07 Acceleration de ce...

Страница 321: ...200 01 SPED 885 0010 RSET 200 01 Low speed CW Start Pulse Output in Progress Pulse output 1 Specifies CW CCW output method CW side and continuous mode Target frequency Low speed CW output in progress...

Страница 322: ...10 D00010 SET 200 03 ACC 888 0010 D13 RSET 200 03 END 001 1 06 A281 04 200 02 1 06 1 07 A281 04 200 03 1 07 High speed CW Start Pulse Output in Progress Pulse output 1 Specifies CW CCW output method C...

Страница 323: ...imes 6 When the operation has been completed the Cutting Operation Finished Output OUT 101 01 is turned ON The feeding operation can be canceled and operation stopped at any point using the Emergency...

Страница 324: ...etting details Address Data Acceleration rate 1 000 Hz 4 ms D10 03E8 Deceleration rate 1 000 Hz 4 ms D11 03E8 Target frequency 10 000 Hz D12 2710 D13 0000 Number of output pulses 50 000 pulses D14 C35...

Страница 325: ...SET W0 00 Jogging Flag W000 00 a05 000002 000008 Fixed distance Feed 0 01 Positioning Switch PLS2 887 0 0 D10 D16 OP1 OP2 OP3 OP4 0 03 Cutter Finished 000003 000011 A280 03 Pulse Output Completed Flag...

Страница 326: ...SPED 885 for the jog operation If ACC 888 is used acceleration deceleration can be included in the jog op eration Vertically Conveying PCBs Multiple Progressive Positioning Specifications and Operatio...

Страница 327: ...50 000 Hz 10000 C350 hex CCW limit Origin servo phase Z Origin proximity CW limit 2 Fixed distance positioning repeated 3 Return to start Acceleration deceleration 1 000 Hz 4 ms 03E8 hex Stocker movem...

Страница 328: ...r is counted with counter C0 by counting the number of times the stocker is raised XW2B 20J6 8A XW2Z 100J B5 1 m XW2Z 200J B5 2 m Stocker Movement Completed CIO 1 03 Origin Search Switch CIO 0 00 Emer...

Страница 329: ...S2 887 for Fixed distance Positioning D0 to D7 Settings for PLS2 887 to Return to Start D10 to D17 Setting details Enable origin search function for pulse output 0 Setting details Address Data Acceler...

Страница 330: ...eats of Fixed distance Positioning Operation D20 Starting frequency 100 Hz D16 0000 D17 0000 Setting details Address Data Setting details Address Data Number of repeats of fixed distance positioning o...

Страница 331: ...enabled 1 00 a09 W0 05 PCB Stored 0 02 PCB storage completed W0 02 Lift positioning start W000 02 a10 a14 1 00 PCB Storage enabled 000002 000014 Positioning Lift 10 000 pulses relative at a time W0 02...

Страница 332: ...vement completed W0 07 Lower positioning start W000 07 b32 a36 000007 000036 Positioning Lower to 0 position absolute pulses W0 07 Lower positioning start W0 09 Lower positioning start W0 08 Lower pos...

Страница 333: ...grasped at one position and moved back and forth to sev eral assembly positions Note The X and Y axes are moved independently i e interpolation is not per formed X axis Y axis Cylinder Workpieces gras...

Страница 334: ...river X axis Y axis Servo Driver RUN input Origin proximity input CCW limit input CIO 2960 07 CW limit input CIO 2960 06 24 VDC power supply Servo Drive alarm output Servo Drive brake interlock output...

Страница 335: ...in search enable setting is read when the power supply is turned ON DM Area Settings Starting Frequency Setting details Enable origin search function for pulse output 0 Setting details Address Data X...

Страница 336: ...etails Address Data X axis Acceleration rate 2 000 Hz 4 ms D30 07D0 Deceleration rate 2 000 Hz 4 ms D31 07D0 Target frequency 100 000 Hz D32 86A0 D33 0001 Number of output pulses 25 000 pulses D34 61A...

Страница 337: ...4 ms D70 07D0 Deceleration rate 2 000 Hz 4 ms D71 07D0 Target frequency 100 000 Hz D72 86A0 D73 0001 Number of output pulses 25 000 pulses D74 61A8 D75 0000 Y axis Acceleration rate 2 000 Hz 4 ms D80...

Страница 338: ...0 01 a08 a12 000003 000008 W0 01 W1 00 Positioning to A start W001 00 a54 W2 00 Positioning to A completed RSET W0 01 W000 01 a08 a12 000004 000012 Operation 2 Positioning to B W0 01 SET W0 02 W000 02...

Страница 339: ...eted RSET W0 05 W000 05 a32 a36 000012 000036 Operation 4 Positioning to D W0 05 SET W0 06 W000 06 a38 a42 000013 000038 W0 06 W1 03 Positioning to D start W001 03 a75 W2 03 Positioning to D completed...

Страница 340: ...P4 cD00002 c65 c71 c77 A280 03 Pulse output completed A281 03 pulse output completed W2 00 Positioning to A completed W002 00 a10 a22 a34 a46 000018 000063 Positioning to B Start and Completion for X...

Страница 341: ...W1 03 Positioning to D start PLS2 887 0 1 D70 D0 OP1 OP2 OP3 OP4 cD00000 c58 c64 c70 PLS2 887 1 1 D80 D2 OP1 OP2 OP3 OP4 cD00002 c59 c65 c71 A280 03 Pulse output completed A281 03 pulse output comple...

Страница 342: ...6 Built in input IN6 A540 08 CW limit input signal X axis 000023 000086 0 07 Built in input IN7 A540 09 CCW limit input signal X axis 000024 000088 0 08 Built in input IN8 A541 08 CW limit input signa...

Страница 343: ...Speed control is used to feed wrapping material to the initial position when the Start Switch CIO 1 04 is activated 2 When the Marker Sensor Input IN0 is received PLS2 887 is executed in interrupt ta...

Страница 344: ...rapping Material Setting details Enable using built in input IN0 as an interrupt input Setting details Address Data Acceleration rate 1 000 Hz 4 ms D0 03E8 Target frequency 10 000 Hz D1 2710 D2 0000 S...

Страница 345: ...1 Material positioning completed W0 00 Material being fed W000 00 a03 W0 00 Material being fed ACC 888 0 0 D0 OP1 OP2 OP3 A280 03 A280 04 W0 01 Material positioning completed W000 01 b04 000002 000010...

Страница 346: ...used in the Y CPU Units PLC Setup Use the CX Programmer to set a built in input as a quick response input in the PLC Setup Click the Built in Input Tab to display the Interrupt Input settings at the b...

Страница 347: ...Input terminal block Input operation setting Word Bit Normal inputs Input interrupt Quick response inputs CIO 0 00 Normal input 0 Input interrupt 0 Quick response input 0 01 Normal input 1 Input inte...

Страница 348: ...0 00 Normal input 0 Input interrupt 0 Quick response input0 01 Normal input 1 Input interrupt 1 Quick response input 1 04 05 10 and 11 Normal inputs 2 to 5 CIO 1 00 Normal input 6 Input interrupt 2 Q...

Страница 349: ...p Max rated input 15 V 30 mA External input impedance 1 M min Approx 250 Resolution 1 6000 or 1 12000 Select in PLC Setup Overall accu racy At 25 C 0 3 full scale 0 4 full scale 0 to 55 C 0 6 full sca...

Страница 350: ...1 6 000 resolution 0 to 10 V Input When the resolution is set to 1 6 000 the 0 to 10 V range corresponds to hexadecimal values 0000 to 1770 0 to 6 000 The entire data range is FED4 to 189C 300 to 6 30...

Страница 351: ...egative voltage is expressed as a two s complement The following diagram shows conversion values for 1 6 000 resolution 1 to 5 V Input When the resolution is set to 1 6 000 the 1 to 5 V range correspo...

Страница 352: ...resolution 4 to 20 mA When the resolution is set to 1 6 000 the 4 to 20 mA range corresponds to hexadecimal values 0000 to 1770 0 to 6 000 The entire data range is FED4 to 189C 300 to 6 300 When the r...

Страница 353: ...resolution 0 to 10 V Outputs When the resolution is set to 1 6 000 the hexadecimal values 0000 to 1770 0 to 6 000 correspond to an analog voltage range of 0 to 10 V When the resolution is set to 1 12...

Страница 354: ...imal values 0000 to 2EE0 0 to 12 000 correspond to an analog voltage range of 0 to 5 V The entire output range is 0 8 to 5 2 V The following diagram shows conversion values for 1 6 000 resolution 0 to...

Страница 355: ...tion Function for Analog Inputs The open circuit detection function is activated when the input range is set to 1 to 5 V and the voltage drops below 0 8 V or when the input range is set to 4 to 20 mA...

Страница 356: ...ange 0 to 20 mA or 4 to 20 mA Each output is set independently Wire the I O Wire the I O devices Write the ladder program Analog inputs Read the conversion value Analog outputs Write the conversion va...

Страница 357: ...whether the I O point is being used the input range output range averaging function usage and resolution The I O point usage input range output range and averaging function usage can be set independen...

Страница 358: ...rn ON the input s Analog Voltage Current Input Switch Analog Input Terminal Block VIN0 IIN0 COM0 VIN1 IIN1 XOM1 VIN2 IIN2 COM2 VIN3 IIN3 COM3 VIN0 IIN0 Analog input 1 voltage current input COM0 Analog...

Страница 359: ...approximately 1 3 to 1 2 of the output voltage of the other con nected device will be generated If that voltage is generated while the setting is for 1 to 5 V open circuit detection may not be possibl...

Страница 360: ...dicates when the built in analog I O has been initialized Startup Operation After power is turned ON it takes approximately 1 5 s before the initial data is converted and stored in the input words The...

Страница 361: ...V or 4 to 20 mA For any other fatal errors in the CPU Unit 1 V or 4 mA will be output if the output range is 1 to 5 V or 4 to 20 mA Caution If an interrupt task program is executed continuously for mo...

Страница 362: ...354 6 3 7 Segment LED Display 355 6 4 Battery free Operation 357 6 4 1 Overview 357 6 4 2 Using Battery free Operation 357 6 5 Memory Cassette Functions 359 6 5 1 Overview 359 6 5 2 Mounting and Remo...

Страница 363: ...ands and transfers them on the serial communications path OK OK Serial PLC Link CP1H or CJ1M CPU Units Up to ten words per Unit can be shared by up to nine CPU Units including one Polling Unit and eig...

Страница 364: ...uter to the CPU Unit 2 It is also possible to send FINS commands from the CPU Unit to the host com puter to send data or infor mation Use Host Link communica tions to monitor data such as operating st...

Страница 365: ...t data from a barcode reader or output data to a printer The following table lists the no protocol communication functions supported by CP1H PLCs CP1H CPU Unit TXD 236 or RXD 235 Sending receiving dat...

Страница 366: ...ed the first start code will be effec tive When more than one end code is used the first end code will be effective If the data being transferred contains the end code the data transfer will be stoppe...

Страница 367: ...C or RS 422A 485 Option Board is used the CP1H CPU Unit can function as a Modbus RTU Master to send Modbus RTU commands by manipulating software switches This enables easily controlling Modbus com pli...

Страница 368: ...e switch after setting the Modbus RTU command in the DM fixed allocation words Slave address Function code Number of communications data bytes Communications data 15 Slave address Function code Commun...

Страница 369: ...rvo 0x81 Parity error A parity error occurred 0x82 Framing error A framing error occurred 0x83 Overrun error An overrun error occurred 0x84 CRC error A CRC error occurred 0x85 Incorrect confirmation a...

Страница 370: ...h Responses are also converted in the same way Note Serial ports 1 and 2 on the CP1H CPU Unit can be used to convert to the fol lowing protocols CompoWay F Modbus RTU A641 00 Port 1 Modbus RTU Master...

Страница 371: ...same for all CP1H CPU Units Item Specification Pre conversion data FINS via FINS network Host Link FINS toolbus NT Link or CPU bus Conversion functions FINS commands addressed to serial port 1 or 2 o...

Страница 372: ...nit Polled Unit CP1H CPU Unit Polling Unit RS 232C or RS 422A 485 Shared data CP1H CPU Unit Polled Unit CJ1M CPU Unit Polling Unit RS 232C or RS 422A 485 Shared data Item Specifications Applicable ser...

Страница 373: ...allocated for the unit numbers of the PT or Polled Units not present in the network are unde fined in the Polling Unit only Polling Unit Polled Unit No 0 Polled Unit No 1 Polled Unit No 3 Local area...

Страница 374: ...Polling Unit Polled Unit No 0 Polled Unit No 1 Polled Unit No 3 Local area Polling Unit Polling Unit Polling Unit Polled Unit No 0 Local area Local area Local area Polled Unit No 1 Not used Not used...

Страница 375: ...3117 CIO 3124 to CIO 3126 CIO 3180 to CIO 3189 CIO 3199 Not used CIO 3109 to CIO 3199 CIO 3118 to CIO 3199 CIO 3127 to CIO 3199 CIO 3190 to CIO 3199 Address Link words 1 word 2 words 3 words to 10 wo...

Страница 376: ...he Polled Unit Note Both serial ports cannot be used for PLC Links at the same time If both ports are set for PLC Links either as polling node or polled node a PLC Setup set ting error non fatal error...

Страница 377: ...l Port 1 Restart Bit A526 01 Turn ON this bit to restart serial port 1 Read write Cleared when power is turned ON Turn ON to restart serial port 1 except when communicating in peripheral bus mode Note...

Страница 378: ...l Port 2 Restart Bit A526 00 Turn ON this bit to restart Serial Port 2 Read write Cleared when power is turned ON Turn ON to restart Serial Port 2 except when communicating in peripheral bus mode Note...

Страница 379: ...the PT as follows 1 2 3 1 Select NT Link 1 N from Comm A Method or Comm B Method on the Memory Switch Menu under the System Menu on the PT Unit 2 Press the SET Touch Switch to set the Comm Speed to Hi...

Страница 380: ...from the host com puter Application Use this method when commu nicating primarily from the PLC to the host computer to transmit status information such as error information Remarks The FINS command w...

Страница 381: ...sponse from the host computer A program is required in the host computer Type Header code Name Function I O mem ory read commands RR CIO AREA READ Reads the contents of the specified number of CIO Are...

Страница 382: ...ction W SV CHANGE 2 Searches for the specified timer counter instruction beginning at the speci fied program address and changes the 4 digit constant or word address in the SV W SV CHANGE 3 Searches f...

Страница 383: ...s Com mands 03 06 PROGRAM AREA READ Reads data from the user program area 03 07 PROGRAM AREA WRITE Writes data to the user program area 03 08 PROGRAM AREA CLEAR Clears the specified range of the user...

Страница 384: ...CPU Unit with a Phillips screw driver the PV in the Auxiliary Area A642 can be changed to any value within a range of 0 to 255 During the adjustment the value is displayed from 00 to FF hex on the 7 s...

Страница 385: ...and PV in A643 The maximum input voltage is 11 VDC Do not apply a voltage greater than that Application Example Setting the value for timer T101 in A643 makes it possible to use T101 as a variable tim...

Страница 386: ...peration Progress of transfers between the CPU Unit and Memory Cassette Changes in values when using the analog adjuster User defined codes from special display instructions in the ladder pro gram Uni...

Страница 387: ...CP1H CPU Unit The dis play is cleared when the set value remains unchanged for at least 4 seconds User defined Code Display The DISPLAY 7 SEGMENT LED WORD DATA SCH 047 and 7 SEGMENT LED CONTROL SCTRL...

Страница 388: ...NT and DM data is saved during power interruptions if a battery is mounted but not when battery free operation is used In that case it is necessary to set the required values in the ladder program It...

Страница 389: ...s that are to be set at startup 1 2 3 1 First set in the DM Area the data that is to be set as initial values at startup 2 Execute a backup to flash memory from the CX Programmer s Memory Cassette Tra...

Страница 390: ...from being made whenever the Battery Error Flag A402 04 is ON 6 5 Memory Cassette Functions 6 5 1 Overview CP1H CPU Units have Memory Cassette functions that enable data in the CPU Unit to be stored...

Страница 391: ...be automatically written to the DM Area D0 to D32767 when the power is turned ON 6 5 2 Mounting and Removing a Memory Cassette Mounting 1 2 3 1 Turn OFF the power supply to the PLC 2 Holding the Memo...

Страница 392: ...while the BKUP indicator and 7 segment LED are flashing i e during a data transfer or verifica tion Doing so could make the Memory Cassette unusable 3 The Memory Cassette is small so be careful to no...

Страница 393: ...any of the following operations To transfer data from the CPU Unit to the Memory Cassette Click the Transfer to Memory Cassette Button To transfer data from the Memory Cassette to the CPU Unit Click t...

Страница 394: ...the CX Programmer s Memory Cassette function to store data in the Memory Cassette verify that data by comparing it to the data in the CPU Unit The data to be verified can be specified individually Th...

Страница 395: ...this function is executed at least the user program must be stored on the Memory Cassette This function can be used to copy data to another CPU Unit without using the CX Programmer User programs can...

Страница 396: ...00 flashes for 5 seconds and then the display is cleared If the data transfer fails er flashes for 5 sec onds and then the display is cleared While the BKUP and 7 segment LED indicators are flashing 1...

Страница 397: ...tte with the required data stored 2 With the power supply turned OFF to the CPU Unit remove the cover from the Memory Cassette slot and insert the Memory Cassette 3 Open the cover for the CPU Unit s P...

Страница 398: ...CP1H CPU Units Read protection from the CX Programmer Write protection using a DIP switch setting Write protection setting from the CX Programmer Write protection against FINS commands sent to the CPU...

Страница 399: ...rotection prevents anyone from displaying or editing the read pro tected set of tasks from CX Programmer without inputting the correct pass word In this case the entire program can be uploaded but the...

Страница 400: ...ote The program can be transferred after step 1 above and then pass word protection be set by selecting PLC Protection Set Pass word The tasks registered in step 1 will be password protected Usage App...

Страница 401: ...Bit address Description UM Read Protection Flag A99 00 Indicates whether or not the PLC the entire user program is read protected OFF UM read protection is not set ON UM read protection is set Task R...

Страница 402: ...ry Write Protection ON Protected OFF Not protected Name Address Description User Program Date A90 to A93 The time and date the user program was last over written in memory is given in BCD A90 00 to A9...

Страница 403: ...commands through a network including write operations from CX Programmer CX Protocol CX Process and other appli cations using Fins Gateway Read processes are not prohibited FINS write protection can d...

Страница 404: ...tte The following instructions will create a fatal error to prevent the program from being executed when the lot number is not 23905 The following instructions will create a fatal error to prevent the...

Страница 405: ...r code and time of occurrence are stored in the Error Log 4 The error indicator on the front of the CPU Unit will flash or light 5 If FAL 006 has been executed the CPU Unit will continue operating If...

Страница 406: ...utput to go ON and set the monitoring time Logic Diagnosis Function FPD 269 determines which input bit is causing the diagnostic output to remain OFF and outputs the result The output can be set to bi...

Страница 407: ...ne system error use more than one FAL 006 or FALS 007 instruction with the same value in A529 and different values for the second operand Name Address Operation Error Code A400 When an error occurs th...

Страница 408: ...en IOM Hold Bit OFF all outputs from Output Units are turned OFF when the operating mode is changed from RUN MONITOR mode to PROGRAM mode The Output OFF Bit can be used to turn OFF all outputs without...

Страница 409: ...led or the battery voltage is low Name Addresses Function Clock data A351 to A354 A351 00 to A351 07 Second 00 to 59 BCD A351 08 to A351 15 Minute 00 to 59 BCD A352 00 to A352 07 Hour 00 to 23 BCD A35...

Страница 410: ...Power ON Clock Data 10 A747 to A749 Operation Start Time A515 to A517 The time that operation started year month day of month hour minutes and seconds Operation End Time A518 to A520 The time that ope...

Страница 411: ...380 Clock Section 6 8...

Страница 412: ...n I O Units 7 1 Connecting CPM1A Expansion Units and Expansion I O Units 382 7 2 Analog Input Units 383 7 3 Analog Output Units 392 7 4 Analog I O Units 400 7 4 1 CPM1A MAD01 Analog I O Units 400 7 4...

Страница 413: ...d for outputs Be careful not to exceed a total current consumption of 2 A at 5 V or 1 A at 24 V or a total power consumption of 3W for the Expansion Units and Expansion I O Units including the CPU Uni...

Страница 414: ...Expansion I O Unit 40 I O points CPM1A MAD11 Analog I O Unit CPM1A MAD11 Analog I O Unit CPM1A TS001 Temperature Sensor Unit Expansion I O Unit 20 I O points CPM1A DRT21 DeviceNet I O Link Unit CPM1A...

Страница 415: ...e input 1 I IN1 Current input 1 COM1 Input common 1 V IN2 Voltage input 2 I IN2 Current input 2 COM2 Input common 2 V IN3 Voltage input 3 I IN3 Current input 3 COM3 Input common 3 V IN4 Voltage input...

Страница 416: ...ted input 15 V 30 mA External input impedance 1 M min Approx 250 Resolution 1 6000 full scale Overall accuracy 25 C 0 3 full scale 0 4 full scale 0 to 55 C 0 6 full scale 0 8 full scale A D conversion...

Страница 417: ...ange of data that can be converted is FED4 to 189C hex 300 to 6 300 A negative voltage is expressed as two s complement Voltage in the 1 to 5 V range corresponds to hexadecimal values 0000 to 1770 0 t...

Страница 418: ...onverted data will be set to 8 000 The time for enabling or clearing the open circuit detection function is the same as the time for converting the data If the input returns to the convertible range t...

Страница 419: ...nputs 1 2 Set data inputs 3 4 Analog input 3 conversion value Analog input 4 conversion value Analog Input Unit Ladder program Analog input 1 conversion value Analog input 2 conversion value Analog de...

Страница 420: ...4 When there is noise in the power supply line install a noise filter on the input section and the power supply 5 Refer to the following information on open circuits when using voltage in puts 2 Wiri...

Страница 421: ...ut of about 1 3 to 1 2 If the 1 to 5 V range is being used the open circuit detec tion function will not operate Also if there is an open circuit at C the open cir cuit detection function will not ope...

Страница 422: ...s turned ON it will require two cycle times plus approximately 50 ms before the first conversion data is stored in the input words Therefore create a program as shown below so that when operation begi...

Страница 423: ...20 mA The Analog Input Unit uses four output words so a maximum of three Units can be connected Analog input Input range Range code Averaging Set data Destination word Input 1 0 to 10 V 01 Yes 1101 B...

Страница 424: ...nnected to a CP1H CPU Unit A maximum of seven Units can be connected including other Expansion Units and Expan sion I O Units 3 Expansion connector 1 Analog output terminals CH I OUT1 I OUT3 I OUT2 VO...

Страница 425: ...y 4 digit hexadecimal Full scale for 10 to 10 V F448 to 0BB8 Hex Full scale for other ranges 0000 to 1770 Hex Conversion time 2 ms point 8 ms all points Isolation method Photocoupler isolation between...

Страница 426: ...to 10 V The entire output range is 0 5 to 10 5 V Specify a negative voltage as a two s complement 1 to 5 V The hexadecimal values 0000 to 1770 0 to 6000 correspond to an analog voltage range of 1 to...

Страница 427: ...nect and wire Units Create a ladder program Connect Analog Output Units Wire to analog input devices Write range code to output words n 1 n 2 Set use of outputs Select output signals using range codes...

Страница 428: ...If this status is a problem take the following measures Turn ON the power to the CP1H CPU Unit check the operation status and then turn ON the power at the load Turn OFF the power to the load and then...

Страница 429: ...om when the range code has been written until data in the analog out put convertible range is written 0 V or 0 mA will be output in the 0 to 10 V 10 to 10 V and 0 to 20 mA ranges and 1 V or 4 mA will...

Страница 430: ...range 0 V or 0 mA will be output for a CPU error I O bus error and 1 V or 1 mA will be output for all other errors CPM1A Expansion Unit errors are output to bits 0 to 6 of word A436 The bits are allo...

Страница 431: ...1 256 when the range is set to 0 to 10 VDC or 4 to 20 mA or a resolution of 1 512 when set to 10 to 10 VDC Part Names MOV 021 80B9 102 TIM5 0002 P_On D200 102 T5 MOV 021 D202 104 T5 MOV 021 MOV 021 8...

Страница 432: ...The cable is provided with the Analog I O Unit and cannot be removed Caution Do not touch the cables during operation Static electricity may cause operat ing errors 3 Expansion Connector Used for conn...

Страница 433: ...04 05 06 07 N C N C N C C H E X P IN 00 02 01 C OM 0 3 C OM 0 5 07 04 06 C H 00 01 02 03 08 09 10 11 8ED E X P CPM1A 20EDR1 Expansion I O Unit CPM1A 8ED Expansion I O Unit CPM1A MAD01 Analog I O Unit...

Страница 434: ...80 FF 00 20 mA 12 mA Input signal 1 V 0 mA 0 to 10 V inputs Conversion value 1 to 5 V inputs Conversion value 4 to 20 mA inputs Conversion value 0 1 2 3 4 5 6 7 8 9 10 00 0080 00FF 5 4 3 2 10 9 8 7 6...

Страница 435: ...0 V 4 to 20 mA Analog input Read converted data Analog output Write set value CPU Unit CPM1A MAD01 Analog I O Unit IN OUT V O U T CO M IIN 1 VIN 2 CO M 2 IO U T VIN 1 CO M 1 IIN 2 MAD01 C H C H E X P...

Страница 436: ...IIN 7 When there is noise in the power supply line install a noise filter on the input section and the power supply terminals Creating a Ladder Program I O Allocation Two input words and one output wo...

Страница 437: ...1 the range code will not be received by the Analog I O Unit and ana log I O conversion will not start Range code Analog input 1 signal range Analog input 2 signal range Analog output signal range FF...

Страница 438: ...n 1 Word m 1 Word m 2 CPU Unit Analog I O Unit Writes the range code Reads the conversion value Analog input 1 conversion value Analog input 2 conversion value m is the last input word and n is the l...

Страница 439: ...imes plus approx 100 ms before the first data is converted The following instructions can be placed at the beginning of the program to delay reading converted data from analog inputs until conversion...

Страница 440: ...V or 4 to 20 mA Analog output 0 to 10 V or 4 to 20 mA MOV 021 2 D0 0 Always ON P_On TIM T0 TIM 0 will start as soon as power turns ON After 0 2 to 0 3 s 200 to 300 ms the input for TIM 0 will turn ON...

Страница 441: ...VDC 0 to 10 VDC 10 to 10 VDC 0 to 20 mA or 4 to 20 mA The outputs have a resolution of 1 6000 Part Names 1 Analog I O Terminals Connected to analog I O devices Note For current inputs short V IN0 to I...

Страница 442: ...ncluding any other Expansion Units and Expansion I O Units that are also connected Pin1 Average processing for analog input 0 OFF Average processing not performed ON Average processing performed Pin2...

Страница 443: ...ull scale for 10 to 10 V F448 to 0BB8 hex Full scale for other ranges 0000 to 1770 hex Averaging function Supported Settable for individual inputs via DIP switch Open circuit detection function Suppor...

Страница 444: ...ange is FED4 to 189C 300 to 6300 A negative voltage is expressed as a two s complement 0 to 5 V The 0 to 5 V range corresponds to the hexadecimal values 0000 to 1770 0 to 6000 The entire data range is...

Страница 445: ...9C 300 to 6300 A negative voltage is expressed as a two s complement 4 to 20 mA The 4 to 20 mA range corresponds to the hexadecimal values 0000 to 1770 0 to 6000 The entire data range is FED4 to 189C...

Страница 446: ...o 10 V The entire output range is 0 5 to 10 5 V Specify a negative voltage as a two s complement 1 to 5 V The hexadecimal values 0000 to 1770 0 to 6000 correspond to an analog voltage range of 1 to 5...

Страница 447: ...terval Open circuit Detection Function for Analog Inputs The open circuit detection function is activated when the input range is set to 1 to 5 V and the voltage drops below 0 8 V or when the input ra...

Страница 448: ...lues MOV 21 MOVE instruction Ladder program Range code Word n 1 Word m 1 Word m 2 CPU Unit Analog I O Unit Writes the range code Reads the converted values Analog input 0 converted value Analog input...

Страница 449: ...rage of the last eight input values is output as the converted value The averaging function can be set separately for ana log inputs 1 and 2 Wiring Analog I O Devices CPM1A MAD11 Internal Circuits DIP...

Страница 450: ...the power supply line install a noise filter on the input section and the power supply terminals I OUT V IN0 COM0 V OUT COM I IN0 I IN1 V IN1 COM1 NC NC AG NC NC NC NC V OUT Voltage output I OUT Curr...

Страница 451: ...roximately 1 3 to 1 2 of the output voltage of the other con nected device will be generated If that voltage is generated while the setting is for 1 to 5 V open circuit detection may not be possible A...

Страница 452: ...s will be 0000 and 0 V or 0 mA will be output After the range code has been set 0 V or 0 mA will be output for the 0 to 10 V 10 to 10 V or 0 to 20 mA ranges and 1 V or 4 mA will be output for the 1 to...

Страница 453: ...been written After the range code has been written the analog output data will be 0 V or 0 mA if the range is 0 to 10 V 10 to 10 V or 0 to 20 mA or it will be 1 V or 4 mA if the range is 1 to 5 V or...

Страница 454: ...connected Up to 14 temperature sensor input points can be connected by using three CPM1A TS002 or CPM1A TS102 Temperature Sensor Units and one CPM1A TS001 or CPM1A TS101 Temperature Sensor Unit MOV 02...

Страница 455: ...or connecting CPM1A Expansion Units or Expansion I O Units Main Specifications Note Accuracy for a K type sensor at 100 C or less is 4 C 1 digit max 5 Expansion Connector 1 Temperature Sensor Input Te...

Страница 456: ...e Unit Set the temperature ranges Connect the temperature sensors Program operation in the ladder program Connect the Temperature Sensor Unit Set the temperature unit 2 decimal place Mode if required...

Страница 457: ...alues other than those for which temperature ranges are given in the following table An incorrect setting may cause operating errors The rotary switch is used to set the temperature range SW1 Setting...

Страница 458: ...at the time of delivery If the cold junction compensator is removed the Unit will not be able to measure temperatures correctly Each of the input circuits is calibrated with the cold junction compens...

Страница 459: ...allocated words in the same way as CPM1A Expansion Units or Expansion I O Units in order of connection A Tempera ture Sensor Unit is allocated the next input words following the input words of the CP...

Страница 460: ...ature data will be set to 7FFF The open circuit detection function will also operate if the cold junction compensator is faulty The open circuit detection function will be automatically cleared and no...

Страница 461: ...cated two bits each Use these flags in the program when it is necessary to detect Expansion Unit Expansion I O Unit errors When an error occurs the Temperature Sensor Unit data becomes 7FFF hex the sa...

Страница 462: ...lized ON when input 1 has been initialized Execution condition Detects an open circuit alarm or Unit error by checking converted temperature data for the error code 7FFF ON when an open circuit alarm...

Страница 463: ...BCD 024 0001 D1 MOV 021 Execution condition ON when input 0 has been initialized Detects an open circuit alarm or Unit error by checking whether the error code 7FFF has been output ON when an open ci...

Страница 464: ...0 01 C F For this reason there may be skipping and inaccuracies in the first digit after the decimal point 0 1 Treat any reso lution above that specified for the normal data format as reference data 2...

Страница 465: ...5 11 12 13 14 Leftmost Rightmost Flag 0 Leftmost 1 Rightmost Temperature Unit Flag 0 C 1 F Open circuit Flag 0 Normal 1 Error Not used Always 0 Leftmost Rightmost Flag Indicates whether the leftmost o...

Страница 466: ...Rightmost 3 Digits and Flags Flags Bits Data 15 1 14 0 13 0 12 0 11 to 08 8 07 to 04 E 03 to 00 4 8 8 E 4 Flags Normal C Leftmost Normal C Rightmost 165 164 163 162 161 160 Temperature data Temperatur...

Страница 467: ...re input 0 is stored in binary form in D100 to D102 Leftmost 3 Digits and Flags Flags Bits Data 15 0 14 1 13 1 12 0 11 to 08 7 07 to 04 F 03 to 00 F 6 7 F F Flags Rightmost 3 Digits and Flags Flags Bi...

Страница 468: ...4 5 Leftmost and rightmost digits rearranged and moved to CIO 2002 and CIO 2001 MOVD 083 MOVD 083 Data rearrangement completed 2000 02 CLC 041 2001 D100 BCDL 059 2002 07 non negative data 2002 07 neg...

Страница 469: ...tput bits allo cated to the CompoBus S I O Link Unit are one side of an I O link between the slave CPU Unit and the CPU Unit to which the Master Unit is connected CIO 2000 CIO 2002 CIO 2 Leftmost 3 di...

Страница 470: ...CompoBus S I O Link Unit Node number 0 Model number CPM1A SRT21 Master slave CompoBus S Slave Number of I O points 8 input points 8 output points Number of words allocated in CPU Unit I O memory 1 in...

Страница 471: ...R HOLD 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 ON 0 OFF ON OFF ON OFF Long distance communications mode See note High speed communications mode Retain inputs after a communications error Clear inputs...

Страница 472: ...as its input word and n 1 as its output word In the following example a CompoBus S I O Link Unit is connected as the first Unit after the CP1H CPU Unit Connect the Unit Determine the node address of...

Страница 473: ...nd accept the data only when the two values match 2 Unused bits in the CompoBus S I O Link Unit s output word can be used as work bits but unused bits in the output slaves cannot be used as work bits...

Страница 474: ...OFF ON OFF Long distance communications mode See note High speed communications mode Retain inputs after a communications error Clear inputs after a communications error ON 1 2 4 8 DR HOLD SW1 8 4 2 1...

Страница 475: ...d outputs The input and output bits allo cated to the DeviceNet I O Link Unit are one side of an I O link between the slave CPU Unit and the CP1H CPU Unit to which the Master Unit is con nected Note R...

Страница 476: ...n the DIP switch to ON If communica tions are set to be cleared the timing for clearing outputs and set ting the Error Flags may not agree Baud rate setting See note Pin 1 Pin 2 Baud rate Max transmis...

Страница 477: ...initialization to start Reset in progress NS Green Lit Online and commu nications estab lished Network normal and com munications established Flashing Online and commu nications not estab lished Netw...

Страница 478: ...ne and commu nications estab lished Network normal and com munications established Flashing Online and commu nications not estab lished Network normal and com munications not estab lished Red Lit Fata...

Страница 479: ...Unit All of the words allocated to the DeviceNet I O Link Unit are used to read and write data between the CPU Unit of the DeviceNet I O Link Unit and the CPU Unit of the DeviceNet master as shown in...

Страница 480: ...and SW3 to set DeviceNet node number The set ting range is from 00 to 63 and 64 to 99 cannot be set Rotary switch settings go into effect when the power is turned ON Note The actual range of node num...

Страница 481: ...O Response Time Refer to the DeviceNet Slaves Operation Manual W347 for details on the response time The data read write time for one cycle for the CPM1A DRT21 is approximately 0 5 ms Add a maximum of...

Страница 482: ...ocesses used to transfer the program to the CPU Unit and the functions that can be used to test and debug the program 8 1 Program Transfer 452 8 2 Trial Operation and Debugging 452 8 2 1 Forced Set Re...

Страница 483: ...re used to force input and output during a trial operation or to force certain conditions during debugging Force set reset operations can be executed in either MONITOR or PRO GRAM modes but not in RUN...

Страница 484: ...oring 2 Click Differential Monitor from the PLC Menu The Differential Monitor Di alog Box will be displayed 3 Click Rising or Falling 4 Click the Start Button The buzzer will sound when the specified...

Страница 485: ...grammer if the limit is exceeded and further editing will not be possible until the CPU Unit has completed backing up the data The length of time that the cycle time is extended due to online editing...

Страница 486: ...as been completed the Online Editing Processing Flag A201 11 will turn OFF Online editing can also be temporarily disabled by turning ON the Online Edit ing Disable Bit A527 09 while online editing is...

Страница 487: ...s been executed 2 Sampled data after step 1 above will be traced when the trace trigger condition is met and the data just after the delay see note 1 will be stored in Trace Memory 3 Memory data will...

Страница 488: ...nstruction TRSM 045 instruction is executed When more than one TRSM 045 instruction is used in the program a sample will be taken each time TRSM 045 is executed after the trace trigger condition has b...

Страница 489: ...races are enabled with this bit 1 Scheduled trace trace at fixed intervals of 10 to 2 550 ms 2 TRSM 045 instruction trace trace when the TRSM 045 is executed 3 One cycle trace trace at the end of exec...

Страница 490: ...P1H operation 9 1 Error Classification and Confirmation 460 9 2 Troubleshooting 465 9 2 1 Error Processing Flowchart 466 9 2 2 No Operation When Power Is Supplied 466 9 2 3 Fatal Errors 467 9 2 4 CPU...

Страница 491: ...Non fatal Error A minor problem has occurred Operation will continue POWER RUN INH PRPHL BKUP ERR ALM POWER green Lit Power is ON Not lit Power is OFF RUN green Lit The CPU Unit is executing a progra...

Страница 492: ...play switches at intervals of approximately 1 s If two or more errors occur at the same time the most serious error will be displayed first When that error is cleared the next most serious error will...

Страница 493: ...le Displays for Locations of I O Bus Errors 0 0 0 0 First CJ series Unit 0 0 0 1 Second CJ series Unit 0 f 0 f 8 0 c a I O bus error for CPM1A Units 0 a 0 a 8 0 c e I O bus error for CJ series Units n...

Страница 494: ...0 0 Indirect DM addressing BCD error 0 4 0 0 Illegal area access area 0 8 0 0 No END error 1 0 0 0 Task error 2 0 0 0 Differentiation overflow error 4 0 0 0 Illegal instruction error 8 0 0 0 UM overf...

Страница 495: ...interrupt task error occurrence Interrupt task error Example Displays of Unit Numbers for which an Interrupt Task Error Has Occurred 8 0 0 0 Special I O Unit with unit number 1 8 0 0 f Special I O Un...

Страница 496: ...I O Unit unit number A411 to A416 Too many I O error 80E1 A401 11 Details for too many I O error A407 I O setting error 80E0 A401 10 Program error 80F0 A401 09 Program error details A294 to A299 Cycl...

Страница 497: ...onnected wiring or poor contacts Check the power supply system and wiring POWER Indicator Lit but No Operation Check the RUN indicator if the POWER indicator is lit but the CPU Unit does not operate T...

Страница 498: ...l be held when the I O Memory Hold Bit is ON but outputs will be turned OFF Memory Errors POWER Lit RUN Not lit ERR ALM Lit INH BKUP PRPHL POWER RUN INH PRPHL BKUP ERR ALM 8 0 f 1 Memory error locatio...

Страница 499: ...error for CJ series Units error location unknown An error has occurred in data transfer for CJ series Units but the error location is not known Check the connections between the CPU Unit CJ Unit Adapt...

Страница 500: ...n segment display Probable cause and possible remedy 8 0 e 1 4 0 0 0 The total number of words for CPM1A Expansion Units and Expansion I O Units exceeds the restriction Configure the system so that th...

Страница 501: ...when an illegal access error has occurred The following operations are considered illegal access Reading writing the parameter area Writing to an area without memory installed Writing to a write prote...

Страница 502: ...uctions not being executed into different tasks Consider using jump instructions for areas in the task that are not executed Prohibit cycle refreshing with Special I O Units that do not require exchan...

Страница 503: ...ration i e in RUN or MONITOR mode CPU Unit Indicators Information on the non fatal error can be obtained from the error code on the 7 segment display and from the Error Tab Page of the CX Programmer s...

Страница 504: ...n None Seven segment display Probable cause and possible remedy 0 0 f 1 A315 15 will turn ON when writing to the internal flash memory fails Replace the CPU Unit when the internal flash memory has bee...

Страница 505: ...ror flags Built in Analog I O Error Flag A315 14 Other Non fatal Error Flag A402 00 Error code A400 Error information Analog Input 0 Open circuit Error Flag A434 00 Analog Input 1 Open circuit Error F...

Страница 506: ...m ber unknown Error flag Special I O Unit Error Flag A402 06 Error code A400 0300 to 035F 03FF Error information Special I O Unit Error Unit Number Flags A418 to A423 Seven segment display Probable ca...

Страница 507: ...ications between the periph eral port and connected device Confirm that the peripheral port settings in the PLC Setup are correct An error has occurred in the communications between the RS 232C port a...

Страница 508: ...ng status of the system When more than 20 errors occur the oldest error data stored in A100 to A104 is deleted the 19 errors stored in A105 to A199 shift one record and the newest record is stored in...

Страница 509: ...r make sure that the Unit is refreshed from the program using IORF at least once every 11 s Symptom Cause Remedy Not all inputs turn ON or indi cators are not lit 1 External power is not supplied for...

Страница 510: ...n the Input Unit and the loads 3 Terminal block screws are loose Tighten screws 4 Faulty terminal block connector contact Replace terminal block connector Error occurs in units of 8 points or 16 point...

Страница 511: ...l block connector 5 Faulty output bit relay output only Replace Unit 6 Faulty output circuit relay output only Replace Unit Output of a specific bit num ber does not turn OFF indi cator is not lit 1 F...

Страница 512: ...spection and Maintenance This section provides inspection and maintenance information 10 1 Inspections 482 10 1 1 Inspection Points 482 10 1 2 Unit Replacement Precautions 483 10 2 Replacing User serv...

Страница 513: ...check the power supply at the terminals Take necessary steps to bring voltage fluctuations within limits 3 Ambient environ ment Check the ambient tempera ture inside the control panel if the PLC is i...

Страница 514: ...on nected securely and locked in place No looseness Press the connectors together completely and lock them with the sliders Check that the Option Boards and cable connectors are fully inserted and loc...

Страница 515: ...tery backup for the CPU Unit s internal clock and RAM Battery Functions The battery maintains the internal clock and the following data of the CPU Unit s RAM while the main power supply is OFF The use...

Страница 516: ...ly connected replace the bat tery as soon as possible Once a low battery error has been detected it will take 5 days before the bat tery fails assuming that power has been supplied at lease once a day...

Страница 517: ...t the CX Programmer and clear the bat tery error Procedure 1 2 3 1 Turn OFF the power to the CPU Unit or If the CPU Unit has not been ON turn it ON for at least five minutes and then turn it OFF Note...

Страница 518: ...ds require that batteries be replaced by experienced technicians Always place an experienced technician in charge or battery replacement Caution Turn ON the power after replacing the battery for a CPU...

Страница 519: ...488 Replacing User serviceable Parts Section 10 2...

Страница 520: ...nters 100 kHz 4 counters Pulse outputs 2 outputs at 100 kHz 2 outputs at 30 kHz Analog inputs 4 Analog outputs 4 CP1H XA40DT D 24 VDC 16 transistor outputs sinking CP1H XA40DT1 D 16 transistor outputs...

Страница 521: ...and data or to copy these to another CPU Unit CJ Unit Adapter CP1W EXT01 Required to connect CJ series Special I O Units and CJ series CPU Bus Units The CP1W TER01 End Cover is provided with the CJ Un...

Страница 522: ...M1A AD041 4 analog inputs 0 to 5 V 1 to 5 V 0 to 10 V 10 to 10 V 0 to 20 mA 4 to 20 mA Resolution 1 6 000 Analog Output Unit CPM1A DA041 4 analog outputs 1 to 5 V 0 to 10 V 10 to 10 V 0 to 20 mA 4 to...

Страница 523: ...nalog outputs 0 to 5 V 1 to 5 V 0 to 10 V 10 to 10 V Resolution 1 8000 CJ1W DA021 2 analog outputs Analog I O Unit CJ1W MAD42 4 analog inputs and 2 analog outputs 0 to 5 V 1 to 5 V 0 to 10 V 10 to 10...

Страница 524: ...on Control Units CJ1W NC113 1 control axis Open collector outputs CJ1W NC133 Line driver outputs CJ1W NC213 2 control axes Open collector outputs CJ1W NC233 Line driver outputs CJ1W NC413 4 control ax...

Страница 525: ...5 port CJ1W SCU21 V1 Two RS 232C ports Ethernet Unit CJ1W ETN21 100Base TX or 10Base T Controller Link Unit CJ1W CLK21 Data exchange 20 000 words maximum FL net Unit CJ1W FLN22 100Base TX DeviceNet Un...

Страница 526: ...in the CPU Unit Name and appearance Model Specifications Remarks DIN Track PFP 50N PFP 100N PFP 100N2 End Plate PFP M I O Connecting Cable CP1W CN811 Used to install CPM1A Expansion Units and Expan si...

Страница 527: ...496 Standard Models Appendix A...

Страница 528: ...ensions Diagrams X XA and Y CPU Units Optional Products CP1W CIF01 CIF11 Option Boards 90 100 110 140 150 8 85 Four 4 5 dia holes 35 9 37 3 35 9 5 1 16 5 16 5 0 15 13 5 19 7 35 9 37 3 35 9 8 9 15 7 16...

Страница 529: ...CH NC NC NC NC NC NC COM COM COM COM COM COM COM 03 06 01 03 06 00 02 04 06 08 10 00 01 02 04 05 07 00 02 04 05 07 00 02 04 06 08 10 01 03 05 07 09 11 01 03 05 07 09 11 IN 40EDR OUT CH CH CH CH EXP C...

Страница 530: ...04 06 08 10 OUT 01 COM 03 05 07 09 11 COM COM COM 03 COM 06 00 01 02 04 05 07 00 01 02 03 04 05 06 07 08 09 10 11 20EDR1 CH 00 01 02 03 04 05 06 07 NC NC NC CH EXP 90 5 5 86 Two 4 5 dia holes 100 0 2...

Страница 531: ...11 Analog I O Units CPM1A TS Temperature Sensor Units 50 8 IN OUT V OUT COM I IN1 V IN2 COM2 I OUT V IN1 COM1 I IN2 MAD01 CH CH EXP 90 5 5 66 NC NC 90 5 5 86 Two 4 5 dia holes 100 0 2 56 0 2 76 0 2 10...

Страница 532: ...pendix B CPM1A DRT21 DeviceNet I O Link Unit CPM1A SRT21 CompoBus S I O Link Unit 50 8 90 5 5 66 Two 4 5 dia holes 100 0 2 56 0 2 BD L NC BS NC BD H NC BS S COMM ERR No SRT21 EXP 50 8 90 5 5 66 Two 4...

Страница 533: ...502 Dimensions Diagrams Appendix B Products Related to Using CJ series Units CP1W EXT01 CJ Unit Adapter CJ1W TER01 End Cover 5 7 7 6 95 4 90 65 5 65 5 65 16 4 14 7 2 7 2 7 90...

Страница 534: ...503 Dimensions Diagrams Appendix B CJ series Special I O Units and CPU Bus Units CJ1W MCH71 90 2 7 2 7 31 90 79 8 70 9 65...

Страница 535: ...504 Dimensions Diagrams Appendix B...

Страница 536: ...memory to the DM Area Read only DM Initial Values Save Execution Error Flag A751 12 ON when the DM Initial Values Transfer Password A752 is incorrect or when the DM Initial values area was not specifi...

Страница 537: ...Counter PV These words contain the interrupt counter PVs for interrupt inputs operating in counter mode In increment mode the counter PV starts incrementing from 0 When the counter PV reaches the coun...

Страница 538: ...gh speed Counter Count Direction This flag indicates whether the high speed counter is currently being incremented or decremented The counter PV for the current cycle is compared with the PLC in last...

Страница 539: ...only Cleared when power is turned ON Cleared when operation starts Updated each cycle during over see process Updated when the PV is changed by the INI 880 instruc tion Pulse Output Accel Decel Flag...

Страница 540: ...is the CW limit input signal for the pulse output which is used in the origin search To use this signal write the input from the actual sensor as an input condition in the lad der program and output...

Страница 541: ...t 4 digits in A262 0 to FFFFFFFF 0 to 429 496 729 5 ms 0 1 ms units Read only Present Cycle Time A264 to A265 These words contain the present cycle time in 8 digit hexadecimal with the leftmost 4 digi...

Страница 542: ...rn this bit ON to disable online editing The setting of this bit is valid only when A527 00 to A527 07 have been set to 5A Read write Name Address Description Access Updated Output OFF Bit A500 15 Tur...

Страница 543: ...er defined FALS 007 or system error occurs the 4 digit hexadecimal error code is written to this word Read only Name Address Description Access Updated Memory Error Flag fatal error A401 15 ON when an...

Страница 544: ...001 instruction in each pro gram within a task Read only Task Error Flag A295 12 ON when a task error has occurred The following condi tions generate a task error There isn t even one regular task tha...

Страница 545: ...the limit when the number of words allocated to these Units exceeds the limit or when too many CJ series Units are mounted Read only Too Many I O Points Details A407 00 to A407 12 Always 0000 hex Rea...

Страница 546: ...occurred is turned ON Bits 00 to 15 correspond to unit numbers 0 to F Read only CPU Bus Unit Error Flag non fatal error A402 07 ON when an error occurs in a data exchange between the CPU Unit and an...

Страница 547: ...351 00 to A351 07 Seconds 00 to 59 BCD A351 08 to A351 15 Minutes 00 to 59 BCD A352 00 to A352 07 Hour 00 to 23 BCD A352 08 to A352 15 Day of the month 01 to 31 BCD A353 00 to A353 07 Month 01 to 12 B...

Страница 548: ...inary To reset this value overwrite the current value with 0000 Read write Total Power ON Time A523 Contains the total time that the PLC has been ON in 10 hour units The data is stored in binary and i...

Страница 549: ...the next time the Memory Cassette is accessed normally initialized written read or compared A342 13 ON when the Memory Cassette is being accessed OFF when processing has been completed A342 15 ON when...

Страница 550: ...nput five times con secutively OFF Protection can be released ON Protection cannot be released Read only Task Read Protection Release Enable Flag A99 13 Indicates when task read protection cannot be r...

Страница 551: ...rst Cycle Flags after Net work Communications Fin ished A214 00 to A214 07 Each flag will turn ON for just one cycle after communi cations have been completed Bits 00 to 07 correspond to ports 0 to 7...

Страница 552: ...Communications Error Flag is OFF the explicit message end code is stored During communications 0000 hex will be stored and the suitable code will be stored when execution has been completed The code w...

Страница 553: ...2 has completed the reception in no protocol mode Read only RS 232C Port Reception Overflow Flag No protocol mode A392 07 ON when a data overflow occurred during reception through the serial port 2 i...

Страница 554: ...completed Turned ON Execution started ON Execution in progress OFF Not executed or execution completed Read only Serial Port 2 Modbus RTU Master Execution Normal Flag A640 01 ON when one command has...

Страница 555: ...ackground processing starts or power is turned ON Read only Name Address Description Access Updated FB Program Data Flag A345 00 Turns ON if the FB program memory contains FB pro gram data OFF No data...

Страница 556: ...e Running Timer This word contains the system timer used after the power is turned ON A value of 0000 hex is set when the power is turned ON and this value is automatically incremented by 1 every 100...

Страница 557: ...d ON Disabled Retained Retained When pro tection is set or cleared A99 12 UM Read Pro tection Release Enable Flag Indicates when UM read protection cannot be released because an incorrect password was...

Страница 558: ...ep Flag ON for one cycle when step execu tion is started with STEP 008 This flag can be used for initialization pro cessing at the beginning of a step ON for the first cycle after execu tion of STEP 0...

Страница 559: ...ot available Cleared A203 to A210 All Communica tions Port Completion Codes These words contain the completion codes for the corresponding port numbers when network instructions SEND RECV CMND or PMCR...

Страница 560: ...to access Determine the cause of the error according to the Communications Port Completion Codes stored in A203 to A210 Note These flags are not effective until the next cycle after the communications...

Страница 561: ...s exe cuted A274 A274 00 High speed Counter 0 Range 1 Com parison Condi tion Met Flag These flags indicate whether the PV is within the specified ranges when high speed counter 0 is being oper ated in...

Страница 562: ...son Condi tion Met Flag These flags indicate whether the PV is within the specified ranges when high speed counter 1 is being oper ated in range comparison mode Cleared when operation starts Cleared w...

Страница 563: ...leftmost 4 digits and A276 contains the rightmost 4 digits of the pulse output 0 PV A279 contains the leftmost 4 digits and A278 contains the rightmost 4 digits of the pulse output 1 PV Cleared when o...

Страница 564: ...igin has been determined Turned ON when power is turned ON Turned ON when operation starts OFF Origin established ON Origin not established Cleared Refreshed each cycle during the oversee ing pro cess...

Страница 565: ...e out put A281 04 Pulse Output 1 Output In progress Flag ON when pulses are being output from pulse output 1 Cleared when operation starts or stops OFF Stopped ON Outputting pulses Cleared Refreshed w...

Страница 566: ...ccurred A295 09 Indirect DM BCD Error Flag This flag and the Access Error Flag AER will be turned ON when an indirect DM BCD error has occurred and the PLC Setup has been set to stop operation an indi...

Страница 567: ...e executed has been stored CPU Unit operation will stop and the ERR ALM indicator will light when this flag goes ON ON Error OFF Normal Cleared Cleared A294 A298 A299 A295 15 UM Overflow Error Flag ON...

Страница 568: ...g I O Error Flag ON when a built in analog I O error occurs and stops the operation of built in analog I O CPU Unit opera tion will continue and the ERR ALM indicator will flash OFF when the error has...

Страница 569: ...A320 08 High speed Counter 2 Comparison In progress Flag This flag indicates whether a com parison operation is being executed for high speed counter 2 Cleared at beginning of operation OFF Stopped O...

Страница 570: ...d Counter 3 Range 8 Com parison Condi tion Met Flag A321 08 High speed Counter 3 Comparison In progress Flag This flag indicates whether a com parison operation is being executed for high speed counte...

Страница 571: ...from pulse output 2 according to an ACC 888 or PLS2 887 instruction and the output frequency is being changed in steps accelerating or decelerating Cleared when operation starts or stops OFF Constant...

Страница 572: ...error ON Stop error occurred Cleared Refreshed when ori gin search starts Refreshed when a pulse out put stop error occurs A327 A327 00 Pulse Output 3 Accel Decel Flag This flag will be ON when pulses...

Страница 573: ...while outputting pulses in the pulse output 3 origin search function The Pulse Output 3 Output Stop Error code will be written to A445 OFF No error ON Stop error occurred Cleared Refreshed when ori g...

Страница 574: ...is not the same as the data in the Memory Cassette when a verification opera tion is performed OFF the next time the Memory Cas sette is accessed normally initial ized written read or compared OFF Ma...

Страница 575: ...valid in Periph eral Bus Mode or NT Link mode ON Error OFF No error Retained Cleared Refreshed when error occurs A392 05 Serial Port 2 Send Ready Flag No protocol mode ON when the serial port 2 is ab...

Страница 576: ...after the end code was received but before RXD 235 was exe cuted ON when 257 bytes are received before the end code ON Overflow OFF No overflow Retained Cleared A393 A393 00 to A393 07 Serial Port 2...

Страница 577: ...defined FALS 006 or system error or a fatal error user defined FALS 007 or system error occurs the 4 digit hexadecimal error code is written to this word When two or more errors occur simultaneously...

Страница 578: ...or Cleared Cleared Refreshed when error occurs A405 08 A401 11 Too Many I O Points Flag fatal error ON when the number of CPM1A Expansion Units and Expansion I O Units exceeds the limit when the numbe...

Страница 579: ...A403 00 to A403 08 and A403 09 will be turned ON if there was an error during auto matic transfer at startup This flag will be turned OFF when the error is cleared The automatic transfer at startup er...

Страница 580: ...he CPU Unit will flash The location of the error will be written to A406 This flag will be turned OFF when the error is cleared ON Error OFF No error Cleared Cleared Refreshed when error occurs A406 A...

Страница 581: ...ed ON A403 10 Flash Mem ory Error Flag ON when the flash memory is physi cally destroyed ON Error OFF No error Cleared Cleared Refreshed when error is detected A404 All I O Bus Error Details Contains...

Страница 582: ...Unit Number Flags When an error occurs in a data exchange between the CPU Unit and an CPU Bus Unit the CPU Bus Unit Error Flag A402 07 is turned ON and the bit in A417 corresponding to the unit number...

Страница 583: ...Analog Input 1 Open circuit Error Flag A434 02 Analog Input 2 Open circuit Error Flag A434 03 Analog Input 3 Open circuit Error Flag OFF No error ON Error Retained Cleared When open cir cuit is detec...

Страница 584: ...gins 8000 to 80FF hexadecimal Cleared Cleared See Func tion col umn A444 All Pulse Output 0 Stop Error Code If a Pulse Output Stop Error occurs for pulse output 0 the error code is written to this wor...

Страница 585: ...g Pointer A300 to 00 The contents of the Error Log Area itself A100 to A199 are not cleared This bit is automatically reset to 0 after the Error Log Pointer is reset OFF to ON Clear Retained Cleared A...

Страница 586: ...stablished A508 15 Sampling Start Bit When a data trace is started by turn ing this bit ON from the CX Program mer the PLC will begin storing data in Trace Memory by one of the three following methods...

Страница 587: ...to 59 A518 08 to A518 15 Minutes 01 to 59 A519 00 to A519 07 Hour 00 to 23 A519 08 to A519 15 Day of month 01 to 31 A520 00 to A520 07 Month 01 to 12 A520 08 to A520 15 Year 00 to 99 Note If an error...

Страница 588: ...the serial port 1 is restarted These flags are not valid in periph eral bus mode and only bit 5 is valid in NT Link mode PLC Link Polling Unit Bit 13 ON for timeout error PLC Link Polled Unit Bit 11...

Страница 589: ...3 in counter mode Sets the count value at which the interrupt task will start Interrupt task 143 will start when interrupt counter 3 has counted this number of pulses Retained Retained A536 All Interr...

Страница 590: ...A323 A542 08 Pulse Out put 2 CW Limit Input Signal Flag This is the CW limit input signal for pulse output 2 which is used in the origin search To use this signal write the input from the actual senso...

Страница 591: ...errupt task 146 will be started Retained A547 All Interrupt Counter 7 Counter SV Used for an input interrupt in Counter Mode Set the value to count before starting the interrupt task When interrupt co...

Страница 592: ...e words for the subroutine are transferred to A600 through A603 input parameter words Input data 4 words Cleared Cleared A604 to A607 All Macro Area Output Words After the subroutine specified in MCRO...

Страница 593: ...OFF automatically by the system when communications have been completed Turned ON Execution started ON Execution in progress OFF Not exe cuted or execu tion completed Retained Cleared DM fixed alloca...

Страница 594: ...99 See at left Retained Retained Written when power is turned ON A729 to A731 All Power ON Clock Data 4 These words contain the time at which the power was turned ON four times before the startup time...

Страница 595: ...A747 08 to A747 15 Minutes 00 to 59 A748 00 to A748 07 Hour 00 to 23 A748 08 to A748 15 Day of month 00 to 31 A749 00 to A749 07 Month 01 to 12 A749 08 to A749 15 Year 00 to 99 See at left Retained R...

Страница 596: ...tion when a bit is shifted into the Carry Flag etc Greater Than Flag Turns ON when the result of comparing two values is greater than when a value exceeds a specified range etc Equals Flag Turns ON wh...

Страница 597: ...if a memory error error code 80F1 occurred on 1 April 1998 at 17 10 30 with the error located in the PLC Setup 04 hex The following data would be generated in an error record if an FALS error with FA...

Страница 598: ...ile the task is being executed and will not turn ON if following cycles Classification Error code Meaning Error flags System defined fatal errors 80F1 Memory error A403 80C0 to 80C7 80CE 80CF I O bus...

Страница 599: ...abled Flags A200 15 1 cycle Executed Executable status Online edit processing A201 10 Wait Online editing wait flag CMN SEND PMCR Port 0 Port 1 Port 7 Network communications in struction executed for...

Страница 600: ...A302 00 to A302 15 CPU Bus Unit Initialization Flags Error record 1 Error record 20 Example Stored Stored Points to the next record to be used Stored next 00 to 14 hex A302 01 A501 01 or at startup Un...

Страница 601: ...Error Flag A295 15 Illegal Instruction Flag A295 14 Distribution Overflow Error Flag A295 13 Task Error Flag A259 12 No END 001 Error Flag A295 11 Illegal Area Access Error Flag A295 10 Indirect DM Ad...

Страница 602: ...CARRY L 401 DOUBLE SIGNED BINARY SUBTRACT WITHOUT CARRY L 411 SET RECORD LOCATION SETR 635 and GET RECORD LOCATION GETR 636 The PLC memory addresses all are continuous and the user must be aware of th...

Страница 603: ...Auxiliary Area 0BA00 to 0BBFF A448 to A959 Read Write Auxiliary Area 0BC00 to 0BDFF Reserved for system 0BE00 to 0BEFF T0000 to T4095 Timer Completion Flags 0BF00 to 0BFFF C0000 to C4095 Counter Compl...

Страница 604: ...l Wiring Observe the following precautions when wiring communications cables PLC power lines and high power lines When multi conductor signal cable is being used avoid using I O wires and other contro...

Страница 605: ...necting to a CP series CPU Unit turn OFF pin 5 and turn ON pin 6 Communications cables PLC power supply and general control circuit wiring Power lines 200 mm min Ground to 100 or less Steel sheet meta...

Страница 606: ...ction examples in the remainder of this section show only the basic connection diagrams We rec ommend that appropriate noise countermeasures be taken in actual applications including the use of shield...

Страница 607: ...external device may damage the RS 232C Option Board or the external device 5 V power D sub 9 pin connector male NT AL001 E Link Adapter Shield RS 232C Interface RS 232C Option Board Signal Signal Pin...

Страница 608: ...n Board Signal Pin DIP Switch Settings Pin 1 ON Pin 2 ON terminating resistance Pin 3 OFF Pin 4 OFF Pin 5 OFF Pin 6 OFF NT AL001 E Link Adapter RS 232C NT AL001 E Link Adapter Pin Pin CPU Unit CPU Uni...

Страница 609: ...ng resistance ON Signal Signal Pin Signal RS 422A 485 Option Board 5 V power D sub 9 pin connector male NT AL001 E Link Adapter Shield RS 232C Interface DIP Switch Settings Pin 1 ON Pin 2 ON terminati...

Страница 610: ...ce DIP Switch Settings Pin 1 ON Pin 2 ON terminating resistance Pin 3 OFF Pin 4 OFF Pin 5 OFF Pin 6 OFF CPU Unit Computer Terminal block Pin Signal Signal Pin Signal Pin Signal Shield D sub 9 pin conn...

Страница 611: ...an example for the NT631 NT631C The setting method varies with the PT Refer to the manual for you PT for details 1 N 2 wire Connections from RS 422A 485 to RS 422A 485 Ports Communications Mode 1 N NT...

Страница 612: ...connected to confirm support 2 The combined cable length for RS 422A 485 is 500 m including branch lines 3 The maximum cable length is limited to 2 m when an NT AL001 E Link Adapter is connected 4 Br...

Страница 613: ...nk Adapter is connected 4 Branch lines must be a maximum of 10 m long Connection Examples The connection examples in the remainder of this section show only the basic connection diagrams We rec ommend...

Страница 614: ...ions to a Host Computer Connections to a Personal Computer with RTS CTS Flow Control CPU Unit RS 232C Option Board RS 232C Shield OMRON E5CK Controller RS 232C Terminal Block Terminal Signal Pin Signa...

Страница 615: ...L001 E Link Adapter RS 232C Interface RS 232C Option Board Signal Pin DIP Switch Settings Pin 1 ON Pin 2 ON terminating resistance Pin 3 OFF 4 wire Pin 4 OFF Pin 5 OFF Pin 6 OFF NT AL001 E Link Adapte...

Страница 616: ...Pin 5 OFF Pin 6 ON Terminal block Signal Pin Signal Pin D sub 9 pin connector male See note D sub 9 pin connector male Signal Signal RS 232C RS 422A 485 interface RS 232C Option Board Device supportin...

Страница 617: ...communications 4 wire Shield Terminal block Signal Signal Pin Shield Signal 5 V power D sub 9 pin connector male NT AL001 E Link Adapter Signal DIP Switch Settings Pin 1 ON Pin 2 ON terminating resist...

Страница 618: ...9 pin connector male Signal Pin Pin Device supporting RS 422A 485 communications 2 wire Signal RS 422A 485 inter face Shield Shield Device supporting RS 422A 485 communications 4 wire Signal RS 422A 4...

Страница 619: ...or male 4 wire Terminating resistance ON Signal Shield D sub 9 pin connector male DIP Switch Pin 1 ON Pin 2 ON terminating resistance Pin 3 OFF Pin 4 OFF Pin 5 OFF Pin 6 ON Terminal block 5 V power RS...

Страница 620: ...unications Mode 1 N NT Link Note 1 RS 422A 485 Option Board settings Terminating resistance ON 2 wire 2 The terminating resistant setting shown above is an example for the NT631 NT631C The setting met...

Страница 621: ...the NT AL001 E is used the total transmission distance for the whole trans mission path is 500 m max Connection with an RS 232C Port RS 232C connection is also possible when using a Serial PLC Link t...

Страница 622: ...485 interface Signal name Signal name Signal name Shield Pin No Pin No Pin No CP1W CIF01 RS 232C Option Board CP1W CIF11 RS 422A 485 Option Board CJ1W CIF11 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 RDA RDB SDA...

Страница 623: ...or less 4 A connection example is shown below Example Twisted pair Cable Connecting SD SG RD SG RTS SG and CTS SG Terminals in Toolbus Mode Note The Hood FG is internally connected to the ground termi...

Страница 624: ...ground the shield only at the RS 422A 485 Option Board end Grounding both ends of the shield may damage the device due to the potential difference between the ground terminals Connection examples are...

Страница 625: ...200T 1 Connecting Cables for the NT AL001 E Link Adapter uses special wiring for the DTS and RTS signals Do not use these signals with other devices they may be damaged 3 The Hood FG is internally co...

Страница 626: ...remaining shield length is 10 mm 4 Remove the insulation from each conductor using a stripper so that the exposed conductor length is 5 mm 5 Fold back the braided shield 6 Wrap aluminum foil tape arou...

Страница 627: ...ch conductor to the corresponding connector terminals 3 Completely solder each conductor 4 Return the heat shrinking tube to the soldered portion then heat the tube to shrink it in place Assembling Co...

Страница 628: ...597 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...

Страница 629: ...598 Connections to Serial Communications Option Boards Appendix F...

Страница 630: ...r is turned ON 80 14 0 Held 1 2 IOM Hold Bit Not held Not held When power is turned ON 80 15 0 Held 1 Name Default Settings When setting is read by CPU Unit Internal address Bits Settings 1 Read DM fr...

Страница 631: ...ckground Do not execute in back ground Execute in back ground At start of operation 198 15 0 1 2 String data process instructions Do not execute in background Do not execute in back ground Execute in...

Страница 632: ...Use user setting 1 1 1 Watch Cycle Time default 1000 ms 1 000 ms 1 1 10 ms At start of operation 209 00 to 14 001 hex 40 000 40 000 10 ms FA0 hex 2 Cycle Time No Setting No minimum cycle time No mini...

Страница 633: ...4 hex 8 ms 15 hex 16 ms 16 hex 32 ms 17 hex 2 1CH CIO 1 Same as above Same as above Same as above 10 08 to 15 Same as above 3 2CH CIO 2 11 00 to 07 4 3CH CIO 3 11 08 to 15 5 4CH CIO 4 12 00 to 07 6 5C...

Страница 634: ...hex 2 400 bps 04 hex 4 800 bps 05 hex 9 600 bps 00 or 06 hex 19 200 bps 07 hex 38 400 bps 08 hex 57 600 bps 09 hex 115 200 bps 0A hex 2 1 2 Format data length stop bits parity 7 2 E 7 bit data 2 stop...

Страница 635: ...2 hex 7 1 E 7 bit data 2 stop bits even parity 4 hex 7 1 O 7 bit data 1 stop bit odd parity 5 hex 7 1 N 7 bit data 1 stop bit no parity 6 hex 8 2 E 8 bit data 2 stop bits even parity 8 hex 8 2 O 8 bit...

Страница 636: ...bits parity 7 2 E 7 bit data 2 stop bits even parity 7 2 E 7 bit data 2 stop bits even parity Every cycle 144 00 to 03 0 hex 7 2 O 7 bit data 2 stop bits odd parity 1 hex 7 2 N 7 bit data 2 stop bits...

Страница 637: ...ycle 151 00 to 03 0 hex 7 7 hex 2 7 PC Link Master 2 7 1 Baud 9 600 bps disabled 38 400 standard Every cycle 145 00 to 07 00 hex 115 200 high speed 0A hex 2 7 2 Link Words 10 default 1 10 default Ever...

Страница 638: ...bps 03 hex 2 400 bps 04 hex 4 800 bps 05 hex 9 600 bps 00 or 06 hex 19 200 bps 07 hex 38 400 bps 08 hex 57 600 bps 09 hex 115 200 bps 0A hex 2 1 2 Format data length stop bits parity 7 2 E 7 bit data...

Страница 639: ...1 E 7 bit data 2 stop bits even parity 4 hex 7 1 O 7 bit data 1 stop bit odd parity 5 hex 7 1 N 7 bit data 1 stop bit no parity 6 hex 8 2 E 8 bit data 2 stop bits even parity 8 hex 8 2 O 8 bit data 2...

Страница 640: ...bits parity 7 2 E 7 bit data 2 stop bits even parity 7 2 E 7 bit data 2 stop bits even parity Every cycle 160 00 to 03 0 hex 7 2 O 7 bit data 2 stop bits odd parity 1 hex 7 2 N 7 bit data 2 stop bits...

Страница 641: ...ycle 167 00 to 03 0 hex 7 7 hex 2 7 PC Link Master 2 7 1 Baud 9 600 bps disabled 38 400 standard Every cycle 161 00 to 07 00 hex 115 200 high speed 0A hex 2 7 2 Link Words 10 default 1 10 default Ever...

Страница 642: ...ex 1 2 Reset Z phase soft ware reset Z phase software reset When power is turned ON 50 04 to 07 0 hex Software reset 1 hex Z phase software reset comparing 2 hex Software reset compar ing 3 hex 1 3 In...

Страница 643: ...irection input 1 hex Up Down input 2 hex Increment pulse input 3 hex 4 Use high speed counter 3 Do not use Do not use When power is turned ON 98 12 to 15 0 hex Use 1 hex 4 1 Counting mode Linear mode...

Страница 644: ...mal When power is turned ON 59 04 to 07 0 hex Interrupt 1 hex Quick 2 hex 7 IN6 CIO 1 02 Normal Normal When power is turned ON 59 08 to 11 0 hex Interrupt 1 hex Quick 2 hex 8 IN7 CIO 1 03 Normal Norma...

Страница 645: ...line driver At start of operation 2 hex NO line driver 3 hex 1 6 Proximity Input Signal NC NC At start of operation 268 04 to 07 0 hex NO 1 hex 1 7 Search High Speed 0 pps disabled 0 pps At start of...

Страница 646: ...ation 271 and 270 00 to 15 0000 0001 hex 100 000 pps maxi mum for X XA CPU Unit 1 000 00 0 pps maximum for Y CPU Unit 0001 86A0 hex 000F 4240 hex 2 Acceleration Ratio 0 disabled 1 pulses 4 ms At start...

Страница 647: ...Input Signal Operation Search Only Search Only When power is turned ON 274 04 to 07 0 hex Always 1 hex 3 Limit Input Signal NC NC At start of operation 286 00 to 03 0 hex NO 1 hex 4 Search Return Ini...

Страница 648: ...line driver At start of operation 2 hex NO line driver 3 hex 1 6 Proximity Input Signal NC NC At start of operation 286 04 to 07 0 hex NO 1 hex 1 7 Search High Speed 0 pps disabled 0 pps At start of...

Страница 649: ...ation 289 and 288 00 to 15 0000 0001 hex 100 000 pps maxi mum for X XA CPU Unit 1 000 00 0 pps maximum for Y CPU Unit 0001 86A0 hex 000F 4240 hex 2 Acceleration Ratio 0 disabled 1 pulses 4 ms At start...

Страница 650: ...2 to 15 0 hex Undefined 1 hex 2 Limited Input Signal Operation Search Only Search Only When power is turned ON 380 04 to 07 0 hex Always 1 hex 3 Limit Input Signal NC NC At start of operation 392 00 t...

Страница 651: ...art of operation 392 08 to 11 0 hex NO 1 hex 1 6 Proximity Input Signal NC NC At start of operation 392 04 to 07 0 hex NO 1 hex 1 7 Search High Speed 0 pps disabled 0 pps At start of operation 385 and...

Страница 652: ...ed 0 pps disabled 1 pps At start of operation 395 and 394 00 to 15 0000 0001 hex 30 000 pps 0000 7530 hex 2 Acceleration Ratio 0 disabled 1 pulses 4 ms At start of operation 396 00 to 15 0001Hex 65535...

Страница 653: ...2 to 15 0 hex Undefined 1 hex 2 Limited Input Signal Operation Search Only Search Only When power is turned ON 398 04 to 07 0 hex Always 1 hex 3 Limit Input Signal NC NC At start of operation 410 00 t...

Страница 654: ...ex NO 1 hex 1 6 Proximity Input Signal NC NC At start of operation 410 04 to 07 0 hex NO 1 hex 1 7 Search High Speed 0 pps disabled 0 pps At start of operation 403 and 402 00 to 15 0000 0001 hex 30 00...

Страница 655: ...ead by CPU Unit Internal address Bits Settings 1 Built in analog resolution for all analog I O 6 000 Resolution 6 000 Resolution When power is turned ON 75 15 0 12 000 Resolution 1 Name Default Settin...

Страница 656: ...Use averaging Do not use Do not use When power is turned ON 77 14 0 Use 1 Name Default Settings When setting is read by CPU Unit Internal address Bits Settings 1 Analog Input 0 Use Do not use Do not u...

Страница 657: ...ration 227 15 0 Enable 1 48 SIOU 47 Disable Disable At start of operation 228 15 0 Enable 1 64 SIOU 63 Disable Disable At start of operation 229 15 0 Enable 1 80 SIOU 79 Disable Disable At start of op...

Страница 658: ...Address 0 0 Every cycle 449 08 to 15 00 hex 127 7F hex 1 1 2 Node Address 1 1 Every cycle 449 00 to 07 01 hex 254 FE hex All nodes FF hex 1 2 Nodes excluded from protection tar gets 1 2 1 Network Addr...

Страница 659: ...628 PLC Setup Appendix G...

Страница 660: ...unications Port Enabled Flags 568 complete link method 341 Condition Flag saving and loading status 177 Condition Flags 175 coordinate systems absolute or relative 243 Counter Area 163 countermeasures...

Страница 661: ...shooting 459 Expansion I O Racks troubleshooting 478 external interrupts response time 100 F failure point detection 375 FAL Error Flag 513 FAL errors flag 549 FAL FALS Number for System Error Simulat...

Страница 662: ...OM Hold Bit 147 505 554 IORF 097 refreshing input bits and words 84 IR DR Operation between Tasks 511 IR00 Output for Background Execution 523 L Less Than Flag 176 Less Than or Equals Flag 176 Limit I...

Страница 663: ...ts replacing parts 484 peripheral port related flags bits 545 PLC Setup error information 514 Polled Units settings 345 Polling Unit setting 345 Polling Unit link method 342 positioning vertically con...

Страница 664: ...45 related flags 346 347 simulating system errors 513 software reset 210 Special I O Unit Area 156 Special I O Units error information 523 Initialization Flags 510 542 Restart Bits 510 554 words alloc...

Страница 665: ...634 Index work words 159 write protection 370...

Страница 666: ...nter frequency measurements Page 221 Information added on controlling pulse outputs Page 222 Information added on output frequency Pages 228 and 229 Information changed in input functions table Pages...

Страница 667: ...636 Revision History...

Страница 668: ...rlands Tel 31 2356 81 300 Fax 31 2356 81 388 OMRON ELECTRONICS LLC 1 East Commerce Drive Schaumburg IL 60173 U S A Tel 1 847 843 7900 Fax 1 847 843 8568 OMRON ASIA PACIFIC PTE LTD 83 Clemenceau Avenue...

Страница 669: ...Authorized Distributor Cat No W450 E1 02 Note Specifications subject to change without notice Printed in Japan This manual is printed on 100 recycled paper...

Отзывы: