RKC INSTRUMENT COM-JG Instruction Manual

Profibus communication converter

Advertisement

Quick Links

PROFIBUS Communication
Converter
COM-JG
[For SRZ]
Instruction Manual
IMR01Y35-E3
RKC INSTRUMENT INC.
®

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for RKC INSTRUMENT COM-JG

  • Page 1 PROFIBUS Communication Converter COM-JG [For SRZ] Instruction Manual IMR01Y35-E3 RKC INSTRUMENT INC. ®...
  • Page 2 SIMATIC® is registered trademarks of SIEMENS AG. 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. All Rights Reserved, Copyright © 2006, RKC INSTRUMENT INC.
  • Page 3 Thank you for purchasing this RKC product. In order to achieve maximum performance and ensure proper operation of your new instrument, carefully read all the instructions in this manual. Please place the manual in a convenient location for easy reference. SYMBOLS : This mark indicates precautions that must be taken if there is danger of electric WARNING...
  • Page 4 CAUTION 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.) 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.
  • Page 5: Table Of Contents

    4.5 Installation of Termination Resistor...............13 5. SETTING................15 5.1 PROFIBUS Address Setting .................15 5.2 DIP Switch Setting ..................16 5.3 COM-JG Initial Setting ..................17 5.4 Controller Address Auto Obtain Methods .............19 6. PROFIBUS COMMUNICATION ........21 6.1 PROFIBUS System Configuration ..............21 6.2 PROFIBUS Communication Data ..............22...
  • Page 6 8. USAGE EXAMPLE ............60 8.1 Handling Procedures ..................60 8.2 System Configuration ...................61 8.3 Use Instruments Setting................62 8.4 Contents Check of COM-JG Initial Setting............63 8.5 PLC Tool Setting...................70 8.5.1 Setting procedures .................... 70 8.5.2 General procedures................... 73 8.5.3 COM-JG initial setting ..................83 8.5.4 Communication item setting ................
  • Page 7: Outline

    RKC module type controller SRZ to a programmable controller (hereafter called PLC) for PROFIBUS. The COM-JG supports PROFIBUS-DP protocol. This protocol includes master and slave. The PLC is the master and the COM-JG is the slave.
  • Page 8: Product Check

    If any of the products are missing, damaged, or if your manual is incomplete, please contact RKC sales office or the agent. * GSD file The GSD file for COM-JG can be downloaded from the RKC official website. (URL: http://www.rkcinst.com/english/download/field_network.htm) 1.2 Model Code Check that the product received is correctly specified by referring to the following model code list: If the product is not identical to the specifications, please contact RKC sales office or the agent.
  • Page 9: Parts Description

    • When panel mounted, two mounting brackets are required for the upper and lower sides (one required for the upper side: separately sold). Terminal base Part of the terminal and base of COM-JG (There is the Termination resistor transfer switch in the inside of terminal base) Mainframe...
  • Page 10: Handling Procedures

    • Refer to 8.5 PLC Tool Setting (P. 70) Set PLC programming software STEP7. Communication Data Setting Refer to 8.5 PLC Tool Setting (P. 70) To avoid error at operation start-up, COM-JG must be powered on LAST (after the controller, PLC, etc.). IMR01Y35-E3...
  • Page 11: Mounting

    3. MOUNTING This chapter describes installation environment, mounting cautions, dimensions and mounting procedures. WARNING To prevent electric shock or instrument failure, always turn off the power before mounting or removing the instrument. 3.1 Mounting Cautions (1) This instrument is intended to be used under the following environmental conditions. (IEC61010-1) [OVERVOLTAGE CATEGORY II, POLLUTION DEGREE 2] (2) Use this instrument within the following environment conditions: •...
  • Page 12: Dimensions

    3. MOUNTING 3.2 Dimensions 109.5 (Unit: mm) 3.3 DIN Rail Mounting Mounting procedures 1. Pull down the mounting bracket at the bottom of the instrument (A). Attach the hooks on the top of the instrument to the DIN rail and push the lower section into place on the DIN rail (B). 2.
  • Page 13: Panel Mounting

    3. MOUNTING Removal procedures 1. Turn the power OFF. 2. Remove the wiring. 3. Pull down a mounting bracket with a slotted screwdriver (A). Lift the instrument from bottom, and take it off (B). (B) Lift and take (A) Pull down 3.4 Panel Mounting Mounting procedures 1.
  • Page 14: Wiring

    4. WIRING This chapter describes wiring cautions, terminal configuration and connections. 4.1 Wiring Cautions WARNING To prevent electric shock or instrument failure, do not turn on the power until all wiring is completed. Make sure that the wiring is correct before applying power to the instrument.
  • Page 15: Terminal Configuration

    4. WIRING 4.2 Terminal Configuration The terminal layout is as follows. Controller communication Upper-side RS-485 terminal T/R(A) T/R(B) : The part of internal wiring 11 10 Power supply Ground 13 12 Lower-side − terminal 24 V As controller communication terminal Nos. 1, 4 and 5 are internally connected to terminal Nos. 3, 6 and 7, any terminals can be used.
  • Page 16: Connection To Profibus

    4. WIRING 4.3 Connection to PROFIBUS Connect COM-JG to PROFIBUS. Pin layout of connector COM-JG PROFIBUS connector (COM. PORT) Pin No. Signal name Symbol ⎯ Unused ⎯ Unused Receive data /Transmission data (plus) RxD/TxD-P ⎯ Unused Signal ground DGND Termination resistor supply voltage (5 V) ⎯...
  • Page 17 390 Ω DGND Customer must provide the PROFIBUS cable (a connection cable of PLC and COM-JG). As for the PROFIBUS cable, there is a case prepared by a PLC manufacturer. The details except the above are connected to a website of PROFIBUS International, and obtain necessary information.
  • Page 18: Connection To The Controllers

    4. WIRING 4.4 Connection to the Controllers Conduct wiring between the COM-JG and controller (SRZ) as shown in the following. SRZ (Z-TIO module/Z-DIO module) communication terminal number and signal details Terminal No. Signal name Symbol Send/Receive data T/R (A) Communication...
  • Page 19: Installation Of Termination Resistor

    Termination resistor setting position If the COM-JG is connected to the extreme end of the communication line, install one termination resistor each to the COM-JG and the controller (module of the SRZ) located most distantly from the COM-JG. SRZ unit...
  • Page 20 4. WIRING 3. Turn on the Termination resistor transfer switch in the terminal base. The COM-JG is shipped from the factory with the selector switch set to “ON: Termination resistor connected.” Termination resistor transfer switch Termination Termination resistor OFF resistor ON (120 Ω...
  • Page 21: Setting

    Set the slave address with the address setting switch prior to operation. With the tow rotary switch in the front of the COM-JG, set an address number on the PROFIBUS. For this setting, use a small slotted screwdriver.
  • Page 22: Dip Switch Setting

    Refer to 5.4 Controller Address Auto Obtain Methods (P. 19). Controller communication enabled/disabled Controller communication enabled Controller communication disabled (When COM-JG initial settings are configured using PLC tool) Factory set value: Controller communication enabled Refer to 5.3 COM-JG Initial Setting (P. 17). Fixed (Do not change the factory set value) Dip switch No.
  • Page 23: Com-Jg Initial Setting

    To configure the COM-JG initial setting items, controller communication must be disabled using the DIP switches. Change DIP switch No. 7 to ON (controller communication disabled) on the left side of the COM-JG. DIP switch 1 2 3 4 5 6 7 8...
  • Page 24 For information on the continuous accesses enable selection, refer to also Continuous accesses enable selection (P. 66) in 8.4 Contents Check of COM-JG Initial Setting. • Static data read range (elective setting) When a communication item is specified in a static data request, a read or write request is normally sent to the same Modbus register address of all connected controllers (each module of the SRZ).
  • Page 25: Controller Address Auto Obtain Methods

    To execute controller address auto obtain, DIP switch No. 7 on the left side of the COM-JG must be set to OFF (controller communication enabled). 1. Set DIP switch No. 4 on the left side of the COM-JG to ON (auto obtain ON). Set the controller communication speed with DIP switch Nos. 1 and 2.
  • Page 26 4. When controller address auto obtain is finished, the RUN lamp of the COM-JG stops blinking and lights steadily. 5. Turn off the power and return DIP switch No. 4 on the left side of the COM-JG to OFF (auto obtain OFF).
  • Page 27: Profibus Communication

    PROFIBUS system is enabled by downloading these data to a master. System configuration PROFIBUS configuration tool (Master) GSD file PROFIBUS-DP Field Sensor Drive COM-JG device Slave Overview of PROFIBUS system configuration About configuration tool, please ask a manufacturer of a master product. IMR01Y35-E3...
  • Page 28: Profibus Communication Data

    PLC. • As the Modbus register address is directly specified, data items of all the controllers connected to the COM-JG can be selected. • When static data is requested, 1-word (2-byte) data is used for both read and write.
  • Page 29: Dynamic Data Request

    • As the Modbus register address is directly specified, data items of all the controllers connected to the COM-JG can be selected. • When dynamic data is requested, 3-word (6-byte) data is used for both read and write. Send data from PLC to COM-JG Register configuration Byte 0...
  • Page 30 If the written data is invalidated, the present (before data write) value is returned. When the data is written, there is a delay in rewriting the data in this register as the COM-JG updates the register after rereading the data on the controller. IMR01Y35-E3...
  • Page 31: Registers Assigned To Plc

    − None of the controllers is connected. − COM-JG is hardware abnormally. If an instrument error occurs, the RUN lamp at the front of COM-JG flashes (flashes slowly). Time-out error Successive communication time-out occurring twice in the same controller after PROFIBUS is initialized causes a time-out error.
  • Page 32 Data may be written by static data request depending on the PLC even if the PLC is not in the RUN state. In order to prevent this, the COM-JG is provided with the 1-byte flag register. Only when the flag value in this one byte corresponds to “0FH” (hexadecimal), data is written to each controller.
  • Page 33: Processing Of Numeric Data Values

    6. PROFIBUS COMMUNICATION 6.3 Processing of Numeric Data Values Numeric data values used via communication with the PLC and processed by COM-JG 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.
  • Page 34: Communication Data Map

    Register addresses of the 2nd and 4th channels * * Communication data with a ♣ mark in the name column (4) Attribute: RO: Read only data Data direction: Master (PLC) → Slave (COM-JG) R/W: Read and Write data Data direction: Master (PLC) ↔ Slave (COM-JG) (5) Data range: Read or write range of communication data Bit image of bit data is as follows.
  • Page 35 7. COMMUNICATION DATA MAP Communication includes both Normal setting data and Engineering setting data. During RUN (control), the attribute of Engineering setting data is RO. To configure Engineering setting data, the RUN/STOP switch must be set to STOP (control stopped). Z-TIO module: Normal setting data No.
  • Page 36: Communication Data Of Z-Tio Module

    7. COMMUNICATION DATA MAP 7.2 Communication Data of Z-TIO Module Modbus Attri- Factory Name Channel register address Data range bute set value ⎯ Measured value (PV) 0000 Input scale low to Input scale high 0001 0002 0003 ⎯ Comprehensive event 0004 Bit data state...
  • Page 37 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value ⎯ Remote setting (RS) input 001D Setting limiter low to Setting limiter high value monitor 001E 001F 0020 ⎯ Burnout state monitor 0021 0: OFF...
  • Page 38 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value ⎯ ⎯ Logic output monitor 0044 Bit data Bit 0: Logic output 1 Bit 1: Logic output 2 Bit 2: Logic output 3 Bit 3: Logic output 4 Bit 4: Logic output 5 Bit 5: Logic output 6...
  • Page 39 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value Set value (SV) ★ 008E Setting limiter low to Setting limiter high TC/RTD: 0 008F V/I: 0.0 0090 0091 TC/RTD inputs: Proportional band 0092...
  • Page 40 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value −100.0 to +100.0 % Manual reset ★ 00B2 00B3 If the Integral function is validated, set to RO 00B4 (Only reading data is possible).
  • Page 41 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value −Input span to +Input span RS bias * 00E2 00E3 00E4 00E5 RS digital filter * 00E6 0.0 to 100.0 seconds 00E7 (0.0: Unused) 00E8...
  • Page 42 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value EDS mode 011A 0: No function (for disturbance 1) 011B 1: EDS function mode 011C 2: Learning mode 011D 3: Tuning mode EDS mode 011E...
  • Page 43 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value Startup tuning (ST) 0146 0: ST unused 0147 1: Execute once * 0148 2: Execute always 0149 * When the Startup tuning (ST) is finished, the setting will automatically returns to “0: ST unused.”...
  • Page 44 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value Decimal point position 017E 0: No decimal place Based on 017F 1: One decimal place model code 0180 2: Two decimal places 0181 3: Three decimal places When not...
  • Page 45 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Channe Attri- Factory Name register address Data range bute set value Event 1 type 01A2 Based on 0: None 01A3 model code 1: Deviation high (Using SV monitor value) 01A4 2: Deviation low (Using SV monitor value) 01A5 When not...
  • Page 46 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value 01BA Bit data Force ON of Event 1 action 01BB Bit 0: Event output turned on at input error 01BC occurrence 01BD...
  • Page 47 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value 01CE Deviation, process, set value, or Deviation Event 2 differential gap 01CF action between channels: : 1.0 0 to Input span (Unit: °C [°F]) 01D0 01D1 MV: 0.0 to 110.0 %...
  • Page 48 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value 01E6 0: Unused Event 3 interlock 01E7 1: Used 01E8 01E9 01EA Deviation, process, set value, Deviation Event 3 differential gap 01EB action between channels, or Temperature : 1.0...
  • Page 49 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value 01FE 0: OFF Event 4 hold action Based on 01FF 1: Hold action ON model code 0200 (when power turned on; when transferred 0201 from STOP to RUN) When not...
  • Page 50 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value 0226 0 to Input span Based on Start determination point 0227 (The unit is the same as input value.) specification 0228 (0: Action depending on the Hot/Cold start...
  • Page 51 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value 0256 Manipulated output value −105.0 to +105.0 % at input error ♣ 0257 Actual output values become those restricted 0258 by the output limiter.
  • Page 52 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value Output value with AT 028A 105.0 Output value with AT turned off to 105.0 % turned on ♣ 028B Actual output values become those restricted 028C by the output limiter.
  • Page 53 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value Integral time limiter (high) 02B6 PID control or Heat/Cool PID control: 3600 [heat-side] ♣ 02B7 0 to 3600 seconds or 0.0 to 1999.9 seconds 02B8 Position proportioning control: 02B9...
  • Page 54 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value Integrated output limiter 02EE 0.0 to 200.0 % of control motor time 150.0 ♣ Unused Unused Unused (0.0: OFF) 02F0 Becomes invalidated when there is Feedback Unused...
  • Page 55 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value Setting change rate limiter 031E 1 to 3600 seconds unit time 031F 0320 0321 Soak time unit 0322 0: 0 to 5999 minutes 0323 [0 hours 00 minutes to 0324...
  • Page 56 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value −1 −1 203 Address of interacting 034E modules 034F (Master channel is selected from itself) 0350 0 to 99 0351 (Master channel is selected from other modules) 204 Channel selection of...
  • Page 57: Memory Area Data Of Z-Tio Module

    7. COMMUNICATION DATA MAP 7.3 Memory Area Data of Z-TIO Module The register addresses, 0500H to 0553H are used for checking and changing each set value belonging to the memory area. Modbus Attri- Factory register address Name Channel Data range bute set value Setting memory area...
  • Page 58 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value Integral time [cool-side] 0534 1332 0 to 3600 seconds or 0.0 to 1999.9 seconds 0535 1333 (0, 0.0: PD action) 0536 1334 0357...
  • Page 59: Communication Data Of Z-Dio Module

    7. COMMUNICATION DATA MAP 7.4 Communication Data of Z-DIO Module Modbus Attri- Factory Name Channel register address Data range bute set value ⎯ ⎯ 0000 Bit data Digital input (DI) state Bit 0: DI1 state Bit 1: DI2 state Bit 2: DI3 state Bit 3: DI4 state Bit 4: DI5 state Bit 5: DI6 state...
  • Page 60 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value −100.0 to +100.0 % DO output distribution 0050 bias 0051 0052 0053 0054 0055 0056 0057 −9.999 to +9.999 DO output distribution 0058 1.000...
  • Page 61 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name Channel register address Data range bute set value DO energized/de-energized 00AA 0: Energized 00AB 1: De-energized 00AC 00AD 00AE 00AF 00B0 00B1 −1 −1 DO output distribution 00B2 master channel module 00B3...
  • Page 62 7. COMMUNICATION DATA MAP DI assignment table Set value No assignment AUTO/MAN REM/LOC Interlock release EDS start signal 1 Soak stop RUN/STOP REM/LOC AUTO/MAN EDS start signal 1 Operation mode Soak stop RUN/STOP EDS start signal 1 REM/LOC Soak stop RUN/STOP Memory area transfer (1 to 8) Area set...
  • Page 63 7. COMMUNICATION DATA MAP DO assignment table [DO1 to DO4] Set value No assignment DO1 manual output DO2 manual output DO3 manual output DO4 manual output Event 1 comprehensive output Event 2 comprehensive output Event 3 comprehensive output Event 4 comprehensive output Event 1 (CH1) Event 2 (CH1) Event 3 (CH1)
  • Page 64: Com-Jg Initial Setting Items

    7. COMMUNICATION DATA MAP 7.5 COM-JG Initial Setting Items Modbus Attri- Factory Name register address Data range bute set value No. 1 Number of continuous accesses FE00 65024 1 to 85 No. 2 Number of continuous accesses FE01 65025 No. 3 Number of continuous accesses...
  • Page 65 7. COMMUNICATION DATA MAP Continued from the previous page. Modbus Attri- Factory Name register address Data range bute set value No. 15 Controller address FE2E 65070 1 to 99 0: No controller connected No. 16 Controller address FE2F 65071 No. 17 Controller address FE30 65072 No.
  • Page 66: Usage Example

    Setting (P. 63) Refer to 8.5 PLC Tool Setting (P. 70) and PLC Tool Setting Instruction Manual of the Programming Software STEP7. To avoid error at operation start-up, COM-JG must be powered on LAST (after the controller, PLC, etc.). IMR01Y35-E3...
  • Page 67: System Configuration

    Communication speed: 12 Mbps Controller communication (RS-485: Modbus) Use instruments PROFIBUS communication converter: COM-JG....1 Controller (SRZ): Z-TIO module ..3 (4-channel type: 2, 2-channel type: 1) Z-DIO module..1 SIMATIC S7-300 series (SIEMENS AG) − Power supply module: PS-300 (PS307 2A)..... 1 −...
  • Page 68: Use Instruments Setting

    8. USAGE EXAMPLE 8.3 Use Instruments Setting Set the COM-JG and controller (SRZ) as the following. There is not the hardware setting of PLC: SIMATIC S7-300 series (SIEMENS AG). COM-JG setting Set COM-JG to the following conditions. • PROFIBUS address: •...
  • Page 69: Contents Check Of Com-Jg Initial Setting

    8. USAGE EXAMPLE 8.4 Contents Check of COM-JG Initial Setting The contents of the COM-JG initial settings vary depending on the module configuration, number of communication items, and communication content. For this reason, before using the PLC configuration tool (Programming Software STEP7) to configure each setting, the module configuration, number of communication items, and communication content required in the COM-JG initial settings must be checked.
  • Page 70 Controller address Overview To allow the PLC and COM-JG to communicate, the COM-JG must be made to recognize the address of each controller (the module addresses of the SRZ). Controller addresses can be obtained automatically by COM-JG DIP switch switching, or controller addresses can be set using the PLC configuration tool.
  • Page 71 “4,” the factory set value. No. 5 Number of continuous accesses No. 1 to No. 31 correspond to No. 1 to No. 31 of "Controller address" in the COM-JG initial No. 31 Number of continuous accesses setting items.
  • Page 72 8. USAGE EXAMPLE Continuous accesses enable selection Overview The “Number of continuous accesses” is set for each controller (module), and thus when “4” is set, each communication item of a module accesses four channels. However, some of the communication items, such as “RUN/STOP transfer,” have only one data item per module. If four channels of data are requested for this type of data, unnecessary register addresses will be accessed, and thus the “Number of continuous accesses”...
  • Page 73 Group 9 to 16 Group 17 to 24 Group 25 to 32 Group 33 to 40 Set value Therefore, the continuous access enable selection setting is set as shown below. “Continuous access enable selection” setting COM-JG initial setting item Set value Continuous access enable selection 1 to 8 Continuous access enable selection 9 to 16...
  • Page 74 8. USAGE EXAMPLE Static data read/write range Overview The static data read/write range can be set to prevent the reading of unneeded data and the writing of incorrect data. When a communication item is specified in a static data request, a read or write request is normally sent to the same Modbus register address of all connected controllers (each module of the SRZ).
  • Page 75 0101H (257) Based on the above, the static data read range and the static data write range are set as shown below. “Static data read/write range” setting COM-JG initial setting item Set value Static data read range CH1 0303H (771)
  • Page 76: Plc Tool Setting

    COM-JG initial setting The procedure for configuring COM-JG initial settings is explained below. Before configuring COM-JG initial settings, be sure to set DIP switch No. 7 to ON (controller communication disabled). After you have completed the COM-JG initial settings, be sure to return DIP switch No. 7 to OFF (controller communication enabled).
  • Page 77 (P. 102) item setting In the COM-JG initial settings, the number of data that is read or written varies by setting item and thus the procedure must be repeated for each setting item. However, when the number of data read or written is the same, such as for “Static data read range” and “Static data write range”, the settings can be configured together.
  • Page 78 PLC master setting PLC master setting (P. 78) Refer to 8.5.2 General procedures Register a COM-JG Register a COM-JG (P. 81) Refer to 8.5.4 Communication item setting Data parameter setting Data parameter setting (P. 102) Refer to 8.5.4 Communication item setting Configuration setting Configuration setting (P.
  • Page 79: General Procedures

    When configuring either COM-JG initial settings or communication item settings, first follow the general procedures below. Registering a GSD file is only performed when configuring COM-JG initial settings; it is not necessary when configuring communication item settings. Creating a new project When configuring communication item settings, you can save the project that you created when configuring COM-JG initial settings under a different name.
  • Page 80 8. USAGE EXAMPLE 3. Clicking “OK” displays the new project on the SIMATIC Manager. The project that was created 4. The PLC is registered to the created object. In this example, select “SIMATIC 300 Station.” IMR01Y35-E3...
  • Page 81 8. USAGE EXAMPLE 5. If the PLC is registered, the display becomes as follows. IMR01Y35-E3...
  • Page 82 Registering a GSD file is only performed when configuring COM-JG initial settings; it is not necessary when configuring communication item settings. 1. To link COM-JG to the project, register the GSD file for COM-JG downloaded from the RKC official website. Click the “SIMATIC 300” folder on the screen registered with the PLC and then double-click “Hardware”...
  • Page 83 2. Go to the “Options” on the menu bar and click on “Install New GSD…” to register GSD file for COM-JG downloaded from the RKC official website. Select GSD file of COM-JG. File name: RKC_0919.gsd 3. After the GSD file is registered, “COM-JG” is displayed on the HW configuration screen. COM-JG is displayed IMR01Y35-E3...
  • Page 84 8. USAGE EXAMPLE PLC master setting Example: 1. Double-click Rail under “RACK-300” in the folder tree to display rack (RACK). Rack (RACK) appears. Select “Rail” 2. Drag and drop “PS 307 2A” of the power supply module, “PS-300” within the rack. Drag &...
  • Page 85 8. USAGE EXAMPLE 3. Succeeding drag and drop “6ES7-315-2AF00-0AB0” of the CPU module, “CPU 315-2 DP.” Drag & drop 4. As the properties are displayed, click “New…” to set the network. In this example, the “Highest PROFIBUS Address” is set to 126 and the “Transmission Rate,” to 12Mbps.
  • Page 86 8. USAGE EXAMPLE 5. Drag and drop “SM 321 DI16xAC120V” of the DI module, “DI-300.” Thus, the PLC hardware setting has been finished. Drag & drop For details of the procedure for adding the rack, and Power supply, CPU and Digital input modules and for defining the PROFIBUS master, refer to the instruction manual for Programming Software STEP7.
  • Page 87 8. USAGE EXAMPLE Register a COM-JG 1. Drag and drop “COM-JG” onto “PROFIBUS (1): DP master system (1)” from the hardware catalog. Drag & drop 2. As the properties are displayed, set the PROFIBUS address. In this example, “1” is set.
  • Page 88 8. USAGE EXAMPLE 3. If the COM-JG is registered, the display becomes as follows. This concludes the general procedures. IMR01Y35-E3...
  • Page 89: Com-Jg Initial Setting

    8. USAGE EXAMPLE 8.5.3 COM-JG initial setting The following four items are set as COM-JG initial setting items. • Number of continuous accesses • Continuous accesses enable selection • Static data read range • Static data write range Repeat the following procedure [from Data parameter setting (P. 83) to Monitor and modify of variable (P.
  • Page 90 3. Set the number of read/write items to “Group read/write allocation.” In this example, the number of read items set to 1, and the number of write items, to 39. The number of items that can be set by the COM-JG is 40 maximum including both read and write items.
  • Page 91 (base ten). Write items must be set for Group 2 ID (base ten) and following groups. Blank items will be the factory set value “65535.” For Modbus register address of COM-JG initial setting items, refer to 7.5 COM-JG Initial Setting Items (P. 58).
  • Page 92 Configuration setting 1. Select “COM-JG” and then set the write permission flag register. Select “Write permission” from the hardware catalog and then drag and drop it to the COM-JG rack detail window. Always set “Write permission” regardless of the contents of communication items.
  • Page 93 Always locate “Static input word” above “Static output word” on the rack detail window. Select and then set the number of word of the COM-JG initial setting from among 1, 2, 4, 8 and 16 words so that the total number of words becomes the same as “Number of communication items ×...
  • Page 94 8. USAGE EXAMPLE 3. Set the PLC register address for static data read and write requests. Double-click the “Static input word” cell and the “Static output word” cell in the COM-JG rack detail window, and set the starting address. In this example, make the setting as follows.
  • Page 95 8. USAGE EXAMPLE When set the number of the word of dynamic data Select “Dynamic I/O word” for step 2 and then drag and drop it to the COM-JG rack detail window. 1/2/4/ words are available. In this example, select “1 Dynamic I/O word.”...
  • Page 96 8. USAGE EXAMPLE Save and compilation of project 1. Click the “Save and Compile” button on the toolbar, and save and compilation of the project. Click the “Save and Compile” button 2. Click the “Download to Module” button on the toolbar, and download a project to the PLC. If normally downloaded, the window to inform the operator of the progress opens, and then returns to the window for hardware configuration.
  • Page 97 8. USAGE EXAMPLE Creating a variable table Use the variable monitor/modify function of STEP7 to write the COM-JG initial setting item to COM-JG. Create a variable table to monitor and modify variables. 1. Selects “Block” from the tree of SIMATIC Manager. Right-click on the “Block” and select the command Insert New Object →...
  • Page 98 8. USAGE EXAMPLE 3. Double-click the icon of the created symbol name “COM-JG setting” to display a variable table as shown the table below. Double-click The Enter key can be pressed to increase the number of entry lines. The last line will not contain an entry.
  • Page 99 8. USAGE EXAMPLE 4. Set the read item of write permission flag register. In the configuration settings, the PLC register addresses of the write permission flag register (“Write permission”) are set as follows: Input Start address (I Address): 2 End address (I Address): 2 (Automatically assigned) As such, set “IB2”...
  • Page 100 8. USAGE EXAMPLE 6. Set the static data read request items. In the configuration settings, the PLC register addresses of the static data read request item (“Static input word”) are set as follows: Input Start address (I Address): 10 End address (I Address): 17 (Automatically assigned) As such, set “IW10,”...
  • Page 101 8. USAGE EXAMPLE 8. Set the static data write request items. In the configuration settings, the PLC register addresses of the static data write request item (“Static output word”) are set as follows: Output Start address (Q Address): 10 End address (Q Address): 17 (Automatically assigned) As such, set “QW10,”...
  • Page 102 8. USAGE EXAMPLE To set a dynamic data request item, set the following as shown below. a dynamic data request item (Dynamic I/O word) are set in the configuration settings as shown below. Input Start address (I Address): 100 End address (I Address): 105 (Automatically assigned) Output Start address (Q Address): 100 End address (Q Address): 105 (Automatically assigned) As such, set the following values in “Address”...
  • Page 103 8. USAGE EXAMPLE Monitor and modify of variable 1. Click the “Monitor variable” button on the toolbar to read the COM-JG static data. Before starting monitor, make sure that the computer, PLC, and COM-JG are connected. Monitor is not possible if these are not connected.
  • Page 104 Enter the set values for Number of continuous “ accesses ” QW 10 QW 12 QW 14 QW 16 4. Click the “Modify variable” button on the toolbar to write static data to the COM-JG. Click the “Modify variable” button IMR01Y35-E3...
  • Page 105 8. USAGE EXAMPLE 5. The set values entered in “Modify value” are stored in “Status value.” Address Symbol Display Status value Modify value format B#16#00 B#16#00 “Modify value” are stored in “Status value” QW 10 QW 12 QW 14 QW 16 6.
  • Page 106 7. As in step 4, click the “Modify variable” button on the toolbar to write the values in QW10 to QW16 of “Modify value” to the COM-JG. You can verify that the values in IW10 to IW16 of “Status value” have been changed to the values of QW10 to QW16 of “Status value.”...
  • Page 107 Status value Modify value format B#16#00 B#16#0F B#16#0F IB 100 B#16#80 IB 101 B#16#63 IW 102 W#16#FE03 IW 104 W#16#0001 QB 100 B#16#80 B#16#80 QB 101 B#16#63 B#16#63 QW 102 W#16#FE03 W#16#FE03 QW 104 W#16#0001 W#16#0001 This completes the COM-JG initial settings. IMR01Y35-E3...
  • Page 108: Communication Item Setting

    8. USAGE EXAMPLE 8.5.4 Communication item setting Once the COM-JG initial settings have been completed, configure the communication item settings. Corresponding Communication item Attribute* Data type module Measured value (PV) Channel-based data Set value (SV) Channel-based data Z-TIO RUN/STOP transfer...
  • Page 109 3. Set the number of read/write items to “Group read/write allocation.” In this example, the number of read items set to 5, and the number of write items, to 35. The number of items that can be set by the COM-JG is 40 maximum including both read and write items.
  • Page 110 8. USAGE EXAMPLE 5. Set write items in order from “Group 6 ID (base ten).” The set value sets the Modbus register address of the controller (SRZ) connected in a decimal number. In this example, make the setting as follows. Group 6 ID (base ten): 142: Set value (SV) [Z-TIO module CH1] * Group 7 ID (base ten): 109: RUN/STOP transfe...
  • Page 111 8. USAGE EXAMPLE Configuration setting 1. Select “COM-JG” and then set the error state register. Select “Error state” from the hardware catalog and then drag and drop it to the COM-JG rack detail window. Drag & drop IMR01Y35-E3...
  • Page 112 8. USAGE EXAMPLE 2. Set a write permission flag register. Select “Write permission” from the hardware catalog and then drag and drop it to the COM-JG rack detail window. Always set “Error state” and “Write permission” regardless of the contents of communication items.
  • Page 113 Static data write range CH2: 257 (0101H) Static data write range CH3: 0 Static data write range CH4: 0 Static data write range CH5: 0 For above each data, refer to 8.4 Contents Check of COM-JG Initial Setting (P. 63). Continued on the next page. IMR01Y35-E3...
  • Page 114 8. USAGE EXAMPLE Continued from the previous page. To clarify the positions and number of valid data based on the conditions on the previous page, create a table. Static data Controller address No. read/write Connection CH No. range Communication item channel Group 1 Measured value (PV) Group 2 Set value (SV)
  • Page 115 Select “Static input word” and “Static output word” from the hardware catalog and then drag and drop it to the COM-JG rack detail window. 1/2/4/8/16 words are available. The number of read words was 25, so select 16 words, 8 words, and 1 word.
  • Page 116 8. USAGE EXAMPLE 4. Set the PLC register address for static data read and write requests. Double-click the “Static input word” cell and the “Static output word” cell in the COM-JG rack detail window, and set the starting address. In this example, make the setting as follows.
  • Page 117 8. USAGE EXAMPLE When set the number of the word of dynamic data Select “Dynamic I/O word” for step 2 and then drag and drop it to the COM-JG rack detail window. 1/2/4/ words are available. In this example, select “1 Dynamic I/O word.”...
  • Page 118 8. USAGE EXAMPLE Save and compilation of project 1. Click the “Save and Compile” button on the toolbar, and save and compilation of the project. Click the “Save and Compile” button 2. Click the “Download to Module” button on the toolbar, and download a project to the PLC. If normally downloaded, the window to inform the operator of the progress opens, and then returns to the window for hardware configuration.
  • Page 119: Troubleshooting

    9. TROUBLESHOOTING This section explains probable causes and solutions if any abnormality occurs in the instrument. For any inquiries or to confirm the specifications of the product, please contact RKC sales office or the agent. If it is necessary to replace a device, always strictly observe the warnings below. WARNING To prevent electric shock or instrument failure, always turn off the system power before replacing the instrument.
  • Page 120 Termination setting of a Sets termination setting correctly PROFIBUS connector is wrong RUN lamp: Turns on The GSD file of the COM-JG is Specify the GSD file of COM-JG. RX/TX lamp: Turns on not specified in the ONL lamp: Turns off configuration.
  • Page 121 1 in 30 seconds after the power is succession. turned on The data of the COM-JG initial Turn the power off and then on, and then setting items was not correctly reset the COM-JG initial setting items.
  • Page 122: Specifications

    Data bit configuration: Data 8-bit, Without parity bit, Stop 1-bit Number of maximum connections: 31 controllers (SRZ module) [Device address setting: 1 to 99] Connection method: Terminals Built-in terminal base of COM-JG [ON/OFF select with switch (120 Ω)] Termination resistor: IMR01Y35-E3...
  • Page 123: General Specifications

    10. SPECIFICATIONS Self-diagnostic function Hardware error: Display: FAIL lamp ON Configuration error (Can not recognize the controller): Display: RUN lamp flashes Status: Set bit 0 of an error state register Memory backup error: Display: RUN lamp flashes Status: Set bit 0 of an error state register General specifications Power supply voltage: 21.6 to 26.4 V DC [Including power supply voltage variation]...
  • Page 124 10. SPECIFICATIONS Operating environments: Avoid the following conditions when selecting the mounting location. • Rapid changes in ambient temperature which may cause condensation. • Corrosive or inflammable gases. • Water, oil, chemicals, vapor or steam splashes. • Direct air flow from an air conditioner. •...
  • Page 125 The first edition: AUG. 2006 [IMQ00] The third edition: JUL. 2010 [IMQ00]...
  • Page 126 RKC INSTRUMENT INC. HEADQUARTERS: 16-6, KUGAHARA 5-CHOME, OHTA-KU TOKYO 146-8515 JAPAN PHONE: 03-3751-9799 (+81 3 3751 9799) FAX: 03-3751-8585 (+81 3 3751 8585) E-mail: info@rkcinst.co.jp Website: http://www.rkcinst.com/ IMR01Y35-E3 JUL. 2010...

Table of Contents