IMR01Y11E5 - rkc instrument inc.

CC-Link Communication Converter
COM-JC
Quick Instruction
[For FB100/FB400/FB900] Manual
All Rights Reserved, Copyright © 2005, RKC INSTRUMENT INC.
IMR01Y11-E5
In order to achieve maximum performance and ensure proper operation of your new
instrument, carefully read all the instructions in the manual. Please place this manual
in a convenient location for easy reference.
This manual describes the basic operation only.
For detailed handling procedures and functions, refer to separate COM-JC
[For FB100/FB400/FB900] Instruction Manual (IMR01Y06-E†).
The manual can be downloaded from the official RKC website:
http://www.rkcinst.com/english/manual_load.htm.
When set to any value out of the setting range, the COM-JC becomes the
FAIL state.
Communication speed and maximum transmitter distance
[Use the CC-Link dedicated cable Ver. 1.10]
Maximum transmitter
Communication speed
Communication speed
distance
setting
0
156 kbps
1200 m
1
625 kbps
900 m
2
2.5 Mbps
400 m
3
5 Mbps
160 m
4
10 Mbps
100 m
1 2 3 4 5 6 7 8
Mounting and Wiring
PLC setting
• Refer to COM-JC [For FB100/FB400/FB900] Installation
Manual (IMR01Y01-E†)
• For controller, refer to FB100 Installation Manual
(IMR01W12-E†) or FB400/FB900 Installation Manual
(IMR01W01-E†)
Refer to 4.2 Setting the Instruments Used
• Refer to 4.2 Setting the Instruments Used
Controller setting
• Refer to FB100 Communication Quick Manual
(IMR01W15-E†) or FB400/FB900 Communication
Quick Manual (IMR01W07-E†)
Device assignment
Refer to 4.3 Device Assignment Example
Program creation
Refer to 4.4 Sample Program
To avoid error at operation start-up, COM-JC must be powered on LAST
(after the Controller, PLC, etc.).
2. COMMUNICATION SETTING
ON
OFF
2.1 Station Number Setting
Set the station number of CC-Link using a small blade screwdriver.
Station number
setting switch
Setting range:
1 to 61 (4 stations occupied 1 time,
4 stations occupied 2 times)
1 to 64 (1 station occupied 1 time)
Factory set value: 0
Left side
1
OFF
ON
OFF
ON
2
OFF
OFF
ON
ON
Controller communication speed
38400 bps
9600 bps
19200 bps
38400 bps
Set the communication speed of CC-Link using a small blade screwdriver.
Communication speed
setting switch
3
OFF
ON
OFF
ON
OFF
ON
OFF
ON
4
OFF
OFF
ON
ON
OFF
OFF
ON
ON
5
OFF
OFF
OFF
OFF
ON
ON
ON
ON
Number of Occupied stations/Extended cyclic setting
4 stations occupied 1 time (8 controllers assignment)
4 stations occupied 1 time (16 controllers assignment)
4 stations occupied 2 times (16 controllers assignment)
4 stations occupied 2 times (31 controllers assignment)
1 station occupied 1 time (1 controller assignment)
1 station occupied 1 time (2 controllers assignment)
Do not set this one
Factory set value: 4 stations occupied 1 time (8 controllers assignment)
6
OFF
7
OFF
8
OFF
Fixed
3. CC-Link FLAG OPERATION
Remote input/output and Remote register flag operations are as follows.
[Example] When the Occupied station/Extended cyclic of COM-JC is set to 1 station
occupied 1 time.
Initialize data processing
request flag [RX(n+1)8]
ON
OFF
Initialize data processing
completion flag [RY(n+1)8]
ON
OFF
ON
Remote ready [RX(n+1)B]
OFF
z Initialize processing request from master station (PLC)
This is a COM-JC initialize setting request. As there is no initialize data specifically, no
processing is required.
Initialize data setting
request flag [RY(n+1)9]
„ Extension number for display selection processing
Extension number
for display
[RYn0 to RYn5]
Extended display
completion
[RXnC]
Remote register
[RWrn to RWrn+3]
Extension number 0
ON
ON
OFF
Setting range: 0 to 4
Factory set value: 0 (156 kbps)
Extension number 0
ON
Extension number
for setting
[RYn6 to RYnB]
ON
Extended setting flag
(Setting update flag)
[RYnD]
ON
Extended setting
completion
[RXnD]
ON
Remote register
[RWwm to RWwm+3]
Initialize data setting
completion flag [RX(n+1)9]
OFF
ON
Remote ready [RX(n+1)B]
OFF
Extension number 1
(R/O data: Automatically updated)
OFF
OFF
ON
Data usage
Regardless of the number of occupied stations and the extended cyclic, the
above processing is also necessary if the Set value (SV) assigned to the
Remote register (RWw) as a fixed value is changed.
„ AT start procedure
Instructs AT execution.
Data = 1
Data = 0
ON
OFF
ON
OFF
ON
OFF
[RXn4]
Controller 2
[Device address 2]
Controller (FB400)
„ Use instruments
• CC-Link communication converter: COM-JC ........................................................1
• Temperature controller:
FB400 [Input type: TC (K) 0 to 400 °C] .........2
• Mitsubishi PLC MELSEC Q series
− CPU unit:
Q02HCPU
− CC-Link system master local unit: QJ 61BT11N
• CC-Link dedicated cable Ver. 1.10
• COM-JC and controller connection cable
4.2 Setting the Instruments Used
For operation of the CC-Link system master local unit QJ61BT11N and MELSEC
sequencer programming software GX Developer, refer to Instruction Manual of PLC.
[CC-Link system master local unit QJ61BT11N setting]
Setting item
Setting value
Station number
0
CC-Link communication speed 156 kbps
Data usage
AT setting status
Controller 1
[Device address 1]
„ PLC setting
OFF
Remote register [RWwn]
(Extension number 4:
PID/AT transfer)
CC-Link communication
converter COM-JC
Remote device station
(Slave station)
Station number: 1
1 station occupied 1 time
Communication speed:
156 kbps
Set the PLC, COM-JC and controller as the following.
OFF
Extended setting
completion
[RXnD]
Controller communication (RS-485: Modbus)
Extension number 1
The content of the extended setting remote register is selected and the set value is changed.
After the Extension number for setting [RYn6 to RYnB] is set, turn on the Extended setting
flag [RYnD]. After the content of the Remote register [RWwm to RWwm+3] is set, check
that Extended setting completion [RXnD] is turned on and then turn off the Extended
setting flag [RYnD]. If the Extended setting flag [RYnD] is turned off, the Extended setting
completion [RXnD] is turned off.
Extended setting flag
(Setting update flag)
[RYnD]
CC Link Ver. 1.10
OFF
„ Extension number for setting selection processing
PID/AT transfer status
ON
CPU unit
Q02HCPU
ON
OFF
ON
OFF
Left side
OFF
Factory set value: 19200 bps
When set to any value out of the setting range, the COM-JC becomes the
FAIL state.
2.2 Communication Speed Setting
CC-Link system Master local unit
QJ 61BT11N (Master station)
Station number: 0
Communication speed: 156 kbps
ON
OFF
z Initialize processing request from remote device station (COM-JC)
If the COM-JC is initialized at power on, the Initialize data processing request flag [RX(n+1)8]
is turned on. Thus, turn on the Initialize data processing completion flag [RY(n+1)8].
When COM-JC becomes a ready state, a Remote ready [RX(n+1)B] is turned on.
Low-order digit
setting
(Set value × 1)
PLC (Mitsubishi Electric
MELSEC Q series)
OFF
„ Initialize request processing at power on
High-order digit
setting
(Set value × 10)
In this usage example, described the following system configuration.
ON
Error reset
request flag
[RY(n+1)A]
A usage example of CC-Link communication is described in the following.
4.1 System Configuration
OFF
Extended display flag
[RYnC]
CAUTION
Do not separate the mainframe from the terminal base with the power turned
on. If so, instrument failure may result.
Error status flag
[RX(n+1)A]
4. USAGE EXAMPLE
After the Extension number for display [RYn0 to RYn5] is set, turn on the Extended display
flag [RYnC]. After the data in the Remote register [RWrn to RWrn+3] is displayed, check
that Extended display completion [RXnC] is turned on and then turn off the Extended
display flag [RYnC]. If the Extended display flag is turned off, the Extended display
completion is turned off.
Dip switch
ON
ON
[RX(n+1)B]
Set the number of Occupied stations/Extended cyclic and controller communication speed.
Refer to 2. COMMUNICATION SETTING
If the Error reset request flag [RY(n+1)A] is turned on while the Error status flag [RX(n+1)A]
is turned on, the Error status flag history is cleared and the flag [RX(n+1)A] turns off.
Remote ready
2.3 Occupied Stations/Extended Cyclic and
Controller Communication Speed Setting
1. HANDLING PROCEDURES
Communication setting
„ Error flag/Error reset processing
ON
OFF
For Remote input/output and Remote register, refer to COM-JC [For FB100/
FB400/FB900] Communication Data List (IMR01Y16-E†) or COM-JC
[For FB100/FB400/FB900] Instruction Manual (IMR01Y06-E†).
[Master station network parameter setting by GX Developer]
Setting item
Setting value
No. of boards in module
1
Start I/O number
0000
Operational settings
Parameter name:
None
Data link disorder station setting: Clear
Case of CPU STOP setting:
Refresh
Type
Master station
CC-Link mode setting
Remote net (Ver. 1 mode)
Total number of connected
1
modules
Number of retries
5
Number of automatic return
1
modules
Standby master station number
Blank
Operation specification when Stop
CPU is down
Scan mode specification
Asynchronous
Delay time setting
10 (500 μs)
Station information
Station type:
Remote device
(Number of COM-JC
station
connection: 1
Expanded cyclic setting:
Single
Station number: 1)
Number of occupied stations: Occupies 1 station
Remote station points:
32 points
Reserved/invalid station select: No setting
Intelligent buffer select (word): No setting
[Automatic refresh parameter setting by GX Developer]
Setting item
Remote input (RX) refresh device
Remote output (RY) refresh device
Remote register (RWr) refresh device
Remote register (RWw) refresh device
Special relay (SB) refresh device
Special register (SW) refresh device
Setting value
X1000
Y1000
W0
W100
SB0
SW0
„ COM-JC setting
4.4 Sample Program
z Device assignment table of Remote output (RY)
[CC-Link communication conditions]
• Number of Occupied station/Extended cyclic:
1 station occupied 1 time (2 controllers assignment)
• Station number:
1
• CC-Link communication speed: 156 kbps
• Controller communication speed: 19200 bps (Factory set value)
For setting method, refer to 2. COMMUNICATION SETTING.
„ Controller (FB400) setting
[Controller communication conditions: Communication 1 side]
• Protocol:
Modbus
• Device address:
1 and 2
• Communication speed: 19200 bps (Factory set value)
• Data bit configuration:
Data 8-bit, Without parity bit, Stop 1-bit
For setting method, refer to FB400/FB900 Communication Quick Manual
(IMR01W07-E†).
4.3 Device Assignment Example
According to the contents set by 4.2 Setting the Instrument Used, each device is assigned.
„ Assignment conditions
COM-JC station number:
1
Number of Occupied station/Extended cyclic:
1 station occupied 1 time (2 controllers assignment)
Automatic refresh device setting
Remote input (RX):
X1000
Remote output (RY):
Y1000
Remote register (RWr): W0
Remote register (RWw): W100
Special relay (SB):
SB0
Special register (SW):
SW0
CPU device
number
Remote output
(RY) address
Communication item
Y1000
Bit 0
Y1001
Bit 1
RY01
Y1002
Bit 2
RY02
Y1003
Bit 3
RY03
Y1004
Bit 4
RY04
Y1005
Bit 5
RY05
Y1006
Bit 0
Y1007
Bit 1
RY07
Y1008
Bit 2
RY08
Y1009
Bit 3
RY09
Y100A
Bit 4
RY0A
Y100B
Extension number for display
RY00
Extension number for setting
RY06
Bit 5
Y100C
Y100D
Y100E
Y100F
Y1010
•
•
•
Y1017
Y1018
Y1019
Y101A
Y101B
•
•
•
Y101F
RY0B
Extended display flag
Extended setting flag
Unused
RUN/STOP transfer
Reserved
RY0C
RY0D
RY0E
RY0F
RY10
•
•
•
RY17
RY18
RY19
RY1A
RY1B
•
•
•
RY1F
Initialize data processing completion flag
Initialize data setting request flag
Error reset request flag
Reserved
„ Remote input (RX) and Remote output (RY)
COM-JC (Station number 1)
1 station occupied 1 time
CPU of PLC
X100F to X1000
RX0F to RX00
X101F to X1010
RX1F to RX10
Y100F to Y1000
RY0F to RY00
Y101F to Y1010
RY1F to RY10
„ Remote register (RWr, RWw)
For writes
W102
RWw2
W103
RWw3
CPU device
number
Communication item
Remote input
(RX) address
X1001
Device address 1 Event 1 state
(Controller 1)
Event 2 state
RX01
X1002
Burnout state
RX02
Heater break alarm (HBA) state
RX03
X1000
X1003
X1004
X1005
X1006
PID/AT transfer
Device address 2 Event 1 state
(Controller 2)
Event 2 state
RX00
RX04
RX05
RX06
X1007
Burnout state
RX07
X1008
Heater break alarm (HBA) state
RX08
X1009
X100A
X100B
X100C
X100D
X100E
X100F
X1010
PID/AT transfer
Unused
Unused
Extended display completion
Extended setting completion
Unused
Hardware error flag
Reserved
•
•
•
X101F
3.
Store Measured value (PV) and Manipulated output value (MV1) to a data register.
Write in Set value (SV) of controller 1 and Set value (SV) of controller 2.
Controller 1 set value (SV): 150 °C
Controller 2 set value (SV): 200 °C
Change the controller to the control RUN.
When the PLC initial processing (PLC STOP → RUN).
BKRST
Y100F
SET
Y1019
Turn on the Initialize data setting
request flag (Y1019: RY19).
M0
K3
Turn off the Extension number setting
flag for display (M0).
When no initial data processing is finished with the initial data
processing requested.
Initialize data processing request flag (X1018: RX18) ON
Initialize data processing completion flag (Y1018: RY18) OFF
SET
Y1018
When the initial data processing is finished with no initial data
processing requested.
Initialize data processing request flag (X1018: RX18) OFF
Initialize data processing completion flag (Y1018: RY18) ON
RWr3
X1019 Y1019
RST
Y1019
Communication item
Remote register
(RWw) address
W102
For extension area setting of
device address 1 (Controller 1)
RWw2
W103
For extension area setting of
device address 2 (Controller 2)
RWw3
z Device assignment table of Remote register (RWr)
CPU device number
W002
W003
Communication item
For extension area display of
device address 1 (Controller 1)
For extension area display of
device address 2 (Controller 2)
Remote register
(RWr) address
RWr2
Initialize data processing request flag
Initialize data setting completion flag
Error status flag
Remote ready
Reserved
RX17
RX18
RX19
RX1A
RX1B
RX1C
•
•
•
RX1F
M1
MOV
W2
D2
MOV
W3
D3
SET
Y101A
When the COM-JC is in the normal state and the error reset
action is being requested.
Error status flag (X101A: RX1A) OFF
Error reset request flag (Y101A: RY1A) ON
X101A Y101A
RST
Y101A
When the COM-JC is in the remote ready state and no display
extension number setting is processed yet.
Remote ready (X101B: RX1B) ON
Extension number setting flag for display (M0) OFF
When Measured value (PV)/Manipulated
X101B M0
M1 output value (M1) is transferred to
Measured value (PV).
RST
Y1000
When Measured value (PV)/Manipulated
output value (M1) is transferred to
M1 Manipulated output value (M1).
SET
Y1000
RWr3
Turn off the Initialize data
processing completion flag
(Y1018: RY18).
Turn off the Initialize data setting
request flag (Y1019: RY19).
M1
RST
M0
When a set of setting extension numbers are not
processed yet.
Extension number setting flag for setting (M2) OFF
M2
SET
Y1006
RST
Y100C
The Extension display completion flag
(X100C: RX0C) is turned OFF.
SET
Y100C
SET
M0
When the extension display is finished and the display
extension number has been set.
Extended display completion flag (X100C: RX0C) ON
Extension number setting flag for display (M0) ON
Y1007
Store the Measured value (PV) of
controller 1 into the data register D0.
Store the Extension area for display
(W002: RWr2) of controller 1 into the
data register D0.
Store the Measured value (PV) of
controller 2 into the data register D1.
Store the Extension area for display
(W003: RWr3) of controller 1 into the
data register D1.
Store the Manipulated output value (MV1)
of controller 1 into the data register D2.
Store the Extension area for display
(W002: RWr2) of controller 1 into the data
register D2.
Store the Manipulated output value (MV1)
of controller 2 into the data register D3.
Store the Extension area for display
(W003: RWr3) of controller 1 into the data
register D3.
Measured value (PV)/Manipulated
output value (M1) is inversely
transferred. Variables to be read are
alternately selected.
Turn off the Extension number setting flag
for display (M0).
Set the extension number for setting.
Extension number 3: Turn on the
Extension number setting Bit 0 (Y1006:
RY06) for Set value (SV) setting.
Turn on the Extension number setting
Bit 1 (Y1007: RY07).
Only the bits (Bit 0 and Bit 1) necessary
forsetting extension number “3” are
specified. Any unspecified bit is assumed
to be the register initial value, “0.”
MOV
K150
W102
MOV
K200
W103
RST
Y100D
The extension setting completion flag
(X100D: RX0D) is turned OFF.
SET
Y100D
SET
M2
When the extension setting is finished and the setting
extension number has been set.
Extended setting completion flag (X100D: RX0D) ON
Extension number setting flag for setting (M2) ON
When control RUN/STOP (Y100F: RY0F) is transferred
to control STOP.
X100D M2 Y100F
SET
Y100F
Turn on the Error reset request flag
(Y101A: RY1A).
Set “150 °C” to Set value (SV) of
controller 1.
Write “150” for Extension area setting
(W102: RWw2) of controller 1.
Set “200 °C” to Set value (SV) of
controller 2.
Write “200” for Extension area setting
(W103: RWw3) of controller 2.
Turn off the Extended setting flag
(Y100D: RY0D).
Turn on the Extended setting flag
(Y100D: RY0D).
Extension number setting end for setting.
Turn on the Extension number setting flag
for setting (M2).
Control “RUN” of controller.
Turn on the control RUN/STOP transfer
(Y100F: RY0F).
FEND
END
Turn off the Error reset request flag
(Y101A: RY1A).
Set the extension number for display.
Extension number 0: Turn off the
extension number setting Bit 0
(Y1000: RY00) for Measured value
(PV) display.
Set the extension number for display.
Extension number 1: Turn on the
extension number setting Bit 0
(Y1000: RY00) for Manipulated output
value (MV1) display.
Only the bit (Bit 0) necessary for
setting display extension number “0”
or “1” is specified. Any unspecified bit
is assumed to be the register initial
value, “0.”
X100C
FF
Turn on the Initialize data
processing completion flag
(Y1018: RY18).
When the COM-JC is in the error state.
Error status flag (X101A: RX1A) ON
X101A
CPU device number
When Measured value (PV)/Manipulated
output value (M1) is transferred to
Manipulated output value (M1).
X100D
RWr2
D1
Control “STOP” of controller.
Turn off the control RUN/STOP
transfer (Y100F: RY0F).
RST
W003
z Device assignment table of Remote register (RWw)
W3
SET
W002
: The device that a controller actually uses
MOV
„ Sample program
•
•
•
•
•
•
X1017
X1018
X1019
X101A
X101B
X101C
RX09
RX0A
RX0B
RX0C
RX0D
RX0E
RX0F
RX10
1.
2.
RST
Y1018
When the initial data processing is finished and the initial data
setting is being requested.
Initialize data setting completion flag (X1019: RX19) ON
Initialize data setting request flag (Y1019: RY19) ON
z Device assignment table of Remote input (RX)
When Measured value (PV)/Manipulated output
value (M1) is transferred to Measured value (PV).
X100C M0
M1
MOV
W2
D0
„ Program operation
X1018 Y1018
For reads
: The device that a controller actually uses
COM-JC station number:
1
Number of Occupied station/Extended cyclic:
1 station occupied 1 time (2 controllers assignment)
Automatic refresh device assignment:
Refer to 4.3 Device Assignment Example
Special relay (M) assignment: M0: Extension number setting flag for display
M1: Measured value (PV)/Manipulated output value
(MV1) transfer
M2: Extension number setting flag for setting
Data register (D) assignment: D0: Measured value (PV) storage of controller 1
D1: Measured value (PV) storage of controller 2
D3: Manipulated output value (MV1) storage of controller 1
D4: Manipulated output value (MV1) storage of controller 2
X1018 Y1018
COM-JC (Station number 1)
1 station occupied 1 time
CPU of PLC
„ Program conditions
Turn off the Extension display flag
(Y100C: RY0C).
Turn on the Extension display flag
(Y100C: RY0C).
Extension number setting end for
display.
Turn on the Extension number setting
flag for display (M0).
„ Data processing precautions
Numeric data values (Remote register) obtained via communication with the COM-JC and
processed by PLC include those with and without decimal points and also those with minus signs.
• For numeric data value without decimal point
If there is no decimal point the value is processed as it is.
• For numeric data value with decimal point
The decimal point is omitted.
[Example] When the Measured value (PV) is 120.5 °C
Read value of Remote register (RWrn) [Measured value (PV)]:
1205 (Hexadecimal number: 04B5H)
• For numeric data value with minus sign
The value is expressed as a 2’s complement value which is obtained by subtracting the
minus value from the hexadecimal number 10000H.
[Example] When the Measured value (PV) is −2.5 °C
Read value of Remote register (RWrn) [Measured value (PV)]:
Hexadecimal number: FFE7H
(10000H − 25 = 10000H − 19H = FFE7H)
CC-Link is a registered trademark of Mitsubishi Electric Co. Ltd.
Modbus is a registered trademark of Schneider Electric.
Company names and product names used in this manual are the trademarks or registered
trademarks of the respective companies.
®
RKC INSTRUMENT INC. The first edition:
The fifth edition:
JAN. 2005 [IMQ00]
SEP. 2011 [IMQ00]
HEADQUARTERS: 16-6, KUGAHARA 5-CHOME, OHTA-KU TOKYO 146-8515 JAPAN
PHONE: 03-3751-9799 (+81 3 3751 9799)
E-mail: info@rkcinst.co.jp
FAX:
03-3751-8585 (+81 3 3751 8585)
Website: http://www.rkcinst.com/
SEP. 2011
Download PDF