TSUJI ELECTRONICS CT08-ER2 User Manual

2ch encorder counter and 8-16ch counter timer
Table of Contents

Advertisement

Quick Links

2ch ENCORDER COUNTER and 8~16ch COUNTER TIMER
CT08-ER2, CT16-ER2
USER'S MANUAL
4058,4033 (Rev3)
APPLICATION
OF
ELECTRONIC
DEVICES
TSUJI ELECTRONICS CO.,LTD
3739 Kandatsu-machi Tsuchiura-city
Ibaraki-Pre 300-0013 Japan
Phone +81-(0)29-832-3031
Fax
+81-(0)29-832-2662
URL http://www.tsujicon.jp
E-mail info2@tsuji-denshi.co.jp

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CT08-ER2 and is the answer not in the manual?

Questions and answers

Summary of Contents for TSUJI ELECTRONICS CT08-ER2

  • Page 1 2ch ENCORDER COUNTER and 8~16ch COUNTER TIMER CT08-ER2, CT16-ER2 USER'S MANUAL 4058,4033 (Rev3) APPLICATION ELECTRONIC DEVICES TSUJI ELECTRONICS CO.,LTD 3739 Kandatsu-machi Tsuchiura-city Ibaraki-Pre 300-0013 Japan Phone +81-(0)29-832-3031 +81-(0)29-832-2662 URL http://www.tsujicon.jp E-mail info2@tsuji-denshi.co.jp...
  • Page 2 TMRH? timer read read out timer value  Reply: 10 digits in hex VER? version information read read out software version information Reply: "1.00 11-11-11 CT08-ER2" (example) VERH? hardware version information read out hardware version information Reply: "HD-VER 1" (example) REST...
  • Page 3 Store data commands for synchronous gate signal and timer clock Preparation of data acquisition commands COMMAND FUNCTION DETAIL CLGSDN Clear Gate Synchronous clear current data acquisition address Data Number (set data address to zero) CLGSAL Clear Gate Synchronous clear current data address and all memory data acquired All data (It takes 30 seconds in all data clear) GSDNddd・・・...
  • Page 4 Synchronous data acquisition common commands COMMAND FUNCTION DETAIL STOP gate synchronous data stop gate synchronous data acquisition acquisition STOP (Same as command "STOP" of a counting stop ) GSTS? Gate synchronous data read out the status of gate synchronous data acquisition Status read acquisition GSDAL?
  • Page 5 Continuation synchronous reading command of a counter timer COMMAND FUNCTION DETAIL TSDL(H)uvw Timer Synchronous DownLoad Specify the counter ch from u to v and w/ or w/o ch u to v and timer timer data to download in synchronization with timer w: 0/no timer data, 1/timer data Reply: dec w/o "H", hex w/ "H"...
  • Page 6 LAN command COMMAND FUNCTION DETAIL MAC? MAC address read reply (example) : 0050C2970018  Read only IPAxxx_xxx_xxx_xxx IP address set Set IP address xxx: 000~255 Activated after power on again or command "RSET" IPA? IP address read Read IP address Reply (example) : IPA192_168_001_155 PRTx・・・x Set port number Set port number...
  • Page 7 Command for Encorder Counter COMMAND FUNCTION DETAIL Encorder chA read chA counter read request Reply:RA±□□・・・□□ (□:Decimal) Encorder chB read chB counter read request Reply:RB±□□・・・□□ (□:Decimal) SA±□□・・・□□ Encorder chA preset chA counter preset (□:Decimal) SB±□□・・・□□ Encorder chA preset chB counter preset (□:Decimal) S20x...
  • Page 8: Table Of Contents

        CONTENTS 1. Specifications ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 1-1. Abstract ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 1-2. Appearance ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 1-3.Block Diagram ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 2.Before using ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 2-1. Select input signal level for count ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 2-2.Setting LAN communication ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 2-2-1.Preparation for setting ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 2-2-2.Change setting of network ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 2-2-3.Turn back PC set data ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 12 2-2-4.Connection test ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 2-3.Setting USB communication ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 2-3-1.Preparations for setting ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・...
  • Page 9 4-3 Synchronous gate signal data acquisition commands ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-4 Synchronous internal clock data acquisition commands ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-4-1 Set and read synchronous timer RUN time ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-4-2 Set and read synchronous timer OFF time ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-4-3 Start synchronous timer clock data acquisition ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-5 Common commands on synchronous data acquisition ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-5-1.Counter stop ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-5-2.Read out the status of synchronous gate data acquisition ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・...
  • Page 10: 1. Specifications

    User's manual 1. Specifications 1-1. Abstract  CT08 (16) -ER2 is based on the 8ch counter timer CT08-01D, it is a multifunction machine plus the function of 2ch encoder counter ER2C-04.Position information and counter information such as when continuously acquires the count data that depends on the position can be acquired simultaneously. Set time until 0.000001 seconds to more than 1,000,000 seconds, set number of counts can be set to any until 1cts ~ 4,294,967Kcts.
  • Page 11: Block Diagram

    Phase B (N.C) (N.C) Phase Z Line driver input (in case of pin4-5. pin6-7,pin8-9 are also same) pin4 120Ω Select termination by ⑪ switch pin5 ⑬ Fuse holder 3A(200V) mini fuse available. ⑭ AC90V to 240V power supply cable. 1-3.Block diagram(CT08-ER2) 11/43...
  • Page 12: 2.Before Using

    2.Before using 2-1. Select input signal level for count CT08(16)-ER2 can select count input signal from TTL or NIM on each channels. If you are going to change input signal settings, remove the screws that hold the top cover and remove top cover.
  • Page 13: 2-2-2.Change Setting Of Network

    When in telnet operation, send data "VER?" which are expected reply data. If reply data is like ”1.04 15-05-19 CT08-ER2", then communication line is right. "Telnet" function contains hardware and software function, when disconnect line, line must be cut off by "telnet"...
  • Page 14: 2-3.Setting Usb Communication

    Set COM port number which is known in previous item, it's need to check communication line is available or not. In this case It's no need to set baud rate. Send the command data such as "VER?", then get the reply "1.04 15-05-19 CT08-ER2", there is no problem for communication. 2-4.Connect communication cables  2-4-1.Connect communication cables...
  • Page 15: 2-4-4.Stop Signal (Ttl Positive Logic)

     2-4-4.Stop signal (TTL positive logic) TTL positive logic signal quits counting action. The width of stop signal pulse must be more than 100ns. If pulse width is long, please set to "L" before next start It's possible to check the count stop status by LED lamp on front panel. It counts from start signal "ON"...
  • Page 16: 3.Communication Commands

    3.Communication commands 3-1.Communication commands Command characters are ASCII data. The delimiter of communication command is CR+LF in transmit and receive case. In "all reply modes" , CT16-ER2 replies "OK" or "NG", even if the command doesn't require a reply. Please see the section 3-7. 3-2.
  • Page 17: 3-2-6.Setting And Readout Of Preset Timer

    Type of command CPR? To read out preset count value. Reply 0001000 Reply data is 8 digit decimal value. (Kcts unit) CPRF? To read out preset count value. Reply 0001000 Reply data is 8 digit decimal value. (cts unit) (If reply data is over 8 digit, the digit is as the count digit.) 3-2-6.
  • Page 18: 3-4.Read-Out And Clear Commands For Counter And Timer

    3-4.Read-out and clear commands for counter and timer 3-4-1.Read-out and clear commands for all counter and timer Type of command RDAL? To read all counter channels and timer Reply example 1234567890 2345678901 3456789012 ・・・・・ 0123456789 These data are 10 digit number in decimal. The data order is CH0 CH1 CH2 ・・・・・・...
  • Page 19: 3-4-2.Read-Out And Clear Commands For All Counter

    3-4-2. Read-out and clear commands for all counter Type of command CTR?xx To read count value of channel number xx. CTR?xxyy To read count value from channel number xx to channel number yy. Reply example 1234567890 Reply data is 10 digit data in decimal. Unit is cts. 1234567890 2345678901 3456789012 ・・・・・...
  • Page 20: 3-4-4.The Continuation Read Of The Synchronous Timer Counter By An Internal Timer

    Type of command CTMRH?uuvvww The current value of the specified counter timer is read with a hexadecimal number. counter: uu ~ vv ch timer: ww/01 with read ww/00 without read Reply example  1DC2829F 07C38528 0451EEC3 106D8230 ・・・・・ 00FFE101 Reply with 8 characters of hexadecimal numbers . counter: cts unit, timer μs unit 3-4-4.
  • Page 21: 3-4-5.The Continuation Read Of The Synchronous Timer Counter By The External Gate Input

    Type of command TSDSTOP Stopped a timer synchronous continuation download. STOP Stopped a counter and a timer synchronous continuation download. Decimal number download type 1234567890 1234567890 2345678901 3456789012 ・・・・・ 0123456789 Returned in order with 10 figures of decimal numbers. If 10 figures is exceeded, it will be extended automatically. A counter is a cts unit of measure.
  • Page 22 XSDLX(H)uuvvww The details of an external-gate input synchronous download are specified. If H is attached, a data will be acquired with a hexadecimal number. If H is not attached, a data will be acquired with a decimal number. (Timer Synchronous DownLoad) uu: 00 - 17 / top counter channel vv: 00 - 17 / end counter channel Read out data from ch uu to ch vv.
  • Page 23: 3-5.Inquiry Of Over-Flow Count Data

    3-6. Inquiry of software version information Type of command VER? To inquiry about software version information Reply example 1.04 15-05-19 CT08-ER2 Reply is in order, version number, date and type of the unit. Type of command VERH? To inquiry about hardware version information Reply example ...
  • Page 24: 2)Command To Read Internal Flag Of Counter

    Type of command ALL_REP_DS There is not reply, if the command doesn't require a reply. Type of command ALL_REP? Read "all reply mode" setting. The mode is active, if the answer is "EN". The mode is not active, if the answer is "DS". 2) Command to read internal flag of counter Type of command FLG?0 FLG?1 FLG?2 FLG?3...
  • Page 25: 4.Counter Data Acquisition Commands For Internal Ram

    4. Counter data acquisition commands for internal RAM 4-1. About counter data acquisition commands These commands help you to store the count data changing from moment to moment. There are two timings of storing counter data, one is through GATE signal, the other is internal TIMER. As the following figure shows, the data which increased input pulse in count time are stored sequentially in memory.
  • Page 26: 4-2-1.Clear Current Data Address

    4-2-1. Clear current data address Type of command CLGSDN Clear current data address. Set data acquisition starting address to zero. 4-2-2. Clear current data address and all stored data Type of command CLGSAL Clear current data address and all memory data. Set data acquisition start address to zero and clear all memory data.
  • Page 27: 4-3 Synchronous Gate Signal Data Acquisition Commands

    4-3. Synchronous GATE signal data acquisition commands Type of command GSTRT Start to store gate synchronous data. (Just after turn on power, it's stop condition) Entering this command after preparation of section 4-2, CT16-ER2 starts data acquisition synchronized gate signal. It stores signal data from current data address to end data address synchronized by Gate signal.
  • Page 28: 4-4-3 Start Synchronous Timer Clock Data Acquisition

    4-4-3. Start synchronous timer clock data acquisition Type of command GTSTRT Start to store clock synchronous data. (Just after turn on power, it's stop condition) Entering this command after preparation of section 4-2-1~3 and 4-3-1~2, CT16-ER2 starts synchronous clock signal data acquisition. It stores signal data from current data address to end data address synchronized by clock signal.
  • Page 29: 4-5-4.Read Out Stored Data Of Specific Range

    Data are output in order counter ch0 to chX-1 and timer on one line. Each data is output at 5 digits added 0 on head if the number of digit is below 5. If over 5, each data is output at maximum digits of them. Type of command GSDALH? Read out in hexadecimal.
  • Page 30 Type of command GSDRDX?xxxxyyyy(K) Read out acquired data from data address of xxxx to yyyy in decimal. xxxx, yyyy :When you input below 3 digits number, please put 0 on head and 4 digits. If K is attached to an end, it expresses x1000. Please use this for 9999 or more numbers. Ex. GSDRD?01234567 This is an example of reading out data address from 123 to 4567.
  • Page 31: 4-5-5.Lan Set Up Commandslan Set Up Commands

    ch4  timer Reply example: 02123, 00456, 07890, 234567 ← Data of No.123 02123, 00456, 07890, 234567 ← Data of No.124   ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 04123, 00456, 07890, 234567 ← Data of No.4567 Data are output in order required counter (ch0 to ch7) and timer on one line. Each data is output at 5 digits added 0 on head if the number of digit is below 5.
  • Page 32: 4-5-6.Special Commands

    Type of command GTW? Read out Gate Way address. Reply example GTW192_168_001_001 Type of command SNMxxx_xxx_xxx_xxx xxx: 000~255 Set sub net mask. 例)SNM255_255_255_000 Set sub net mask to 255.255.255.0. Type of command SNM? Read out sub net mask. Reply example SNM255_255_255_000 4-5-6.
  • Page 33 (Download commands and download speed) Download commands are classified as follows. (1) Download the data specified in the data address (0~9999) from all channels in hexadecimal. GSDALXH? GSDRDXH?xxxxyyyy(K) (2) Data download except (1) in hexadecimal. GSDALH? GSDRDH?xxxxxyyyy GSCRDH?xxxxyyyy GSCRDXH?uuvvwwxxxxyyyy(K) (3) Data download in decimal. GSDAL? GSDALX? GSDRD?xxxxyyyy...
  • Page 34: 5.Encorder Counter

    5.Encorder counter 5-1.Read and Preset  5-1-1.Encorder Counter read command Type of command chA counter read request.(the least significant 7 digit) Reply example RA±□□□□□□□ (□: Decimal number) Type of command chA counter read request.(10 digit) Reply example RA±□□・・・□□ (□: Decimal number) Type of command chB counter read request.(the least significant 7 digit) Reply example...
  • Page 35: 5-2-2.Setting Confirmation Command

     5-2-2.Setting confirmation command Type of command S20S? read out chA encorder counter setting. Reply example 1 times、CW: count up 2 times、CCW:count down Type of command S22S? read out chB encorder counter setting. Reply example 1 times、CW: count up 2 times、CCW:count down 5-3.Clear Encorder Counter by Z-phase signal Type of command ZC□...
  • Page 36: 5-4-2.Offset Setting Comand

    Type of command MR△ Read out scalingparameter (multiple). △:A~B (ch A~B) Reply example M△±□□□.□□□□□□ (reply is sent in the format) △:A~B (ch A~B) □: Decimal number  5-4-2.Offset set command Type of command OW△±□□・・・□□ (must be in within 10 digit) Set scaling parameter : offset offset range:0~±2147483647 If the value is over the range, maximun(or minimum) value is set.
  • Page 37: 6.Abstract Of Lcd Display

    Type of command SDU00~17 To LCD upper line, it shows one of a count value from ch0 to ch17 . CT08-ER2:CH8 is Encorder A,CH9 is Encorder B. CT16-ER2:CH16 is Encorder A,CH17 is Encorder B. SDUTM To LCD upper line, it shows a timer value.
  • Page 38: 7.Firmware Update

    7.Firmware update For CT16-ER2 it's possible to upgrade firmware via communication tools. Here is an overview of operation. Firmware is updated via USB communication line, and the Counter is connected with PC with USB cable. Beforehand, please download the version up file (latest version) from HP site. Hereafter, FLASH ROM write-in software assumes that it has prepared beforehand.
  • Page 39: 8.Synchronous Drive Of Multi Units

    8.Synchronous drive of multi units   It's possible to operate multi units synchronously.   Then CTXX-01 contains XX CH counters, it's possible to count more channels at synchronous mode   using multi units of the same series.   Here are procedures of this usage. Connect the RUN signal (TTL OUT) of first unit to the GATE signal (TTL IN) port of second unit.
  • Page 40: 11. Interface With External Devices

    11. Interface with external devices 5V LEMO TTL IC GATE INPUT LEMO TTL IC START, STOP ◆ Regarding to remote controlled input termination switch (2019/10/29 new functionality) Products that supports remote controlled input termination selection can use the following commands to control input termination type. IN?␣00 Query termination type for channels 0 to 7.
  • Page 41: 12.Trial Software

    12.Trial Software In Ct16-ER2, Windows control software, which has been in use in CT08-01E will be used. From our web site, please download and use the latest version. If you use this software you will be able to control the CT16-ER2 from Windows PC. 41/43...
  • Page 42: 13.Performance And Specifications

    1cts ~ 4,294,967 Kcts or cts Count mode single mode By start trigger or "STRT" command, CT08-ER2 counts input pulse once within preset time or count. Count stops immediately by stop trigger or "STOP" command. If you prohibit preset timer stop and count, count operation never stop unless using stop trigger or "STOP"...
  • Page 43 Tsuji-Electronics Co.,Ltd  TEL: +81-(0)29-832-3031 FAX: +81-(0)29-832-2662  E-mail : info2@tsuji-denshi.co.jp URL : http://www.tsujicon.jp 3739, Kandatsu-machi, Tsuchiura-city, Ibaraki 300-0013, Japan 43/43...

This manual is also suitable for:

Ct16-er2

Table of Contents