background image

GR8-EM

5-2-55, Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPAN
Phone: +81(6)6659-8201  Fax: +81(6)6659-8510  E-mail: [email protected]

EM-8621 Rev.5  P. 8 / 15

 

CACHE FUNCTION

• General 

The GR8-EM regularly communicates with the client (RS-485) I/O modules regardless of the presence or absence of requests 
from the host (Ethernet) and stores data in its Cache area.  Whenever a query is received from the host, the GR8-EM sends 
data stored in the Cache without loss of time to scan the client each time.

• When many devices are connected to RS-485

When devices connected to RS-485 and requests of query increase in number, update cycle for data stored in a cache becomes 
slow and data become delayed data against actual data.  If this delay causes problem, disable the cache.

• Modbus commands supported for Cache function

     

 

 

 

Read Coil Status (01)

     

 

 

 

Read Input Status (02)

     

 

 

 

Read Holding Registers (03)

     

 

 

 

Read Input Registers (04) 

• Number of Cache

Up to 100 Cache areas (100 queries of the commands supported for Cache) are usable.
Each Cache is managed with Slave address, Function code, Begin address and Number of register.
One Cache area is shared by identical queries.  If one or more of the above differs, another Cache area is assigned.
When the number of Cache areas reaches 100, following queries will be handled as normal queries without Cache function.

Note:   If no query is sent from the host for 10 seconds, the Cache is disabled.  

If data received from the client result in three consecutive errors, or there is no communication between the client for 10 sec., 
the Cache is disabled.

• Modbus/TCP & Modbus RTU

Query and Response message formats are different between Modbus/TCP (Ethernet) and Modbus RTU (RS-485).  For detailed 
explanations, please refer to Modbus Protocol Reference Guide (EM-5650).

For example, when a query is sent to read data addresses 30017 to 30018 at the slave address 1 and ‘12345678’ is stored at 
these addresses: (hexadecimal)

QUERY

Modbus/TCP    

00  01  00  00  00  06  01  04  00  10  00  02

     

 

 

 

   (1)        (2)       (3)     (4)  (5)         (6)

Modbus RTU   

 

 

 

01  04  00  10  00  02  70  0E

     

 

 

 

 

 

 

(4)  (5)         (6)               (7)

RESPONSE

Modbus/TCP    

00  01  00  00  00  07  01  04  04  12  34  56  78

     

 

 

 

   (1)        (2)       (3)     (4)  (5)            (6)

Modbus RTU   

 

 

 

01  04  04  12  34  56  78    80  B0

     

 

 

 

 

 

 

(4)  (5)             (6)                   (7)

(1) Transaction identifier (2 bytes): The value in the query is copied into the response.
(2) Protocol identifier (2 bytes): Fixed to zero (0).
(3) Length (2 bytes): Number of following bytes.
(4) Unit identifier (1 byte): Modbus RTU slave address.
(5) Function Code (1 byte)
(6) Data fields (variable length): Related to the Function Code.
(7) CRC check (2 bytes)

(4), (5) and (6) are common to both Modbus/TCP and Modbus RTU.
Modbus/TCP is preceded by six (6) bytes of data, while Modbus RTU is followed by a CRC.

Summary of Contents for GR8-EM

Page 1: ...he user may have to review the CE requirements in regard to the whole system and employ additional protective measures to ensure the CE conform ity POWER INPUT RATING OPERATIONAL RANGE Locate the powe...

Page 2: ...data to the paired RS 485 station LINK Green ON Being linked with 10BASE or 100BASE Blinking Sending receiving data OFF No link detected LK100 Green ON Being linked with 100BASE OFF Being linked with...

Page 3: ...RUCTIONS EURO TYPE CONNECTOR TERMINAL POWER SUPPLY Applicable connector MSTB2 5 3 ST Phoenix Contact attached to the product Applicable wire size 0 2 2 5 mm2 Stripped length 7 mm Recommended pin termi...

Page 4: ...orm internal communication or the power can not be supplied to these I O modules Confirm that the locking clamps of the unit are set Insert the unit straight in perpendicularly to the rail such that t...

Page 5: ...f unit on the DIN rail Push in the lower in keeping pressing the unit to the DIN rail B To remove the unit push down the DIN rail adaptor using a minus screwdriver Pull out the lower part of the unit...

Page 6: ...SIONS unit mm inch 4 16 5 20 73 2 87 55 2 17 73 2 87 55 2 17 115 4 53 6 24 7 28 115 4 53 6 24 7 28 6 24 7 28 3 12 COUPLED WITH DL8 SINGLE USE 1 24 94 3 12 24 94 CONNECTION DIAGRAM RJ 45 CONNECTOR To o...

Page 7: ...sent from the host for a certain time RS 485 Modbus RTU Protocol Modbus RTU Configuration Bus type multi drop Standard Conforms to TIA EIA 485 A Communication Half duplex asynchronous no procedure Tra...

Page 8: ...d When the number of Cache areas reaches 100 following queries will be handled as normal queries without Cache function Note If no query is sent from the host for 10 seconds the Cache is disabled If d...

Page 9: ...modules Hub DL8 Client 24V DC power DL8 GR8 EM I O modules Note It is not available to supply the power via DL8 Supply the power with the connector for power supply COUPLED WITH DL8 Communication Ada...

Page 10: ...point etc by users Though the web server is designed for applicable to many web browsers supporting HTML5 operation with all web browsers or environment cannot be guaranteed Please notice that even w...

Page 11: ...information or setting view Pressing LANG button enables to select the language between English and Japanese PASSWORD Set the user name and password to be required for user authentication to connect...

Page 12: ...5 Subnetmask Set the Subnet Mask for the unit Range 0 0 0 0 to 255 255 255 255 Default gateway Set the router address connected to external network 0 0 0 0 not used is available for local network whic...

Page 13: ...et the transfer rate Choose among 2400 4800 9600 19200 38400 57600 or 115200 bps Parity bit Set the parity bit Choose among None Odd or Even Stop bit Set the stop bit Choose between 1 bit and 2 bits R...

Page 14: ...e unit System up time Operating time from power on Modbus TCP STATISTICS ITEM DESCRIPTION Receive frames Received request numbers of Modbus TCP Error receive frames Numbers of error frame of received...

Page 15: ...f the unit ITEM DESCRIPTION Reboot the device Clicking Reboot enables to restart the unit Update the firmware Firmware update is available in order to add new functions and improve operations Download...

Reviews: