Home
User`s Manual 3G3MV-P10CDT-E AND 3G3MV
Contents
1. 253 15 MOV 000000 l e P First C 1 First 28 0 05 P DI5 DI5 000001 Here starts the sequencer section Basically it is a sequence of timers changi ng the bits Also activates the PLC outputs for external Indication 28 00 TIM I 000 State 0 50 10 00 F Q P DOO DOO 28 01 TIM 000002 3 001 State 1 20 10 01 P DO1 DO1 000003 28 02 TIM 002 State 2 60 10 02 L Y Ld P_DO2 DO2 000004 28 03 TIM 003 State 3 40 10 03 L fy VY P_DO3 DO3 72 Appendix B Sequencer bit register Timer of state 0 DOO Timer of state 1 DO1 Timer of state 2 DO relay Timer of state 3 DOS relay Example Programs 000005 000006 000007 000008 TIMOO0 ROL 27 Timer of TIMOO 1 Timer of TIMO02 Timer of TIMO03 IL Timer of 28 00 28 01 28 02 28 03 MOV ah a zn AF State 0 State 1 Here we use the machine state to apply different speeds and ramp times 28 00 State 2 State 3 21 H 1 28 MOV 21 State 0 amp 3000 DM2036 MV_Freq MOV 21 H amp 50 DM100 MV_Acc MOV 21 amp 50 DM101 MV Dec MOV 0 H State 1 amp 500 DM2036 MV Freq MOV 21 amp 10 DM100 MV Acc MOV 0 amp 10 DM101
2. 2 Input indicators 5 Communications port E 6 Communications switch 3 Output indicators 13 Low battery detection switch 2 2 2 CPU Unit Component Descriptions 1 2 3 1 o N z ON 26 DIP switch e RS 232C and Peripheral Port Settings Pin 1 Effective Port Settings OFF The ports operate according to the settings in the PLC Setup J y Bottom view 7 RS 422 485 port 11 Relay connector 12 FE connection Rear view default 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 e 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 Startup mode with Startup mode with connected pin 2 OFF default pin 2 ON None PROGRAM mode Programming Console Operating mode set on the Programming Console s mode switch Other device PROGRAM mode Unit Components and Specifications SECTION 2 2 Input indicators yellow The input indicators are lit when the corresponding input terminal is ON The status of an input indicator will
3. Pulse Outputs With Variable Duty Ratio eed VARIABLE DUTY equ a Pulse output 0 RATIO instruction 0100s Pulse output 1 Target frequency 0 1 to 999 9 Hz Either 01000 or 01001 3 ur f can be used Duty ratio 0 to 100 Note The duty ratio is the ratio Start pulse outputs of ON time to pulse frequency m Every scan Every scan Immediately COUNTER PV 0 instruction Pulse output status RV 62 READ instruction Stop pulse outputs AR 11 AR 12 scu puge output status PLC Setup Make the following settings in the PLC Setup Function Setting DM 6642 08to 15 High speed 00 Do not use Either counter 01 Use as high speed counter 00 or setting 02 Use as synchronized pulse 01 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 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 32 Communication Counter and Pulse SECTION 4 Ladder Diagram The following table shows the instruction operations related to pulse outputs Programming with variable duty ratio Instruction Control Operation PWM Pulse output with Sets the frequency and duty ratio and variable duty ratio starts the pulse outputs Change duty ratio Changes the
4. Speed RSET 2 00 Control _ 000001 2 02 TIM Home Re 000 Request DM32 Home P 000002 5 00 p Max time for homing If bigger error is generated I amp i HomeSeq HomeSE MOV 21 DM30 Home F DM2036 MV Freq 0 02 SET 2 03 Speed P DI Dl2 Z 94 MOV 21 I amp 2 5 HomeSe Appendix B HomeSEQ Home Timed Out without completion Home has been completed Fwd Run to be used in speed mode Rev Run to be used in speed mode O speed 1 position Max Timer for Homing Max time allowed for homing process If exceeded then Home Error is active and process cancelled Speed reference for the fast homing aproach Search for sensor Setpoint Frequency Reference Unit depends on n152 Fwd Run to be used in speed mode HomeSEQ Example Programs Appendix B 000003 Home sensor found Reverse seek for edge 5 01 MOV HomeSeq DM31 Speed reference for the second home phase Slow release of HomeSE Home S sensor DM2036 Setpoint Frequency Reference Unit depends on n152 MV Freq RSET a a 2 03 Fwd Run to be used in speed mode Speed SET T 2 04 Rev Run to be used in speed mode Speed 0 02 MOV J F 21 P DIl2 amp 4 T 5 HomeSEQ HomeSe 000004 5 02 MOV 1 21 HomeSeq amp 0 HomeSE DM2036 Setpoint Frequency Reference Unit d
5. 00 to 15 Pulse output PV 1 leftmost 4 digits Cannot be used as work bits even when not used as pulse outputs 04 Pulse output 0 PV reset Clears PV 0 when ON 05 Pulse output 1 PV reset Clears PV 1 when ON 11 Pulse output status for pulse output 0 ON Accelerating or decelerating OFF Constant speed Pulse output O PV over flow underflow ON Occurred OFF Normal Number of pulses set for pulse output O ON Set OFF Not set Pulse output completed for pulse output 0 ON Completed OFF Not completed Pulse output in progress for pulse output 0 ON In progress by SPED 64 ACC or PWM OFF Stopped 55 SECTION 5 Inverter Interface This section describes the interface to the Inverter S6 5 Inverter interface duet ceni le Dept etie f on dr et base Sif nl p eto etf n t tient 57 5 2 W O Allocation IR neret s RI RI RETREAT RH RU E ere 57 53 WO Allocation DM eerte ttt reete HR EHI RR S ERE HV IEEE RN eves Henr 60 2 3 d Controlling Inverter VO 1i te eee e e RI HER TOR Ie Ue EE FEE TE Tele de 61 534 Transfer command A teet e e Ue Rt EUR PE TIRE 61 252451 Parameter Readings ii eg eoe i ee pe tg d e en e d Ss 62 3 422 Param ter Writing os i p d a teret Ee bete ee ep enne ae Ice ree dore e ages pee Tee buen e atte Peas Yes actos 63 32473 Transfer Timing Charts eiie teet de relocate qe ee o ANH weil ee eee Pin te
6. o FP AI DM31 Home S DM32 Appendix B Max_Frequency High word Max_Pos_Error Max_Pos_Error High word PV Scale for rotary wrap PV Scale for rotary wrap high word Position to move after home finished Speed reference for the fast homing aproach Search for sensor Speed reference for the second home phase Slow release of sensor Max time allowed for homing process If exceeded then Home Error is active and process cancelled Home P 85 Example Programs Appendix B User Application 000000 Program Name User Application Sample for positioning control Section Name User Application OYMC 2003 This simple application waits for some inputs to generate Home IN3 and then IN4 controls between 2 positions 0 03 3 00 SET ce S 1 P_DI3 Home_O 2 02 Request Home when 1 Goes to zero once finished DI3 Home has Home R 00000 3 00 DIFU i 13 Home O 6 00 Home OK rising edge Home has 000002 9 00 SET I pe 2 00 0 speed 1 position Home O Control 000003 904 3 00 QMov P Di4 Home O 360 DI4 Home has DM10 SP Scaled SP Scal 0 04 3 00 MOV 000004 Bie j ONS P Dl4 Home O 2880 DI4 Home has DM10 SP Scaled SP Scal Pos Loop 000000 Program Name Pos Loop Sample for positioning control Section Name Pos Loop OYMC 2003 POSITION LOOP SECTION Control M 0 speed 000001 2 00 C
7. 000007 253 13 SPEED RESET RUN and speed command on change to speed control MOV 21 amp 100 DM2036 MV Freq RSET 4 03 Pos Run RSET 4 04 Pos Run RSET 2 03 Speed RSET POSITION Making the present position all positive Range is 0 2 8388607 249 15 2 04 Speed CLC P On Always 88 din 249 15 ADDL 54 DM54 HSC_Mal 248 P_Count DM52 PV ANDW 34 249 P_Count FFF DM51 PV_ Calc MOV 21 248 P Count DM50 PV Calc CLC 41 SUBL 55 DM54 HSC Ma DM50 PV_Calc DM52 jee ee Appendix B Setpoint Frequency Reference Unit depends on n152 Fwd Run generated by positioner Rev Run generated by positioner Fwd Run to be used in speed mode Rev Run to be used in speed mode HighSpeedCounter MAX VALUE High Speed Counter Present Value Low Word Present Value High Speed Counter Present Value High Word Present Calue Calc high word intermediate step High Speed Counter Present Value Low Word Present Value Calculation intermediate step HighSpeedCounter MAX VALUE Present Value Calculation intermediate step Present Value PV Example Programs Appendix B 000008 POSITION Scaling Setpoint and reading 253 13 m 41 P On Always SP Scaled SP amp PV Scale Numerator SP Scaled Final SP Scaled Final SP amp PV Scale Denominator SP Scaled Final
8. H AF O P_GT Zero_Spe Greater Zero FINAL RUN COMMANDS 4 03 2 00 207 00 Pos Run Control_M MV FWR Fwd Run 0 speed Bit 2 03 2 00 LI AF 1 Speed R Control M Fwd Run 0 speed Fwd Run generated by positioner Rev Run generated by positioner P Gain Output from positioner Max Frequency P Gain Output from positioner Setpoint Frequency Reference Unit depends on n152 Max Frequency Setpoint Frequency Reference Unit depends on n152 Setpoint Freguency Reference Unit depends on n152 Setpoint Frequency Reference Unit depends on n152 Setpoint Freguency Reference Unit depends on n152 Zero Speed demanded Bit Terminal S1 activation select by n50 Default Forward Example Programs Appendix B 000015 4 04 2 00 207 01 Bit Terminal S2 activation select by n51 Default Reverse RUN Pos Run Control_M MV_RVR Rev Run 0 speed Bit 2 04 2 00 AF j Speed R Control M Rev Run 0 speed 93 Example Programs Pos Home Sequence 000000 Program Name Pos HomeSequence Sample for positioning control Section Name Pos HomeSequence HOME SEQUENCE SECTION Inputs 0 amp 1 A amp B encoder Input 2 Ho me Origin sensor Transition HomeSe RSET 3 01 Home E RSET o oo gg PT 3 00 Home O RSET 2 03 Speed RSET 2 04
9. Observe the following precautions when using the PLC Unit A WARNING Failure to abide by the following precautions could lead to serious or possibly fatal injury Always heed these precautions e Always ground the system with 100 Q or less when installing the system to protect against electrical shock e Always turn off the power supply to the PLC before attempting any of the following Performing any of the following with the power supply turned on may lead to electrical shock e Assembling any devices or racks e Connecting or disconnecting any connectors cables or wiring e Setting DIP switches or rotary switches A 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 signals caused by broken signal lines momentary power interruptions or other causes Interlock circuits limit circuits and similar safety measures in external circuits i e not in the Programmable Controller must be provided by the customer Use the Units only with the power supplies and voltages specified in the operation manuals Other power supplies and voltages may damage the Units Take appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied Be particularly careful
10. XFER 70 js PGT Greater 2 DM26 Max_Po DM58 POS Err CLC 41 MULL 56 DM58 POS Err DM24 P Gain i DM60 P Gain SRD 75 DM60 P Gain DM63 P Gain Appendix B Positioning error Narrow position window for positioner Demand position and present value are inside defined window DM500 Used by positioner for RUN Positioning error Wider Position window for sequence Second window can be bigger DM502 Used for quick sequence control Positioning error Max Pos Error Max Pos Error Positioning error Positioning error P GAIN of positioner P Gain Output from positioner P_Gain Output from positioner P_Gain Output from positioner high word 91 Example Programs Appendix B 000012 000013 000014 92 POSITION Controlling Position Gives out minimum 0 196 Generates Positio n RUNs 2 00 3 02 4 06 4 03 Control M In Positio Negative O speed Demand Calculatio Pos Run Fwd Run 4 04 Pos Run Rev Run Calculatio CMPL 60 DM60 P Gain DM22 Max Fre BIN 23 DM60 P_Gain_ DM2036 MV Freq BIN 23 DM22 Max_Fre DM2036 MV Freq CMP 20 DM2036 MV_Freq amp 10 MOV 255 07 L 21 I PIT Less DM2036 MV Freq SPEED Zero speed demand 2 00 CMP 20 DM2036 MV Freq 0 AF Control M O speed 255 05 4 05
11. 3 4 Wiring Gommu nication Cables sc ee tete e etie te es O E e REESE eo ak 37 3 5 Programming Device Connections icc sec eene ete tetien ie eee e iced eei ee Ve E Ei 37 SECTION 4 COMMUNICATION COUNTER AND PULSE 38 4 PLC setup Communication esneari isn iiie ie inei tee dene deses E A N e i i ii 39 422 Highizspeed Counters eese tenerte ie tinet a RC ER S 42 4 3 Input Interrupts In Counter Modes a e eene nnne then A trennen enne EAEE enne nne 45 4 4 cPulse OutputEUnctloris coc oc de tree ee eee se tremere te etd de det ee ere A a a ve red 48 SECTION 5 INVERTER INTERFACE notis itia pe FRA T a ER RYAN AS KERN En iS iesus uina 0 5 1 inverter interface eee nhe e ORA d ie M e See SARS T ve ehe led curet e be deut tet eed tase cole den 57 5 2 l O Allocation IR vn certi reete Hes teet tie e vii tee eerta 57 5 3 LO Allocation DM tette e eee ies 60 5 4 Dransfercommatidos 6 cete E eite er E ite ans 61 APPENDIX A APPENDIX B B I Basic RUN template program uincere ede ER erano Pet Ree Gre e Ae eret aerae 71 B 2 Basic Writing Parameter template program sees enne 71 B 3 Basic Read Parameter template program ccsccssceseeesecesecseecseeeseeeneeseeeseenseensecaecnaecaaecaaecaeecaeseseeeeeeeneeeeeerees 76 B 4 Basic Positioning template program sssssesesseseeeee eene nennen enne enn eterne 79 REVISION HISTORY 5 ctoesises escena cu oin onus en eto
12. MV Dec Sequencer bit register Sequencer bit register Acceleration ramp MV Deceleration Ramp MV Acceleration ramp MV Deceleration Ramp MV Appendix B Setpoint Freguency Reference Unit depends on n152 Setpoint Frequency Reference Unit depends on n152 73 Example Programs 000009 28 02 m 21 State 2 Appendix B MOV amp 4000 DM2036 Setpoint Frequency Reference Unit depends on n152 MV Freq MOV 21 H amp 150 DM100 Acceleration ramp MV MV Acc MOV 21 000010 28 03 amp 150 DM101 Deceleration Ramp MV MV Dec MOV 21 State 3 amp 500 DM2036 Setpoint Frequency Reference Unit depends on n152 MV Freq MOV 21 jp H amp 5 DM100 Acceleration ramp MV MV Acc MOV 21 H amp 5 DM101 Deceleration Ramp MV MV Dec Example Programs Appendix B 000011 Data structure for writing non mapped parameter on inverter In this case 113h MEMOBUS is Accel Ramp we write in two consecutive 114h as well decel Source is DM1950 Response in DM1970 253 13 MOV 21 H P On amp 5 Always DM1950 L area decided to be the standard for explicit transfer data P L Are Command operations MOV L 21 0113 DM1951 MOV 3 2 H amp 2 DM1952 MOV 5 21 DM100 Acceleration ramp MV DM1953 MOV S 21 H DM101 Deceleration Ramp MV MV
13. SP Scaled Final HighSpeedCounter MAX VALUE HighSpeedCounter position offset High word Present Value HighSpeedCounter MAX VALUE PV Scaled First SP amp PV Scale Denominator SP PV Scale N2 Half SP PV Scale N2 Half H 89 Example Programs Appendix B DM64 PV Scal DM14 SP PV DM40 PV Scal CLC 41 DIVL 57 DM40 PV Scal DM12 SP PV DM40 PV Scal CLC 41 000009 POSITION Finding the error and the direction 2 00 i Control M O speed SUBL 55 DM52 PV DM56 HSC Po DM58 POS Err 255 04 P_CY Carry Negative Calculatio 90 PV Scaled First SP PV Scale N2 Half PV Scaled First PV Scaled First SP amp PV Scale Denominator PV Final PV Final SP amp PV Scale Numerator PV Final PV Final PV Scale for rotary wrap PV Whole Turns Present Value HighSpeedCounter position offset High word Positioning error HighSpeedCounter position offset High word Present Value Positioning error Calculation error has been generated Example Programs 000010 POSITION Defining a acceptable positioning window 2 00 j 1 Control M 0 speed 255 07 L 1 PIT In Positio Less Demand 255 07 L j d RA 122 Q P_LT In_Positio Less Second 000011 POSITION Performing a P controller 40 omPL 60 Control M DM58 Hnayead POS Err 255 05 DM26 Max Po
14. SUBROUTINE ENTRY SBN 92 SUBROUTINE RETURN RET 93 MACRO B Interrupt Control Instructions Name INTERRUPT CONTROL MCRO 99 Mnemonic STIM 69 Variations INTERVAL TIMER INT 89 70 CHANGE RS 232C SETUP B Step Instructions Name STEP DEFINE STUP Mnemonic STEP 08 STEP START SNXT 09 B User Error Instructions FAILURE ALARM AND RESET Mnemonic FAL 06 SEVERE FAILURE ALARM B Display Instructio Name MESSAGE DISPLAY FALS 07 ns Mnemonic MSG 46 B Carry Flag Instructions Name Mnemonic Variations SET CARRY STC 40 Variations CLEAR CARRY CLC 41 Note 1 Expansion instructions with default function codes Example Programs Appendix B Appendix B Example programs B 1 Basic RUN template program The PLC option board for 3G3MV Inverters provides a very simple interface and direct way of controlling the RUN and speed reference of the inverter Parameter Description Default Value DM2036 WORD R W MV Freq Ref Set Speed reference in decimal value Units 0 Decimal according to n035 By default 0 01Hz n035 0 207 00 BIT R W MV_FWRUN_S1 Generates Forward Run Command 1 0 207 01 BIT R W MV_RVRUN_S2 Generates Reverse 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
15. not all models which allows for a cheap connection to other 3G3MV P10CDT s other Inverters NT terminals etc Example System Configuration A basic standalone application with HMI Introduction SECTION 1 A typical winder application diss LINE NOTORS E WINDER ENCODER MOTOR s DANCER ANALOG REFERENCE OR RS 422 COMMS The 3G3MV and PLC Option Unit take care of diameter calculation dancer PID user input etc The other simply run in speed control This type of appli cation uses both RS 232C and RS 422 communication Loss of Inverter functionality Whenever the 3G3MV P10CDT is attached to a 3G3MV Inverter the follow ing functionality of the Inverter is lost e 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 e Only one analog input can be read directly The other input can be read by using the Transfer command in combination with PID with feedback e The analog outputs cannot be controlled by the 3G3MV P10CDT Note Minimum Inverter firmware version requirement 24 Introduction SECTION 1 1 1 2 Overview of 3G3MV P10CDT Functions Variations Details Inverter interface Direct interface with 3G3MV Inverter through e R memory e DM memory e Transfer command Interrupts Interrupt inputs 2 inputs Resp
16. 002D 1 13 Terminal P2 output status ON Closed 002D 2 14to 15 Reserved 201 00 Reserved Read 01 Main circuit voltage low UV1 0021 12 only 02 Control power supply error UV2 0021 13 03 Reserved 04 Load short circuit SC Note 1 0029 0 05 Ground fault GF Note 1 0029 1 06 Overcurrent OC 0021 0 07 Overvoltage OV 0021 1 08 Inverter overheat OH 0021 3 09 Reserved 10 Motor overload OL1 0021 9 11 Inverter overload OL2 0021 2 12 Overtorque detection OL3 0021 10 1310 15 Reserved 202 00 External fault 3 EF3 Read 01 External fault 4 EF4 only 02 External fault 5 EF5 si 03 External fault 6 EF6 ii 04 External fault 7 EF7 05 to09 Reserved 10 Input phase failure PF Note 1 0029 2 11 Output phase failure LF Note 1 0029 3 57 Inverter Interface SECTION 5 12 Reserved 13 Operator connection error OPR 0021 15 14to 15 Reserved Word s Function Inverter Register 00 to05 Reserved 06 External fault EFO 07 Loss of PID feedback FBL 08 Low torque detection UL3 09 to 14 Reserved 15 Hardware error Fxx 00 Terminal S1 ON Closed 01 Terminal S2 ON Closed 02 Terminal S3 ON Closed 03 Terminal S4 ON Closed 04 Terminal S5 ON Closed 05 Terminal S6 ON Closed 06 Terminal S7 ON Closed 07to15 Reserved 00 NetRef status OFF Inverter reference enabled ON PLC
17. 10 Hz to 10 kHz 10 Hz to 10 kHz Pitch 10 Hz 0 1 Hz 10 Hz 10 Hz Up down frequency pitch 10 Hz See note 2 10 Hz See note 2 Start speed pitch 10 Hz 10 Hz Output mode Continuous Independent Continuous Continuous Independent Continuous Independent Number of pulses 1 to 16777215 1 to 16777215 1 to 16777215 Duty ratio See note 3 50 0 to 100 50 50 Control method Movement specification Yes No Yes Yes Accel decel specification No No Yes Yes Start speed specification No No Yes 48 Duty specification No No With single phase pulse outputs pulse outputs 0 and 1 can each be output independently Pulse outputs can be accelerated or decelerated in units of 10 Hz every 10 ms Actual pulses are affected by the transistor output s ON response time 20 us max and OFF response time 40 us max Communication Counter and Pulse SECTION 4 4 4 1 Using Single phase Pulse Fixed Duty Ratio Select the pulse output number Pulse output number 0 or 1 Wire the outputs Output numbers 01000 and 010001 PLC Setup DM 6629 PV coordinatesystem for pulse output 0 and 1 Create a ladder diagram program PULS 65 For setting the number of pulses SPED 64 For pulse output control without acceleration and deceleration INI 61 For sto
18. 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 again Changes made while in MONITOR mode using for example online editing are written to flash memory in real time Unit Components and Specifications 2 1 3 I O Specifications 2 1 3 1 Input voltage Input Specifications All Specification 24 VDC SECTION 2 Input impedance INOO000 to IN00001 15 2 7 KQ INOO002 to IN00004 3 9 KQ INOO005 4 7 kQ Input current INOO000 to INOO001 8 mA typical INOO002 to INO0004 6 mA typical INOO005 5 mA typical ON voltage current INOO000 to INO0001 17 VDC min 5 mA INOO002 to INO0005 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 Circuit configuration Note INOOO000 to IN00001 g 5 E o T E g E Input LED E INOO002 to INO0004 Internal circuits INOO005 The input time constant can be set to 1 2 3 5 10 20 40 or 80 ms in the PLC Setup Inte
19. agna epa n e Cerea sae beau suene T vi About this Manual The 3G3MV P10CDT is a high speed Programmable Controller PLC with a build in 3G3MV Inverter interface There are two manuals describing the setup and operation of the 3G3MV P10CDT The 3G3MV P10CDT Operation Manual this manual and the CPM1 CPM1A CPM2A CPM2C SRM V2 Programming Manual W353 The CPM1 CPM1A CPM2A CPM2C SRM1 V2 Programming Manual is referred to as simply the Programming Manual in this manual This manual describes the system configuration and installation of the 3G3MV P10CDT and provides a basic explanation of operating procedures for the Programming Consoles Read this manual first to acquaint yourself with the 3G3MV P10CDT Refer to the SYSDRIVE 3G3MV Multi function Compact Inverter User s Manual for descriptions of the specifications and installation of the 3G3MV Inverters The SYSMAC Support Software Operation Manuals Basics and C series PLCs W247 and W248 provide descriptions of SSS operations for the 3G3MV P10CDT and other SYSMAC C series PLCs The SYS MAC CPT Support Software Quick Start Guide W332 and User Manual W333 provide descriptions of ladder diagram operations in the Windows environment The CX Programmer User Manual W361 and the CX Server 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 instal
20. below shows the timing of the Transfer command in case the command is cancelled before completion The timing is the same for reading and writing 210 00 R or 210 01 W Transfer Command Bit 206 03 Transfer Busy Flag 206 01 Transfer Completion Flag 206 02 Transfer Error Flag DM K Transfer Response 1 When the Transfer Command Bit is turned ON the Transfer Busy Flag will turn ON and the command specified in the DM Area L will be processed 2 When 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 turned ON the response is present in the DM Area K 5 When the Transfer Command Bit is turned OFF the Transfer Busy Flag and Transfer Completion Flag will turn OFF 5 4 6 Transfer Ladder Program 66 The following ladder program can be used to transfer data from and to the In verter Trigger po DIFU R1 Transfer R1 NW Transfer Transfer Transfer R2 Completion Error R2 Inverter Interface SECTION 5 5 4 7 Transfer Error Codes During reading During writing 0001 Inverter response T
21. can use a 200ppr encoder if we require full speed range This is 5KHz at top speed B 4 7 Program structure The program structure is as follows Project Workspace RB User Parameter Init Fg User Application E Pos Loop e User Parameter Init will be used by the customer to initialise Position program parameters and application own parameters e 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 e Pos Loop provides the position speed control capabilities e Pos HomeSequence provides the home sequence facilities B 4 8 Setting position parameters The software provides the following BIT WORD interface area and default values NOTE as the reading of the encoder signal comes from quadrature signals the name quads refers to four counts for each encoder pulse It means a 200ppr encoder will provide a real resolution of 800 quads per revolution The frequency limit is defined by the real pulse limit not quads Default values are the default values in the examples provided Customer can fill its own values It is recommended to first do a trial run in speed with small reference and check that the counting of the encoder corresponds to speed reference given If not some wiring might be wrong Once positive sense corresponds to positive count then we can go f
22. comparison Registers range comparison table and starts comparison Q INI 61 Start comparison Starts comparison with registered comparison table Stop comparison Stops comparison Change PV Changes the high speed counter PV Read PV Reads the high speed counter PV Read status Reads the high speed counter status Read range comparison result Reads range comparison result Mask all interrupts Prohibits all interrupts including interrupt inputs interval timer interrupts high speed counters etc Unmask all interrupts Permits all interrupts including interrupt inputs interval timer interrupts high speed counters etc The following table shows the data areas related to high speed counter con trol 00 to 15 00 to 15 High speed counter PV Contents Reads high speed counter PV 00 High speed counter reset When this bit turns ON a software reset is triggered for the high speed counter 00 to 07 High speed counter range ON Condition satisfied comparison results OFF Condition not satisfied 08 High speed counter comparison ON Comparison in progress OFF Comparison stopped 09 High speed counter PV overflow underflow ON Overflow underflow OFF Normal Communication Counter and Pulse SECTION 4 4 3 Input Interrupts In Counter Mode The four built in interrupt inputs in the 3G3MV P10CDT Unit can be
23. duty ratio during pulse while pulse outputs with variable duty ratio are already in progress INI 61 Stop pulse outputs Stops the pulse outputs PRV 62 Read pulse output status Reads the pulse output status during pulse outputs The following table shows the words and bits related to pulse outputs with variable duty ratio Contents Pulse output in progress ON In progress by SPED 64 for pulse output O ACC or PWM OFF Stopped Pulse output in progress ON In progress by SPED 64 for pulse output 1 ACC or PWM OFF Stopped 4 4 3 Using Pulse Outputs With Trapezoidal Acceleration Deceleration Select the direction and control method Pulse direction or up down output Select the pulse output number Pulse output number 0 Wire the outputs Output numbers 01000 and 01001 PLC Setup DM6629 PV coordinate system for pulse output number 0 Create a ladder diagram program PULS 65 For setting the number of output pulses ACC For controlling pulse outputs with trapezoidal 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 S3 Communication Counter and Pulse SECTION 4 Pulse Outputs With Trapezoidal Acceleration and Deceleration PuLs es SET e ACC OOMTROL now Pulse CW PULSES instruction 0001 Di
24. reflect the status of the input even when that input is being used for a high speed counter Note a When interrupt inputs are used in interrupt input mode the indicator may not light even when the interrupt condition is met if the input is not ON long enough b Input indicators will reflect the status of the corresponding inputs even when the PLC is stopped but the corresponding input bits will not be refreshed 3 Output indicators yellow The output indicators are lit when the corresponding output terminal is ON The indicators are lit during I O refreshing The status of an output indicator will also reflect the status of the corresponding output when the output is be ing used as a pulse output 4 PLC status indicators The following indicators show the operating status of the PLC Indicator Status Meaning PWR ON Power is being supplied to the unit green Power isn t being supplied to the unit RUN ON The PLC is operating in RUN or MONITOR green mode OFF The PLC is in PROGRAM mode or a fatal error has occurred ERR ALM ON A fatal error has occurred PLC operation red stops Flashing A non fatal error has occurred PLC operation continues OFF Indicates normal operation COMM1 Flashing Data is being transferred via the peripheral or OFF Data isn t being transferred via communica tions port COMM2 Flashing Data is being transferred via the RS 232C port yellow OFF Data isn t being
25. system before attempting any of the following Not doing so may result in an unexpected operation e Changing the operating mode of the PLC e Force setting force resetting any bit in memory e Changing the present value of any word or any set value in memory Resume operation with a new CPU Unit only after transferring the contents of the DM Area HR Area and other data required for resuming operation to the new Unit Not doing so may result in an unexpected operation Do not pull on the cables or bend the cables beyond their natural limit Doing either of these may break the cables Do not place objects on top of the cables or other wiring lines Doing so may break the cables Before touching a Unit be sure to first touch a grounded metallic object in order to discharge any static built up Not doing so may result in malfunc tion or damage Do not touch circuit boards or the components mounted to them with your bare hands There are sharp leads and other parts on the boards that may cause injury if handled improperly Do not attempt to take any Units apart to repair any Units or to modify any Units in any way xiii PRECAUTIONS 8 EC Directives 8 1 Applicable Directives 8 2 Concepts Note e EMC Directives e Low Voltage Directive EMC Directives OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or the overall machine Th
26. the shielding of the Peripheral connector 3 5 Programming Device Connections For a complete overview of Programming Device connections see section 3 4 9 of W377 Operation Manual CPM2C S Note When using CX Programmer select CPM2 S as PLC Device Type 37 SECTION 4 Communication Counter and Pulse This section describes the communication settings and the use of the counter and pulse output functionality of the 3G3MV PIOCDT 4 1 PEC setup Communication torte oa delis e RE ea Ee D e BEN ea 39 4 1 1 RS 232C Port Communications Settings eese esteem eeree tret tree nre 39 4 1 2 Peripheral RS 422 485 Port Communications Settings esee 40 4 2 High peed Counters 2 02 Teeth tette tap Re t e Pe E RENE 42 4 3 Input Interrupts In Counter Mode nennen ennemi enne eterne innen ener enne 45 4 4 Pulse Output Functions zoe ve Ges st oe ERRORS OSEE EE ed eee ee IR TERRE 48 4 4 Using Single phase Pulse Fixed Duty Ratio eese ener 49 4 4 2 Using Pulse Outputs With Variable Duty Ratio esee ener nre 32 4 4 3 Using Pulse Outputs With Trapezoidal Acceleration Deceleration eee 53 38 Communication Counter and Pulse SECTION 4 4 1 PLC setup Communication 4 1 1 RS 232C Port Communications Settings The following settings are effective after transfer to the PLC If pin 2 of the 3G3MV P10CDT Unit s DIP switch is ON communications through the 3G3MV P10CDT s R
27. used in counter mode as inputs of up to 2 kHz These inputs can be used as either incrementing counters or decrementing counters triggering an interrupt i e executing an interrupt subroutine 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 PLC Setup DM 6628 Create a ladder diagram program Input numbers 00003 or 00004 1 Use as interrupt input interrupt input mode or counter mode INI 61 Change counter PV INT 89 Refresh SV PRV 62 Read counter PV SBN 92 and RET 93 For creating interrupt subroutines Used only for count up interrupts 45 Communication Counter and Pulse SECTION 4 noon Counter 2 kHz 0 Interrupt input 1 n0004 noo08 3 00008 Counter 2 kHz 1 Counter 2 kHz 2 Counter 2 kHz 3 PC Setup DM 6628 PLC Setup interrupt input usage DM 6628 00 to 03 Interrupt input counter mode Interrupt generated Ladder diagram program INT 89 INTERRUPT CONTROL instruction Change SV increment decrement Counter SV Counter 0 SR 240 _SR 241 SR 242 Counter 1 Counter 2 Counter 3 SR 243 lu MODE CONTROL instruction Change P
28. word position references So 80000000 quadrature pulses approximately e The values allowed for the fractional factor limit the reference position range Scaling intermediate results can only be two word values The bigger the factor the shortest the position reference al lowed It is recommended to use values from 1 to 10 in N1 and N2 e We don t have the real concept of following error as the program does not perform a real positioning profile We only have the demanded real position error B 4 4 Inverter PLC Setup We need some specific settings in the inverter for a correct positioner work e We will use two sets of ramps one is for the positioning with acceleration defined and deceleration set to zero e n021 1 sec n022 0 sec for position control n022 must be always zero 79 Example Programs Appendix B e The other will be used in speed control mode where we require both acceleration and deceleration to be active e n019 2 sec n020 2 sec for speed control or any desired e n54 11 accel deccel change by S5 or internally controlled by PLC To allow the program to do the changeover automatically The PLC will simulate that input by 207 04 control bit e tis recommended a modified VF curve for better response in the lower frequency range Typically for Vector values like following are good initial values e n015 30V n016 0 1Hz n017 15Hz e Keep n35 0 0 01Hz resolution of speed references for better
29. 1 1 3 2 Operating Modes PROGRAM Mode A Caution MONITOR Mode RUN Mode 3G3MV P10CDT Units have 3 operating modes PROGRAM MONITOR and RUN The program cannot be executed in PROGRAM mode This mode is used to perform the following operations in preparation for program execution Changing initial operating parameters such as those in the PLC Setup Writing transferring or checking the program e Checking wiring by force setting and force resetting I O bits The PLC continues to refresh I O bits even if the PLC is in PROGRAM mode so devices connected to output points may operate unexpectedly if the corresponding output bit is turned ON by transferring I O memory or force setting output bits from a Programming Device 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 e Monitoring I O memory during operation Force setting force resetting I O bits changing set values and changing present values during operation The program is executed at normal speed in RUN mode Operations such as online editing force setting force resetting I O bits and changing set values present values cannot be performed in RUN mode but the status of I O bits can be monitored Introduction SECTION 1 1 3 3 Operating Mode at Startup The operating mode of the 3G3M
30. 1 4 Comparison with the CPM2CSS eese gea ina atento eis iden 10 1 5 Preparation for Operation 1 esit eee ede d eee ee eee Rei e RES 16 Introduction SECTION 1 1 1 3G3MV P10CDT Features and Functions 1 1 1 3G3MV P10CDT Features The 3G3MV P10CDT PLC Option Units are compact CPM2C PLCs that have been equipped with a 3G3MV Inverter interface The 3G3MV P10CDT incor porates a variety of special features just like the CPM2C including synchro nized pulse control interrupt inputs pulse outputs and a clock function e The Inverter interface reduces wiring and saves space Instead of using a CPM2C with CIF11 to communicate to an 3G3MV Inverter the P10CDT communicates directly to the Inverter without the overhead e The 3G3MV P10CDT itself can handle a wide range of 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 e The 3G3MV P10CDT CPU Unit has a total of 10 I O points 6 inputs 3 transistor outputs and 1 relay output e The communications port can be used simultaneously as two ports Pe ripheral and RS 232C The peripheral port supports Programming De vices Host Link and no protocol communications The RS 232C port supports Host Link no protocol serial 1 1 PLC Link and 1 1 NT Link communications e Included is also an RS 422 485 interface
31. 2 stop bits 9 600 bps causes a non fatal error and turns ON AR 1302 Communication Counter and Pulse SECTION 4 DM 6652 Word s DM 6653 00 to 15 00 to 07 Transmission delay 0000 to 9999 BCD sets a delay of 0 to 99 990 ms Any other setting specifies a delay of 0 ms causes a non fatal error and turns ON AR 1302 Function Node number Host Link 00 to 31 BCD Any other setting specifies a node number of 00 causes a non fatal error and turns ON AR 1302 08 to 11 Start code selection for no protocol communications 0 Disables start 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 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 DM 6654 00 to 07 Start code 00 to FF This setting is valid only when bits 8 to 11 of DM 6653 are set to 1 08 to 15 When bits 12 to 15 of DM 6653 set to 0 Sets the number of bytes to receive 00 256 bytes 01 to FF 1 to 255 bytes When bits 12 to 15 of DM 6653 set to 1 Sets the end code 00 to FF 41 Communication Counter and Pulse SECTION 4 4 2 High speed Counters 3G3MV P10CDT Units have four points for high speed counters One point for a high speed counte
32. 4 VDC 10 to 100 mA 0 1 ms max for 4 5 to 30 VDC 10 to 200 mA Fuse One fuse per output cannot be replaced by user Circuit configuration P OUT Internal circuits 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 transistor will generate more heat and com ponents may be damaged N Caution Do not apply voltage in excess of the maximum switching capacity to an output terminal It may result in damage to the product or fire 24 Unit Components and Specifications 2 1 4 Dimensions 128 lo D 55 SECTION 2 25 Unit Components and Specifications SECTION 2 2 2 Unit Components 2 2 1 CPU Unit Component Names Front view 8 RS 422 485 switch 9 Terminating Resistance switch 10 I O connector 1 DIP switch 4 PC status indicators adu DU
33. 915 IR Area 880 bits IR 00100 to IR 00915 words IR 001 to IR 009 IR 01100 to IR 02815 words IR 011 to IR 028 IR 03000 to IR 04915 words IR 030 to IR 049 IR 22000 to IR 22715 words IR 220 to IR 227 8 bits TR 0 to TR 7 320 bits HR 0000 to HR 1915 words HR 00 to 19 384 bits AR 0000 AR 2315 words AR 00 to AR 23 256 bits LR 0000 to LR 1515 words LR 00 to LR 15 DM Area Read Write 2029 words DM 0000 to DM 0999 DM 1019 to DM 2047 DM 2000 to DM 2021 Error Log Storage Area Read only 456 words DM6144 to 6599 18 Unit Components and Specifications SECTION 2 Specifications sid en 3 to 19 words DM 2022 to DM 2040 Inverter PLC Setup PLC Setup 56 words DM 6599 to DM 6655 o olem Specifications Interrupt External 2 bits Used in common for input interrupt counter mode and high processing interrupts speed inputs Scheduled 1 bit Scheduled interrupts or one shot interrupts interrupts Pulse outputs 2 bits without acceleration deceleration 10 Hz to 10 kHz each without aie control Or 1 bit with trapezoidal acceleration deceleration 10 Hz to 10 kHz each with directional control Or 2 bits Variable duty ratio output Pulse synchronous control 1 bit A high speed counter can be combined with pulse output and the input pulse frequency from the high speed counter can be multiplied by a fixed factor for pulse output Pulse catch inputs 2 bits Minimum pul
34. CPM2C CN111 and XW2Z 200S 500S no peripheral port connection CPM2C CN111 and XW2Z 200S V 500S V no peripheral port connection Introduction SECTION 1 1 3 4 Cyclic Operation and Interrupts Initialisation processing is performed when the power is turned on If there are no initialisation errors the overseeing processes program execution I O refreshing and communications port servicing are performed repeatedly cy Basic CPU Operation clically Initial Processing Inverter interface initial Processing Common processing Inverter IN refresh Program execution processing Cycle time calculation processing I O refesh Inverter OUT refresh Inverter Modbus transfer 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 Inverter is currently processing nothing will be done and it will be checked with the next scan The cycle time can be read from a Programming Device AR 14 contains the maximum cycle time and AR15 contains the present cycle time in multiples of 0 1 ms Introduction 1 4 Comparison with the CPM2C S CPM2C S SECTION 1 3G3MV P10CDT Instruction set Basic instructions 14 14 Speci
35. Cat No 101E EN 01 OMRON USER S MANUAL Programmable Controller Option Board Models 3G3MV P10CDT E and 3G3MV P10CDT3 E For SYSDRIVE 3G3MV Multi function Compact Inverters 3G3MV P10CDT PLC Option Unit User s Manual Revised June 2003 Notice OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual The following conventions are used to indicate and classify precautions in this manual Always consult the information provided with them Failure to heed precautions can result in injury to people or dam age to the product A DANGER Indicates an imminently hazardous situation which if not avoided will result in death or serious injury A WARNING Indicates a potentially hazardous situation which if not avoided could result in death or serious injury A Caution Indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury or property damage OMRON Product References All OMRON products are capitalised in this manual The word Unit is also capitalised when it refers to an OMRON product regardless of whether or not it appears in the proper name of the product The abbreviation Ch which appears in some displays and on some OMRON products often means word and is abbreviated Wd in documentation in this sense The abbreviation PLC means Programmable Controlle
36. Controller You must read this section and understand the information contained before attempting to set up or operate a PLC system OADM KRWN KK viii Intended Audience 508 ke ee teen ER baste ok ae wee Rta ae E of deii oqp s ix General Precautions 3 3 deer Pe ee ee aoe ah Ree il wird ae hates ix Safety Precautions 21 10 eee eh et iure ARE ure t A ee RS eo eat X Maintenance and Inspection Precautions cccesccesccesesesecsceeseeeseesseeseeeseeeseeeccseceesaeceaeeeaecaecaecaeecaeeeaeeeseenseeneeeas xi Operation and Adjustment Precautions ssssssssesesee eene nennen en nennen entren tenen nnne nnne nnns xi Warning Precautions 3 oed ao nd rr iie qr t e e rera ef t eie op wm xil Application Precautioris uda ei EORR HRS HERI TEN GUORGRU REB GNI xil ECG Dir ctiyes c xiv PRECAUTIONS 1 Intended Audience This manual is intended for the following personnel who must also have knowledge of electrical systems an electrical engineer or the equivalent e Personnel in charge of installing FA systems e Personnel in charge of designing FA systems e Personnel in charge of managing FA systems and facilities 2 General Precautions N WARNING N WARNING N WARNING N WARNING N WARNING The user must operate the product according to the performance specifications described in the operation manuals Before using the product under conditions which are not described in the manual or ap
37. Dec DM1954 MOV L 21 31950 DM2023 L area Destination address for storing transferred data P MV frames 4 digit BCD MOV fo 21 H 1970 DM2024 K area Destination address for storing transfer response P MV R data 4 digit BCD 000012 Transfer function Starts here 255 00 DIFU 13 P 01s 1 00 Write command bit 0 1 000013 1 00 206 03 210 01 Bit Transfer command Write Keep ON during transfer 4 O until not busy P_Transfe P_MVWrit Write Flag Bit 210 01 206 01 206 02 e Aa AE P MVWrit P Transfe P Transfe Bit Flag Flag 206 02 FAL 000014 We 9 H P Transfe 01 Flag 0 05 FAL 000015 I DI5 000016 L_END Section Always needed END 01 Z 75 Example Programs Appendix B B 3 Basic Read Parameter template program This SAMPLE is reading torque monitor of MV 32h value Only Vector It writes in DM101 as BCD Compare with DM2026 Although the selection of the transfer zones is free for the user it is recommended to follow the recommendations PARAMETER Description Recommended 210 00 Transfer Read ON Begin Reading turns OFF when transfer is completed 210 01 Transfer Write ON Begin writing turns OFF when transfer is completed 206 00 Inverter Ready error detected by mutual diagnosis ON Normal OFF Error 206 01 Transfer completion bit ON Transfer completed tu
38. I Scaling is units quads N2 Default values correspond to direct quad control DWORD R W BCD In Position1 Window Defines the width of the In Position output 1 This has to be the most accurate positioning window Usually just some units In units DWORD R W BCD In Position2 Window Defines a wider window for use in the software sequence start some actions just while the movement is being finished In quads DWORD R W BCD Home Initial Pos In units Defines the initial movement to an initial position lt gt 0 after the homing process has been defined DWORD R W Decimal Max Frequency Value in speed units from the inverter depends on n035 We recommend n035 to leave standard 0 so we have the best resolution 0 01Hz 82 DWORD R W BCD P Gain This is the factor that will generate the final speed reference from the position error quads If it is too big we will have overshoot If too low positioning will be slow If we have big inertia it might happen that even with small gain we have instability Example Programs PARAMETER DWORD R W BCD Appendix B Description Max Pos Error This limits the error output This is necessary mainly for calculation limit issues Default Value DWORD R W BCD PV Rotary Scale This is an additional Present Value readout that shows in DM44 Dword Whole DM28 groups of counts and in DM46 Dword the re
39. PLC board 207 00 and 0 207 01 Program Name Simple Position Sample for positioning control Section Name Simple Position 000000 253 13 MOV P On amp 2500 Always l DM2036 Setpoint Frequency Reference Unit depends on n152 MV Freq 000001 0 03 207 00 Bit Terminal S1 activation select by n50 Default Forward f Q P DI3 MV FWR DI3 Bit vina 0 04 20701 Bit Terminal S2 activation select by n51 Default Reverse 000002 P p l 2 P_Dl4 MV RVR Di4 Bit 000003 END Section Aways needed END 01 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 same rules like operator terminal action are applied Some parameters are not possible to change During Run etc This SAMPLE is changing ramp n19 113h amp n20 114h values dynamically at the same time like speed from a sequencing program using a timed state machine sequencer Also shows the use of the 4 PLC outputs 71 Example Programs Program Name MainProgram This SAMPLE is changing ramp n19 113h amp n20 114h values dinamically at the same time like speed from a sequencing program using a timed state m achine sequencer Also shows the use of the four outputs Section Name MainProgram Main program
40. Parts of the I O memory are cleared when the power is turned ON and other parts are retained Program This is the program written by the user The 3G3MV P10CDT executes the program cyclically Refer to section 1 3 4 Cyclic Operation and Interrupts for details The program can be divided broadly into two parts the main pro gram that is 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 regularly while the power is ON It will be necessary to turn the power OFF and then ON again to enable a new setting if the pa rameter is accessed only when the power is turned ON Note Refer to 4 1 PLC setup for details on the PLC Setup Communications The Communications Switches determine whether the peripheral port and Switches RS 232C port connected through the communications port operate with the standard communications settings or the communications settings in the PLC Setup Inverter Interface The PLC core communicates to the Inverter through IR DM memory either by direct mapping or through the Transfer command Note Refer to section 5 4 Transfer command for more details Introduction SECTION
41. S 232C port are governed by the default settings all 0 regardless of the settings in DM 6645 through DM 6649 Word s Function DM 6645 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 6646 Any other setting will cause a non fatal error and AR 1302 will turn ON 04 to 07 CTS control setting 0 Disable CTS control 1 Enable CTS control Any other setting will cause a non fatal error and AR 1302 will turn ON 08 to 11 Link words for 1 1 data link 0 LR 00 to LR 15 Any other settings are ineffective 12 to 15 Communications mode 0 Host Link 1 No protocol 2 1 1 PLC Link Slave 3 1 1 PLC Link Master 4 NT Link Any other setting causes a non fatal error and turns ON AR 1302 DM 6646 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 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 bit Odd 08 1 bit 8 bits 1 bit None 09 1 bit 8 bits 2 bits Even 10 1 bit 8 bits 2 bits Odd 11 1 bit 8 bits 2 bits None Any other setting specifies standard settings 1 start bit 7 data bits even parity 2 stop bits 9 600 bps causes a non fatal error and t
42. TIM CNT 255 DM Data Read write 2 022 words 1 993 words Memory area area DM 0000 to DM 2021 DM 0000 to DM 1985 DM 2041 to DM 2047 Reserved 14 words DM 1986 to DM 1999 Read only 456 words 456 words area DM 6144 to DM 6599 DM 6144 to DM 6599 PLC Setup 56 words 56 words DM 6600 to DM 6655 DM 6600 to DM 6655 Inverter Interface 288 bits IR 20000 to IR 21715 19 words DM 2022 to DM 2040 Introduction Memory backup Program area read only DM area including PLC Setup CPM2C S Flash memory backup SECTION 1 3G3MV P10CDT Flash memory backup Read write DM area HR area AR area and counters Internal battery backup 2 year life time at 25 C replaceable Unit with clock Internal battery backup 5 year lifetime at 25 C non replaceable Unit without clock Capacitor backup 10 day backup at 25 C CompoBus S Master Functions Up to 32 Slaves can be connected and up to 256 I O points can be controlled DeviceNet Slave Functions DeviceNet Remote I O Link Use up to 1 024 I O points in the I O Link Explicit Message Communications Any PLC data area can be accessed from the Master Interrupt inputs interrupt input mode 2 2 Interrupt inputs Counter mode counter mode Incrementing counter Decrementing counter Incrementing counter Decrementing counter Counter upper limit 2 kHz 2 kHz SR 244 to SR 247 Contains counter PV Co
43. V Specified subroutine executed Used only for count up interrupts I SBN 92 hRe 3 Every scan Immediately Counter SV Counter 0 SR 244 Counter 1 SR 245 Counter 2 SR 246 Counter 3 SR 247 Function HIGH SPEED COUNTER PRV 62 PV READ instruction Read counter PV The following table shows the settings in the PLC Setup area related to Setting Interrupt setting for input 00003 04 to 07 0 Normal input 1 Interrupt input Interrupt setting for input 00004 interrupt input mode or counter mode 2 Quick response input 08 to 15 Not used 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 Communication Counter and Pulse SECTION 4 Ladder Diagram The following table shows the instruction operations related to interrupt input Programming counter mode control Instruction Control Operation Q INT 89 Refresh incrementing Refreshes the counter s SV and starts the counter SV incrementing count Refresh decrementing Refreshes the counter s SV and starts the counter SV decrementing count Mask all interrupts Prohibits all interrupts including interrupt inputs interval timer interrupts high speed counters etc Unmask all interrupts Permits all interrupts including interrupt inputs interval timer interrupts high s
44. V P10CDT when the power is turned ON depends upon the setting of pin 2 on the DIP switch on the front of the 3G3MV P10CDT the PLC Setup settings in DM 6600 and the Programming Console s mode switch setting if a Programming Console is connected PLC Setup setting Operating mode Word Bits Setting Note 1 Note 2 DM 6600 08to 15 00 Hex See note 1 01 Hex Startup mode is the same as the operating mode before power was interrupted Hex Startup mode is determined by bits 00 to 07 00to007 00 Hex PROGRAM mode Hex MONITOR mode The operating mode at startup depends upon the setting of DIP switch pin 2 and the Programming Device connected to the communications port periph eral port Programming Device Pin 2 OFF Pin20N X 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 OO If this default setting is used and pin 2 is OFF the SG3MV P10CDT will automatically start operating in RUN mode when the power is turned ON If pin 2 is OFF and only an RS 232C cable is connected to the communica tions port i e there is no peripheral port connection the 3G3MV P10CDT will automatically start operating in RUN mode when the power is turned ON Example Cable Connections CS1W CN118 and XW2Z 200S 500S CS1W CN118 and XW2Z 200S V 500S V
45. al instructions 105 instructions 185 variations 105 instructions 185 variations Instruction Basic instructions LD 0 64 us LD 0 64 us execution times Special instructions MOV 21 7 8 us MOV 21 7 8 us Program capacity 4 096 words 4 096 words Maximum Stand alone CPU Unit 10 points 10 points number of I O points CPU Unit with Expansion I O Units 362 points max Expansion Units and Expansion Maximum number of Units A maximum of 3 Units Available models Expansion I O Units Analog I O I O Units Unit Temperature Sensor Unit and CompoBus S I O Link Unit I O memory Input bits IR 00000 to IR 00915 IR 00000 to IR 00005 Output bits IR 01000 to IR 01915 IR 01000 to IR 01003 l O memory Work bits 672 bits 880 bits 10 IR 02800 to IR 02915 IR 03800 to IR 04915 IR 20000 to IR 22715 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 TRO to TR7 8 bits TRO to TR7 HR Holding Relay area 320 bits 320 bits HR 0000 to HR 1915 HR 0000 to HR 1915 AR Auxiliary Relay area 384 bits 384 bits AR 0000 to AR 2315 AR 0000 to AR 2315 LR Link Relay area 256 bits 256 bits LR 0000 to LR 1515 LR 0000 to LR 1515 Timer Counter area 256 bits 256 bits TIM CNT 000 to TIM CNT 255 TIM CNT 000 to
46. antity 16 777 215 to 16 777 215 16 777 215 to 16 777 215 Direction control Supported Supported Positioning to absolute Supported Supported positions Bit status while pulses are 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 Status outputs Accelerating decelerating PV overflow underflow Pulse quantity set Pulse output completed Pulse output status Accelerating decelerating PV overflow underflow Pulse quantity set Pulse output completed Pulse output status Clock function Internal Internal or none Words containing time info AR 17 to AR 21 AR 17 to AR 21 Communications switch This switch determines whether communications are governed by the standard settings or PLC Setup settings Also sets the Programming Device connection This switch determines whether communications are governed by the standard settings or PLC Setup settings Also sets the Programming Device connection Battery Battery Internal lithium battery backup Unit with clock Internal lithium battery backup Battery replacement Possible Not possible Life expectancy 2 year lifetime at 25 C Unit with clock 5 year lifetime backup time at 25 C Battery error detection Supported Supported 13 Introduction Communications in CPU U
47. ble outlines the changes made to the manual during each revision Page numbers refer to the previous version Revision code Date Revised content June 2003 Original production 97
48. c CMP 20 TABLE COMPARE TCMP 85 DOUBLE COMPARE CMPL 60 BLOCK COMPARE BCMP 68 AREA RANGE COMPARE ZCP DOUBLE AREA RANGE COMPARE ZCPL ROTATE LEFT ROTATE RIGHT ROL 27 ROR 28 ONE DIGIT SHIFT LEFT SLD 74 ONE DIGIT SHIFT RIGHT SRD 75 REVERSIBLE SHIFT REGISTER SFTR 84 Q E ASYNCHRONOUS SHIFT REGISTER ASFT 17 B Increment Decrement Instructions Name INCREMENT Mnemonic INC 38 Variations DECREMENT Bi Calculation Instru BCD ADD DEC 39 ctions Mnemonic ADD 30 Variations BCD SUBTRACT SUB 31 BCD MULTIPLY MUL 32 BCD DIVIDE DIV 33 BINARY ADD ADB 50 BINARY SUBTRACT SBB 51 BINARY MULTIPLY BINARY DIVIDE MLB 52 DVB 53 DOUBLE BCD ADD ADDL 54 DOUBLE BCD SUBTRACT SUBL 55 DOUBLE BCD MULTIPLY MULL 56 Q O O e e DOUBLE BCD DIVIDE DIVL 57 Note 1 Expansion instructions with default function codes 69 B Conversion Instructions B Pulse Control Instructions Mnemonic Variations Mnemonic Variations BCD TO BINARY BIN 23 MODE CONTROL INI 61 BINARY TO BCD BCD 24 HIGH SPEED COUNTER PRV 62 DOUBLE BCD TO DOUBLE BINL 58 PV READ BINARY REGISTER COMPARISON CTBL 63 DOUBLE BINARY TO BCDL 59 TABLE DOUBLE BCD Bi Pulse Ou
49. chemicals e Locations subject to shock or vibration A Caution Do not allow foreign objects to enter inside the product Doing so may result in fire or malfunction N Caution Do not apply any strong impact Doing so may result in damage to the product or malfunction AN Caution Be sure to wire correctly and securely Not doing so may result in injury or damage to the product N Caution Be sure to firmly tighten the screws on the terminal block Not doing so may result in fire injury or damage to the product N Caution Carefully handle the product because it uses semiconductor elements Careless handling may result in malfunction A Caution Take appropriate and sufficient countermeasures when installing systems in the following locations Not doing so may result in equipment damage e Locations subject to static electricity or other forms of noise e Locations subject to strong electromagnetic fields and magnetic fields e Locations subject to possible exposure to radioactivity e Locations close to power supplies Installation and Wiring SECTION 3 Mounting Procedure A Caution Before installing and wiring an Optional Unit always turn OFF the power to the SYS DRIVE 3G3MV Inverter and wait for the CHARGE indicator to turn OFF 1 Turn OFF the main circuit power supply for the Inverter wait for at least one minute from the time the LED indicator or the CHARGE indicator goes out and remove the front cover of the Inverter al
50. de DM 6642 bits 00 to 03 Reset method Use not use 00002 as ordinary input DM 6642 bits 04 to 07 Function Setting DM 6642 00to03 High speed counter input mode setting 0 Differential phase input 5 kHz 1 Pulse direction input 20 kHz 2 Up down input 20 kHz 4 Increment 20 kHz 04 to 07 High speed counter reset method setting 0 Phase Z signal software reset 1 Software reset 08to 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 control 300 Hz to 20 kHz The new settings for the System Setup go into effect when operation begins when PROGRAM mode is changed to MONITOR or RUN mode or when the 3G3MV P10CDT s power is turned ON 43 Communication Counter and Pulse SECTION 4 Ladder Diagram Programming 44 The following table shows the instructions related to high speed counter control Instruction Control CTBL 63 Register target value comparison table Operation Registers target value comparison table Register range comparison table Registers range comparison table Register target value comparison table and start comparison Registers target value comparison table and starts comparison Register range comparison table and start
51. default all inputs can be monitored in IR Ch204 However they may have functionality attached to it The function can be changed using n50 n56 Setting the corresponding bit in Ch207 an input can be turned on The analog input can be monitored in DM2034 By default outputs can not be controlled in IR To control the outputs Bits 0 2 in Ch208 the corresponding output setting n57 59 must be set to 18 This means that communication in this case the 3G3MV P10CDT controls the corresponding output 5 4 Transfer command Note Note Note Parameters which are accessible through a corresponding Modbus register inside the 3G3MV Inverter can be accessed by using the Transfer com mand The Transfer command is controlled by e Two command bits one for reading and one for writing e Three status flags busy completion and error flag e Two DM area s one for specifying the command one for specifying the response location Changes to parameters may not take effect immediately Refer to the 3G3MV Manual for details All parameters accessed with the Transfer command use the register num bers and formats of the Modbus interface as defined by 3G3MV The following parameters have different register numbers when accessed through the Transfer functionality compared to accessing through Modbus Parameter Transfer register number The data format of following parameters are different when accessed through the Tran
52. e actual products have been checked for conformity to EMC standards see the following note Whether the products conform to the standards in the system used by the customer however must be checked by the customer EMC related performance of the OMRON devices that comply with EC Directives will vary depending on the configuration wiring and other conditions of the equipment or control panel on which the OMRON devices are installed The customer must therefore perform the final check to confirm that devices and the overall machine conform to EMC standards Applicable EMC Electromagnetic Compatibility standards are as follows EMS Electromagnetic Susceptibility EN61800 3 EMI Electromagnetic Interference EN50081 2 EN5501 1 Radiated emission 10 m regulations Low Voltage Directive Safety standard EN50178 1997 8 3 Conformance to EC Directives xiv 1 2 3 The 3G3MV series products comply with EC Directives To ensure that the machine or device in which the PLC is used complies with EC Directives the PLC must be installed as follows 1 The PLC must be installed within a control panel 2 You must use reinforced insulation or double insulation for the DC power supplies used for the communications power supply and I O power supplies 3 OMRON PLCs complying with EC Directives also conform to the Common Emission Standard EN50081 2 Radiated emission character istics 10 m regulations may vary depending
53. em mounted in place while power is being supplied Not doing so may result in electrical shock malfunction or damage to the product A WARNING Wiring maintenance or inspection must be performed by authorized personnel Not doing so may result in electrical shock or fire A WARNING Wiring maintenance or inspection must be performed after turning OFF the power supply confirming that the CHARGE indicator or status indicators is OFF and after waiting for the time specified on the Inverter front cover Not doing so may result in electrical shock A WARNING Do not damage pull on apply stress to place heavy objects on or pinch the cables Doing so may result in electrical shock operation stoppage or burning A WARNING Do not attempt to disassemble or repair the Unit Doing either of these may result in electrical shock injury or damage to the product A Caution Do not store install or operate the product in the following places Doing so may result in electrical shock fire or damage to the product e Locations subject to direct sunlight e Locations subject to temperatures or humidity outside the range specified in the specifications e Locations subject to condensation as the result of severe changes in temperature e Locations subject to corrosive or flammable gases e Locations subject to exposure to combustibles e Locations subject to dust especially iron dust or salts e Locations subject to exposure to water oil or
54. enabled Note 2 01 NetCtrl status OFF Inverter control enabled ON PLC enabled Note 3 02to07 Reserved 08 Stall prevention operating flag 09to15 Reserved 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 04to15 Reserved 00 Forward Stop ON Forward operation 01 Reverse Stop ON Reverse operation 02 Multi function input 3 Set by n052 03 Multi function input 4 Set by n053 04 Multi function input 5 Set by n054 05 Multi function input 6 Set by n055 06 Multi function input 7 Set by n056 07 Reserved 08 External fault ON Fault EFO 09 Fault reset ON Reset command 10to 13 Reserved 14 Error log clear 15 External Baseblock command BB Note 1 00 Multi function contact output ON Output ON 01 Multi function output 1 ON Output ON 02 Multi function output 2 ON Output ON 0310 15 Reserved 00 NetRef 1 ON Inverter reference enabled OFF PLC enabled Note 4 S8 Inverter Interface SECTION 5 01 NetCtrl 1 ON Inverter control enabled OFF PLC enabled Note 5 0210 15 Heserved Word s Function Inverter Register 00 Transfer Command Read ON Start processing 01 Transfer C
55. epends on n152 MV Freq MOV 21 amp 8 5 HomeSEQ HomeSe 000005 If timer is over and HOME not finished then error TIMO00 3 00 SET mF iSo NN Home Ma Home O 3 001 Home Timed Out without completion Max Home has Home E MOV is 21 H 0 5 HomeSEQ HomeSe 000006 Do initial offset positioning 5 03 SET HomeSeq 2 00 0 speed 1 position HomeSE Control MOV E 21 H amp 16 5 HomeSEQ HomeSe 95 MOV 21 DM20 Home In SP Scal DM10 Appendix B Position to move after home finished SP_Scaled MOV 21 Example Programs 0007 59 j HomeSeq Home TIMOO1 L il d Position Home 000008 5 05 I7 amp 32 5 HomeSe HomeSEQ TIM 001 10 Home Positioning Delay Home and offset finished RSET 1 HomeSeq HomeSE 3 01 Home_Err Home 2 00 0 speed 1 position Control_ RSET 2 03 Speed_ Fwd Run to be used in speed mode RSET Speed_ 2 04 Rev Run to be used in speed mode SET 3 00 Home O Home has been completed RSET MOV 21 amp 00 HomeSe 2 02 Home R 5 Request Home when 1 Goes to zero once finished HomeSEQ Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual Cat No 101E EN 01 _ Revision code The following ta
56. esseee enne enne nnne nennt entren rennen erre nennen xi 5 Operation and Adjustment Precautions c ccesecsseesseesceeseeseceseesseeeeeesecesecesecaecaecnaecsaecaeeeseseaeseaeseseseeeeeeneeeseeaees xi 6 Waring PreCautions lt 4 set siti oa hen n m RO te mtt ERO Ea xii T Application Precautions eoe E RI E RR UE REB ER E E E ie ee E TET UE xii NEN DAD vies 25 roroi taen en rina EEO EEEE OEN EEO E EE EE EEA E O EEEO ETE xiv SECTION 1 1 1 3G3MV PIOCDT Features and Functions 00 0 0 eee scsssecseeeecseeeeceseeeesecseesecsecsccnseecesaecaeesecaeseecnaeeceaeceeeaecaeeeteneees 2 1 2 System Configurations oe sonst ores e E E DE HT C o karte un nt ee uae repetexer E e Dre ete N 5 1 3 3G3MV PLOCDT Structure and Operation ssssssssseseeseeseeeenee eene n rr enr erret 6 1 4 Comparison with the CPM2C S 3 dee aide due oe ee i IR wo biases ere Epio boo de ee 10 125 Preparation for Op ration oie hera hibet dra euenit olea HE cede 16 SECTION 2 UNIT COMPONENTS AND SPECIFICATIONS 17 2 1 Specifications o eno i o Ae Fete ep e e UE OT aa UR AERE ED tt ir e e elo des 18 2 2 R EIS EEE moie deemed ebbe tits 26 SECTION 3 INSTALLATION AND WIRING iiec ss eteeseoo deoa seas eno tov a e ea vv eoo she se totoio DT BV Install tionzz cs onn eee ab e e a nte i sn 32 3 2 Waring s is Eos E es Ea seta sanis ioe ce dime ea iibi ian fite 35 3 3 Connecting VO Devices tete e ERE v d DESI ER NE 35
57. hange from speed to position transition one scan Speed2P I Control M 0 speed 000002 20 Change from position to speed transition 1 scan Pos2Spe Request Transition for Home Request Home R 000003 POSITION In positioning or Homing ramp parameters n21 and n22 are u sed In speed n19 and n20 86 2 00 207 04 Bit Terminal S5 activation select with n54 ait Control M MV S5 0 speed Bit 2 02 Home Re Request Example Programs Appendix B 000004 POSITION RESET positioner Maximum positive counter value Startup value is 8388607 253 15 25200 High Speed Counter Reset P First C P Count First High 4 00 Speed2P Change HighSpeedCounter MAX VALUE High Word 2 01 Position Position MOV 21 8607 DM54 HighSpeedCounter MAX VALUE HSC Ma XFER 70 2 DM54 HighSpeedCounter MAX VALUE HSC Ma DMs6 HighSpeedCounter position offset High word HSC Po MOV 0 0 DM10 SP Scaled SP Scal MOV 0 H 0 DM11 SP Scaled H SP Scal MOV 3 H 0 DM40 PV Final PV Scal MOV 21 H 0 DM41 PV_Final M PV Scal RSET 3 00 Home has been completed Home O RSET 3 00 lHome Timed Out without completion Home E RSET 2 01 Position Reset when set to 1 87 Example Programs 000006 T Pos2Spee Change
58. he PLC 54 Communication Counter and Pulse SECTION 4 Ladder Diagram Programming The following table shows the instruction operations related to pulse outputs with trapezoidal acceleration and deceleration fixed duty ratio Instruction Control Operation Q PULS 65 Set number of pulses Sets the number of pulses to be output in independent mode ACC Set frequency and start Sets the target frequency starting pulse outputs frequency and accelera tion deceleration rate for outputs in independent mode or continuous mode and starts the pulse outputs Change frequency Changes the frequency during pulse output in continuous mode by accelerating or decelerating according to the specified accelera tion deceleration rate Stop pulse outputs Decelerates pulse outputs to a stop according to the specified acceleration deceleration rate INI 61 Stop decelerate stop Stops the pulse outputs pulse outputs Change pulse output PV Changes the pulse output PV PRV 62 Read pulse output PV Reads the pulse output PV 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 Contents 00 to 15 Pulse output PV 0 rightmost 4 digits 00 to 15 Pulse output PV O leftmost 4 digits 00 to 15 Pulse output PV 1 rightmost 4 digits
59. he situation is the same when the PLC mode is changed during a data transfer except for cases where the status of output bits is retained when the mode is changed When an error occurs it is not possible to determine exactly up to what point the data was properly received so the data transfer must be restarted from the beginning When the address K reserved in DM is not valid it is not possible to write the error codes Hence only the error bit is set 67 Inverter Interface SECTION 5 5 4 8 Operations with Command Bit Combinations 68 The table below shows the behaviour of the system when a command bit of one type read or write is set before clearing the previous command bit of the other type Status Transfer Command Bit 2 Transfer Busy error Command occurs Bit 1 Transfer operation is aborted Transfer Busy Busy error occurs Transfer operation is aborted Transfer Completion Busy error occurs Command is not executed Transfer Error 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 e Sending a write transfer command immediately after a read transfer com mand is processed e Sending a read transfer command immediately after a write transfer com mand is not processed B Ladder Diagram Inst
60. here was no response from the There was no response from the error Inverter Inverter 0002 Command bit OFF The command bit turned OFF The command bit turned OFF during during transfer during transfer execution and transfer execution and processing processing was aborted Note 1 was aborted Note 1 0003 Transfer execution The transfer was executed during The transfer was executed during while busy busy status busy status 0004 Multiple start error Writing and reading were both Reading and writing were both activated at the same time activated at the same time 0010 CRC check error The CRC for the read data did not The CRC for the response from the agree Inverter did not agree 0200 Address error An unused address was set An unused address was set 0300 Data number error An attempt was made to read An attempt was made to write more more than 8 registers at the same than 8 registers at the same time 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 Write error An attempt was made to write a during UV constant during UV 2400 Write error An attempt was made to write during processing constants when a write operation was already in progress for the constants Note 1 Note Note T
61. in places where the power supply is unstable An incorrect power supply may result in malfunction Install external breakers and take other safety measures against short circuiting in external wiring Insufficient safety measures against short circuiting may result in burning Do not apply voltages exceeding the rated input voltage to Input Units The xii PRECAUTIONS A Caution Input Units may be destroyed Do not apply voltages exceeding the maximum switching capacity to Output Units The Output Units may be destroyed Install the Units properly as specified in the operation manuals Improper installation of the Units may result in malfunction Wire all connections correctly Double check all wiring and switch settings before turning on the power supply Incorrect wiring may result in burning Mount Units only after checking terminal blocks and connectors completely Be sure that the terminal blocks Memory Units expansion cables and other items with locking devices are properly locked into place Improper locking may result in malfunction Check switch settings the contents of the DM Area and other preparations before starting operation Starting operation without the proper settings or data may result in an unexpected operation Check the user program for proper execution before actually running it on the Unit Not checking the program may result in an unexpected operation Confirm that no adverse effect will occur in the
62. input count mode ww aes was 47 Communication Counter and Pulse SECTION 4 4 4 Pulse Output Functions Execution instructions The 3G3MV P10CDT has two pulse outputs By means of a selection in the PLC Setup these outputs can be used as two single phase outputs without acceleration and deceleration two variable duty ratio pulse outputs or pulse outputs with trapezoidal acceleration deceleration one pulse direction out put and one up down pulse output The pulse output PV coordinate system can also be specified in the PLC Setup as either relative or absolute There are two pulse output modes Independent mode in which outputs are stopped at a preset amount of pulses and continuous mode in which out puts are stopped by an instruction For more details please refer to Programming Manual W353 Single phase pulse outputs with trapezoidal acceleration deceleration Single phase pulse outputs without accel decel PULS 65 and SPED 64 Variable duty ratio pulse outputs PWM Pulse direction outputs PULS 65 and ACC Up down pulse outputs Output number 01000 Pulse output O See note 1 Pulse output O See note 1 Pulse output 1 See note 1 Pulse output 1 See note 1 Pulse output O Pulse output Direction output Pulse output 0 CCW pulse output Output frequency range 10 Hz to 10 kHz 0 1 to 999 9 Hz
63. ion DeviceNet Status CPM2C S AR 00 CompoBus S Active Slave Flags and Communications Error Flags AR 04 to AR 07 CompoBus S Master ASIC Error Function Inverter Interface Reserved Function Maximum number of CompoBus S nodes AR 1315 CPM2C S CPM2C S DM 6603 bits 00 to 03 288 bits IR 20000 to IR 21715 3G3MV P10CDT 3G3MV P10CDT 19 words DM 2022 to DM 2040 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 Write Area data area DM 6606 bits 00 to 07 DeviceNet I O Link Write Area number of bytes DM 6606 bits 08 to 15 DeviceNet I O Link Write Area starting address DM 6607 bits 00 to 15 DeviceNet I O Link Read Area data area DM 6608 bits 00 to 07 DeviceNet I O Link Read Area number of bytes DM 6608 bits 08 to 15 DeviceNet I O Link Read Area starting address DM 6609 bits 00 to 15 14 words DM 1986 to DM 1999 3G3MV P10CDT 15 Introduction SECTION 1 1 5 Preparation for Operation Follow the steps listed below when setting up a 3G3MV P10CDT system 1 2 3 1 System Design e Select a 3G3MV P10CDT Unit with the specifications required in the controlled system e Design external fail safe circuits such as interlock circuits and limit cir cuits 2 Installation e Install the Unit on the Inverter 3 Wiring e Wi
64. it 000000 Program Name User Parameter Init Sample for positioning control Section Name User Parameter Init OYMC 2003 This section initializes positioner parameters to some default values Scaling is in pulses directly 1 1 253 15 MOV 21 P First C 0 First DM17 Narrow position window for positioner High word In_Positi MOV E 21 2 DM16 Narrow position window for positioner In Positi MOV L 21 H 0 DM19 Wider position window for sequence High word In Positi MOV H 21 H 20 DM18 Wider Position window for sequence In Positi MOV ka 21 1 DMi2 SP amp PV Scale Numerator SP_PV_ MOV L 21 H 0 DM13 SP amp PV Scale Numerator high word SP PV MOV E E 1 x ei H 1 DM14 SP amp PV Scale Denominator SP_PV_ MOV 21 20 DM15 SP amp PV Scale Denominator high word SP PV MOV s 2 H DM24 P_GAIN of positioner P Gain i MOV E 1 H 2000 DM22 Max_Frequency Max_Fre 84 Example Programs T T T MOV 21 DM23 Max Fre MOV Max Po MOV 1 DM27 Max_Po MOV 21 360 DM28 MOV 21 0 DM29 MOV 21 0 DM20 MOV amp 50 DM30 MOV 21 amp 20 MOV 21 T E LALOLOOODBbPeG GOOUAESGEZZ LLLI PI 150 DM26 21 n PV Rota PV Rota Home In Home F
65. it is turned OFF the Transfer Busy Flag and Transfer Completion Flag will turn OFF one PLC cycle later The time required for the Transfer command between 1 and 2 depends on the PLC cycle time and the presence of the Digital Operator according the table below gia Opewor Minimum Hamm 1 PLC cycle 6 ms es 1 PLC cycle 24 ms Inverter Interface SECTION 5 5 4 4 Transfer Timing Chart in case of Errors Operation Timing The diagram below shows the timing of the Transfer command which re sulted in an error The timing is the same for reading and writing 210 00 R or 210 01 W Transfer Command Bit 206 03 Transfer Busy Flag 206 01 Transfer Completion Flag 206 02 Transfer Error Flag DM K Transfer Response 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 Incase of an error the Transfer Completion flag is not turned ON Note For the error codes see section 5 4 7 The timing is the same as in the case of normal completion 65 Inverter Interface SECTION 5 5 4 5 Transfer Timing Chart for Cancelling Processing Operation The diagram
66. l 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 this section first when using the 3G3MV P10CDT for the first time Section 2 provides the technical specifications of the 3G3MV P10CDT and describes the main compo nents of these Units Section 3 provides information on installing and wiring a 3G3MV P10CDT Be sure to follow the direc tions and precautions in this section when installing the 3G3MV P10CDT in a panel or cabinet wiring the power supply or wiring I O Section 4 describes the PLC setup for the communication ports the counter and pulse output func tionality Section 5 explains the interface with the 3G3MV Inverter Appendix A provides the instruction set Appendix B provides examples A WARNING Failure to read and understand the information provided in this manual may result in personal injury or death damage to the product or product failure Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given vii PRECAUTIONS This section provides general precautions for using the Programmable Controller PLC and related devices The information contained in this section is important for the safe and reliable application of the Programmable
67. lied Doing so may result in electric shock PRECAUTIONS A WARNING Do not touch any of the terminals or terminal blocks while the power is being supplied Doing so may result in electric shock N WARNING Do not attempt to disassemble repair or modify any Units Any attempt to do so may result in malfunction fire or electric shock A Caution Execute online edit only after confirming that no adverse effects will be caused by extending the cycle time Otherwise the input signals may not be readable A Caution Confirm safety at the destination node before transferring a program to another node or changing contents of the I O memory area Doing either of these without confirming safety may result in injury 4 Maintenance and Inspection Precautions A WARNING Do not touch the Inverter terminals while the power is being supplied N WARNING Maintenance or inspection must be performed only after turning OFF the power supply confirming that the CHARGE indicator or status indicators is turned OFF and after waiting for the time specified on the front cover Not doing so may result in electrical shock N WARNING Maintenance inspection or parts replacement must be performed by authorized personnel Not doing so may result in electrical shock or injury N WARNING Do not attempt to take the Unit apart or repair Doing either of these may result in electrical shock or injury N Caution Carefully handle the Inverter because it uses
68. ly directly the position difference as speed reference we have programmed some accelera tion on the inverter so it will ramp up at that defined rate The inverter has zero deceleration so when the position is reaching the point automatically the speed is reduced gradually generating some non linear ramp but stopping in the correct position e As the PLC can not handle big negative numbers we have to apply an offset position and work around an intermediate point scaling for the user B 4 2 Features e Easy to use e Continuous loop e Scaled setpoint by N1 N2 factor e 2 InPosition windows The second one can be defined bigger for faster sequence control e Variable P Gain e Position Reset available e Home origin search sequence with fast forward and slow backwards seek Definable speeds e Home origin timeout control B 4 3 Limitations e As the 3G3MV is an open loop inverter with only P type of controller inertial loads might not be well handled by the software leading to oscillation Lowering P gain can help but lowers dynamics It is preferred some kind of frictional load Most applications that use a high gear ratio gear motor will be mostly controlled To control inertial loads a more sophisticated control loop should be programmed Using a free motor can lead to instability e Deceleration profile will be exponential due to the method of using the position difference to generate speed reference e Weare limited to two
69. maining in one wrap around count If we use a scaling for degrees and DM28 is 360 then is just turns degrees idea DWORD R W Decimal Home Fast Speed This is the first speed used to find the home origin sensor in reverse sense Decimal value in units defined by n035 By default 0 01Hz DWORD R W Decimal Home Seek Speed Once found the sensor forward seek at this speed is performed until the sensor disappears This ensure accurate homing Decimal value in units defined by n035 By default 0 01Hz 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 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 021 The program generates automatically this reference In speed mode 2 020 the user has to set the value to control the speed DWORD R BCD PV Final Scaled Present Value Real position read from the encoder Scaling factors to from quads in DM12 DM14 DWORD R BCD PV Whole Turns Scaled PV with wrap around function from DM28 DWORD R W BCD PV Angular Position Scaled PV with wrap around function from DM28 Have a look to the simple User Application section to check how simple it is to use the positioner program 83 Example Programs Appendix B B 4 9 Programs User Parameter In
70. mode and up down pulse mode 0 to 16 777 215 in increment mode 11 Introduction SECTION 1 oo Hem CPM2C S 3G3MV P10CDT Check when registering tar Same direction same SV not Same direction same SV not get value match table possible possible 12 Introduction CPM2C S SECTION 1 3G3MV P10CDT Method used to reference the target value match interrupt table High speed counter continued Comparison of all values in the table regardless of order of appearance in table Comparison of all values in the table regardless of order of appearance in table Reading range comparison results Check AR 1100 to AR1107 or execute PRV 62 Check AR 1100 to AR1107 or execute PRV 62 Reading status Check AR 1108 comparison in progress check AR1109 high speed counter PV overflow underflow or execute PRV 62 Check AR 1108 comparison in progress check AR1109 high speed counter PV overflow underflow or execute PRV 62 Pulse synchronization Supported Supported Pulse output Trapezoidal acceleration control deceleration Supported with ACC The initial frequency can be set Supported with ACC The initial frequency can be set being output PWM output Supported Supported Number of simultaneous 2 max 2 max pulse outputs Maximum frequency 10 kHz max 10 kHz max Minimum frequency 10 Hz 10Hz Pulse output qu
71. nit Peripheral port via communications port CPM2C S Programming Console Set with Communications Switch Peripheral bus Set with Communications Switch Host Link with Slave initiated communications No protocol SECTION 1 3G3MV P10CDT Programming Console Set with Communications Switch Peripheral bus Set with Communications Switch 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 RS 422 port Through CIF unit Peripheral bus Host Link with Slave initiated communications No protocol Input time constant 14 Can be set to 1 2 3 5 10 20 40 or 80 ms Default 10 ms Can be set to 1 2 3 5 10 20 40 or 80 ms Default 10 ms Introduction SECTION 1 Differences in I O Memory IR Area Differences AR Area Differences DM Area Differences PLC Setup Differences Function CompoBus S input bits CPM2C S IR 020 to IR 027 CompoBus S output bits IR 030 to IR 037 3G3MV P10CDT Work bits 672 bits IR 028 to IR 029 IR 038 to IR 049 IR 200 to IR 227 880 bits IR 00100 to IR 00915 IR 01100 to IR 02815 IR 03000 to IR 04915 IR 22000 to IR 22715 Inverter Interface Funct
72. ntains counter PV Method s to read counter PV Read SR 244 to SR247 Execute PRV 62 Read SR 244 to SR247 Execute PRV 62 Method to change counter PV Execute INI 61 Execute INI 61 Interval timer One shot mode Yes Yes Scheduled interrupt mode Yes Yes Quick response inputs 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 Minimum pulse width 50 us min 50 us min High speed Count mode counter Differential phase up down mode Pulse plus direction mode Up down pulse mode Increment mode Differential phase up down mode Pulse plus direction mode Up down pulse mode Increment mode Max counter frequency 5 kHz in differential phase up down mode 20 kHz in pulse plus direction mode up down pulse mode and increment mode 5 kHz in differential phase up down mode 20 kHz in pulse plus direction mode up down pulse mode and increment mode Counter PV range 8 388 608 to 8 388 607 in differential phase up down mode pulse plus direction mode and up down pulse mode 0 to 16 777 215 in increment mode 8 388 608 to 8 388 607 in differential phase up down mode pulse plus direction
73. nth day of the week day of the month hour minute and second trol functions functions This input is shared by the high speed counter and synchronized pulse con This output is shared by the pulse output and synchronized pulse control Introduction SECTION 1 1 2 System Configurations 1 2 1 Unit types 3G3MV P10CDT Units 3G3MV P10CDT E 3G3MV P10CDT3 E PLC core CPM2C S CPM2C S Inputs 6 24 VDC inputs 6 24 VDC inputs Outputs 3 sinking transistor outputs 3 sinking transistor outputs 1 relay output 1 relay output Peripheral port Yes Yes RS 232C port Yes Yes RS 422 485 port Yes Calendar Clock Yes Memory backup Flash memory and capacitor Flash memory and battery Introduction SECTION 1 1 3 3G3MV P10CDT Structure and Operation 1 3 1 3G3MV P10CDT Structure The following diagram shows the internal structure of the Unit 3G3MV Inverter ty Inverter interface I O memory ty External a 3 External input gt 5 PO Setup S output devices 5 2a devices a c 5 Program Settings O ATA Settings Communications ports Settings Communications Switches 1 0 Memory The program reads and writes data in this memory area during execution Part of the I O memory contains the bits that reflect the status of the PLC s inputs and outputs
74. number of 8 data items can be transferred in one operation Words Function L 0 Number of data words including 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 Function Number of data items 0002 Normal response code 0000 PLC Transfer Response Data Storage Destination DM Area K Words Function Number of data items 0002 K 0 K 1 Error code Note 1 For the error codes see section 5 4 7 63 Inverter Interface SECTION 5 5 4 3 Transfer Timing Chart Operation Timing 64 The diagram below shows the timing of the Transfer command with a normal completion The timing is the same for reading and writing 21000 R or 21001 W Transfer Command Bit 20603 Transfer Busy Flag 20601 Transfer Completion Flag 20602 Transfer Error Flag DM K Transfer Response 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 Completion Flag is turned ON the response is present in the DM Area K 3 When the Transfer Command B
75. of the peripheral connector Enabled 13 Low battery detection switch aG8MV P10CDT3 E only This switch enables or disables the detection of a low battery error Position Low battery detection Disabled OFF ON up default Error detection enabled OFF down Error detection disabled 29 SECTION 3 Installation and Wiring This section provides information on installing and wiring a 3G3MV P10CDT Unit Be sure to follow the directions and precautions in this section when installing the 3G3MV PIOCDT in a panel or cabinet and wiring I O 3 1 3 2 3 3 3 5 Inst llation rd i p eds e p I ie et ies ro nip eret ie ao tei etras rio ie ree de td dd 32 Milo ios hones cate ceto Mert Eos Mota ch lebt tod hos ofc iNet Heins iMac her oM aeos dice hose on 35 Connecting VO DEVICES a ost te RR REPRE E EAE EROR EEEU RR UR TUE EN CREER aie 35 Wiring Communication Cables see et ec e e e RE e hes gU E es baboons TR ER 37 Programming Device CofinectiOns i so SERE Ade Ge Ec eee REA d edt hee A ee beider 37 31 Installation and Wiring SECTION 3 3 1 32 Installation A WARNING Do not touch the conductive parts such as internal PCBs or terminal blocks while power is being supplied Doing so may result in electrical shock A WARNING Turn ON the input power supply only after mounting the front cover terminal covers bottom cover Operator and optional items Leave th
76. ommand Write ON Start processing 02to 15 Reserved 00 to 15 Reserved Can be used as work bits Note 1 These functions are provided for 5 5kW and 7 5kW Inverters only Note 2 NetRef is the inverse of NetRef 209 00 Note 3 NetCtrl is the inverse of NetCtrl 209 01 Note 4 When NetRef is turned OFF the PLC is defining the Frequency Reference When NetRef is turned ON the Inverter is defining the Frequency Reference 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 A Caution At power up the following Inverter status flags toggle before they reflect the actual status of the Inverter e IR 200 05 Inverter Ready e IR 200 06 Inverter Warning Wait at least 28 ms before using these flags A Caution This unit has no power break process automatic fail safe operation after power has been removed to the Unit After detecting UV1 in the Inverter main circuit low IR 201 01 there is a sufficient amount of time depending on the load until its voltage goes down The ladder program should contain this mechanism to design necessary safety operations to deal with this power down situation 59 Inverter Interface SECTION 5 5 3 I O Allocation DM The contents of the DM area is refreshed and u
77. on the configuration of the control panel used other devices connected to the control panel wiring and other conditions You must therefore confirm that the overall machine or equipment complies with EC Directives SECTION 1 Introduction This section describes the special features and functions of the 3G3MV P10CDT shows the possible system configurations and outlines the steps required before operation Read this section first when using the 3G3MV P10CDT for the first time Refer to the CPMI CPM1A CPM2A CPM2C SRM1 V2 Programming Manual W353 for details on programming operations 1 1 3G3MV PIOCDT Features and Functions teen netten tenerte reinen erre tn entente eren 2 1 1 1 3G3MV PIOCDT Features esses tette teen etre ete AANE tr treten enne nnns 2 1 1 2 Overview of 3G3MV PIUCDIT F nctions 5 uomo eee otto otto tero E 4 1 2 System Configurations sio e en ee d ae e eee p as ie o o de oe 5 LeDQ 1 NIE DY POS I 5 1 3 3G3MV PLOCDT Structure and Operation e E E E E R EE E 6 1 3 1 3G3MV PIOCDT Structure essent A AEE OOE ETO TAART RE 6 1 372 Operating Modes sies uo ieii iie ie eiiie ie i eet la ani lt aa Sen le ede edges 7 T 3 3 Operating Mode at Startup seii roter iren n i ri e e ta de tte BEP eut ea amp 1 3 4 Cyclic Operation and Interrupts eese eene eerte reete ne e eerte trennen trente ent 9
78. ong with the Operator emnon j SYSDHNE ly EEN PRATER EIU m Bute SSS n n n ns BTIIIIIIIID WARUD rana we PEELE ry rere re iN peeeccceeres Seien 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 another appropri ate tool loosen the fixings and remove the block The connector for Optional Unit connections will become visible At this point ensure that dirt or foreign objects do not enter the connector 33 Installation and Wiring SECTION 3 3 Using pliers cut sections indicated with X rj TEST AZIENDE mo 2 Wire the main circuit terminals and control circuit terminals 4 Mount the mounting base included as an accessory onto the screw hole originally used for holding the Operator and the terminal cover to the body of the Inverter and using one of the provided screws secure the mounting base 4 Mounting 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
79. ons through the peripheral port are governed by the default settings all 0 regardless of the settings in DM 6650 through DM 6654 The 3G3MV P10CDT s Communications Switch setting has no effect on communications with a Programming Console connected to 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 Function 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 AR 1302 will turn ON 04 to 11 Not used 12 to 15 Communications mode 0 Host Link or peripheral bus 1 No protocol Any other setting causes a non fatal error and turns ON AR 1302 DM 6651 40 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 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 bit Odd 08 1 bit 8 bits 1 bit None 09 1 bit 8 bits 2 bits Even 10 1 bit 8 bits 2 bits Odd 11 1 bit 8 bits 2 bits None Any other setting specifies standard settings 1 start bit 7 data bits even parity
80. onse time 50 us Interval timer interrupts 1 input Set value 0 5 to 319 968 ms Precision 0 1 ms Scheduled interrupts One shot interrupt High speed counters High speed counter 1 input see note 1 Differential phase mode 5 kHz Pulse plus direction input mode 20 kHz Up down input mode 20 kHz Increment mode 20 kHz No interrupt Count check interrupt An interrupt can be generated when the count equals the set value or the count lies within a preset range Interrupt inputs counter mode 2 inputs Incrementing counter 2 kHz Decrementing counter 2 kHz No interrupt 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 O 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 control 1 point see notes 1 and 2 Input frequency range 10 to 500 Hz 20 Hz to 1 kHz or 300 Hz to 20 kHz Output frequency range 10 Hz to 10 kHz Quick response input 2 inputs Minimum input signal width 50 us Input time constant Determines the input time constant for all inputs Settings 1 2 3 5 10 20 40 or 80 ms Calendar Clock Note 1 Shows the current year mo
81. or Servomotor while the power is being supplied or soon after the power is turned OFF Doing so may result in a skin burn due to the hot surface Do not conduct a dielectric strength test on any part of the Inverter Doing so may result in damage to the product or malfunction Take appropriate and sufficient countermeasures when installing systems in the following locations Not doing so may result in equipment damage e Locations subject to static electricity or other forms of noise e Locations subject to strong electromagnetic fields and magnetic fields e Locations subject to possible exposure to radioactivity e Locations close to power supplies 3 Safety Precautions N WARNING N WARNING The Unit refreshes I O even when the program is stopped i e even in PROGRAM mode Confirm safety thoroughly in advance before changing the status of any part of memory allocated to I O or the Inverter Any changes to the data allocated to any of these may result in unexpected operation of the loads connected to the Unit or Inverter Any of the following operation may result in changes to memory status e Transferring I O memory data from a Programming Device to the Unit e Changing present values in memory with a Programming Device e Force setting resetting bits with a Programming Device e Transferring I O memory from a host computer or from another PLC on a network Do not attempt to take any Unit apart while the power is being supp
82. or the positioner settings 81 Example Programs Parameter BIT R W Appendix B Description Control Mode 0 Speed 1 Position Default Value BIT R W Position Reset 1 reset Use with SET Resets to zero when done BIT R W Home Request 1 Home is requested The sequence begins Once finished we can have either 3 00 1 Home OK or 3 0121 Home Error The maximum time to perform home is defined in DM32 Speed Run Fwd In Speed mode 2 0020 it generates Run forward of the inverter with 2 0321 The speed reference from DM2036 209 0020 and 209 0120 for full PLC control BIT R W Speed Run Rev Like 2 03 but in reverse direction BIT R Home OK When home is finished and OK this bit is activated BIT R Home Error If home is not finished in the defined timeout DM32 then Home Error appears and the sequence is cancelled BIT R In Position1 The finest in position Defined window in DM16 Used for the positioner work itself BIT R In Position2 Available for fastest sequence work We define in DM18 Typically used to start processes slightly before the final position is reached activate a valve move other axis etc DWORD R W BCD SP BCD SetPoint of position in units DM10 and DM11 DWORD R W BCD SP PV Scale N1 Numerator of SP amp PV scaling DWORD R W BCD SP PV Scale N2 Denominator of SP amp PV scaling N
83. part of the PLC Unit to the mounting base attached in step 4 T 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 secure the LED hood and the operator to the Inverter 34 Installation and Wiring SECTION 3 3 2 Wiring A WARNING Only basic insulation is provided for the control circuit terminals Additional insulation may be necessary in the end product These circuits are not separated from hazardous circuits by protective separation but only with basic insulation These circuits cannot be accessed and must not be interconnected with any circuits which are accessible unless they are isolated from accessible circuits by supplemental insulation These circuits can be connected only to the following circuits 30 VDC or less overvoltage category 2 250 VAC or less overvoltage category 2 3 3 Connecting I O Devices Wire inputs and outputs to the 3G3MV P10CDT Unit as shown in the follow ing diagrams A 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 accidents Note When equipment must conform to the EC Directives Low voltage Direc tives use a power supply with double insulation or reinforced insulation A Caution Check tha
84. pdated with each scan Word s Function Inverter Register Specifies the Inverter operation in case a fatal error occurs in the program Leftmost 3 digits are invalid When last digit is other than 1 Data to Inverter is cleared continuously When last digit is 1 Data to Inverter is frozen 2023 Destination address for storing transferred data 4 digits BCD L Note 1 2024 Destination address for storing transfer response data 4 digits BCD K Note 1 2025 Speed feedback 2026 Torque reference Unit 0 196 2027 Reserved 2028 Frequency reference monitor Unit According to n035 2029 Output frequency monitor Unit According to n035 2030 Output current monitor Unit 0 01 A 2031 Pulse input Unit 0 1 2032 Main circuit DC voltage monitor Unit 1 V 2033 Reserved 2034 Analog frequency reference terminal monitor Unit 0 1 2035 Reserved 2036 Frequency reference Unit According to n035 2037 to Reserved 2040 Note 1 The value DMOOO0 to DM1985 is sampled when the Transfer Command Bit is turned ON N Caution At power up the following words change before they reflect the actual status of the Inverter e DM2032 Main DC voltage monitor e DM2034 Analog frequency reference terminal monitor Wait at least 28 ms before using these words 60 Inverter Interface SECTION 5 5 3 1 Controlling Inverter I O Inputs Note Outputs By
85. peed counters etc Q INI 61 Change PV Changes the counter s PV Q PRV 62 Read PV Reads the counter s PV The functions related to input interrupts counter mode are executed accord ing to the data areas shown in the following table Contents 00 to 15 SV area for input interrupt counter mode O Stores the 00to 15 SV area for input interrupt counter mode 1 COunter s set 00 to 15 SV area for input interrupt counter mode 2 value SV 00 to 15 PV area for input interrupt counter mode 0 Stores the O0 to 15 PV area for input interrupt counter mode 1 counter s present value PV 00 to 15 PV area for input interrupt counter mode 2 00 to 15 PV area for input interrupt counter mode 3 00 to 15 SV area for input interrupt counter mode 3 Refresh Incrementing Counter SV Refresh Decrementing Counter SV These functions store the counter s set values in data areas and refresh them by means of INT 89 In this way they start the count operation for interrupt inputs counter mode and they permit interrupts Storing Set Values in Data Areas The counter s set values are stored in words 240 241 242 and 243 0 0000 to FFFF 1 0000 to FFFF 2 0000 to FFFF 3 0000 to FFFF SR 240 SV for interrupt input count mode SR241 SV for interrupt input count mode SR242 SV for interrupt input count mode SR 243 SV for interrupt
86. plying the product to nuclear control systems railroad systems aviation systems vehicles combustion systems medical equipment amusement machines safety equipment and other systems machines and equipment that may have a serious influence on lives and property if used improperly consult your OMRON representative Make sure that the ratings and performance characteristics of the product are sufficient for the systems machines and equipment and be sure to provide the systems machines and equipment with double safety mechanisms This manual provides information for installing and operating OMRON 3G3MV Inverter PLC Option Units Be sure to read this manual before operation and keep this manual close at hand for reference during operation 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 mentioned applications Observe the following precautions when using the SYSDRIVE Inverters and peripheral devices This manual may include illustrations of the product with protective covers removed in order to describe the components of the product in detail Make sure that these protective covers are on the product before use Consult your OMRON representative when using the product after a long period of sto
87. pping pulse outputs and changing the pulse output PV PRV 62 For reading the pulse output PV and status Single phase Pulse Outputs Puses SET spep 4 SPEED on00 Pulse output 0 PULSES OUTPUT mim Pulse output 1 instruction instruction Specify relative or Output mode Continuous or absolute pulses Independent Pulse output SV Target frequency 10 Hz to 10 kHz 8 digits BCD Start pulse outputs is 61 MODE immedi 61 CONTROL Every scan Every scan Immediately instruction a Pulse output status Pulse output PV PRv 62 HIGH SPEED COUNTER PV READ instruction Stop pulse outputs aS SER EE Read pulse output PV Change pulse output PV i di AR 11 AR 12 sR228 sr22 SR230 SR 231 Read pulse output PUT RT ee status PC Setup DM 6629 bits 04 to 07 PLC Setup Make the following settings in the PLC Setup Function Setting DM 6629 00 to 03 Pulse 0 PV 0 Relative coordinate Either O or coordinate system 1 system 1 Absolute coordinate 04 to 07 Pulse 1 PV system coordinate system 49 Communication Counter and Pulse SECTION 4 DM 6642 08 to 15 High speed 00 Do not use Either 00 counter 01 Use as high speed or 01 setting 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 If absolu
88. r 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 3 1 Indicates lists of one sort or another such as procedures checklists etc OMRON 2003 All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means mechanical electronic photocopying recording or otherwise without the prior written permission of OMRON No patent liability is assumed with respect to the use of the information contained herein Moreover because OMRON is constantly striving to improve its high quality products the information contained in this manual is subject to change without notice Every precaution has been taken in the preparation of this manual Nevertheless OMRON assumes no responsibility for errors or omissions Neither is any liability assumed for damages resulting from the use of the information contained in this publication TABLE OF CONTENTS D Intended Audience trie ROBORE IER aen Ee n ere terras Ix 2 General Preca utions iine e HR e E Ede e LE en Aaa ee on eos ix 3 Safety Precautions cese eie ieai E e E E a E E REEE EE E EEA ae i Eis x 4 Maintenance and Inspection Precautions sesessessess
89. r with a maximum response frequency of 20 kHz and three points for interrupt inputs counter mode For more details please refer to Programming Manual W353 Target value com parison interrupts High speed High speed counter No interrupts counters 1 point Count check interrupts Interrupt inputs counter mode No interrupts 2 points Count up interrupts High speed PC Setup counter function DM 6642 bits 08 to 15 7 nnnno Encoder 00001 T inputmode inputs poata Differential phase input Pulse direction input Ladder diagram program Up down input TBL 63 REGISTER COMPARI c 63 SON TABLE instruction Register comparison I table Increment input 42 Start comparison d PC Setup 2 DM 6642 bits 3 MODE CONTROL K 00 to 03 INI 61 instruction RET 93 Change PV Start stop i Every scan Each time q HIGH SPEED COUNTER Range comparison iUe m PRV 62 py READ instruction ETE SR 249 SR 248 Read PV Read comparison status Read range comparison results Range comparison interrupts Count check interrupt generated Specified subroutine executed when count check interrupts are used seven Communication Counter and Pulse SECTION 4 PLC Setup Set the PLC Setup areas related to the high speed counter as follows High speed counter usage DM 6642 bits 08 to 15 Input mo
90. rage Do not touch the inside of the Inverter Doing so may result in electrical shock Operation maintenance or inspection must be performed after turning OFF the power supply confirming that the CHARGE indicator or status indicators are OFF and after waiting for the time specified on the front cover Not doing so may result in electrical shock Do not damage pull on apply stress to place heavy objects on or pinch the cables Doing so may result in electrical shock Do not touch the rotating parts of the motor under operation Doing so may ix PRECAUTIONS N WARNING N Caution N Caution N Caution N Caution result in injury Do not modify the product Doing so may result in injury or damage to the product Do not store install or operate the product in the following places Doing so may result in electrical shock fire or damage to the product e Locations subject to direct sunlight e Locations subject to temperatures or humidity outside the range specified in the specifications e Locations subject to condensation as the result of severe changes in temperature e Locations subject to corrosive or flammable gases e Locations subject to exposure to combustibles e Locations subject to dust especially iron dust or salts e Locations subject to exposure to water oil or chemicals e Locations subject to shock or vibration Do not touch the Inverter radiator regenerative resistor
91. re the Inverter and I O devices e Connect communications devices if necessary e Connect the Programming Console 4 Initial Settings e Set the Communications Switches 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 e Connect the Programming Console set the mode switch to PROGRAM mode and turn ON the Inverter e Check the Unit s LED indicators and the Programming Console s dis play e Clear the PLC s memory All Clear e Make PLC Setup settings 5 Create Ladder Program e Create a ladder program to control the system 6 Write Ladder Program in PLC e Write the ladder program in the PLC with the Programming Console or transfer the program to the PLC from the Support Software 7 Test Run e Check I O wiring in PROGRAM mode e Check and debug program execution in MONITOR mode 16 SECTION 2 Unit Components and Specifications This section provides the technical specifications of the 3G3MV PIOCDT Units and describes the main components of these Units 2 1 Specifications tav tees eevec le veas Ere e EE qve te E Eee bee Te ee dav cp e et ee o Erg ie TE eed aeter e red agas 18 2 1 1 General Specifications 2 aic eg Gp ER Ge PULO RT eret 18 2 122 Ch tdclerisfics ss eee ente oe oet e etc ode a editum ipte dedit 18 2 1 3 VO Specifications red rere Cr ee Pe E eee e rtm pH edes 21 2212321 Inp
92. rection CCW L J instruction J pecify relative or ab olute pulses umber of output pulses et value 8 digits BCD Mode designation Starting frequency 0 Hz to 10 kHz Target frequency 10 Hz to 10 kHz Acceleration deceleration rate 10 ms increase decrease XE INI 61 MODE 10 Hz to 10 kHz CONTROL Start pulse outputs instruction Stop pulse outputs Change pulse output PV Every scan Every scan Immediately i t HIGH SPEED COUNTER PV eros READ instruction Read pulse output PV Read pulse output status Pulse output status Pulse output PV AR 11 sn 228 SR 229 PC Setup DM 6629 bits 00 to 03 PLC Setup Make the following settings in the PLC Setup Function Setting DM 6629 00 to 03 Pulse O PV 0 Relative coordinate Either O or coordinate system 1 system 1 Absolute coordinate system DM 6642 08 to 15 High speed 00 Do not use Either 00 counter 01 Use as high speed or 01 setting 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 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 t
93. 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 with the encoder we need following settings cr PLC Settings M _PLC_SAMPLE_POS B 4 5 I O Connections In the template following basic inputs are predefined PLC Input 0 A Channel encoder PLC Input 1 B Channel encoder PLC Input 2 Home Origin sensor Then the user program can use the rest of PLC and inverter inputs In our Application example we use PLC Input 3 for Home Origin request and 80 Example Programs Appendix B PLC Input 4 for positioning B 4 6 Defining the application e When counting for the required accuracy a safe rule is to count on 20 30 quad edge pulse error directly on the motor Depends mostly on the mechanical system design e The encoder can be either in the motor or after gearbox For higher accuracy in the motor is good but then we have to be careful with the frequency limits of the input e In any case take into account the 5KHz maximum input rate for the maximum motor speed Depends on the encoder resolution where it is placed and encoder max rpm Typical figure is for a 1500rpm motor with encoder directly coupled to motor that we
94. rnal circuits InputLED SY e 21 Unit Components and Specifications SECTION 2 High speed Counter Inputs The following Unit input bits can be used as high speed counter inputs The maximum count frequency is 5 kHz in differential phase mode and 20 kHz in INOO000 the other modes Differential phase mode A phase pulse input Pulse plus direction input mode Pulse input Up down input mode Increment pulse input Increment mode Increment pulse input INO0001 Direction input Decrement pulse input Normal input B phase pulse input Z phase pulse input or hardware reset input INOO002 can be used as a normal input when it is not used as a high speed counter input INO0002 The minimum pulse widths for inputs INO0000 A phase input and INO0001 B phase input are as follows Differential phase mode Pulse plus direction input mode Up down input mode Increment mode 50 us min 100 us min ON a 90 ON yf gt t one 9096 PhaseA See an a ear R BOE z 50 OFF 10 OFF t 10 x ON 1 c0cx T Noc0p0v 90 EOS Pee EE ERI ey m sO 12 5us 12 5 us Phase B PR anh EP A EE D p antt y Se ak min min T ToT3T4 12 5 us min The minimum pulse width for input INOOO02 Z phase input is as follows 50 us min ON Phase Z OFF 500 us min Interrupt Inputs The 3G3MV P10CDT is equipped with inputs that can be used as interrupt inpu
95. rns OFF when TRANSFER command turns OFF 206 02 Transfer error ON Error OFF Normal 206 03 Transfer busy ON Busy OFF Ready for transfer DM2023 Destination address for storing transferred data 4 digits BCD L We recommend using DM1950 DM2024 Destination address for storing transfer response data 4 digits BCD K We recommend using DM1970 76 Example Programs Appendix B Program Name MainProgram This SAMPLE is reading torque monitor of MV 32h value Only Vector It wri tes in DM101 as BCD Compare with DM2026 Section Name MainProgram Main program 000000 Sequencer bit register 000001 253 13 MOV 20 P On DM1973 Always DM100 Torque monitor MV Torg 000002 Data structure for writing non mapped parameter on inverter In this case 113h MEMOBUS is Acce Ramp we write in two consecutive 114h as well decel Source is DM1950 Response in DM1970 J Nan P_On amp 3 Always DM1950 L area decided to be the standard for explicit transfer data P L Are Command operations MOV 21 H 032 DM1951 MOV 21 amp 1 DM1952 MOV 21 1950 DM2023 L area Destination address for storing transferred data P MV frames 4 digit BCD MOV 21 1970 DM2024 K area Destination address for storing transfer response P MV R data 4 digit BCD Transfer func
96. ructions Mnemonic LOAD LD Appendix A Instructions The 3G3MV P10CDT supports 119 basic and special instructions Variations B Data Movement Instructions MOVE Mnemonic MOV 21 Variations LOAD NOT LD NOT MOVE NOT MVN 22 AND AND BLOCK TRANSFER XFER 70 AND NOT AND NOT BLOCK SET BSET 71 OR OR DATA EXCHANGE XCHG 73 OR NOT OR NOT SINGLE WORD DISTRIBUTE DIST 80 AND LOAD AND LD DATA COLLECT COLL 81 OR LOAD ORLD B Bit Control Instructions OUTPUT Mnemonic OUT OUTPUT NOT OUT NOT MOVE BIT MOVB 82 MOVE DIGIT B Shift Instructions SHIFT REGISTER MOVD 83 Mnemonic SFT 10 e ejeoojejee e Variations SET SET WORD SHIFT WSFT 16 RESET RSET ARITHMETIC SHIFT LEFT ASL 25 KEEP KEEP 11 ARITHMETIC SHIFT RIGHT ASR 26 DIFFERENTIATE UP DIFU 13 DIFFERENTIATE DOWN B Sequence Control NO OPERATION DIFD 14 Mnemonic NOP 00 END END 01 INTERLOCK IL 02 INTERLOCK CLEAR ILC 03 JUMP JMP 04 JUMP END B Timer and Counter Instructio TIMER JME 05 Mnemonic TIM COUNTER CNT REVERSIBLE COUNTER CNTR 12 HIGH SPEED TIMER TIMH 15 ONE MS TIMER TMHH LONG TIMER TIML B Comparison Instructions COMPARE Mnemoni
97. se input 50 us max Used in common by input interrupts and input interrupt counter mode Analog volume Input time constant Only all inputs can be set ON response time 1 ms 2ms 3ms 5ms 10ms 20 ms 40 ms 80 ms OFF response time Clock function 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 Link 1 1 NT Link Holds the contents of HR AR CNT and DM Areas Memory backup Non volatile memory User program DM Read only PLC Setup Fixed internal lithium battery 5 years not replaceable by the user or capacitor DM Read Write HR SR and CNT Areas Self diagnostic function CPU errors memory errors communications errors setting errors battery errors Program check No END instruction program errors regularly checked during operation Connected CX Programmer After Version 2 1 tools Programming C200H PRO27 CQM1 PROO1 Console PC98 amp PC AT SYSMAC Support Software All version Sysdrive After version 2 Configurator 19 Unit Components and Specifications SECTION 2 20 Note 1 The DM area HR area AR area and counter values are backed up If the backup battery or capacitor is discharged the contents of these areas will be lost and the data values will revert to the defaults The contents of the program area read only DM area DM6144 to DM6599 and PLC Setup DM 6600 to
98. semiconductor elements Careless handling may result in malfunction A Caution Do not change wiring disconnect connectors or Operator or replace fans while power is being supplied Doing so may result in injury or malfunction N Caution Be sure to wire correctly and securely Not doing so may result in injury or damage to the product 5 Operation and Adjustment Precautions A WARNING Turn ON the input power supply only after mounting the front cover terminal covers bottom cover Operator and optional items Not doing so may result in electrical shock N WARNING Do not remove the front cover terminal covers bottom cover Operator or optional items while the power is being supplied Not doing so may result in electrical shock A WARNING Do not operate the Operator or switches with wet hands Doing so may result in electrical shock xi PRECAUTIONS N WARNING Do not touch the inside of the Inverter Doing so may result in electrical shock N WARNING Provide a separate emergency stop switch because the STOP Key on the Operator is valid only when function settings are performed Not doing so may result in injury 6 Wiring Precautions N WARNING Wiring must be performed only after confirming that the power supply has been turned OFF Not doing so may result in electrical shock N WARNING Wiring must be performed by authorized personnel Not doing so may result in electrical shock or fire 7 Application Precautions
99. sfer functionality compared to accessing through Modbus Parameter Value Function n002 0 V f mode 2 Vector control mode 61 Inverter Interface SECTION 5 5 4 1 Parameter Reading To read the contents of a 3G3MV parameter the corresponding Inverter reg ister must be specified in the DM area specified by L DM2023 Refer to the 3G3MV manual for the Inverter register definitions A maximum number of 8 data items can be transferred in one operation Number of data words including L binary Transfer destination Inverter register 4 digits binary 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 Number of data words including K binary Transfer destination Inverter address 1 4 digits binary Number of transferred data items 1 4 digits binary Read data 1 1 4 digits binary Read data 1 2 4 digits binary In case of a completion which resulted in an error Number of data words including K 0002 Error code Note 1 Note 1 For the error codes see section 5 4 7 62 Inverter Interface SECTION 5 5 4 2 Parameter Writing Note 1 To write a SG3MV parameter the corresponding Inverter register must be specified in the DM area specified by L DM2023 Refer to the 3G3MV man ual for the Inverter register definitions A maximum
100. t wiring has been performed correctly before supplying power Supplying power with incorrect wiring may result in damage to internal circuits V O Configuration The following diagrams show the I O configurations Sinking Transistor Outputs 35 Installation and Wiring SECTION 3 l O Connector 00000 36 Installation and Wiring SECTION 3 Do not exceed the output capacity or the maximum common current for tran sistor outputs shown in the following table lem Specification Output Capacity 200 mA at 24 VDC Cage Clamp Both the relay and l O connector make use of cage clamp technology The picture below shows how the wires should be inserted TS Tools to be used for the I O connector e Perpendicular to the wire top half of the picture above Philips screw driver 2 5 x 0 4 mm e In line with the wire bottom half of the picture above WAGO tool 233 332 Tools to be used for the relay connector e Perpendicular to the wire top half of the picture above Philips screw driver 2 5 x 0 4 mm e 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 connector Internally this pin is con nected to the Functional Earth tab The Functional earth tab is also connected to
101. te 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 Q PULS 65 Set number of pulses Sets the number of pulses to be output in independent mode SPED 64 Set frequency and start Sets the frequency for outputs in the pulse outputs independent mode or continuous mode and starts the pulse outputs Change frequency Changes the frequency for outputs in the independent mode or continuous mode Stop pulse outputs Stops the pulse outputs by changing the speed to a frequency of 0 Hz Q INI 61 Stop pulse outputs Stops the pulse outputs Change pulse output PV Changes the pulse output PV Q PRV 62 Read pulse output PV Reads the pulse output PV Read pulse output status Reads the pulse output status S0 Communication Counter and Pulse SECTION 4 The following table shows the words and bits related to pulse outputs without acceleration and deceleration fixed duty ratio 00 to 15 Pulse output PV 0 rightmost 4 digits 00 to 15 Pulse outp
102. tede eaves 64 5 4 4 Transfer Timing Chart in case of Errors sse eee ener enne enne nennen 65 5 4 5 Transfer Timing Chart for Cancelling Processing sse ener 66 3 4 6 Transfer Ladder Program uada ei eerte deett hd eet theses ener edes larisa tian 66 Inverter Interface SECTION 5 5 1 Inverter interface The communication between the PLC and the Inverter is performed by e Inverter functionality mapped in IR section 5 2 e Inverter functionality mapped in DM section 5 3 e Through the Transfer command section 5 4 5 2 I O Allocation IR The contents of the IR area is refreshed and updated with each scan Function Inverter Register 200 00 RUN ON During RUN 002C 0 Read 01 Zero speed ON Zero speed 002C 1 only 02 Reverse operation ON Reverse operation 0001 1 03 Error reset signal IR 20709 ON Error reset signal active 04 Frequency agree ON Frequency agree 002C 2 05 Inverter ready ON Inverter ready 002C 6 06 Warning nonfatal error ON Warning occurring 002C 3 07 Fault ON Fault occurring 002C 14 08 OPE error ON OPE error occurring 09 Momentary power interruption recovery ON Power restored 10 RUN command mode ON Controlled by Inverter interface 002C 10 OFF Other 11 Terminal MA output status ON Closed 002D 0 12 Terminal P1 output status ON Closed
103. tion Starts here 000003 13 H 255 00 DIFU 1 s 1 00 Write command bit 77 Example Programs Appendix B 000004 000005 000006 000007 78 1 00 206 03 210 00 I AF O P Transfe P MVRea Write Flag Bit 210 00 206 01 206 02 Is AF AF 1 P MVRea P Transfe P Transfe Bit Flag Flag 206 02 iu P Transfe Flag 0 05 P DI5 DI5 END Section Always needed Bit Transfer command Read Keep ON during transfer until not busy Example Programs Appendix B B 4 Basic Positioning template program The PLC option board for 3G3MV inverters provides the needed hardware to perform a basic position control software We can read an encoder with A and B phase signals digital inputs and have complete control on the inverter speed and Run commands We have additional I O and fully programmable PLC That s all needed for a position controller application The control loop is performed by the ladder program The selected control loop performs a very simple P controller on the position error between demanded and real positions Then it limits and applies a frequency reference proportional to it With this setup without profile generator acceleration deceleration generated by position reference calculations we have a compact position controller software that will solve a lot of simple point to point applications B 4 1 Method e We app
104. to connect to host computers or standard external devices Terminal Arrangement Receive data Send data input output RDA RDB Shield SDA SDB 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 communications ON up 2 wire communications 9 Terminating Resistance switch 3G3MV P10CDT3 E only Position Termination OFF down default Disabled ON up Enabled Set this switch to ON only for double ended connection to a Host Link net work 10 I O connector Connects the CPU Unit to external input and output devices Sinking outputs 2 2222885558 58 Zz Z Z Z Z Z O O O O O O O O 1 2 s 4 s e r eo to u s 1 2 Connector WAGO 733 112 wire cross section 0 08 to 0 50 mm 28 Unit Components and Specifications SECTION 2 11 Relay connector Connects the CPU Unit to an external output devices Connector WAGO 734 102 wire cross section 0 08 to 1 50 mm 12 FE connection AMP tab to connect functional earth Internally connected to pin 3 of the RS 422 485 connector and to the shell
105. tput Control Instructions DATA DECODER MLPX 76 DATA ENCODER DMPX 77 ASCII CONVERT ASC 86 ASCII TO HEXADECIMAL HEX 2 S COMPLEMENT NEG HOURS TO SECONDS SEC SECONDS TO HOURS HMS B Table Data Manipulation Instructions FRAME CHECKSUM Mnemonic FCS Variations SUM SUM DATA SEARCH SRCH FIND MAXIMUM MAX SPEED OUTPUT Mnemonic SPED 64 SET PULSES PULS 65 PULSE W VARIABLE DUTY PWM RATIO ACCELERATION CONTROL ACC SYNCHRONIZED PULSE SYNC CONTROL B I O Unit Instructio ns Name Mnemonic Variations 7 SEGMENT DECODER SDEC 78 FIND MINIMUM B Data Control Instru SCALING MIN ctions Mnemonic SCL 66 I O REFRESH B Communications IORF 97 Q Instructions Name Mnemonic Variations RECEIVE RXD 47 SCALING 2 SCL2 TRANSMIT TXD 48 SCALING 3 SCL3 PID CONTROL PID AVERAGE VALUE B Logic Instructions AVG Mnemonic Variations COMPLEMENT COM 29 LOGICAL AND ANDW 34 LOGICAL OR ORW 35 EXCLUSIVE OR XORW 36 EXCLUSIVE NOR XNRW 37 E Special Calculation Instructions Name Mnemonic Variations BIT COUNTER BCNT 67 B Subroutine Instructions Name SUBROUTINE CALL Mnemonic SBS 91 Variations
106. transferred via communica tions port 5 Communications port Connects the PLC to a Programming Device including Programming Con soles host computer or standard external device Use a proper Connecting Cable CPM2C CN111 CS1W CN114 CS1W CN118 or CS1W CN226 Note a A COM1H PROO1 E Programming Console can be connected di rectly to the PLC b A C200H PRO27 E Programming Console can be connected di rectly to the PLC with a CS1W CN224 CN624 Connecting Cable c Use a CPM2C CN111 or CS1W CN114 Connecting Cable to con nect to the communications port as a peripheral port The communi cations port can be used simultaneously as both a peripheral port and RS 232C port by using the CPM2C CN111 Connecting Cable d Use a CPM2C CN111 CS1W CN118 or CS1W CN226 Connecting Cable to connect to the communications port as a RS 232C port 27 Unit Components and Specifications SECTION 2 The communications port can be used simultaneously as both a pe ripheral port and RS 232C port by using the CPM2C CN111 Con necting Cable 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 6 Communications switch Switch to select port 1 type of connected device Position Communication port 1 OFF default Programming Console ON RS 422 485 communication T RS 422 485 port 3G3MV P10CDT3 E only Used
107. ts interrupt input mode or counter mode and quick response inputs The minimum pulse width for these inputs is 50 us Inputs INOO003 and INOOO004 can be used as interrupt inputs 22 Unit Components and Specifications SECTION 2 2 1 3 2 Output Specifications Relay Output Item Specification Maximum switching capacity 2 A 250 VAC cos 1 2A 24VDC Minimum switching load 10 mA 5 VDC Service life 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 Internal circuits Maximum 250 VAC 2 A 24 VDC 2 A 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 times hour 120 VAC resistive load Ed 24 VDC x 7 ms T 120 VAC cos 0 4 240 VAC cos Sri Sine Switching rate 1 800 times hour 0 1 0 2 0 3 0507 1 2 3 5 Contact current A 23 Unit Components and Specifications SECTION 2 Transistor Outputs Sinking Item Specification Maximum switching capacity 4 5 to 30VDC 0 2 A output Minimum switching capacity 0 5 mA Maximum inrush current 0 9 A for 10 ms Leakage current 0 1 mA Residual voltage 1 5 V max ON response time 20 us max OFF response time 40 us max for 4 5 to 26
108. urns ON AR 1302 DM 6647 00to 15 Transmission delay 0000 to 9999 BCD sets a delay of 0 to 99 990 ms Any other setting specifies a delay of 0 ms causes a non fatal error and turns ON AR 1302 DM 6648 00 to 07 Node number Host Link 00 to 31 BCD Any other setting specifies a node number of 00 causes a non fatal error and turns ON AR 1302 08 to 11 Start code selection for no protocol communications 0 Disables start code 1 Enables start code in DM 6649 Any other setting disables the start code causes a non fatal error and turns ON AR 1302 39 Communication Counter and Pulse SECTION 4 Word s DM 6649 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 Function 00 to 07 Start code 00 to FF This setting is valid only when bits 8 to 11 of DM 6648 are set to 1 08 to 15 When bits 12 to 15 of DM 6648 set to 0 Sets the number of bytes to receive 00 256 bytes 01 to FF 1 to 255 bytes When bits 12 to 15 of DM 6648 set to 1 Sets the end code 00 to FF 4 1 2 Peripheral RS 422 485 Port Communications Settings Word s DM 6650 00 to 03 The following settings are effective after transfer to the PLC If the SG3MV P10CDT Unit s Communications Switch is ON communica ti
109. ut Specifications icone E De gea ene te d ted tend p ee ed qu tede ap gt ede aeq beg ies 21 2 1 3 2 Output Specifications o t i ep ee o e irte pe tte a b cp o dt HO de e endete 23 p ENDI TM 25 2 2 Unit Components 2 eee ted nie tesco aie Sieber I ba E NET esed 26 2 2 1 CPU Unit Component Names sse eerte eene nee eene t tret tret tret teste serrer en rere enne enne 26 2 2 2 CPU Unit Component Descriptions esses eene eene enne tren tret tret reet reete eerie tentent enne 26 17 Unit Components and Specifications SECTION 2 2 1 Specifications 2 1 1 General Specifications Item Specifications Rated power supply voltage 24 VDC External power supply for I O Vibration resistance 0 15 mm 10 57 Hz 9 8 m s 57 150 Hz In all directions X Y Z Ambient operating temperature 10 to 45 C Ambient operating relative 10 to 90 no condensation humidity Ambient storage temperature 20 to 70 C Atmosphere Must be free from corrosive gas Power Consumption 2W Supplied internally Note The above figure for power consumption includes the power consumption of the Programming Console 2 1 2 Characteristics lem Specifications Instruction 14 types Same as for Programmable Slaves types 105 types 185 instructions Same as for Programmable Slaves Processing 0 64 us LD speed 7 8 us MOV 320 bits 20000 to 21
110. ut PV 0 leftmost 4 digits 00 to 15 Pulse output PV 1 rightmost 4 digits 00 to 15 Pulse output PV 1 leftmost 4 digits Contents Cannot be used as work bits even when not used as pulse outputs 04 Pulse output O PV reset Clears PV 0 when ON 05 Pulse output 1 PV reset Clears PV 1 when ON 12 Pulse output O 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 Pulse output in progress for pulse output 0 ON In progress by SPED 64 OFF Stopped Pulse output 1 PV over flow underflow ON Occurred OFF Normal Number of pulses set for pulse output 1 ON Set by PULS 65 OFF Not set Pulse output completed for pulse output 1 ON Completed by SPED 64 OFF Not completed Pulse output in progress for pulse output 0 ON In progress by SPED 64 OFF Stopped 51 SECTION 4 Communication Counter and Pulse 4 4 2 Using Pulse Outputs With Variable Duty Ratio Select the pulse output number Pulse output number 0 or 1 Wire the outputs Output numbers 01000 and 010001 Create a ladder diagram program PWM For setting the frequency and duty ratio INI 61 For stopping outputs PRV 62 For reading the pulse output status
Download Pdf Manuals
Related Search
Related Contents
User Manual arsos®filius Manual de Servico Cafeteira PROMO-00.p65 ラック形非常用放送設備 WL-8500 Samsung UN65F7100 Flat Panel Television User Manual Catalogue - Konica Minolta Quick Setup Guide Guide de démarrage rapide Guía de Manual do Usuário do Módulo Opcional EtherNet/IP de porta dupla Manual del propietario de la unidad de juegos RUGGEDCOM ROS CPU Workload Analysis In Real-Time Operating Systems Copyright © All rights reserved.
Failed to retrieve file