• 검색 결과가 없습니다.

High Speed Link information function

문서에서 User’s Manual (페이지 94-100)

3.3.3 10BASE-5 installation

CHAPTER 6 HIGH SPEED LINK

1) High Speed Link information function

The High Speed Link service performs data exchange between 2 or more communication stations.

This offers the user the ability to confirm the High Speed Link service status using High Speed Link information. It is possible confirm the reliability of data read from the destination station using the High Speed Link. That is, the communication module offers information by the High Speed Link when the High Speed Link is acting with the parameters set by the user after gethering the data collected until the fixed time. Link information consists of the following: Run-Link (_HSxRLINK) allows the user to know all the information in the communication network; individual information such as _HSxSTATE, _HSxTRX, _HSxMOD, _HSxERR, informs the user of all the information from Link Trouble (_HSxLTRBL) and the communication status by 64 registration lists within the parameters. The user can use the above information in the form of a keyword when editing the program and monitoring the status of the High Speed Link using the information monitor. When operating a variety of PLCs by using the High Speed Link, it should be used after the reliability of TX/RX data is confirmed by using High Speed Link information such as Run-Link and Link Trouble.

Table 6.2.5(A) shows the function and definition of High Speed Link information.

Classification Run-Link Link-Trouble RX/TX Status Action Mode Error High Speed Link Status Information

kind

Total Information

Total Information

Individual Information

Individual Information

Individual Information

Individual Information Keyword

Name (x=HS_Link

Number)

_HSxRLINK _HSxLTRBL _HSxTRX[n]

(n=0..63)

_HSxMOD[n]

(n=0..63)

_HSxERR[n]

(n=0..63)

_HSxSTATE [n] (n=0..63)

Data Type Bit Bit Bit-Array Bit-Array Bit-Array Bit-Array Available

Monitor Possible Possible Possible Possible Possible Possible Program Use Possible Possible Possible Possible Possible Possible

[Table 6.2.5(A)] High Speed Link information

A) Run-Link (_HSxRLINK)

Run-Link displays total information to show whether the High Speed Link is normally operating

① When ‘Enable Link’ is ‘On’.

② When the registration list setting of the parameters is normally set.

③ When all the data in the registration list of the parameters is sent and received corresponding to the service period.

④ When the status of all the destination stations set in parameter is in ‘RUN’ and there are no errors.

1 Station 2 Station 3 Station 4 Station 5 Station

(a) Configuration of the High Speed Link System

(b) Example of the parameter setting of the High Speed Link for each station

[Figure 6.2.5(A)] Conditions when the Run-Link is ‘On’

[Figure 6.2.5(A)] shows a configuration example of the High Speed Link system to describe the conditions when the Run-Link is ‘On’. If 5 communication modules are connected to the network [Figure 6.2.5(A)], and have the High Speed Link status with parameter contents of [Figure 6.2.5(B)], the condition when the Run-Link is ‘On’ in local station is as follows:

① When the Link-Enable is ‘On’ in the local station (station1).

② When Local station (station 1) is in ‘RUN’ status.

③ When Local station (station 1) is not in the error status.

④ When the TX parameter data set in the local station (station 1) is sent corresponding to the TX period.

⑤ When Data received from station 2, 3 are received corresponding to the RX period.

⑥ When the action modes of the destination stations (station 2, 3) and that are sending data Station 1 Station 2 Station 3 Station 4 Station 5 TX: 2 Words

RX: 2 Words (2 stations) RX: 2 Words

(3 Stations)

TX: 2 Words RX: 2 Words (1 station) RX: 2 Words

(4 stations)

TX: 2 Words RX: 2 Words (1 station) RX: 2 Words

(5 stations)

TX: 2 Words TX: 2 Words

Station 5 Station 2

Station 1 Station 3 Station 4

⑦ When the other destination stations’ (station 4, 5) action modes are set in the destination station’s parameter (station 2, 3) of the local station (station 1) are in ‘RUN’ mode, and are not in error status, and performs communication corresponding to the RX/TX period.

If all the conditions meet the qualifications, the Link of the local station is ‘On’. If the RUN-Link is operating with PLCs of several stations that connected with each other through the High Speed Link, the user can conduct the mutual monitoring of the data sent and received with reliable communication. But, once the ‘RUN-Link’ contact is ‘On’ remains ‘On’ until the Link-Enable is ‘Off’. Therefore, if the user monitors an abnormal status such as communication error, the user should use the following Information Contact of Link Trouble.

B) Link-Trouble (_HSxLTRBL x=High Speed Link Number (1~4))

It displays total information indicating if High Speed Link is normally operating by the parameter set by the user. It turns ‘On’ when the Run-Link is off, and it turns ‘Off’ when the Run-Link is on.

C) RX/TX Status (_HSxTRX[0..63] x=High speed Link Number (1~4))

Individual information showing the action status by the registration list of the High Speed Link parameter, and also showing a maximum 64 of RX/TX information by the registration list. If RX/TX action towards the registration item is done corresponding to the RX/TX period, the appropriate ‘Bit’ turns ‘On’. If not, it turns ‘Off’.

D) Operating Mode (_HSxMODE[0..63] x=High Speed Link Number (1~4))

Individual information showing the action status by the registration list of the High Speed Link parameter. It shows maximum 64 action modes information by registration list as maximum registration numbers. If the station set in the registration item is in ‘Run’ mode, the appropriate

‘Bit’ turns ‘On’. If it is in Stop/Pause/Debug mode, it turns ‘Off’.

E) Error (_HSxERR[0..63] x=High Speed Link Number (1~4))

Individual information showing the action status by the registration list of the High Speed Link parameter, and also showing maximum 64 error information by registration list as maximum registration number. The ‘Error’ displays the status overall, in which the PLC does not perform the user program normally. ‘Off’ means that the destination station’s PLC is acting normally. ‘On’

means that the destination station is acting abnormally

parameter, and also showing maximum 64 High Speed Link status by registration list as maximum registration number. If the RX/TX status of the appropriate list is normal, and the action mode is in ‘Run’ status, with no error, it turns ‘On’. If not, it turns ‘Off’.

2) Monitoring the High Speed Link information

You can monitor the High Speed Link information using the monitoring function after connection on-line to GMWIN. There are two ways to do this: To select the variable monitor from the monitoring menu or to use the monitor link parameter.

A) Variable Monitor

Variable Monitor is a function to monitor only by selecting the necessary items by means of the GMWIN flag monitor function. If the variable registration screen like [Figure 6.2.5(B)] appears after selecting the variable monitor from the on-line monitor, you can select ‘Flag’ and then directly register each high-speed information flag from the list of variable and flag registrations.

_HSxSTATE[n], _HSxERR[n], _HSxMOD[n], _HSxTRX[n] are flags for ‘Array’ type, and the user should select the array number. The array number means the registration number within the parameter. ‘x’ means the High Speed Link number. It has a range of 1 ~ 4 for the GM1/2/3 PLC CPU, 1 ~ 2 for the GM4 PLC CPU.

After selection ‘Close’ after variable registration, a monitor screen [Figure 6.2.5(C)] appears. The user can begin monitoring by pressing ‘Start’ from the tool box displayed on the right.

[Figure 6.2.5(C)] shows the monitoring results by monitoring the first parameter of the High Speed Link 1.

[Figure 6.2.5(C)] Monitoring screen for the High Speed Link information (variable registration)

B) Monitoring link parameter

If the link parameter item is selected from the monitoring menu of the on-line connection of GMWIN, a screen for selecting the link parameter [Figure 6.2.5(D)] appears. If the user clicks

‘OK’ after selecting the parameters, a screen for monitoring the high-speed parameters [Figure 6.2.5(E)] is open. The set registration list is shown when it is monitored.

[Figure 6.2.5(D)] Screen for selecting the Link Parameter

For link parameter monitoring, the total information of RUN-Link, and Link Trouble is displayed at the top of the screen in [Figure 6.2.5(E)]. Mode (operating mode), communication (RX/TX status), individual information of error are displayed with registration numbers as many as set numbers.

[Figure 6.2.5(E)] shows the monitoring screen when 2 of High Speed Link parameters are set for High Speed Link parameter 1 .

[Figure 6.2.5(E)] Monitoring screen for the High Speed Link parameter

The selected High Speed Link parameters and information are all monitored after selecting the High Speed Link information. It is possible to monitor the High Speed Link status with I/O data because the set individual information values are monitored together.

6.2.6 Calculating the speed of the High Speed Link

문서에서 User’s Manual (페이지 94-100)

관련 문서