KYOWA UCAM-60C Instruction Manual

Control commands
Hide thumbs Also See for UCAM-60C:
Table of Contents

Advertisement

Quick Links

Windows 7, 8 and 10 are trademarks of Microsoft Corporation, USA.
Generally, company names and trade names described in this Instruction Manual are trademarks or
registered trademarks of the companies.
Copyright © by KYOWA ELECTRONIC INSTRUMENTS CO., LTD. All rights reserved.
This Instruction Manual may not be copied or reproduced, in whole or part, without prior permission
from KYOWA.
The contents of this Instruction Manual are subject to change without prior notice.
DATA LOGGER
UCAM-60C/65C
CONTROL COMMANDS
INSTRUCTION MANUAL
Thank you for purchasing KYOWA's UCAM Data Logger.
Read this Instruction Manual carefully, in order to make full use
of the high-performance capabilities of the product.
Do not use the product in a manner other than instructed in this
manual.
Also, this Instruction Manual describes the handling method con-
cerning control commands. For the method of handling the hard-
ware, refer to the Hardware Version of the manual.
IM-A-1192B December 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UCAM-60C and is the answer not in the manual?

Questions and answers

Summary of Contents for KYOWA UCAM-60C

  • Page 1 Generally, company names and trade names described in this Instruction Manual are trademarks or registered trademarks of the companies. Copyright © by KYOWA ELECTRONIC INSTRUMENTS CO., LTD. All rights reserved. This Instruction Manual may not be copied or reproduced, in whole or part, without prior permission from KYOWA.
  • Page 2: Table Of Contents

    2-3-21 IOF: Turn interval measurement OFF ................2-3-22 SON: Turn data saving ON ....................2-3-23 SOF: Turn data saving OFF ....................2-3-24 VON: Turn the display ON (UCAM-60C only) ............... 2-3-25 VOF: Turn the display OFF (UCAM-60C only) ............. 2-3-26 TIM: Set the time ......................
  • Page 3 2-3-28 OFS: Set the offset value ....................2-3-29 INI: Set the initial value ....................2-3-30 ROC: Set the reference resistance ................... 2-3-31 NAM: Set the channel name ................... 2-3-32 INV: Set interval measurement conditions ..............2-3-33 TST: Set trigger measurement conditions ................ 2-3-34 TIP: Set trigger interval measurement conditions ............
  • Page 4: Control Commands

    1. CONTROL COMMANDS This Chapter describes methods of using various commands for controlling the UCAM-60C or UCAM- 65C Data Logger (hereinafter, the UCAM). This Chapter is essential for compiling your own original control software. 1-1 INTERFACE The UCAM provides RS-232C and Ethernet ports for connection to a PC. Select either of the interface ports and set accordingly as described below.
  • Page 5: In The Case Of Ucam-65C

    1-1-1-2 In the Case of UCAM-65C Select a desired interface by setting bit 8 of the dip switch as follows: OFF (0) Ethernet ON (1) RS-232C External I/F OFF (0): Ethernet ON (1): RS-232C Baud rate OFF (0) : 9600 baud OFF (0) ON (1): 19200 baud OFF (0)
  • Page 6: Rs-232C Interface

    (2) Place the UCAM in RS-232C environment by setting the following parameters: • Baud rate, termination code and time-out time. In the case of the UCAM-60C, refer to “3. INTERFACE SETTING.” In the case of the UCAM-65C, 1) Set bit 8 of the dip switch to ON (1).
  • Page 7 Cable RS Cross Cable Frame Frame UCAM (D-Sub 9-pin, female) (D-Sub 9-pin, female) NOTE An interlink cable for communication between PC and PC cannot be used for connection be- tween the UCAM and the PC, since the wiring of the interlink cable is different from that of the RS cross cable.
  • Page 8: Control Command Format

    (6) Data Length: 8 bits (fixed) (7) Parity: None (fixed) (8) Stop Bit: 1 bit (fixed) (9) Time-out Time: 5 sec or 50 sec (50 sec is UCAM-60C only ) Notes: 1. Not compatible with XON/XOFF control. 2. Not compatible with send break characters.
  • Page 9: Ethernet Interface

    1-1-3 Ethernet Interface The UCAM is equipped with the 10BASE-T/100BASE-TX (IEEE 802) interface for connection to the PC. The communications protocol is TCP/IP (Ipv4). For sending and receiving control commands in the application program, the network communications socket library is used. If your PC operates on Microsoft Windows 7, 8 or 10, it provides the socket library “Microsoft Windows Socket API”...
  • Page 10 (1) When directly connecting to the PC LAN cable (Cross-wired, conforming to category 5) • Use a cross-wired LAN cable of category 5 or higher. • The cross-wiring should be as follows. (2) When connecting to the network via hub or the like LAN cable (Straight-wired, conforming to category 5) •...
  • Page 11: Setting Ucam To Ethernet

    When using an existing Ethernet environment, consult the network manager about setting values, etc. For the UCAM-60C, set the Ethernet parameters through the front panel keys, referring to “3. INTERFACE SETTING.” For the UCAM-65C, use a USB memory to read and change the communication setting condition file, then change the IP address by importing the file into the UCAM-65C.
  • Page 12 (4) Editing the communication condition file Insert the USB memory into a PC and open the “interfaces” file in the ”_ucam_get_config” folder in the Notepad. The IP address setting on the UCAM side is 192.168.0.65. Change this number to the IP address that you want to set in the UCAM-65C. The upper 3 groups of the IP address to change need to be set to the same numbers as the PC side.
  • Page 13: Confirmation Of Correct Connection

    1-1-3-3 Confirmation of Correct Connection A. Confirmation by Hardware The Ethernet port of the UCAM provides 2 LED lamps, which enable confirmation of correct connec- tion by hardware. Turn ON the UCAM. If Ethernet connection is correct, one LED lights up and the other flickers (irregularly).
  • Page 14 3) Communication is carried out 4 times and the results are displayed on the window. • When communication is normally performed IP address of UCAM Results (Normal) • When communications errror occurs IP address of UCAM Results (Error) If correct connection for Ethernet communication is confirmed by both hardware and software but control on a practical application is not available, •...
  • Page 15: Confirmation Of Ip Address Of Pc

    1-1-3-4 Confirmation of IP Address of PC (1) Start command prompt. “Command Prompt.” Point to “Start” and select “All Programs” ⇒ “Accessories” ⇒ (2) Input IPCONFIG command. Input “ipconfig” and press key. Enter (3) The present PC’s IP address is displayed as follows. Command input PC’s IP address - 12 -...
  • Page 16: Socket Programming

    1-1-3-5 Socket Programming The application program which operates a remote control program on Microsoft Windows can be com- piled using a network application socket library. Use the WinSock when compiling the application pro- gram which operates on Microsoft Windows. The program can be compiled in any programming language for development, such as Microsoft Visual C++, which can be used by the WinSock library.
  • Page 17: Communications Procedure

    1-1-3-6 Communications Procedure • Control Command Format Control command character string (ASCII code) Buffer size : 512 bytes, fixed Termination code: 0x00 Size : 1 byte • Each command is an ASCII character string consisting of the command code (3 uppercase characters) or the command code + the parameter.
  • Page 18 • Response Block Format Response data (ASCII code) Buffer size : 512 bytes, fixed Termination code: 0x00 Size : 1 byte • Response block stores response data to the control command. • The termination code is 0x00 (null). It is suffixed to the response data. Packet Contents of Response to “SYS”...
  • Page 19: List Of Commands

    • Delta V (Yes/No) • Delta T (Yes/No) • Power frequency (50/60Hz) • Measurement timing (Synchronous/Asynchronous) • Header output (Yes/No) • Measured data output format (all items/channel numbers and measured data) *1. Applicable only to the UCAM-60C. - 16 -...
  • Page 20 Data reproduction Reproduce measured data TEDS Set TEDS reading conditions for every channel Select automatic setting items Start reading TEDS information Read TEDS information Read detailed TEDS information *1. Applicable only to the UCAM-60C. *2. Applicable only to the UCAM-65C. - 17 -...
  • Page 21 Command Message Ref. Command Page Type Description Others Test the bus line RS-/LAN Read the system information (model, etc.) Read the system information (model, Serial No etc.) Read the error number Clear the error number Duplicate the same channel parameter Maintenance setting Automatic channel mode setting Initialize the system...
  • Page 22: Wait Time At Command Transmission

    2-1 Wait time at command transmission When sending a command, wait time is required between command and command. The command being used is used as an example. Send 'RS-' command ※ Sending and receiving Received '232 C' Wait about 100 ms Send 'POF, ECL' command ※...
  • Page 23: Output Format Of Measured Data

    (3) Termination Code: CR or CRLF Selected Interface Termination Code RS-232C CR selected CR (0x00) CRLF selected(UCAM-60C only) CR (0x00) LF (0x0A) Ethernet null (0x00) (4) Header: The date/time is output as the header to the measured data output. Hr Min Sec Through system setting, it is possible not to output the header.
  • Page 24 Abnormal A-D converter Remeasure and check whether the same error occurs or not. If the error occurs frequently, contact KYOWA for repair. Unmatched measuring channel Check the measuring channel mode. mode between the UCAM and Check the “MODE SET”...
  • Page 25 (7) Channel No.: 000 to 999 (8) Unit No. Unit Unit Unit No. Unit Unit No. Unit No. cm/s µε m/min µm/m km/h Ω kΩ MΩ N/mm °C mmHg kgf/cm ° rad/s (Blank) cm/s - 22 -...
  • Page 26 (9) Incidental Data Discrimination Code: 0 = No incidental data 1 = Incidental data When 2 measured values are provided by 1 channel in the following measuring channel modes, the second measured data is regarded as the second incidental data and indicated with the incidental data discrimination code ‘1.’...
  • Page 27: Description Of Control Commands

    2-3 DESCRIPTION OF CONTROL COMMANDS 2-3-1 STA: Start real-time measurement • This command lets the UCAM start the measurement under preset measuring conditions and output the header and measured data. (Measurement is conducted for the preset number of repeat times, from the first to last channels.) •...
  • Page 28: Int: Set The Measuring Function To "Initial" Mode

    2-3-6 CHR: Set the first to last channels and the number of repeat times • This command defines a measuring channel range and the number of repeat times. • The measuring channel range is defined by setting the first to last channels. •...
  • Page 29: Mod: Set The Measuring Channel Mode

    2-3-11 MOD: Set the measuring channel mode • This command sets the measuring channel to the mode corresponding to the sensor connected to the channel. • Basically, the measuring channel mode is selected for every individual channel. But the same measuring channel mode can be applied to continuous multiple channels by using the command DUP of duplicate channels.
  • Page 30 Channel Mode No. Channel Mode 38 (LVDT) Linear variable differential transformer transducer 39 (LVDT/T) LVDT transducer with temperature measuring function 40 (POT./A) Sliding resistance transducer (A part only) 41 (POT./A) Sliding resistance transducer (A and B parts) 42 (USB-70A-S) Applied scanner is USB-70A. Generally not use (Applied scanner is USB-50 or USB-51) 43 (USB-50/51) •...
  • Page 31: Spd: Set The Scanning Speed

    • This command stops ordinary measurement or monitor measurement in progress. STP + TC 2-2-15 TIF: Stop interval measurement in trigger interval measurement TIF + TC 2-2-16 PON: Turn the printer ON (UCAM-60C only) • This command lights up the key LED on the UCAM-60C. PRINT...
  • Page 32: Con: Turn Calibration Coefficient Calculation On

    • This command lights out the key LED. SAVE SOF + TC 2-3-24 VON: Turn the display ON (UCAM-60C only) • This command lets the display ON. VON + TC 2-3-25 VOF: Turn the display OFF (UCAM-60C only) • This command lets the display OFF.
  • Page 33: Tim: Set The Time

    2-3-26 TIM: Set the time • This command sets the time of the UCAM. TIM 2 0 0 2 1 2 1 7 1 2 0 0 0 0 X + TC Second Minute Hour Month Year 2-3-27 CST: Set the calibration coefficient. •...
  • Page 34: Ofs: Set The Offset Value

    • Unit No.: 00 to 58 Unit Unit Unit No. Unit Unit No. Unit No. cm/s µε m/min µm/m km/h Ω kΩ MΩ N/mm mmHg °C kgf/cm ° rad/s (Blank) cm/s 2-3-28 OFS: Set the offset value • This command sets the offset value (reference value) which enables output of the measured result in the engineering unit.
  • Page 35: Ini: Set The Initial Value

    2-3-29 INI: Set the initial value • This command sets the initial value to the UCAM. • Bascially, the initial value is set for every individual channel. But the same initial value can be applied to continuous channels by using the command DUP of duplicate channel. •...
  • Page 36: Inv: Set Interval Measurement Conditions

    2-3-32 INV: Set interval measurement conditions • This command sets interval measurement conditions to the UCAM. INV 2 0 0 2 1 2 1 7 1 8 0 0 0 0 X + TC (When setting the start time of interval measurement.) Second (00 to 59) Minute (00 to 59) Hour (00 to 23)
  • Page 37: Tip: Set Trigger Interval Measurement Conditions

    2-3-34 TIP: Set trigger interval measurement conditions • This command sets trigger interval measurement conditions to the UCAM. TIP 0 0 0 X + TC (Sets the trigger channel.) Trigger channel (000 to 999) TIP 0 0 0 0 0 0 0 0 0 X + TC (Sets the reference value.) Reference value (9 digits, including a sign and decimal point) TIP 0 0 0 0 0 0 0 0 3 0 0 0 1 0 E X + TC (Sets the interval table.) Status (C, E, 00 to 14)
  • Page 38: Trd: Read The Time

    2-3-37 TRD: Read the time • This command reads the date/time from the UCAM. TRD + TC 2 0 0 2 1 2 1 9 0 9 4 0 5 3 + TC Second Minute Hour Month Year 2-3-38 PRR: Read various parameters from the UCAM •...
  • Page 39 (3) PRR02: Read calibration coefficients • This command reads calibration coefficients of the first to last channels. PRR 0 2 + TC 0 0 0 ∆ – 0. 1 2 3 4 E – 0 ∆ 0 ∆ 1 0 + TC ∆...
  • Page 40 (5) PRR04: Read trigger measurement conditions • This command reads trigger measurement conditions (triggering channel, reference value and trigger tables from 00 to 14). PRR 0 4 + TC 0 0 0 + TC (Trigger channel) + ∆ ∆ ∆ ∆ ∆ ∆ ∆ 0 + TC (Reference value) ∆ denotes a space. (Output with the trigger mode set to “Relative value.”) (No output with the trigger mode set to “Absolute value.”) 0 0 ∆...
  • Page 41 (7) PRR07: Read ON/OFF modes PRR 0 7 + TC PON, COF, IOF, SON, AOF + TC Alarm Data saving Interval measurement Calibration coefficient calculation Printer (8) PRR08: Read system setting conditions PRR 0 8 + TC 0 0 0 0 0 0 0 1 0 0 0 + TC Power control (0: Not use, 1: Use);...
  • Page 42 (10) PRR10: Read trigger interval measurement conditions • This command reads trigger interval measurement conditions (trigger channel, reference value and interval tables from 00 to 14). PRR 1 0 + TC 0 0 0 + TC (Trigger channel) + ∆ ∆ ∆ ∆ ∆ ∆ ∆ 0 + TC (Reference value) ∆...
  • Page 43 (13) PRR13: Read channel names • This command reads names of the first to last channels. PRR 1 3 + TC 0 0 0 ∆ A B C D 0 1 2 3 4 5 6 + TC ∆ denotes a space. Channel name (11 alphanumerics/symbols) Channel No.
  • Page 44: Chk: Execute Checking

    2-3-39 CHK: Execute checking • This command enables checking of various items. (1) BV2V Measures the bridge voltage (2 V) supplied to strain gages and strain gage transducers, at the terminal board to which these sensors are connected, outputs the measured result, and checks any abnormality on the bridge power supply.
  • Page 45 Internal Scanning Unit External Scanner External Scanner Cvil Cvil General General General General Temper- Cvil engineerng engineerng purpose purpose purpose ature engineerng purpose USS-61A* USB-70-30 USB-51A USB-70-10 USB-51-AT USB-20D USS-21A USS-63A* USS-62A* USB-20A USB-70-20 USB-50D USS-22A USS-23A* Check function USS-61B* USB-50A USS-63B* USS-62B*...
  • Page 46 CHK n + TC Check No. (1 digit) 0: Insulation resistance 1: BV 2 V 2: BV 5 V 3: Input resistance 4: Output resistance 5: Terminal temperature 6: Disconnection 7: Burnout 8: Detecting channel mode • Upon completing checking, the header and check results between the first and last channels are output. •...
  • Page 47 CHK3: Output format of input resistance data 0 0, 0 0 0, ∆ ∆ ∆ ∆ 1 2 0. 6, 4 7 + TC ∆ denotes a space. Unit No. 47 (Ω) Data Channel No. Status No. CHK4: Output format of output resistance data 0 0, 0 0 0, ∆...
  • Page 48 CHK8: Output format of detected measuring channel mode data 0 0 0 ∆ 0 1 ∆ 1 G 1 2 0 + TC ∆ denotes a space. Detected measuring channel mode name Detected measuring channel mode number Channel No. MEMO The modes which can be judged in mode detection are the following six: •...
  • Page 49: Dev: Switch The Drive

    2-3-40 DEV: Switch the drive • This command switches the drive on the UCAM. DEV n + TC Drive No. 0: Memory 1: USB memory DEV 1 + TC Switch the drive to USB Memory. 2-3-41 DIR: Read file names •...
  • Page 50: Cpy: Copy The File

    2-3-43 CPY: Copy the file • This command copies the designated file to the copy destination drive. COPY 0 : t e s t 0 0 0. r t m ∆ 1 + TC ∆ denotes a space. Copy destination drive No. (0: Memory, 1: USB memory) File name with extension (lowercase alphanumerics) Copy source drive No.
  • Page 51: Reg: Reproduce Saved Measured Data

    2-3-46 REG: Reproduce saved measured data • This command enables reproduction of measured data from the drive. REG 1 : t e s t 0 0 0 0. r t m + TC File name with extension (lowercase alphanumerics) Drive No. •...
  • Page 52 Abnormal A-D converter Remeasure and check whether the same error occurs or not. If the error occurs frequently, contact KYOWA for repair. Unmatched measuring channel Check the measuring channel mode. mode between the UCAM and Check the “MODE SET”...
  • Page 53 (2) Channel No.: 000 to 999 (3) Unit No.: Unit Unit No. Unit Unit No. Unit No. Unit cm/s µε µm/m m/min km/h Ω kΩ MΩ N/mm mmHg °C kgf/cm ° rad/s (Blank) cm/s (4) Incidental Data Discrimination Code: 0 = No incidental data 1 = Incidental data When 2 measured values are provided by 1 channel in the following measuring channel modes, the second measured data is regarded as the second incidental data and indicated with the incidental data...
  • Page 54: Tch: Read Teds Sensor Information By Channel

    (5) End Code 0: Channel other than the last channel 1: Last channel at the end of repetitive measurement 2: Last channel on the way of repetitive measurement 9: Interruption of data reproduction 2-3-47 TCH: Read TEDS sensor information by channel •...
  • Page 55: Eid: Read Teds Sensor Information Reading Status

    2-3-49 EID: Read TEDS sensor information reading status • This command starts reading the TEDS sensor information and automatically sets channel conditions as determined by the TAS command. • Reading results of the first to last channels are output. EID +TC 0 0 0 ∆...
  • Page 56: Gid: Read Teds Sensor Information

    2-3-50 GID: Read TEDS sensor information • This command reads the TEDS sensor information. GID n n n X +TC Channel No. of which TEDS sensor information is read Contents of TEDS sensor information sent from the UCAM GID Command Execution Sample Manufacture ID Model Number Version Letter...
  • Page 57: Sid: Read Teds Sensor Details

    2-3-51 SID: Read TEDS sensor details • This command reads details of the TEDS sensor information. SID n n n X +TC Channel No. of which details of TEDS sensor information are read Details of TEDS sensor information sent from the UCAM SID Command Execution Sample Pattern No.
  • Page 58: Rs-: Test The Bus Line

    2-3-52 RS-: Test the bus line • When the UCAM receives this command (RS-+TC) normally, the following character string is output. 232C+TC 2-3-53 LAN: Test the bus line • When the UCAM receives this command (LAN+TC) normally, the following character string is output. ETHERNET+TC - 55 -...
  • Page 59: Sys: Read The System Information

    • This command reads the system information including the model number of the UCAM and versions. SYS+TC UCAM-60C, 99.99, 99.99, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + TC Fixed 0 UIO-60A input/output unit...
  • Page 60: Snr: Read The Serial Number And System Information

    2-3-55 SNR: Read the system information • This command reads the system information including the model number of the UCAM, versions and Serial No SNR+TC UCAM-60C-AC,KGXXXXXXX,01.00,01.00,01.00,SYNC,50Hz Power Frequency Meas Timing Sub CPU version FPGA version Main CPU verison Serial Number Model 1,1,1,0,0,0,0,0,0,0,0,0,0+TC...
  • Page 61: Err: Read The Error Number

    2-3-56 ERR: Read the error number • This command reads the error number. ERR + TC 0 0 + TC Error No. (2 digits, 00 to nn) For details of error numbers, refer to “3. ERROR NUMBERS.” 2-3-57 ECL: Clear the error number •...
  • Page 62: Mas: Set The Channel Mode Automatically

    2-3-60 MAS: Set the channel mode automatically • This command determines whether or not to apply the channel mode detected by “Mode Detection” of check function. (The command is enabled only for internal scanners.) MAS n X + TC Auto-setting of channel mode based on “Mode Detection” 0: No 1: Yes •...
  • Page 63: Interface Setting

    3. INTERFACE SETTING This Chapter describes details for setting RS-232C or Ethernet interface. Select and set either of the interfaces. (Cannot use two interfaces at the same time.) 3-1 SELECT THE INTERFACE Select the interface as follows. On the main menu, press key.
  • Page 64: Set Parameters Of Rs-232C

    key. Or press ENTER On the display shown at the left, press 0:Header key with the cursor on “0: Header.” 1:Data Press key to display “Output.” Press key to deter- ENTER Output Header mine the selection and the indication returns to the previous dis- Output play.
  • Page 65: Timeout Time

    (1) Baud Rate Select the baud rate from 2400, 9600, 19200 and 38400 as follows. key. Or press ENTER On the RS-232C setting menu, press 0:Baud Rate key with the cursor on “0: Baud Rate.” 1:Termination Code 2:Timeout Time On the display shown at the left, press key to display “9600.”...
  • Page 66: Set Parameters Of Ethernet

    3-4 SET PARAMETERS OF ETHERNET Set parameters of Ethernet (10BASE-T/100BASE-TX) as follows. On the interface menu, press key. Or press key with ENTER 0:Interface the cursor on “3. ETHERNET.” 1:Data Type 2:RS-232C 3:ETHERNET The Ethernet setting menu appears as shown at the left. 0:IP Address 1:SubNetmask 2:Default Gateway...
  • Page 67: Default Gateway

    (3) Default Gateway On the Ethernet setting menu, press key. Or press ENTER 0:IP Address key with the cursor on “Deflt Gateway.” 1:SubNetmask 2:Default Gateway Using numeric keys, input the default gateway. Press ENTER Default Gateway key to determine the default gateway and the indication returns 0.
  • Page 68: Error Numbers

    4. ERROR NUMBERS If the UCAM detects an error while setting measuring conditions, the ERROR LED lights up. Send the ERR command to read the error No. and take a proper measure. Send the ECL command to clear the error No. The error No. can also be reset by turning OFF the UCAM. Description Troubleshooting Erroneous setting of the first to...

This manual is also suitable for:

Ucam-65c

Table of Contents