OEMax NX70-PULSE4 User Manual

Nx70 pulse i/o unit (4ch)

Advertisement

Quick Links

SM
Maximum Value for OEMs
NX70 Pulse I/O Unit (4CH)
(NX70-PULSE4)
User Manual

Advertisement

Table of Contents
loading

Summary of Contents for OEMax NX70-PULSE4

  • Page 1 Maximum Value for OEMs NX70 Pulse I/O Unit (4CH) (NX70-PULSE4) User Manual...
  • Page 2 Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment. Because of these differences, and also because of the wide variety of uses for solid state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable.
  • Page 3: Table Of Contents

    Contents 1. Pulse I/O Unit Functions ..........9 Features and Functions ................9 Functions of Unit ..................10 Configuration and Limit for Pulse I/O Unit ..........14 Restrictions Due to Combination of Pulse Output Function ....14 Parts and Functions ..................15 Wiring ......................
  • Page 4 8. PWM Output Function ..........67 PWM Output Function ................67 Use PWM Output Function ................ 71 9. Application Examples..........73 Speed Measuring..................73 Fixed Length Processing ................75 Position Control by Absolute Value ............79 Position Control by Data Table ..............83 Appendix A.
  • Page 5 Safety Instructions Please read this manual and the related documentation thoroughly and familiarize yourself with product information, safety instructions and other directions before installing, operating, performing inspection and preventive maintenance. Make sure to follow the directions correctly to ensure normal operation of the product and your safety.
  • Page 6 NX 70 Pulse I/O Unit Installation Environment Do not install your unit if any of the following ATTENTION conditions are present: °C • Ambient temperature outside the range of 0 to 55 °F (32 to 131 • Direct sunlight. • Humidity outside the range of 30% to 85% (non-condensing).
  • Page 7 Comparison between High-speed Counter unit (1CH or 2CH) and Pulse I/O Unit High-speed counter unit Pulse I/O unit Comparison item NX70 (NX70-HSC1) NX70 (NX70-HSC2) NX70 (NX70-PULSE4) Number of channels Highest Max. 100 KHz Max. 200 KHz counting speed 32bit signed (Binary format)
  • Page 9: Pulse I/O Unit Functions

    "Chapter 7") NX70 PLC Pulse output unit PWM Output Function. PWM output. (NX70-PULSE4) (See "Chapter 8") Pulse output and PWM output are only available to pulse I/O unit. Be careful because this function is NOT available for High-performance High-speed counter unit (4CH).
  • Page 10: Functions Of Unit

    Functions of Unit Each function can be operated by shared memory settings. ● General I/O Functions Pulse I/O unit operates as a 16 In/16 Out mixed I/O unit with its ● default setting. By changing the shared memory configuration, you can configure it as a specialty module, such as high speed counter or pulse output unit, a 32-point input unit, a 32-point output unit, or a 16 In/16 Out mixed I/O unit .
  • Page 11 High-speed Counter Function Pulse I/O unit has four high-speed counter channels. There are three input modes for counting. Input mode can be set for each CH. Direction control Counter value changes with pulse train and direction signals. IN.A IN.B ta, tb, tc, td ≥ 2.5 µs Count number Individual input...
  • Page 12 Mask Mask IN.A 4 multiplication NX70 PLC IN.B Pulse output unit (NX70-PULSE4) n n+1 n+2 n+3 n+4 n+5 n+6 n+7 n+8 n+9 Count number Comparison Output Function Pulse I/O unit has 8 points of comparison output. ● (CMP0 to CMP7) Counter current value and comparison set value are compared, and ●...
  • Page 13 PLSx A PLS3 A, PLS3 B PLSx B NX70 PLC Pulse output unit (NX70-PULSE4) PWM Output Function Pulse I/O unit has 4CH for PWM output. ● Max. 30 kHz is available for PWM output, and Duty can be set by ●...
  • Page 14: Configuration And Limit For Pulse I/O Unit

    PLC Model Name Remarks number (5V power) NX70 PLC Pulse I/O unit (4CH) NX70-PULSE4 450 mA Mounting of Pulse I/O Unit ● For NX70 PLC Pulse I/O unit can be mounted at any location on the basic backplane. But it cannot be mounted on power supply unit or CPU unit slots.
  • Page 15: Parts And Functions

    Parts and Functions Bottom of Unit NX70 PLC Pulse output unit (NX70-PULSE4) 1. Status LED Turns on I/O status light at the terminal blocks. 2. Input Connector (NX70 PLC), [ I ] Relays input signals from an external device to the Pulse I/O unit.
  • Page 16 Status LEDs Unit LED indicates the I/O status at the terminals. Refer to the table below. NX70 Pulse I/O unit allocation table (NX70-PULSE4) [ I ] [ II ] 20 A1 A8 27 [Unit LED Indicator Window] NX70 Pulse I/O unit (NX70-PULSE4)
  • Page 17: Wiring

    Terminal arrangement is common to Pulse I/O unit (4CH) and High-performance High-speed counter unit (4CH). [ I ] [ II ] Input part Output part [ NX70 Pulse I/O unit (NX70-PULSE4) ] 4 (+ COM) points, 2 (+) points, and 2 (0V) points are internally connected, NOTE respectively.
  • Page 18 Wiring Diagrams Input Part Input indicator Input terminal 24V DC COM terminal Output Part Output indicator Terminal Output terminal Terminal...
  • Page 19: Configuration And Design Verification Of The Unit

    32 points input 32 points output From them, 16 points are allocated for input connector and 16 points for output connector. Input: R0.0 to R1.15 (R0 to R1), Output: R2.0 to R3.15 (R2 to R3) NX70 PLC Pulse I/O Unit (NX70-PULSE4)
  • Page 20 Pulse I/O Unit I/O Allocation Table Input Allocation, NX70 Pulse I/O Unit (NX70- PULSE 4) Functions External Terminal Input Counter Comparison Pulse R0.0 CH0 IN-A R0.1 CH0 IN-B R0.2 CH0 Clear R0.3 CH0 Mask R0.4 CH1 IN-A R0.5 CH1 IN-B R0.6 CH1 Clear External...
  • Page 21 Detailed Descriptions on Occupied I/O points External Input R0.0 to R0.15 ....... Input Operated as input. It can be monitored as input even though counter function is in use. CHx IN-A, CHx IN-B .... Counter Function Input count signal of counting operation. Count signal input is IN-A, IN-B.
  • Page 22 Output Allocation, NX70 Pulse I/O unit (NX70-PULSE4) Functions External Terminal Output Counter Comparison Pulse R2.0 [Comparison CMP0] PLS0 direction R2.1 [Comparison CMP1] PLS1 direction R2.2 [Comparison CMP2] PLS2 direction R2.3 [Comparison CMP3] PLS3 direction R2.4 [Comparison CMP4] R2.5 [Comparison CMP5] R2.6...
  • Page 23 Detailed Descriptions on Occupied I/O Points External Output R2.0 to R2.15 ..... Output Operated as output. But, if there is high-performance output allocation, high-performance output is sent to I/O connector. It can be used as internal relay when not being used for external output.
  • Page 24 Internal Output R3.0 to R3.15 .......Output This output is a controlling signal for each function such as counter function. It can be used as internal relay when not allocated to any function. CHx Soft Clear ....Counter Function Output when counter current value is to be cleared.
  • Page 25 Verification of Allocated I/O Number and Slot No. I/O number and slot number are necessary for programming. ● I/O number changes with backplane installation location. Make sure ● it is the same as design. For I/O allocation, See "I/O Number Allocation" in Chapter 2 of each ●...
  • Page 26 Verification of Slot No. When mounted on CPU backplane The first slot on the right of CPU is 0, and the others are numbered as their location order. Pulse I/O unit Slot No. CPU backplane...
  • Page 27: Embedded Counter

    Embedded Counter Embedded Counter Functions Embedded Counter Functions Input pulse counting functions are embedded in the Pulse I/O unit. ● Counted values are stored in the shared memory areas of each ● channel. Stored values can be read by a program, so current value can be ●...
  • Page 28 Count Range of the Counter -2,147,483,648 to +2,147,483,647 (signed 32-bit) Max. Value= When current value exceeds max. (min.), it returns to min. (max.) without error. In this case no error occurs. Min. Value= Shared Memory Address for Storing Counter Value Share Memory Address (heximal) Event 108h, 109h...
  • Page 29: General I/O Function

    General I/O Function General I/O Function What is General I/O Function? General I/O function means the general I/O, represented by input ● and output units. Pulse I/O unit has high-performance functions like counter function, but I/O without allocations for high-performance functions is used for general I/O functions.
  • Page 30 How to use General I/O Function? All I/O of Pulse I/O unit can be used for general I/O function. But when high-performance functions are allocated, such as high-speed counter function, the allocated functions have higher priority. Using Method Special settings such as mode setting switch or shared memory ●...
  • Page 31: Input Time Constant Function

    B3, B4 R0.10, R0.11 B5, B6 R0.12, R0.13 B7, B8 R0.14, R0.15 (NX70 Pulse I/O unit NX70-PULSE4) Signals whose pulse width is smaller than the effective pulse width are considered as input error (noise). Terminal input signal Signals after time...
  • Page 32 Input constant functions can be used along with counter IMPORTANT function. Input Time Constant Functions To use input time constant functions, shared memory setting is ● needed. Using Method Set input constant for 8 external input terminal groups by setting ●...
  • Page 33: Use Input Time Constant Function

    Make sure to access shared memory by 2 word units. ATTENTION Use Input Time Constant Function Overview Install Pulse unit in Ignored as noise slot No. 0 Terminal input signal After time constant processing Ignored as noise Terminal input signal After time constant processing Set time constant for R0.0, R0.1 input, and ignore signals outside the...
  • Page 35: High-Speed Counter Function

    High-Speed Counter Function High-Speed Counter Function What is Counter Function? ● Counter function counts the input pulse number and reflects it into the current value. Also, it sets the offset value by recording data into the current value. ● Pulse I/O unit has 4 channels of 2 phase input counter. There are three types of 2 phase input mode as follows.
  • Page 36 Setting Counter Function To use counter function, shared memory setting is needed. ● Besides shared memory setting, counter can be masked or cleared ● with counter control signal. Step 1. Shared Memory Setting Set the operation mode for each counter CH in the shared memory settings.
  • Page 37 • Make sure to access shared memory by 2 word units. ATTENTION • Internal connection between the counter and pulse/PWM output is fixed on the CHs for counter and pulse/PWM output. • When pulse/PWM output are internally connected to counter, the input mode of counter is automatically configured to the input mode.
  • Page 38 Read Counter Current Value Current value of each counter is stored in shared memory as ● described below. Use the READ instruction (reading data from high-performance ● units) to read the current value by 2 word units. Address: 108h 109h Counter CH0 Current value K-2,147,483,648 to K+2,147,483,647 Address: 10Ah 10Bh...
  • Page 39: Count Function Available As Direction Control Mode

    Count Function Available as Direction Control Mode Overview Install Pulse unit in slot No.0 Pulse train input R0.0 (CH0 IN-A) Direction control signal input (CH0 IN-B) R0.1 Occupied I/O areasa 0V (24V DC) Clear instruction R0.2 (CH0 clear) Mask instruction (CH0 Mask) R0.3 Input pulse train in R0.0 and direction control signal in R0.1 and...
  • Page 40 Shared Memory Setting Counter setting Setting the operation mode for each counter CH. In the example, pulse train is input to R0.0 and direction control signal to R0.1, and counter function is used in direction control mode. Enter FFFFFF00 to shared memory addresses 100h and 101h. 「...
  • Page 41: Count Function Available As Individual Input Mode

    Count Function Available as Individual Input Mode Overview Install Pulse I/O unit in slot No.0 Increase pulse input (CH0 IN-A) Decrease pulse input (CH0 IN-B) Occupied I/O areas 0V (24V DC) Clear instruction (CH0 clear) Mask instruction (CH0 Mask) Input increase pulse in R0.0 and decrease pulse signal in R0.1 and measure the count number.
  • Page 42 Shared Memory Setting Counter setting Setting the operation mode for each counter CH. In the example, increase pulse train is input to R0.0 and decrease pulse setting to R0.1, and counter function is used in direction control mode. Enter FFFFFF10 to shared memory addresses 100h and 101h.
  • Page 43: Count Function Available As Phase Input Mode

    Count Function Available as Phase Input Mode Overview Install Pulse I/O unit in slot No.0 Phase signal pulse input (on A) (CH0 IN-A) Phase signal pulse input (on B) (CH0 IN-B) Occupied I/O areas 0V (24V DC) Clear instruction (CH0 clear) Mask instruction (CH0 Mask) Phase signal from encoder is input to R0.0 and R0.1 and measures the...
  • Page 44 Shared Memory Setting Counter setting Setting the operation mode for each counter CH. In the example, the phase signal from encoder is input to R0.0 and R0.1, and counter function is used in 1 multiplication phase input mode, therefore, enter FFFFFF20 to shared memory addresses 100h 「...
  • Page 45: Comparison Output Function

    Comparison Output Function Comparison Output Function What is Comparison Output Function? Compare the comparison output set value and counter current ● value, and the comparison result is output. Comparison result output [CMPx]: Comparison output set value ≤ Counter current value Comparison result output can be selected from either ON when ●...
  • Page 46 Setting Comparison Output Function To use comparison output function, Step 1. Shared Memory Setting for Comparison Output Set Value Step 2. Shared Memory Setting for are needed. Comparison Output Point Step 1. Shared Memory Setting for Comparison Output Set Value Set the comparison output set value to be compared with counter current value.
  • Page 47 Step 2. Shared Memory Setting for Comparison Output Point Select the counter channel number and output logic for each comparison output point. Address: 104h, 105h b31~ b27~ b23~ b19~ b15~ b11~ Comparison output setting Comparison output CMP0 setting Comparison output CMP1 setting Comparison output CMP2 setting Comparison output CMP3 setting Comparison output CMP4 setting...
  • Page 48: Comparison Output Function With Counter

    Comparison Output Function with Counter Overview Install Pulse I/O unit in slot No.0 Pulse train input (CH0 IN-A) Direction control signal input (CH0 IN-B) Comparison Occupied I/O areas coincidence 0V (24V DC) output (CMP0) Comparison Clear instruction (CH0 clear) coincidence signal CMP0 Current Mask instruction...
  • Page 49 Shared Memory Setting Counter Setting Setting the operation mode for each counter CH. In the example, pulse train is input to R0.0 and direction control signal to R0.1, and counter function is used in direction control mode. Enter FFFFFF00 to shared memory addresses 100h and 101h. 「...
  • Page 50 Setting the Comparison Output Point Select the counter channel number and output logic for each comparison output point. In the example, counter current value at CH0 is compared with comparison output set value and the comparison result is output on CMP0.
  • Page 51: Pulse Output Function

    Pulse Output Function Pulse Output Function What is Pulse Output Function? Pulse output function sends out waves at a frequency randomly ● selected from 1 Hz to 100 kHz range. Setting unit is 1 Hz. There are two output modes as follows: ●...
  • Page 52 Setting Pulse output Function To use pulse output function, Step 1. Shared memory PLS/PWM ● setting and Step 2. Shared memory PLS/PWM frequency setting are needed. Beside shared memory setting, Enable start and direction signals ● are needed to be controlled with PLS control signal. Step 1.
  • Page 53 Make sure to access shared memory by 2 word unit. ATTENTION for shared memory addresses. NOTE "PLS/PWM Flag" in Appendix B Step 2. Shared memory setting (PLS/PWM frequency setting) Configure frequency of output pulses after PLS/PWM setting of ● shared memory. Frequency is set within the range of 1 Hz to 100 kHz by 1 Hz unit.
  • Page 54 Step 3. PLS control signal Beside PLS/PWM setting, Enable, start and direction signals are ● needed to be controlled by PLS control signal. Enable signal → Enable signal determines valid/stop of pulse output. ON: Pulse output valid OFF: Pulse output stop Start signal →...
  • Page 55: Use Pulse Output Function

    Use Pulse Output Function Overview Install Pulse I/O unit in slot No. 0 32 points input unit 0V (24V DC) Direction signal Enable input (PLS0) (PLS0 direction) Enable signal (PLS0 Enable) Start input (PLS0) Start signal (PLS0 start) Occupied I/O areas Direction input (PLS0) Pulse train output Pulse output (PLS0 A)
  • Page 56 Shared Memory Setting PLS/PWM setting Setting the Pulse output mode for PLS/PWM setting. In this example, enter FFFFFFF8 into shared memory addresses 「 」 140h and 141h, because in data refreshing direction control mode, pulse output starts from R2.8 and R2.9 (PLS0) when PLSx Start signal edge rises or data is refreshing.
  • Page 57: Use Pulse Output Function (Frequency Change)

    Use Pulse Output Function (Frequency Change) Overview Install Pulse I/O unit in slot No. 0 32 points input unit 0V (24V DC) Direction signal Enable input (PLS0) (PLS0 direction) Enable signal (PLS0 Enable) Start input (PLS0) Start signal (PLS0 start) Occupied I/O areas Direction input (PLS0) Pulse train output...
  • Page 58 Shared Memory Setting PLS/PWM setting Pulse output form is determined by PLS/PWM setting. In this example, enter FFFFFFF8 into shared memory addresses 「 」 140h and 141h, because in data refreshing direction control mode, pulse output starts from R2.8 and R2.9 (PLS0) when PLSx Start signal edge rises or data is refreshing.
  • Page 59: Use Pulse Output Function (Constant Pulse Output)

    Use Pulse Output Function (Constant Pulse Output) Overview Install Pulse I/O unit in slot No. 0 32 points input unit 0V (24V DC) Direction signal Enable input (PLS0) (PLS0 direction) Enable signal (PLS0 Enable) Start input (PLS0) Start signal (PLS0 start) Occupied I/O areas Pulse train output Pulse output (PLS0 A)
  • Page 60 Timing Diagram Pulse output changes in reference to the input status of each signal as illustrated below. PLS0 Enable signal Pulse output starts when edge rise of Start signal is (R4.0, R3.8) detected while Enable signal is ON. PLS0 Start signal (R4.1, R3.12) PLS0 Direction signal (R4.2, R2.0)
  • Page 61 Configuration of comparison output set value Setting the "Comparison output set value" to be compared with "Counter current value". In the example, CMP0 is gained as output when counter current value reaches 10000. Enter K10000 (H2710) into shared memory 「 」...
  • Page 62 PLS/PWM frequency setting This setting determines the frequency of PLS/PWM pulses. In this example, enter K1000 (H3E8) into shared memory addresses 「 」 148h and 149h, because pulse output starts at R2.8 and R2.9 (PLS0) at 10kHz. After pulse output starts by Start signal, enter K0 (H0) 「...
  • Page 63: Use Pulse Output Function (Setting Increase/Decrease Position)

    Use Pulse Output Function (Setting Increase/ Decrease Position) Overview Install Pulse I/O unit in slot No. 0 32 points input unit 0V (24V DC) Direction signal Enable input (PLS0) (PLS0 direction) Enable signal (PLS0 Enable) Start input (PLS0) Start signal (PLS0 start) Occupied I/O areas Pulse train output...
  • Page 64 When the number of pulses at frequency changing point ATTENTION gets near to extreme, frequency may not be changed due to delay of internal processing (scan time). Timing Diagram Pulse output changes in reference to the input status of each signal as illustrated below.
  • Page 65 Shared Memory Setting Counter setting Setting the operation mode for each counter CH. In this example, counter functions is used in direction control mode, output pulses are counted via internal connection, and FFFFFF02 「 」 is recorded in shared memory address 100h and 101h. Shared memory 100h, 101h settings (bit) 32 16 15...
  • Page 66 Shared memory 120h, 121h settings (Stop pointer) (bit) 32 16 15 Setting item Comparison output set value (CMP0) Set value K 10000 Settings PLS/PWM Setting Pulse output form is determined by PLS/PWM setting. In this example, enter FFFFFFF6 into shared memory addresses 「...
  • Page 67: Pwm Output Function

    PWM Output Function PWM Output Function What is PWM Output Function? PWM output function enables change of output Duty at any ● frequency by 1% unit within the range of 0 to 100%. Available frequency range is 1Hz to 30kHz, and setting unit is 1Hz. Pulse I/O unit provides up to 4CH PWM output.
  • Page 68 PWM Output Function Configuration To use PWM output function, Step 1. PLS/PWM setting of shared ● memory, Step 2. PLS/PWM frequency setting of shared memory, and Step 3. PWM Duty setting of shared memory are needed. Beside shared memory setting, Enable and Start signals are needed ●...
  • Page 69 Make sure to access shared memory by 2 word unit ATTENTION "Shared Memory Areas" in Appendix A for shared memory addresses. NOTE Step 2. Shared memory setting (PLS/PWM frequency setting) Configure frequency of output pulses after PLS/PWM setting of ● shared memory.
  • Page 70 Step 4. PWM control signal After shared memory setting, Enable and Start signals are needed ● to be controlled with PWM control signal. Enable signal → Enable signal determines valid/stop of PWM output. ON: PWM output valid OFF: PWM output stop Start signal →...
  • Page 71: Use Pwm Output Function

    Use PWM Output Function Overview Install Pulse I/O unit in slot No. 0 32 points input unit 0V (24V DC) Enable input (PLS0) Enable signal 0 Enable) Start input (PLS0) Start signal 0 start) Occupied I/O areas PWM Pulse train output Pulse train output (PWM0) Sending pulse output in direction control mode.
  • Page 72 Shared Memory Setting PLS/PWM Setting Pulse output form is determined by PLS/PWM setting. In this example, enter FFFFFFF0 into shared memory addresses 「 」 140h and 141h. In data refreshing direction control mode, PWM output starts from R2.12 (PWM0) when PLSx Start signal edge rises. Shared memory 140h, 141h settings (bit) 32 16 15...
  • Page 73: Application Examples

    Application Examples Speed Measuring Overview Install HSC unit in slot No. 0 (CH0 IN-A) (CH0 IN-B) Occupied I/O areas Count phase input from the encoder, and calculate rotation per minute based on the counts. In this example, the resolution of encoder is 1000 pulses/rotation. Formula for calculation of rotation per minute Pulse per second Rotation per minute =...
  • Page 74 Flow Chart Power ON Set values that are not likely to coincide (K-16777216) as the target value (DT0, DT1). 1 second standby Read current value (DT2, DT3) Set initial value to 0 (DT4, DT5) Convert to rotation (RPM) (DT6, DT7) In phase differential input mode, the input pulse IMPORTANT magnification can change with multiplication function.
  • Page 75: Fixed Length Processing

    Fixed Length Processing Overview Install Pulse I/O unit in slot No.0 16 points input unit 16 points output unit 0 V(24V DC) Start input Emergency stop (CH0 IN-A) Count phase signals from encoder. (CH0 IN-B) Occupied I/O area Roller Motor Encoder START/STOP (CMP0)
  • Page 76 Timing Diagram Count value and output change according to the input status of each signal as illustrated below. Initial value 5000 Initial value 5000 Target value 250 Start R4.0 Emergency stop(R4.2) START/STOP(R2.0) (CMP0) High/low Speed (R2.1) (CMP1) Cutter operation (R5.1) 0.5s 0.2s Flow Chart Power ON...
  • Page 77 Shared Memory Setting Counter setting Setting the operation mode for each counter CH. In the example, the phase signal from encoder is input to R0.0 and R0.1, and counter function is used in 1 multiplication phase input mode, and therefore enter FFFFFF20 to shared memory addresses 「...
  • Page 78 Setting the Comparison Output Set Value Select the counter channel number and output logic for each comparison output point. In the example, counter current value at CH0 is compared with comparison output set value and the result is output as CMP0 and CMP1.
  • Page 79: Position Control By Absolute Value

    Position Control by Absolute Value Overview Install Pulse I/O unit in slot No.0 16 points output unit 0 V(24V DC) 16 points input unit Start input (Move to +1000) Start input (Move to -1500) Emergency stop (CH0 IN-A) Count phase signals from encoder.
  • Page 80 Timing Diagram Count value and output change according to the input status of each signal as illustrated below. R4.0 ON Target value K1000 R4.0 ON Target value K1000 (Current value < Target value) (Current value > Target value) 1000 1300 1000 Start (R4.0) Start (R4.0)
  • Page 81 Flow Chart Power ON Always read current value to DT0 and DT1. R4.0 ON? R4.1 ON? R0 ON Record target value (K1000) R1 ON DT2, DT3 Record target value (K-1500) DT2, DT3 Current value < Target value Record deceleration point (K300) DT2, DT3 Record deceleration point (K-300) DT2, DT3...
  • Page 82 Shared Memory Setting Counter Setting Setting the operation mode for each counter CH. In the example, the phase signal from encoder is input to R0.0 and R0.1, and counter function is used in 1 multiplication phase input mode; therefore, enter FFFFFF20 to shared memory addresses 「...
  • Page 83: Position Control By Data Table

    Position Control by Data Table Overview Install Pulse I/O unit in slot No.0 16 points input unit 0 V(24V DC) 16 points output unit Start input Emergency stop (CH0 IN-A) Count phase signals from encoder. (CH0 IN-B) Motor Encoder Occupied I/O area (CMP0) Inverte Start/Stop...
  • Page 84 Timing Diagram Count value and output change according to the input status of each signal as illustrated below. Deceleration starts K300 pulses prior to each target value. 3000 2000 -1500 -2000 Start (R4.0) CMP0 operation (R2.0) Direction (R5.0) CMP1 High- speed (R2.1)
  • Page 85 Flow Chart Power ON Organizing operation pattern table Always read current values from DT0 and DT1, and set IXDT12 value into data register target value area. Start? R4.0 ON Initialize index as 0 Enter IXDT12 value as target value. Current value < Target value? Enter deceleration point (K300) DT4, DT5 Enter deceleration point...
  • Page 86 Shared Memory Setting Counter Setting Setting the operation mode for each counter CH. In the example, the phase signal from encoder is input to R0.0 and R0.1, and counter function is used in 1 multiplication phase input mode; therefore, enter FFFFFF20 to shared memory addresses 「...
  • Page 87 Shared Memory 120h, 121h Settings (Target Value 3) (bit) 32 16 15 Setting item Comparison output set value (for CMP0) Set value K -2000 Settings Shared Memory 120h, 121h Settings (Target Value 4) (bit) 32 16 15 Setting item Comparison output set value (for CMP0) Set value K 3000 Settings...
  • Page 89: Appendix A. Specifications

    Appendix A Specifications Performance Specifications List General Specifications Item Specifications 0 °C to +55 °C (32 °F to 131 °F) Operating Temperature -25 °C to +70 °C (-13 °F to 158 °F) Storage Operating 30 to 85% RH (Non-condensing) Humidity Storage 30 to 85% RH (Non-condensing) 500V ac for 1 minute, between each pin<->...
  • Page 90 I/O Specifications Common Specifications Item Description Occupied I/O points Input 32 points, output 32 points Internal Current Consumption 500 mA or less (5V DC) Operation Indicator 32-point LED External connection method Connector (One MIL standard 40P connector) Weight Approx. 130g Input Specifications Item Description...
  • Page 91 Output Specifications Item Description Isolation method Photocoupler Rated load voltage 5 to 24V DC Rated load voltage range 4.75V DC to 26.4V DC 0.1A ([ II ]A1 to A8, [ II ]B1 to B4 terminal), Max. load current 0.8A ([ II ]B5 to B8 terminal) OFF state leakage current 1 µA or less Max.
  • Page 92 Function Specifications Functions Item Description Occupied I/O points 32 In/32 Out Input, Output External point 16 In/16 Out Number of channels Counting range 32-bit signed (-2,147,483,648 to +2,147,483,647) Counter Counting speed 200 kHz Input mode Direction control, individual input, phase input Special functions Multiplication (1, 2, 4) Comparison...
  • Page 93: Appendix B. I/O Contact Points And Memory Map

    Appendix B I/O Contact Points and Memory Map I/O Contact Points Input contact NX70 Pulse I/O unit (NX70-PULSE4) External Functions Terminal Input Counter Comparison Pulse R0.0 CH0 IN-A R0.1 CH0 IN-B R0.2 CH0 Clear R0.3 CH0 Mask R0.4 CH1 IN-A R0.5...
  • Page 94 Output contact NX70 Pulse I/O unit (NX70-PULSE4) Functions External Terminal Output Counter Comparison Pulse R2.0 [Comparison CMP0] PLS0 direction R2.1 [Comparison CMP1] PLS1 direction R2.2 [Comparison CMP2] PLS2 direction R2.3 [Comparison CMP3] PLS3 direction R2.4 [Comparison CMP4] R2.5 [Comparison CMP5] R2.6...
  • Page 95: Shared Memory Areas

    Shared Memory Areas NX70 PLC Pulse I/O unit (4CH) shared memory map. Shared Memory Map Access Address Functions Event unit [word] 100h, 101h Counter setting Counter functions setting 102h, 103h Reserved 104h, 105h Comparison output setting Comparison output setting 106h, 107h Reserved 108h, 109h Counter <CH0>...
  • Page 96 Shared Memory Area Description Below is a description of NX70 PLC Pulse I/O (4CH) unit shared memory. 100h, 101h Counter functions setting Address: 100h 101h Setting the operation b31~ b27~ b23~ b19~ b15~ b11~ Counter setting mode for each counter CH with Counter CH0 setting (used/unused) shared memory settings.
  • Page 97 102h, 103h Reserved 104h, 105h Comparison output point setting Address: 104h, 105h Select the counter b31~ b27~ b23~ b19~ b15~ b11~ Comparison output point setting CH and output logic to be compared with Comparison output point CMP0 setting comparison output set value.
  • Page 98 106h, 107h Reserved 108h to 10Fh Counter <CHx> Current value Current value of each counter is stored in shared memory as ● described below. Use the READ instruction (reading data from high-performance ● units) to read the current value by 2 word units. Address: 108h 109h Counter CH0 Current value K-2,147,483,648 to K+2,147,483,647...
  • Page 99 13Ah, 13Bh Reserved Input time constant setting 13Ch, 13Dh Set the input time constant for 8 external input terminal groups with ● shared memory settings. Input time constant is set for external input terminal, so function ● allocations for each of input R0.0 to R0.15 settings are also valid. (Counter input) Address: 13Ch, 13Dh Input time...
  • Page 100 13Eh, 13Fh Reserved 140h, 141h PLS/PWM Setting Set PWM output form by shared memory PLS/PWM settings. Address: 138h, 139h b31~ b27~ b23~ b19~ b15~ b11~ PLS/PWM Setting PLS 0/PWM 0 setting PLS 1/PWM 1 setting PLS 2/PWM 2 setting PLS 3/PWM 3 setting Unused Unused Unused...
  • Page 101 Shared Memory Area Setting Example Shared Setting memory Setting example Setting range item address PLS/PWM Setting range For each output (PLS0, PWM0 to PLS3, PWM3) 4 bits are allocated. PWM output H00: Data change on rising edge of start H4: Pulse output (direction control mode) H1: Data change on rising edge of start, or comparison output H2: Data change on rising edge of start,...
  • Page 102 142h, 143h PLS/PWM flag Pulse output status can be monitored by reading the bit of this address. CH3 flag CH2 flag CH1 flag CH0 flag Address: b31 to b24 b23 to b16 b15 to b18 b17 to b1 142h, 143h bit7 bit6 bit5...
  • Page 103 Flag example Set value Item bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 On power input Average Pulse 0 Hz setting output Error in frequency setting Average 0 Hz setting Error in frequency setting output Duty 0% setting Error in Duty setting 144h to 147h Reserved...
  • Page 106 NX70 Pulse I/O Unit (4CH) OE M Controls Trademarks not belonging to OE M Controls are www.oemax.com property of their respective companies. Copyright © 2004 OE M Controls Publication NX70-UM007A-EN-P - January 2005...

Table of Contents