background image

Communication, Counter and Pulse

 

SECTION 4

 

 

DM 6642 

08 to 15      High-speed 

counter 
setting 

00: Do not use. 
01: Use as high-speed 
counter 
02: Use as synchronized 
pulse control (10 to 500 Hz). 
03: Use as synchronized 
pulse control (20 Hz to 1 
kHz). 

04: Use as synchronized 
pulse control (300 Hz to 20 
kHz). 

Either 00 
or 01 

 

 

If absolute pulses are specified with PULS(65), be sure to set the absolute 
coordinate system (1). 

 

 

Synchronized pulse control cannot be used simultaneously. 

 

 

The settings will go into effect when the mode is changed (from PROGRAM 
to MONITOR/RUN) or when the power supply is turned ON to the PLC. 

Ladder Diagram 

 

The following table shows the instruction operations related to pulse outputs 

Programming  

without acceleration and deceleration (fixed duty ratio). 

Instruction Control 

Operation 

(@)PULS(65) 

Set number of pulses 

Sets the number of pulses to be 
output 

in independent mode. 

Set frequency and start 

pulse outputs 

Sets the frequency for outputs in the 

independent mode or continuous 
mode, 

and starts the pulse outputs. 

Change frequency 

Changes the frequency for outputs in 

the independent mode or continuous 

mode. 

(@)SPED(64) 

Stop pulse outputs 

Stops the pulse outputs (by changing 

the speed to a frequency of 0 Hz). 

Stop pulse outputs 

Stops the pulse outputs. 

(@)INI(61) 

Change pulse output PV 

Changes the pulse output PV. 

Read pulse output PV 

Reads the pulse output PV. 

(@)PRV(62) 

Read pulse output status

Reads the pulse output status.

50

 

Summary of Contents for 3G3MV-P10CDT-E

Page 1: ...USER S MANUAL Programmable Controller Option Board Models 3G3MV P10CDT E and 3G3MV P10CDT3 E For SYSDRIVE 3G3MV Multi function Compact Inverters Cat No I01E EN 01 ...

Page 2: ...3G3MV P10CDT PLC Option Unit User s Manual Revised June 2003 ...

Page 3: ...ans word and is abbreviated Wd in documentation in this sense The abbreviation PLC means Programmable Controller and is not used as an abbreviation for any thing else Visual Aids The following headings appear in the left column of the manual to help you locate different types of information Note Indicates information of particular interest for efficient and convenient operation of the product 1 2 ...

Page 4: ... 10 1 5 Preparation for Operation 16 SECTION 2 UNIT COMPONENTS AND SPECIFICATIONS 17 2 1 Specifications 18 2 2 Unit Components 26 SECTION 3 INSTALLATION AND WIRING 31 3 1 Installation 32 3 2 Wiring 35 3 3 Connecting I O Devices 35 3 4 Wiring Communication Cables 37 3 5 Programming Device Connections 37 SECTION 4 COMMUNICATION COUNTER AND PULSE 38 4 1 PLC setup Communication 39 4 2 High speed Count...

Page 5: ... EXAMPLE PROGRAMS 71 B 1 Basic RUN template program 71 B 2 Basic Writing Parameter template program 71 B 3 Basic Read Parameter template program 76 B 4 Basic Positioning template program 79 REVISION HISTORY 97 vi ...

Page 6: ... User Manual W362 provide details of operations for the WS02 CXPC1 E CX Programmer Please read this manual carefully and be sure you understand the information provided before attempt ing to install and operate the 3G3MV P10CDT Section 1 describes the special features and functions of the 3G3MV P10CDT shows the possible system configurations and outlines the steps required before operation Read th...

Page 7: ...application of the Programmable Controller You must read this section and understand the information contained before attempting to set up or operate a PLC system 1 Intended Audience ix 2 General Precautions ix 3 Safety Precautions x 4 Maintenance and Inspection Precautions xi 5 Operation and Adjustment Precautions xi 6 Wiring Precautions xii 7 Application Precautions xii 8 EC Directives xiv viii ...

Page 8: ...read this manual before operation and keep this manual close at hand for reference during operation WARNING It is extremely important that a PLC and all PLC Units be used for the specified purpose and under the specified conditions especially in applications that can directly or indirectly affect human life You must consult with your OMRON representative before applying a PLC system to the above m...

Page 9: ...ult in damage to the product or malfunction Caution Take appropriate and sufficient countermeasures when installing systems in the following locations Not doing so may result in equipment damage Locations subject to static electricity or other forms of noise Locations subject to strong electromagnetic fields and magnetic fields Locations subject to possible exposure to radioactivity Locations clos...

Page 10: ...cover Not doing so may result in electrical shock WARNING Maintenance inspection or parts replacement must be performed by authorized personnel Not doing so may result in electrical shock or injury WARNING Do not attempt to take the Unit apart or repair Doing either of these may result in electrical shock or injury Caution Carefully handle the Inverter because it uses semiconductor elements Carele...

Page 11: ... racks Connecting or disconnecting any connectors cables or wiring Setting DIP switches or rotary switches WARNING Failure to abide by the following precautions could lead to faulty operation of the PLC or the system or could damage the PLC or PLC Units Always heed these precautions Fail safe measures must be taken by the customer to ensure safety in the event of incorrect missing or abnormal sign...

Page 12: ...sult in an unexpected operation Confirm that no adverse effect will occur in the system before attempting any of the following Not doing so may result in an unexpected operation Changing the operating mode of the PLC Force setting force resetting any bit in memory Changing the present value of any word or any set value in memory Resume operation with a new CPU Unit only after transferring the cont...

Page 13: ...pplicable EMC Electromagnetic Compatibility standards are as follows EMS Electromagnetic Susceptibility EN61800 3 EMI Electromagnetic Interference EN50081 2 EN55011 Radiated emission 10 m regulations Low Voltage Directive Safety standard EN50178 1997 8 3 Conformance to EC Directives The 3G3MV series products comply with EC Directives To ensure that the machine or device in which the PLC is used co...

Page 14: ...A CPM2A CPM2C SRM1 V2 Programming Manual W353 for details on programming operations 1 1 3G3MV P10CDT Features and Functions 2 1 1 1 3G3MV P10CDT Features 2 1 1 2 Overview of 3G3MV P10CDT Functions 4 1 2 System Configurations 5 1 2 1 Unit types 5 1 3 3G3MV P10CDT Structure and Operation 6 1 3 1 3G3MV P10CDT Structure 6 1 3 2 Operating Modes 7 1 3 3 Operating Mode at Startup 8 1 3 4 Cyclic Operation...

Page 15: ...f machine control applications In addition the 3G3MV P10CDT is capable of communica tions with devices such as personal computers and OMRON Program mable Terminals so it is ideal to use to expand or upgrade existing sys tems The 3G3MV P10CDT CPU Unit has a total of 10 I O points 6 inputs 3 transistor outputs and 1 relay output The communications port can be used simultaneously as two ports Pe riph...

Page 16: ...rter the follow ing functionality of the Inverter is lost Modbus communication through the RS 422 interface of the Inverter is disabled The Modbus communication through the RJ 45 connector is still available Inverter interface restriction The following resources have limited control Only one analog input can be read directly The other input can be read by using the Transfer command in combination ...

Page 17: ...counter 2 kHz Count up interrupt Pulse outputs 2 outputs Single phase pulse output without acceleration deceleration See note 2 10 Hz to 10 kHz 2 outputs Variable duty ratio pulse output See note 2 0 1 to 999 9 Hz duty ratio 0 to 100 1 output Pulse output with trapezoidal acceleration deceleration See note 2 Pulse plus direction output up down pulse output 10 Hz to 10 kHz Synchronized pulse contro...

Page 18: ...T3 E PLC core CPM2C S CPM2C S Inputs 6 24 VDC inputs 6 24 VDC inputs 3 sinking transistor outputs 3 sinking transistor outputs Outputs 1 relay output 1 relay output Peripheral port Yes Yes RS 232C port Yes Yes RS 422 485 port No Yes Calendar Clock No Yes Memory backup Flash memory and capacitor Flash memory and battery ...

Page 19: ...s executed cyclically and the interrupt programs that are exe cuted only when the corresponding interrupt is generated PLC Setup The PLC Setup contains various startup and operating parameters The PLC Setup parameters can be changed from a Programming Device only they cannot be changed from the program Some parameters are accessed only when PLC s power supply is turned ON and others are accessed r...

Page 20: ...erate unexpectedly if the corresponding output bit is turned ON by transferring I O memory or force setting output bits from a Programming Device MONITOR Mode The program is executed in MONITOR mode and the following operations can be performed from a Programming Device In general MONITOR mode is used to debug the program test operation and make adjustments Online editing Monitoring I O memory dur...

Page 21: ...pin 2 and the Programming Device connected to the communications port periph eral port Programming Device Pin 2 OFF Pin 2 ON None PROGRAM mode RUN mode Programming Console Operating mode set on the Programming Console s mode switch Other device PROGRAM mode The default setting for bits 08 to 15 of DM 6600 is 00 If this default setting is used and pin 2 is OFF the 3G3MV P10CDT will automatically st...

Page 22: ...fesh Cycle time calculation processing Inverter Modbus transfer Inverter OUT refresh RS 232C port service Peripheral port service Inverter Interface initial processing Inverter Interface status refresh Inverter Interface control data refresh Inverter Interface Modbus command execution When Inverter processing is ended by END refresh timing a maximum of eight data items are read or writen If the In...

Page 23: ...72 bits IR 02800 to IR 02915 IR 03800 to IR 04915 IR 20000 to IR 22715 880 bits IR 00100 to IR 00915 IR 01100 to IR 02815 IR 03000 to IR 04915 IR 22000 to IR 22715 SR Special Relay area 448 bits SR 22800 to SR 25515 448 bits SR 22800 to SR 25515 TR Temporary Relay area 8 bits TR0 to TR7 8 bits TR0 to TR7 HR Holding Relay area 320 bits HR 0000 to HR 1915 320 bits HR 0000 to HR 1915 AR Auxiliary Rel...

Page 24: ... 62 Interrupt inputs counter mode Method to change counter PV Execute INI 61 Execute INI 61 One shot mode Yes Yes Interval timer Scheduled interrupt mode Yes Yes Setting the quick response function PLC Setup PLC Setup INT 89 Mask Not supported ignored Not supported ignored INT 89 Read mask Reads mask status Reads mask status INT 89 Clear Not supported ignored Not supported ignored Quick response i...

Page 25: ...Introduction SECTION 1 12 Item CPM2C S 3G3MV P10CDT Check when registering tar get value match table Same direction same SV not possible Same direction same SV not possible ...

Page 26: ... to 16 777 215 Direction control Supported Supported Positioning to absolute positions Supported Supported Bit status while pulses are being output No effect No effect Reading PV Read SR 228 through SR231 or execute PRV 62 Read SR 228 through SR231 or execute PRV 62 Resetting PV Supported Supported Pulse output control Status outputs Accelerating decelerating PV overflow underflow Pulse quantity s...

Page 27: ...tch Host Link with Slave initiated communications No protocol RS 232C port via communications port Peripheral bus Set with Communications Switch Host Link No protocol 1 1 PLC LInk 1 1 NT Link Peripheral bus Set with Communications Switch Host Link No protocol 1 1 PLC LInk 1 1 NT Link Communications in CPU Unit RS 422 port Through CIF unit Peripheral bus Host Link with Slave initiated communication...

Page 28: ... 1315 DM Area Differences Function CPM2C S 3G3MV P10CDT Inverter Interface 19 words DM 2022 to DM 2040 Reserved 14 words DM 1986 to DM 1999 PLC Setup Differences Function CPM2C S 3G3MV P10CDT Maximum number of CompoBus S nodes DM 6603 bits 00 to 03 CompoBus S communications mode DM 6603 bits 04 to 07 DeviceNet Read Write area Default or DM 6606 to DM 6609 DM 6605 bits 00 to 03 DeviceNet I O Link W...

Page 29: ... on the front of the CPU Unit if nec essary The switches must be set when a device other than the Pro gramming Console is connected or the standard communications set tings are not used Connect the Programming Console set the mode switch to PROGRAM mode and turn ON the Inverter Check the Unit s LED indicators and the Programming Console s dis play Clear the PLC s memory All Clear Make PLC Setup se...

Page 30: ...ibes the main components of these Units 2 1 Specifications 18 2 1 1 General Specifications 18 2 1 2 Characteristics 18 2 1 3 I O Specifications 21 2 1 3 1 Input Specifications 21 2 1 3 2 Output Specifications 23 2 1 4 Dimensions 25 2 2 Unit Components 26 2 2 1 CPU Unit Component Names 26 2 2 2 CPU Unit Component Descriptions 26 17 ...

Page 31: ...e as for Programmable Slaves Instruction types Special 105 types 185 instructions Same as for Programmable Slaves Basic instructions 0 64 µs LD Processing speed Special instructions 7 8 µs MOV Program capacity 4 096 words Maximum number of I O points 10 Input bits 00000 to 00015 6 physical inputs Output bits 01000 to 01003 4 physical outputs Area allocated to Inverter 320 bits 20000 to 21915 IR Ar...

Page 32: ...50 µs max Used in common by input interrupts and input interrupt counter mode Analog volume None Input time constant ON response time OFF response time Only all inputs can be set 1 ms 2 ms 3 ms 5 ms 10 ms 20 ms 40 ms 80 ms Clock function Yes Communication function Port 1 Peripheral and RS 422 Host Link Peripheral bus No protocol Programming Console Port 2 RS 232C port Host Link no protocol 1 1 PLC...

Page 33: ...DM6599 and PLC Setup DM 6600 to DM 6655 are stored in flash memory The con tents of these areas will be read from flash memory the next time the power is turned ON even if the backup battery or capacitor is discharged When data has been changed in any of these areas write the new values to flash memory by switching the 3G3MV P10CDT to MONITOR or RUN mode or by turning the power OFF and then ON aga...

Page 34: ...ical IN00002 to IN00004 6 mA typical Input current IN00005 5 mA typical IN00000 to IN00001 17 VDC min 5 mA ON voltage current IN00002 to IN00005 14 4 VDC min 3 5 mA OFF voltage current All 5 0 VDC max 1 1 mA ON delay All 1 to 80 ms max Default 10 ms See note OFF delay All 1 to 80 ms max Default 10 ms See note IN00000 to IN00001 IN00002 to IN00004 Circuit configuration IN00005 Note The input time c...

Page 35: ... pulse input Direction input Decrement pulse input Normal input IN00002 Z phase pulse input or hardware reset input IN00002 can be used as a normal input when it is not used as a high speed counter input The minimum pulse widths for inputs IN00000 A phase input and IN00001 B phase input are as follows The minimum pulse width for input IN00002 Z phase input is as follows Interrupt Inputs The 3G3MV ...

Page 36: ...of relay Electrical 150 000 operations 24 VDC resistive load 100 000 operations 240 VAC inductive load cos 0 4 Mechanical 20 000 000 operations ON delay 15 ms max OFF delay 15 ms max Circuit configuration Note The service life of relay output contacts shown in the table assumes the worst conditions The following graph shows the results of Omron s service life tests at a switching rate of 1 800 tim...

Page 37: ...fuse per output cannot be replaced by user Circuit configuration Note 1 When using OUT01000 or OUT01001 as a pulse output connect a dummy resistor as required to bring the load current between 0 01 and 0 1 A If the load current is below 0 1 A the ON to OFF response time will be longer and high speed pulses source type transistor outputs will not be output If the load current is above 0 1 A the tra...

Page 38: ...Unit Components and Specifications SECTION 2 2 1 4 Dimensions 68 128 55 25 ...

Page 39: ...n the PLC Setup RS 232C port settings DM 6645 to DM 6649 Peripheral port settings DM 6650 to DM 6654 ON The ports operate with the standard communications settings Operating Mode at Startup Pin 2 determines the operating mode at startup only if there isn t a Program ming Device connected to the peripheral port Programming Device connected Startup mode with pin 2 OFF default Startup mode with pin 2...

Page 40: ...ing in RUN or MONITOR mode RUN green OFF The PLC is in PROGRAM mode or a fatal error has occurred ON A fatal error has occurred PLC operation stops Flashing A non fatal error has occurred PLC operation continues ERR ALM red OFF Indicates normal operation Flashing Data is being transferred via the peripheral or RS 422 485 port COMM1 yellow OFF Data isn t being transferred via communica tions port F...

Page 41: ...ata output Connector Phoenix MSTB 2 5 5 STF 5 08AU Note The maximum line length is 500 m Note The peripheral port and RS 422 485 port cannot be used simultaneously When using the peripheral port disconnect any devices connected to the RS 422 485 port 8 RS 422 485 switch 3G3MV P10CDT3 E only Switch to select 4 wire RS 422 or 2 wire RS 485 communication Position Status OFF down default 4 wire commun...

Page 42: ...on AMP tab to connect functional earth Internally connected to pin 3 of the RS 422 485 connector and to the shell of the peripheral connector 13 Low battery detection switch 3G3MV P10CDT3 E only This switch enables or disables the detection of a low battery error OFF Enabled Disabled Position Low battery detection ON up default Error detection enabled OFF down Error detection disabled 29 ...

Page 43: ......

Page 44: ...a 3G3MV P10CDT Unit Be sure to follow the directions and precautions in this section when installing the 3G3MV P10CDT in a panel or cabinet and wiring I O 3 1 Installation 32 3 2 Wiring 35 3 3 Connecting I O Devices 35 3 4 Wiring Communication Cables 37 3 5 Programming Device Connections 37 31 ...

Page 45: ...o may result in electrical shock fire or damage to the product Locations subject to direct sunlight Locations subject to temperatures or humidity outside the range specified in the specifications Locations subject to condensation as the result of severe changes in temperature Locations subject to corrosive or flammable gases Locations subject to exposure to combustibles Locations subject to dust e...

Page 46: ... along with the Operator 2 Wire the main circuit terminals and control circuit terminals of the Inverter When the 3G3MV P10CDT Unit is mounted the terminal block of the In verter will be covered Therefore be sure to complete wiring for the Inverter terminals first 3 When the Operator of the Inverter is removed it will be possible to see a block secured at three places underneath Using pliers or an...

Page 47: ...g base 5 After aligning the positions of the PLC Unit connector and the Inverter con nector push the frames of the Inverter and the Unit together until they click 6 Tighten the fixing screws on the upper part of the PLC Unit to the mounting base attached in step 4 7 Attach the Operator and the LED hood to the front side of the PLC Unit Re move the screw of the Inverter front cover and use it to se...

Page 48: ...category 2 3 3 Connecting I O Devices Wire inputs and outputs to the 3G3MV P10CDT Unit as shown in the f ing diagrams ollow WARNING The PLC outputs may remain ON or OFF due to deposits on or burning of the output relay or destruction of the output transistors External safety measures must be provided to ensure safety in the system Not providing proper safety measures may result in serious accident...

Page 49: ...Installation and Wiring SECTION 3 12 11 10 9 8 7 6 5 4 3 2 1 24VDC 00000 00001 00002 00003 00004 00005 COM COM 24VDC Load Load Load 01000 01001 01002 COM I O Connector 36 ...

Page 50: ...lay connector Perpendicular to the wire top half of the picture above Philips screw driver 2 5 x 0 4 mm In line with the wire bottom half of the picture above Philips screw driver 2 5 x 0 4 mm 3 4 Wiring Communication Cables When wiring the RS 422 485 communication cable make sure to use shielded cable with twisted wires The shield of the cable can be connected to the middle pin of the RS 422 485 ...

Page 51: ...cation 39 4 1 1 RS 232C Port Communications Settings 39 4 1 2 Peripheral RS 422 485 Port Communications Settings 40 4 2 High speed Counters 42 4 3 Input Interrupts In Counter Mode 45 4 4 Pulse Output Functions 48 4 4 1 Using Single phase Pulse Fixed Duty Ratio 49 4 4 2 Using Pulse Outputs With Variable Duty Ratio 52 4 4 3 Using Pulse Outputs With Trapezoidal Acceleration Deceleration 53 38 ...

Page 52: ...non fatal error and turns ON AR 1302 00 to 07 Baud rate 00 1 200 bps 01 2 400 bps 02 4 800 bps 03 9 600 bps 04 19 200 bps DM 6646 08 to 15 Frame format Start bits Data bits Stop bits Parity 00 1 bit 7 bits 1 bit Even 01 1 bit 7 bits 1 bit Odd 02 1 bit 7 bits 1 bit None 03 1 bit 7 bits 2 bits Even 04 1 bit 7 bits 2 bits Odd 05 1 bit 7 bits 2 bits None 06 1 bit 8 bits 1 bit Even 07 1 bit 8 bits 1 bi...

Page 53: ... the peripheral port or Support Software set for peripheral bus communications The 3G3MV P10CDT Unit will auto detect either Programming Device and auto matically establish communications Word s Bit s Function 00 to 03 Port settings 0 Standard 1 start bit 7 data bits even parity 2 stop bits 9 600 bps Host Link unit number 0 1 Settings in DM 6651 Any other setting will cause a non fatal error and A...

Page 54: ...art code 1 Enables start code in DM 6654 Any other setting disables the start code causes a non fatal error and turns ON AR 1302 DM 6653 12 to 15 End code selection for no protocol communications 0 Disables end code 1 Enables end code in DM 6649 2 Sets end code of CR LF Any other setting disables the end code causes a non fatal error and turns ON AR 1302 00 to 07 Start code 00 to FF This setting i...

Page 55: ... maximum response frequency of 20 kHz and three points for interrupt inputs counter mode For more details please refer to Programming Manual W353 High speed counters High speed counter No interrupts Count check interrupts Interrupt inputs counter mode No interrupts Count up interrupts 1 point 2 points Target value com parison interrupts Range comparison interrupts 42 ...

Page 56: ...20 kHz 2 Up down input 20 kHz 4 Increment 20 kHz 0 1 2 or 4 04 to 07 High speed counter reset method setting 0 Phase Z signal software reset 1 Software reset 0 or 1 DM 6642 08 to 15 High speed counter usage setting 00 Do not use 01 Use as high speed counter 02 Use as pulse synchronization control 10 Hz to 500 Hz 03 Use as pulse synchronization control 20 Hz to 1 kHz 04 Use as pulse synchronization...

Page 57: ...ad range comparison result Mask all interrupts Prohibits all interrupts including interrupt inputs interval timer interrupts high speed counters etc INT 89 Permits all interrupts including interrupt inputs interval timer interrupts high speed counters etc comparison table and Register range INI 61 Stop comparison Read status Reads range comparison result Unmask all interrupts The following table s...

Page 58: ...e when the count matches the set value For more details please refer to Programming Manual W353 Procedure for Using Interrupt Inputs in Counter Mode Set the interrupt number Select either incrementing or decrementing count Wire the inputs Input numbers 00003 or 00004 PLC Setup DM 6628 1 Use as interrupt input interrupt input mode or counter mode Create a ladder diagram program INI 61 Change counte...

Page 59: ...n Setting 00 to 03 Interrupt setting for input 00003 04 to 07 Interrupt setting for input 00004 0 Normal input 1 Interrupt input interrupt input mode or counter mode 2 Quick response input 1 DM 6628 08 to 15 Not used 0 The setting will go into effect when the mode is changed from PROGRAM to MONITOR RUN or when the power supply is turned ON to the 3G3MV P10CDT 46 ...

Page 60: ... for input interrupt counter mode 0 241 00 to 15 SV area for input interrupt counter mode 1 242 00 to 15 SV area for input interrupt counter mode 2 243 00 to 15 SV area for input interrupt counter mode 3 Stores the counter s set value SV 244 00 to 15 PV area for input interrupt counter mode 0 245 00 to 15 PV area for input interrupt counter mode 1 246 00 to 15 PV area for input interrupt counter m...

Page 61: ... Execution instructions PULS 65 and SPED 64 PWM PULS 65 and ACC 01000 Pulse output 0 See note 1 Pulse output 0 See note 1 Pulse output CW pulse output Output number 01001 Pulse output 1 See note 1 Pulse output 1 See note 1 Pulse output 0 Direction output Pulse output 0 CCW pulse output Output frequency range 10 Hz to 10 kHz 0 1 to 999 9 Hz 10 Hz to 10 kHz 10 Hz to 10 kHz Pitch 10 Hz 0 1 Hz 10 Hz 1...

Page 62: ...er of pulses SPED 64 For pulse output control without acceleration and deceleration INI 61 For stopping pulse outputs and changing the pulse output PV PRV 62 For reading the pulse output PV and status Pulse output number 0 or 1 Single phase Pulse Outputs PLC Setup Make the following settings in the PLC Setup Word Bits Function Setting 00 to 03 Pulse 0 PV coordinate system DM 6629 04 to 07 Pulse 1 ...

Page 63: ...he following table shows the instruction operations related to pulse outputs Programming without acceleration and deceleration fixed duty ratio Instruction Control Operation PULS 65 Set number of pulses Sets the number of pulses to be output in independent mode Set frequency and start pulse outputs Sets the frequency for outputs in the independent mode or continuous mode and starts the pulse outpu...

Page 64: ... when ON 252 05 Pulse output 1 PV reset Clears PV 1 when ON 12 Pulse output 0 PV over flow underflow ON Occurred OFF Normal 13 Number of pulses set for pulse output 0 ON Set by PULS 65 OFF Not set 14 Pulse output completed for pulse output 0 ON Completed by SPED 64 OFF Not completed AR 11 15 Pulse output in progress for pulse output 0 ON In progress by SPED 64 OFF Stopped 12 Pulse output 1 PV over...

Page 65: ...s With Variable Duty Ratio PLC Setup Make the following settings in the PLC Setup Word Bits Function Setting DM 6642 08 to 15 High speed counter setting 00 Do not use 01 Use as high speed counter 02 Use as synchronized pulse control 10 to 500 Hz 03 Use as synchronized pulse control 20 Hz to 1 kHz 04 Use as synchronized pulse control 300 Hz to 20 kHz Either 00 or 01 Synchronized pulse control canno...

Page 66: ...h variable duty ratio Word Bit Name Contents AR 11 15 Pulse output in progress for pulse output 0 ON In progress by SPED 64 ACC or PWM OFF Stopped AR 12 15 Pulse output in progress for pulse output 1 ON In progress by SPED 64 ACC or PWM OFF Stopped 4 4 3 Using Pulse Outputs With Trapezoidal Acceleration Deceleration Select the pulse output number Wire the outputs Output numbers 01000 and 01001 PLC...

Page 67: ... speed counter setting 00 Do not use 01 Use as high speed counter 02 Use as synchronized pulse control 10 to 500 Hz 03 Use as synchronized pulse control 20 Hz to 1 kHz 04 Use as synchronized pulse control 300 Hz to 20 kHz Either 00 or 01 If absolute pulses are specified with PULS 65 be sure to set the absolute coordinate system 1 Synchronized pulse control cannot be used simultaneously The setting...

Page 68: ...1 Change pulse output PV Changes the pulse output PV Read pulse output PV Reads the pulse output PV PRV 62 Read pulse output status Reads the pulse output status The following table shows the words and bits related to pulse outputs with trapezoidal acceleration and deceleration fixed duty ratio Word Bits Name Contents 228 00 to 15 Pulse output PV 0 rightmost 4 digits 229 00 to 15 Pulse output PV 0...

Page 69: ...cation IR 57 5 3 I O Allocation DM 60 5 3 1 Controlling Inverter I O 61 5 4 Transfer command 61 5 4 1 Parameter Reading 62 5 4 2 Parameter Writing 63 5 4 3 Transfer Timing Chart 64 5 4 4 Transfer Timing Chart in case of Errors 65 5 4 5 Transfer Timing Chart for Cancelling Processing 66 5 4 6 Transfer Ladder Program 66 56 ...

Page 70: ...ON OPE error occurring 09 Momentary power interruption recovery ON Power restored 10 RUN command mode ON Controlled by Inverter interface OFF Other 002C 10 11 Terminal MA output status ON Closed 002D 0 12 Terminal P1 output status ON Closed 002D 1 13 Terminal P2 output status ON Closed 002D 2 200 14 to 15 Reserved Read only 00 Reserved 01 Main circuit voltage low UV1 0021 12 02 Control power suppl...

Page 71: ...ead only 00 Inverter Ready error detected by mutual diagnosis ON Normal OFF Error 01 Transfer Completion ON Transfer completed 02 Transfer Error ON Error OFF Normal 03 Transfer Busy ON Busy OFF Ready for transfer 206 04 to 15 Reserved Read only 00 Forward Stop ON Forward operation 01 Reverse Stop ON Reverse operation 02 Multi function input 3 Set by n052 0001 6 03 Multi function input 4 Set by n05...

Page 72: ...nce After power on the this bit is turned OFF PLC reference Note 5 When NetCtrl is turned OFF the PLC is controlling the Inverter When NetCtrl is turned ON other sources are controlling the Inverter After power on the this bit is turned OFF PLC controlling Caution At power up the following Inverter status flags toggle before they reflect the actual status of the Inverter IR 200 05 Inverter Ready I...

Page 73: ...Read only 2027 Reserved Read only 2028 Frequency reference monitor Unit According to n035 0023 Read only 2029 Output frequency monitor Unit According to n035 0024 Read only 2030 Output current monitor Unit 0 01 A 0027 Read only 2031 Pulse input Unit 0 1 Read only 2032 Main circuit DC voltage monitor Unit 1 V 0031 Read only 2033 Reserved Read only 2034 Analog frequency reference terminal monitor Un...

Page 74: ...by using the Transfer com mand The Transfer command is controlled by Two command bits one for reading and one for writing Three status flags busy completion and error flag Two DM area s one for specifying the command one for specifying the response location Note Changes to parameters may not take effect immediately Refer to the 3G3MV Manual for details All parameters accessed with the Transfer com...

Page 75: ...4 digits binary L 2 Number of transferred data items 4 digits binary The response to the read command is stored in the DM area specified by K DM2024 In case of a normal completion Words Function K 0 Number of data words including K binary K 1 Transfer destination Inverter address 1 4 digits binary K 2 Number of transferred data items 1 4 digits binary K 3 Read data 1 1 4 digits binary K 4 Read dat...

Page 76: ...g L binary L 1 Transfer destination Inverter address 4 digits binary L 2 Number of transferred data items 4 digits binary L 3 Write data 1 1 4 digits binary L 4 Write data 1 2 4 digits binary L 5 L 6 L 7 L 8 L 9 L 10 Response data is stored in the DM area specified by K DM2024 In case of a normal completion Words Function K 0 Number of data items 0002 K 1 Normal response code 0000 PLC Transfer Res...

Page 77: ...rned ON the Transfer Busy Flag will turn ON one PLC cycle later and the command specified in the DM Area L will be processed 2 When the Transfer Completion Flag is turned ON the response is present in the DM Area K 3 When the Transfer Command Bit is turned OFF the Transfer Busy Flag and Transfer Completion Flag will turn OFF one PLC cycle later Timing The time required for the Transfer command bet...

Page 78: ...peration 1 When the Transfer Command Bit is turned ON the Transfer Busy Flag will turn ON one PLC cycle later and the command specified in the DM Area L will be processed 2 When the Transfer Error Flag is turned ON the error code is present in the DM Area K 3 When the Transfer Command Bit is turned OFF the Transfer Busy Flag and Transfer Error Flag will turn OFF one PLC cycle later Note In case of...

Page 79: ...en the command is cancelled before completion the Transfer Busy Flag will turn OFF and the Transfer Error Flag will turn ON The error code 0002 is present in the DM Area K 3 When the new Transfer Command Bit is turned ON the Transfer Busy Flag will turn ON and the command specified in the DM Area L will be proc essed The Transfer Error Flag will turn OFF 4 When the Transfer Completion Flag is turn...

Page 80: ...0 Data number error An attempt was made to read more than 8 registers at the same time An attempt was made to write more than 8 registers at the same time 2100 Data setting error The write data is not within the permissible range 2200 Write error An attempt was made during operation to write a constant that cannot be changed during operation An attempt was made to overwrite read only data 2300 Wri...

Page 81: ...Bit 1 Busy error occurs Transfer operation is aborted Busy error occurs Transfer operation is aborted Busy error occurs Command is not executed Error is cleared and command is executed After the completion of a command the command bit must be cleared first be fore issuing the next command Not clearing the command bit has the follow ing consequences Sending a write transfer command immediately afte...

Page 82: ... WSFT 16 ARITHMETIC SHIFT LEFT ASL 25 ARITHMETIC SHIFT RIGHT ASR 26 ROTATE LEFT ROL 27 ROTATE RIGHT ROR 28 ONE DIGIT SHIFT LEFT SLD 74 ONE DIGIT SHIFT RIGHT SRD 75 REVERSIBLE SHIFT REGISTER SFTR 84 ASYNCHRONOUS SHIFT REGISTER ASFT 17 1 Increment Decrement Instructions Timer and Counter Instructions Name Mnemonic Variations TIMER TIM COUNTER CNT REVERSIBLE COUNTER CNTR 12 HIGH SPEED TIMER TIMH 15 O...

Page 83: ...ENTRY SBN 92 SUBROUTINE RETURN RET 93 MACRO MCRO 99 Interrupt Control Instructions Name Mnemonic Variations INTERRUPT CONTROL STIM 69 1 INTERVAL TIMER INT 89 1 Pulse Control Instructions Name Mnemonic Variations MODE CONTROL INI 61 1 HIGH SPEED COUNTER PV READ PRV 62 1 REGISTER COMPARISON TABLE CTBL 63 1 Pulse Output Control Instructions Name Mnemonic Variations SPEED OUTPUT SPED 64 1 SET PULSES P...

Page 84: ...erse Run Command 1 0 209 00 BIT R W MV_NetRef_Set 0 Reference from PLC board DM2036 0 209 01 BIT R W MV_NetCtrl_Set 1 Run signals from PLC board 207 00 and 207 01 0 B 2 Basic Writing Parameter template program The PLC option board for 3G3MV inverters provides many directly mapped parameters But if some non mapped parameter is needed to be modified then the transfer functionality is required The sa...

Page 85: ...Example Programs Appendix B 72 ...

Page 86: ...Example Programs Appendix B 73 ...

Page 87: ...Example Programs Appendix B 74 ...

Page 88: ...Example Programs Appendix B 75 ...

Page 89: ... 01 BIT R W Transfer Write ON Begin writing turns OFF when transfer is completed 0 206 00 BIT R W Inverter Ready error detected by mutual diagnosis ON Normal OFF Error 0 206 01 BIT R W Transfer completion bit ON Transfer completed turns OFF when TRANSFER command turns OFF 0 206 02 BIT R W Transfer error ON Error OFF Normal 0 206 03 BIT R W Transfer busy ON Busy OFF Ready for transfer DM2023 WORD R...

Page 90: ...Example Programs Appendix B 77 ...

Page 91: ...Example Programs Appendix B 78 ...

Page 92: ...int by N1 N2 factor 2 InPosition windows The second one can be defined bigger for faster sequence control Variable P Gain Position_Reset available Home origin search sequence with fast forward and slow backwards seek Definable speeds Home origin timeout control B 4 3 Limitations As the 3G3MV is an open loop inverter with only P type of controller inertial loads might not be well handled by the sof...

Page 93: ...Keep n35 0 0 01Hz resolution of speed references for better resolution in speed control We also need particular settings in the PLC side In the PLC following bits have to be cleared IR209 00 0 and IR209 01 0 In this way we provide full Speed reference and Run command control from the PLC regardless the inverter settings And the configuration for the input encoder 24Vdc type For the counter to work...

Page 94: ...ion own parameters User_Application will make use of the control bits and parameters of the Positioning template to do the machine sequence If the user program has more sections all have to be in front of the Pos_ sections Pos_Loop provides the position speed control capabilities Pos_HomeSequence provides the home sequence facilities B 4 8 Setting position parameters The software provides the foll...

Page 95: ...ion is reached activate a valve move other axis etc DM10 DWORD R W BCD SP BCD SetPoint of position in units DM10 and DM11 0 DM12 DWORD R W BCD SP_PV_Scale_N1 Numerator of SP PV scaling 1 DM14 DWORD R W BCD SP_PV_Scale_N2 Denominator of SP PV scaling Scaling is quads N2 N1 units Default values correspond to direct quad control 1 DM16 DWORD R W BCD In_Position1_Window Defines the width of the In_Pos...

Page 96: ...speed is performed until the sensor disappears This ensure accurate homing Decimal value in units defined by n035 By default 0 01Hz 20 DM32 DWORD R W BCD Home_Process_MaxTime Timeout value in 0 1 sec unit This is the allowed time for the homing process to finish 150 DM2036 DWORD R W Decimal MV_Freq_Ref_Set This is the speed reference when the PLC is controlling the inverter In position mode 2 0 1 ...

Page 97: ...Example Programs Appendix B B 4 9 Programs User_Parameter_Init 84 ...

Page 98: ...Example Programs Appendix B 85 ...

Page 99: ...Example Programs Appendix B User_Application Pos_Loop 86 ...

Page 100: ...Example Programs Appendix B 87 ...

Page 101: ...Example Programs Appendix B 88 ...

Page 102: ...Example Programs Appendix B 89 ...

Page 103: ...Example Programs Appendix B 90 ...

Page 104: ...Example Programs Appendix B 91 ...

Page 105: ...Example Programs Appendix B 92 ...

Page 106: ...Example Programs Appendix B 93 ...

Page 107: ...Example Programs Appendix B Pos_Home_Sequence 94 ...

Page 108: ...Example Programs Appendix B 95 ...

Page 109: ...Example Programs Appendix B 96 ...

Page 110: ...alog number on the front cover of the manual Cat No I01E EN 01 Revision code The following table outlines the changes made to the manual during each revision Page numbers refer to the previous version Revision code Date Revised content 01 June 2003 Original production 97 ...

Reviews: