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 ............
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.
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)
(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.
(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.
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) •...
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.
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, •...
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 -...
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.
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”...
• 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...
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 ※...
(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.’...
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.) •...
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. •...
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) •...
• 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...
• 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.
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. •...
• 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.
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. •...
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)
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)
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 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.
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: •...
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 •...
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.
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...
(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 •...
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 ∆...
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...
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.
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 -...
• 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...
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...
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 •...
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 •...
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.
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.
(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.”...
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...
(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.
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...
Need help?
Do you have a question about the UCAM-60C and is the answer not in the manual?
Questions and answers