background image

R7G-SC-SHL

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-7817-A  Rev.2  P. 7 / 7

TIMING AT DATA COMMUNICATION

In this module, the transmission between CC-Link and HLS is not synchronized.  Therefore, if one of the networks read the 
transmitted data before the completion of its update by the other network, the data may be uncertain as 16-bit data.  If the 
correct 16-bit data is necessary, arrange the host application program.

For example, the initial data transmitted from HLS to CC-Link is 0000 | 0000 | 0000 | 0000 (T

0

).  When the HLS changes 

the data to 0000 | 0000 | 0000 | 0111 at THA, and CC-Link read it simultaneously (T

CA

 = T

HA

), the 3 LSBs are uncertain at 

the moment.  The 3 LSBs are possibly 000, 001, 010, 011, 100, 101 or 110.  When the HLS does not change the data until the 
CC-Link reads it next time (T

CA

+1), the CC-Link can read correctly.  When the CC-Link transmits and HLS reads data, they 

do the same with the above.

  When the 16 bits are independent data (e.g. discrete I/Os), the above phenomenon seems as the delay of 1 scan time.  When 
the 16-bit data is one word or the combinations of the bits have certain definition, you must be careful.

In order to avoid reading uncertain as 16-bit data, arrange the host application program.  For example, the transmitting net-
work does not change the data longer than receiving network’s update time. The receiving network reads at least twice and 
until the two sequential data sets are identical.

HLS

Update Timing

HLS Transmitting Data

CC-Link Receiving data

CC-Link 

Update Timing

T

0

0000 | 0000 | 0000 | 0000

T

0

:

:

:

T

HA

0000 | 0000 | 0000 | 0111

0000 | 0000 | 0000 | 0xxx

T

CA

The LSBs of T

CA

 are uncertain.

T

HA+1

0000 | 0000 | 0000 | 0111

T

HA+2

0000 | 0000 | 0000 | 0111

T

HA+3

0000 | 0000 | 0000 | 0111

T

HA+4

0000 | 0000 | 0000 | 0111

0000 | 0000 | 0000 | 0111

T

CA+1

Receives the correct data. 

T

HA+5

0000 | 0000 | 0000 | 0111

T

HA+6

0000 | 0000 | 0000 | 0111

T

HA+7

0000 | 0000 | 0000 | 0111

T

HA+8

0000 | 0000 | 0000 | 0111

0000 | 0000 | 0000 | 0111

T

CA+2

CC-Link received data is fixed.

:

:

:

:

Summary of Contents for R7G-SC-SHL

Page 1: ...1 8W GENERAL PRECAUTIONS Before you remove the unit or mount it turn off the power supply for safety DO NOT set the switches on the module while the power is supplied The switches are used only for m...

Page 2: ...ived normally ERR1 ERR2 Red Turns on when the received data is abnormal SD1 SD2 Red Turns on when the module is trans mitting RD1 RD2 Red Turns on when the module is receiv ing CC Link STATION ADDRESS...

Page 3: ...tput maintains the last data received normally H1 H2 Reset the output turned off C1 C2 CC Link output at the loss of communication SW1 4 CC Link OUTPUT AT THE LOSS OF COMMUNICATION CH1 CH2 SW1 4 Hold...

Page 4: ...Terminating Resistor Terminating Resistor Terminating Resistor Terminating Resistor 1 NC 2 NC 3 TR 4 TR 5 NC 6 NC 7 NC 8 SLD1 Half duplex communication Half duplex communication No connection No conne...

Page 5: ...F OFF BL OFF OFF OFF OFF ON No data addressed to the station Or unable to receive data addressed to the station due to noise interference Missing parts of the data sent from the master OFF OFF OFF OFF...

Page 6: ...LD FG TXD TR RXD RXD NC NC TXD TR NC SLD1 CC Link COMMUNICATION IN HLS COMMUNICATION IN 1 2 3 4 5 1 2 3 4 5 6 7 8 TXD TR RXD RXD NC NC TXD TR NC SLD1 HLS COMMUNICATION OUT 1 2 3 4 5 6 7 8 DA DB DG SLD...

Page 7: ...en the CC Link transmits and HLS reads data they do the same with the above When the 16 bits are independent data e g discrete I Os the above phenomenon seems as the delay of 1 scan time When the 16 b...

Reviews: