Download Print this page

RKC INSTRUMENT COM-KG Instruction Manual

Usb communication converter

Advertisement

Quick Links


USB Communication Converter
COM-KG
Instruction Manual
IMR01Z03-E1
All Rights Reserved, Copyright  2020, RKC INSTRUMENT INC.
In order to achieve maximum performance and ensure proper operation of the
instrument, carefully read all the instructions in this manual. Please place the manual
in a convenient location for easy reference.
The manual can be downloaded from the official RKC website:
https://www.rkcinst.co.jp/english/download-center/
RKC is not responsible if this instrument is repaired, modified or
disassembled by other than factory-approved personnel. Malfunction may
occur and warranty is void under these conditions.
 This product is intended for use with industrial machines, test and measuring
equipment. (It is not designed for use with medical equipment and nuclear energy
plant.)
 This is a Class A instrument. In a domestic environment, this instrument may cause
radio interference, in which case the user may be required to take additional
measures.
 All precautions described in this manual should be taken to avoid damage to the
instrument or equipment. If the equipment is used in a manner not specified by the
manufacturer, the protection provided by the equipment may be impaired.
NOTICE
 This manual assumes that the reader has a fundamental knowledge of the principles
of electricity, process control, computer technology and communications.
 The figures, diagrams and numeric values used in this manual are only for
explanation purpose.
 RKC is not responsible for any damage or injury that is caused as a result of using
this instrument, instrument failure or indirect damage.
 RKC is not responsible for any damage and/or injury resulting from the use of
instruments made by imitating this instrument.
 Periodic maintenance is required for safe and proper operation of this instrument.
Some components have a limited service life, or characteristics that change over
time.
3. MOUNTING
3.1 Mounting Cautions
(1) Use this instrument within the following environment conditions:
 Allowable ambient temperature: 10 to 55 C
 Allowable ambient humidity:
5 to 95 %RH
(Absolute humidity: MAX. W. C 29.3 g/m
3
dry air at 101.3 kPa)
 Installation environment conditions:
Indoor use
Altitude up to 2000 m
(2) Avoid the following conditions when selecting the mounting location:
 Rapid changes in ambient temperature which may cause condensation.
 Corrosive or inflammable gases.
 Direct vibration or shock to the mainframe.
 Water, oil, chemicals, vapor or steam splashes.
 Excessive dust, salt or iron particles.
 Excessive induction noise, static electricity, magnetic fields or noise.
 Direct air flow from an air conditioner.
 Exposure to direct sunlight.
 Excessive heat accumulation.
(3) Mounting consideration
 Install the module 200 mm away from the main power line.
 Ensure at least 50 mm space on top and bottom of the instrument for
maintenance and operating environment.
3.2 Dimensions
(Unit: mm)
(24.5)
100
(33.1)
(5)
(13.4)
Reference plane
 Connector pin configuration and Signal details
Serial
5
communication
4
connector
3
2
1
[RS-485]
[RS-422A]
Pin No.
Signal name
Symbol
Pin No.
Signal name
5 *
Unused
5
Receive data
4 *
Unused
4
Receive data
3
Send data/
T/R (B)
3
Send data
Receive data
2
Send data/
T/R (A)
2
Send data
Receive data
1
Signal ground
SG
1
Signal ground
* Do not connect wires to 4 and 5 pins. Malfunction may result.
[RS-485]
Controller
Pair wire
(Ex: FZ400/900)
COM-KG*
SG
1
34
SG
T/R (A)
2
35
T/R (A)
T/R (B)
3
36
T/R (B)
Communication terminals
4
Shielded twisted
5
pair wire
Serial
communication
connector
* The termination resistor (120 ) is built into the COM-KG.
**R: Termination resistor (Example: 120  1/2 W)
If communication errors occur frequently due to the operation environment or
the communication distance, connect termination resistor.
6. RKC COMMUNICATION PROTOCOL
The setting of Maintenance mode needs to be done through the RKC communication (Establishing method of data link: Polling/Selecting method).
The basic procedure follows ANSI X3.28-1976 subcategories 2.5 and A4 basic mode data transmission control procedure (Fast selecting is the selecting method used in this COM-KG).
6.1 Polling
Polling is the action where the host computer requests of the connected COM-KG to transmit data.
 Polling sequence
Host computer
COM-KG
(Send)
(Send)
E
E
[Address] [ ID ]
No response
O
N
(5)
(2 digits)
(2 digits)
T
Q
E
(1)
O
(2)
T
(4)
S
E
[ ID ] [ Data ]
[BCC]
T
T
X
X
(2 digits) (7 digits)
(3)
(*): Approx. 3 seconds
ID: Identifier
(1) Data link initialization
(6) ACK (Acknowledgment)
(2) Send polling sequence from the host computer
(7) NAK (Negative acknowledge)
(3) Data send from the COM-KG
(8) No response from the host computer
(4) EOT send (Data send from COM-KG completed) (9) Indefinite response from the host computer
(5) No response from the COM-KG
(10) EOT (Data link termination)
 Every effort has been made to ensure accuracy of all information contained herein.
RKC makes no warranty, expressed or implied, with respect to the accuracy of the
information. The information in this manual is subject to change without prior notice.
 No portion of this document may be reprinted, modified, copied, transmitted, digitized,
stored, processed or retrieved through any mechanical, electronic, optical or other
means without prior written approval from RKC.
1. OUTLINE
The COM-KG is a USB communication converter for connection to USB
communication and the following communication functions. Select a proper type
of COM-KG according to your application.
・Loader communication: Communication between our controllers with a loader
communication connector and the COM-KG.
・Serial communication (RS-485/RS-422A):
Communication between our controllers with a serial communication function
and the COM-KG.
(USB
Loader
communication
communication)
COM-KG
Host computer
Serial
(Personal computer)
communication *
* When the COM-KG is used in the serial communication, the protect
mode can be set to eliminate a response interruption of the COM-KG.
Refer to 5. SETTING THE PROTECT MODE for details.
 To establish the USB communication in Windows 7, you need to
install our dedicated USB driver on your PC. ⁂
The USB driver can be downloaded from our website.
https://www.rkcinst.co.jp/english/download-center/
When installing the driver, a warning message may appear.
Continue the installation by ignoring the warning message.
 Communication in Windows 10 does not need a driver installation for
the USB communication.
3.3 DIN Rail Mounting and Removing
 Mounting procedures
DIN rail
(B) Push
Mounting
bracket
(A) Pull down
 Removal procedures
DIN rail
23.2
(B) Lift and take off
Mounting bracket
(A) Pull down
Suitable for DIN-rail mounting and desktop use.
[RS-422A]
Pair wire
COM-KG*
SG
1
T (A)
2
T (B)
3
R (A)
4
R (B)
5
Serial
Communication terminals
communication
Shielded twisted
connector
pair wire
Symbol
R (B)
* The termination resistor (120 ) is built into the COM-KG.
R (A)
**R: Termination resistor (Example: 120  1/2 W)
If communication errors occur frequently due to the operation environment or
T (B)
the communication distance, connect termination resistor.
T (A)
 Attention in connector wiring
 The lead wires use the stranded wire.
SG
 Use the stranded wire from size 0.25 to 0.5 mm
2
 Stripping length is as follows.
R**
8 mm (Stripping length)
Conductor cross section:
0.25 to 0.5 mm
2
(AWG 26-20)
6.2 Selecting
Selecting is the action where the host computer requests of the connected COM-KG to receive data.
 Selecting sequence
Host
Host computer
COM-KG
computer
(Send)
(Send)
(Send)
E
E
[Address]
O
O
(2 digits)
T
T
(1)
(2)
(10)
(8)
No
Time
E
response
O
out
(*)
T
(9)
Indefinite
A
(6)
C
K
N
(1) Data link initialization
A
(7)
K
(2) Send selecting address from the host computer
(3) Data sent from the host computer
For receivable/unreceivable data, refer to
(4) ACK (Acknowledgment)
(5) NAK (Negative acknowledge)
(6) Indefinite response from the COM-KG
(7) EOT (Data link termination)
1.1 Product Check
Before using this product, check each of the following:
 Model code
 Check that all of the accessories delivered are complete.
 Check that there are no scratch or breakage in external appearance (case,
terminal, etc).
Accessories
USB cable (1 m) .................................................................................. 1
Instruction Manual (IMR01Z03-E1) ...................................................... 1
If any of the products are missing, damaged, or if your manual is
incomplete, please contact RKC sales office or the agent.
1.2 Model Code
COM–KG–N
(1)(2)
Controller with loader
communication
(1) Loader communication cable (Optional)
connector
N: None
Controller with
1: W-BV-01 (1.5 m) for Loader communication
a serial comm.
(RS-485/RS-422A)
3: W-BV-03 (1.5 m) for Loader communication
4: W-BV-05 (1.5 m) for Loader communication
(2) N (fixed)
1
For RZ100/400, FB100/400/900, RB100/400/500/700/900, SRZ, AG500/PG500
2
For PF900/901
3
For FZ110/400/900
The connector on the instrument side of the W-BV-05 cable is not
USB-compatible. Do not connect this cable to any USB devices.
4. WIRING
To prevent electric shock or instrument failure, turn off the power before
connecting or disconnecting the instrument and peripheral equipment.
4.1 Wiring Cautions
 To avoid noise induction, keep communication signal wire away from
instrument power line, load lines and power lines of other electric equipment.
 If the personal computer is easily affected by noise, use the ferrite core in
the USB cable. For an installation position of a ferrite core, please refer to
the following figure.
USB cable
(C) Locked
Ferrite core * (sold separately)
4.2 Wiring Connection to Establish a Loader
Communication
Use USB cable and loader communication cable among the PC, the COM-KG
and our controller with a loader communication. Make sure the connectors are
oriented correctly when connecting.
 Wiring example
FZ110
Loader communication connector
Loader communication
cable 1.5 m (W-BV-05)
[FZ110/400/900]
Connect to loader
communication connector
of the controller
Connect to USB
port of a personal
computer
Consult with the communication instruction manual of our products for
the communication setting on the PC and the device address for the
loader communication.
5. SETTING THE PROTECT MODE
Controller
(Ex: FZ400/900)
When the COM-KG is used in the serial communication, the protect mode can be set to eliminate a response interruption of the COM-KG. To attempt protect mode
32
R (A)
R**
setting, you need to switch the mode to the maintenance mode in the RKC communication protocol. Set the Protect mode referring to the following procedure as well
33
R (B)
as 6. RKC COMMUNICATION PROTOCOL.
34
SG
You can also use our dedicated software PROTEM2 which can be downloaded from the official RKC website.
35
T (A)
36
T (B)
 Setting procedures
Change the mode to the Maintenance mode.
Set the Maintenance mode setting (Identifier [ZZ]) to "1: Maintenance mode" from "0: Normal mode".
The Maintenance mode setting is accessible when Protect setting (Identifier [PZ]) is "0 (OFF)".
When the setting is "1" (Protect mode), reapply power to the instrument to release the Protect mode.
The mode is then accessible.
Select the "Protect mode" at Protect setting (Identifier [PZ]).
(AWG 26-20).
Protect setting (Identifier [PZ])
0: OFF (Factory set value)
1: Protect mode
When the mode is switched to the Protect mode, the instrument will forcibly terminate the Maintenance mode.
In the Protect mode, communication is maintained between the COM-KG and the instrument, but the communication
between the host computer and the COM-KG through the RKC communication protocol will become unavailable.
To release the Protect mode, turn off the power once and turn it on again.
Connector type:
FK-MC 0,5/5-ST-2,5
(Products by Phoenix
Forcibly terminate the Maintenance mode and return to the Normal mode.
contact Ltd.)
Setting completed
Host computer
COM-KG
(Send)
(Send)
S
E
No response
[ ID ] [ Data ]
[BCC]
T
T
X
X
(2 digits) (7 digits)
(6)
(3)
A
C
K
(4)
N
A
K
(5)
Numerical data handling.
2. PARTS DESCRIPTION
Power indication lamp (PWR)
USB connector
Not used
Indication lamps
Loader port
Power indication
shape
lamp (PWR)
[Green]
1
2
Data send lamp
3
(TX)
[Green]
Data receive lamp
(RX)
[Orange]
 W-BV-01 or W-BV-05 loader communication cable
COM-KG can supply USB bus power to the controller whether or not it is
powered on or off. (When connecting an RZ series controller, the controller
must be powered on.)
W-BV-01: COM-KG starts supplying USB bus power to the controller
two seconds after the cable is connected.
W-BV-05: COM-KG starts supplying USB bus power to the controller as
soon as the cable is connected.
 W-BV-03 loader communication cable
Controller should be always ON to use with COM-KG.
Display of controller (RKC product) being powered by COM-KG:
FB series,
Displays "----" at the PV/SV monitor display.
RB series etc.
PF900/901
Lights all State monitor lamps: RESET, RUN, FIX, MAN,
HOLD, STEP.SET and PTN.END. Other displays and lamps
* Recommended ferrite core:
are OFF.
ZCAT2032-0930
(TDK Corporation)
FZ series
Displays "
Displays "-----" at the SV monitor display.
The power supply function through the loader communication is not
available on the USB hub (low power port).
4.3 Wiring Connection to Establish a Serial
Communication
The shielded twisted pair wire must be provided by the customer.
COM-KG
 Wiring example
FZ400
RS-485/RS-422A
Connect to loader
communication
Connect to
connector
communication
Connect to
terminals of
USB
the controller
USB cable 1 m
connector
(COM-KG accessory)
Connect to USB
port of a personal
computer
 Numerical data handling
Receivable data
・The COM-KG can receive zero-suppressed data and whole number data (data without decimal fraction).
The number of digits varies depending on the type of identifier. (Within 7digits)
Example: For example, even if the data 1.5 is sent by the host as 001.5, 01.5, 1.5, 1.50, 1.500,
Host computer
the COM-KG receives the data as 1.5.
(Send)
・When the host computer sends data containing a decimal point to the item without a decimal point, the
E
O
COM-KG receives a message with the value that is cut off below the decimal point.
T
(7)
Example: When setting range is 0 to 200, the COM-KG will receive as follows:
Send data
0.5
100.5
Receive data
0
100
・The COM-KG receives a value truncated to a specified number of decimal places.
The digits smaller than that will be cut off.
Example: When setting range is 10.00 to 10.00, the COM-KG will receives as follows:
Send data
.5
.058
Receive data
0.50
0.05
Unreceivable data
・The COM-KG sends NAK when received a following data.
+
Plus sign and data with a plus sign
Only minus sign (without a number)
.
Only decimal point (period)
.
Only minus sign and a decimal point
Loader
communication
Not used
connector
Label
Data receive lamp (RX)
Serial
communication
connector
Data send lamp (TX)
 During serial/loader communication:
When powered from USB cable:
Constantly on
 In Maintenance mode:
Flashing
 During transmission over the serial communication
(RS-485/RS-422A):
Flashing
 During transmission over the loader communication:
Flashing
 During reception over the serial communication
(RS-485/RS-422A):
Flashing
 During reception over the loader communication:
Flashing
LoAd
" at the PV monitor display.
COM-KG
Shielded twisted
pair wire
Connect to serial
communication
connector
Connect to
USB connector
USB cable 1 m
(COM-KG accessory)
.05
0
0.05
0.00

Advertisement

loading
Need help?

Need help?

Do you have a question about the COM-KG and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for RKC INSTRUMENT COM-KG

  • Page 1 (Ex: FZ400/900) COM-KG* Serial When the COM-KG is used in the serial communication, the protect mode can be set to eliminate a response interruption of the COM-KG. To attempt protect mode R (A) communication setting, you need to switch the mode to the maintenance mode in the RKC communication protocol. Set the Protect mode referring to the following procedure as well...
  • Page 2 Data is not backed up. Accessible only when Protect setting is set to “OFF”. When the COM-KG is in the Protect mode, “Maintenance mode setting” is not accessible. You need to reapply power to the instrument to release the Protect mode.