Fuji Electric MICREX-SX Series User Manual
Fuji Electric MICREX-SX Series User Manual

Fuji Electric MICREX-SX Series User Manual

Built-in high-speed counter
Hide thumbs Also See for MICREX-SX Series:

Advertisement

series
USER'S MANUAL
Built-in High-Speed Counter
FEH534a

Advertisement

Table of Contents
loading

Summary of Contents for Fuji Electric MICREX-SX Series

  • Page 1 series USER’S MANUAL Built-in High-Speed Counter FEH534a...
  • Page 2 User’s Manual SX-Programmer Expert FEH257 <Reference>, MICREX-SX series Expert. * In addition to the above manuals, the following Fuji Electric Co.,Ltd.site offers various manuals and technical documents associated with MICREX-SX series. URL http://www.fujielectric.com Notes 1. This manual may not be reproduced in whole or part in any form without prior written approval by the manufacturer.
  • Page 3 Safety Precautions Be sure to read the "Safety Precautions" thoroughly before using the module. Here, the safety precautions items are classified into "Warning" and "Caution". Warning : Incorrect handling of the device may result in death or serious injury. Caution : Incorrect handling of the device may result in minor injury or physical damage.
  • Page 4  Do not attempt to change system configurations (such as installing or removing expansion block) while the power is ON, otherwise, failure or erratic operation might occur.  Do not attempt to repair the module by yourself, but contact your Fuji Electric agent, otherwise, fire, accident or failure might occur.
  • Page 5 Revision * The manual No. is printed at the bottom right of the cover of this manual. Printed on * Manual No. Revision contents Jan. 2017 FEH534 First edition Oct. 2017 FEH534a The safety precautions were revised.
  • Page 6: Table Of Contents

    Contents Contents Preface Safety Precautions Revision Contents Section 1 Overview 1-1 Function List .............................1-1 1-2 Supported Version of Program Loader ..................1-2 Section 2 Specifications 2-1 High-speed Counter Operation .......................2-1 2-1-1 Counter mode ...............................2-1 2-2-2 Delay timer mode ............................2-2 2-2 Input Specifications .........................2-3 2-3 Special Relay/Register Specifications ...................2-4 (1) High-speed counter control flag Attribute: R/W ....................2-4 (2) High-speed counter current value latch register Attribute: R ................2-4...
  • Page 7: Section 1 Overview

    Section 1 Overview 1-1 Function List SPF series basic unit has a built-in high-speed counter. The table below lists the main functions. Function NA0Po14o NA0Po24o NA0Po32o NA0Po40o NA0Po60o No. of channels *1 Max. 8 channels • 90-degree phase-differential two-phase signal Pulse input format •...
  • Page 8: Supported Version Of Program Loader

    Section 1 Overview 1-2 Supported Version of Program Loader • SX-Programmer Expert: V3.6.11 or later • SX-Programmer Standard: V3.016 or later...
  • Page 9: Section 2 Specifications

    Section 2 Specifications 2-1 High-speed Counter Operation 2-1-1 Counter mode The high-speed counter has three types of counter modes. The table below shows the operations of each mode. Counter mode Up count (+1) Down count (-1) Assign an input (X ) of Forward pulse 1 multiplication the basic unit to the...
  • Page 10: Delay Timer Mode

    Section 2 Specifications 2-2-2 Delay timer mode In “Delay timer mode”, 0.1ms internal clock is used instead of high-speed counter input utilizing the hardware of the high-speed counter. You can use the high-speed counter as a high-speed delay timer with 0.1ms of base time. However, note that the high- speed counter and delay timer cannot be used in the same channel at the same time.
  • Page 11: Input Specifications

    Section 2 Specifications 2-2 Input Specifications For count signal input, the input on the basic unit is used. The table below shows the input specifications of the basic unit. Function High-speed DC input Medium-speed DC input Low-speed DC input Rated voltage 24V DC Input signal Voltage (tolerance)
  • Page 12: Special Relay/Register Specifications

    Section 2 Specifications 2-3 Special Relay/Register Specifications (1) High-speed counter control flag Attribute: R/W Address Name Description Expert Standard %MX1.61536.0 M615360 CH0 Count enable/disable %MX1.61536.1 M615361 CH1 Count enable/disable %MX1.61536.2 M615362 CH2 Count enable/disable Sets the counting operation of the high-speed counter. ON: Stop counting, OFF: Enable counting %MX1.61536.3 M615363...
  • Page 13: Direction Signal Attribute: R/W

    Section 2 Specifications (3) Direction signal Attribute: R/W This flag is used in “Command pulse (A-phase) + Direction signal (B-phase)” mode. Address Name Description Expert Standard %MX3.61536.0 L615360 CH0 Direction signal (by software) %MX3.61536.1 L615361 CH1 Direction signal (by software) %MX3.61536.2 L615362 CH2 Direction signal (by software)
  • Page 14: High-Speed Counter Match Flag Attribute: R

    Section 2 Specifications (5) High-speed counter match flag Attribute: R Address Name Description Expert Standard %MX1.61489.0 M614890 Match flag CH0 This flag can be used only for an event address of "Event task". %MX1.61489.1 M614891 Match flag CH1 The event task is executed if this flag is assigned to an event address &...
  • Page 15: Section 3 Programming

    Section 3 Programming 3-1 Parameter Setting In the high-speed counter parameter setting of the basic unit, specify the channel to be used, counter mode and digital filter time of the input. This subsection describes how to set them. 3-1-1 High-speed counter setting <Setting procedure>...
  • Page 16 Section 3 Programming 3) Set the “Mode Selection”, “Count mode”, and “Terminal selection” for the channel to be used, and then click the [OK] button. <Setting item and range> Item Setting range Mode selection Not use / Delay timer mode / High-speed counter mode U/D 1 multiplication Forward pulse (A-phase) / Reverse pulse (B-phase) 1 multiplication U/D 2 multiplication...
  • Page 17: Digital Filter Setting

    Section 3 Programming 3-1-2 Digital filter setting For input terminals (input address) to input high-speed counter signals, set the digital filter time. * “1ms” is selected by default. With the default setting, signals cannot be counted. <Setting procedure> 1) Click the [DI Filter Definition] tab on the “Basic unit parameter” dialog box, set the digital filter time of the inputs to be used, and then click the [OK] button.
  • Page 18: High-Speed Counter Fb

    Section 3 Programming 3-2 High-speed Counter FB (1) R_HSC High-speed counter current value direct read FB 1) FB format Expert Standard R_HSC R_HSC V1 (EN) (Q) V3 HSC_POS ERROR WV2 (HSC_POS) (ERROR) V4 (CV) DV5 Parameter Name Data type Description Read request BOOL VAR_INPUT...
  • Page 19: W_Hsc High-Speed Counter Current Value / Set Value Write Fb

    Section 3 Programming (2) W_HSC High-speed counter current value / set value write FB 1) FB format Expert Standard W_HSC W_HSC V1 (EN) (Q) V5 HSC_POS ERROR WV2 (HSC_POS) (ERROR) V6 REG_SEL V3 (REG_SEL) DV4 (PV) Parameter Name Data type Description While this signal is ON, the value set by “PV”...
  • Page 20: W_Hsc_Flg High-Speed Counter Flag Control Fb

    Section 3 Programming (3) W_HSC_FLG High-speed counter flag control FB 1) FB format Expert Standard W_HSC_FLG W_HSC_FLG V1 (EN) (Q) V6 WV2 (HSC_POS) (ERROR) V7 HSC_POS ERROR V3 (MASK) MASK V4 (CLR) V5 (DIR) Parameter Name Data type Description Control request BOOL VAR_INPUT When this signal is ON at the execution of the instruction, the...
  • Page 21 Section 3 Programming • Once “CLR” is turned ON, the current value is continuously cleared until “CLR” is turned OFF. The high-speed counter (Hardware register) is immediately cleared when “CLR” is turned ON. However, the cleared value (hardware register value) is reflected to the counter current value register (special register) at the end of the scan.
  • Page 22: R_Hsc_Latch High-Speed Counter Current Value Latch Fb

    Section 3 Programming (4) R_HSC_LATCH High-speed counter current value latch FB 1) FB format Expert Standard R_HSC_LATCH R_HSC_LATCH V1 (EN) (Q) V4 WV2 (HSC_POS) (ERROR) V5 HSC_POS ERROR V3 (SW_LATCH) (L_STS) V6 SW_LATCH L_STS (L_DATA) DV7 L_DATA Parameter Name Data type Description While this signal is ON at the execution of the instruction, Latch enable...
  • Page 23: Section 4 Wiring

    Section 4 Wiring 4-1 Notes on Wiring The input signal of the high-speed counter is susceptible to noise. When performing wiring, note the following points. • Input signal cable shall be as short as possible, be separated from the cables of other devices, and not be wired together with such cables.
  • Page 24: Example Of Using External 24V Dc Power Supply

    Section 4 Wiring 4-2-2 Example of using external 24V DC power supply External device B-phase A-phase External device +24V Common 24V+ 24V- 24V DC Max. 400mA can be supplied. * When using an external power supply, do not wire the 24V DC power supply of the SPF basic unit.
  • Page 25 Fuji Electric Co., Ltd. Gate City Ohsaki, East Tower, 11-2, Osaki 1-chome, Shinagawa-ku, Tokyo 141-0032, Japan E-mail: micrex-sx@fujielectric.com URL: http://www.fujielectric.com/ Materials covered in this document are subject to revision due to the modification of the product.

This manual is also suitable for:

Micrex-sx spf

Table of Contents