Debugging Fipway communication. Schneider Electric Software Communication Application-Specific Functions, Micro/Junior/Pro, 4.5
Reklam
Reklam
Debugging Fipway communication
3
Introduction
Subject of this
Chapter
What's in this
Chapter?
This Chapter describes the Debugging process during set-up of Fipway communication.
This chapter contains the following topics:
Topic
FIPWAY debugging screen
FIPWAY debugging parameters
Requests available for the communication channel test
How to test a channel with Identification and Mirror requests
How to test a channel with requests
Page
35011050 01 July 2006
37
Debugging
FIPWAY debugging screen
Introduction
Illustration
This screen, split into two zones, is used to debug a FIPWAY link.
The screen dedicated to FIPWAY communication looks like this:
1
2
TSX 57352 [RACK 0 POSITION 1]
Debugging
Designation: TSX P 57352 PROCESSOR Version: 3.3
CHANNEL 1
CHANNEL 1
FIPWAY
TSX FPP 20 PCMCIA FIPWAY CARD
MAST
Channel Information
Network address
Station Address
23 Bus arb.
8
Bridge
Common data Common Words
Channel Test
Identification
Message Errors
Messages sent and not acknowledged
Message Refused
Receive Response
Reset Counters
Counters
Reset Counters
Enter Request
Mirror
ASCII Hex.
Stations
DIAG...
DIAG...
0
0
Elements and functions
This table describes the different zones that make up the debugging screen:
Address Zone
1 common
2 specific
Function
See (Communication applications Volume 1 - Description of communication debugging screens).
is used to access the debugging parameters of a FIPWAY link.
It is split into three windows: z z z information on the channel, information on the message errors, the possibility of testing the communication channel.
38
35011050 01 July 2006
Debugging
FIPWAY debugging parameters
Introduction
Channel information
Message errors
The specific part is split into three windows: z z z the Channel information window, the Message errors window, the Channel test window.
The window looks like this:
Channel Information
Network address
Station Address
23 Bus arb.
8
Bridge
Common data Common Words
It shows information concerning the communication channel: z
Network address : this field indicates the network address coded on the PCMCIA card.
z z
Station address : this field indicates the station address coded on the PCMCIA card.
Common data : this field shows the type of common data selected in configuration mode.
z z
B.A.
: this field indicates if the local PCMCIA card is the bus arbiter of the FIPWAY network. In this case, the box is shaded.
Router : this field indicates if the local PCMCIA card is configured as a Bridge
(router). In this case, the box is shaded.
The window looks like this:
Message Errors
Messages sent and not acknowledged
Messages Refused
Reset Counters
0
0
This window displays the PCMCIA card error counters: z z
Messages sent and not acknowledged ,
Messages refused .
The button Reset Counters resets these counters.
35011050 01 July 2006
39
Debugging
Channel test The window looks like this:
Channel Test
6
14
Identification
Counters
Reset Counters
Enter Request
Mirror
Stations
Receive Response
...TSX FPP20.../...
ASCII Hex.
This window is used to test a communication channel by sending a request to one of the stations on the network.
40
35011050 01 July 2006
Debugging
Requests available for the communication channel test
Introduction
Test conditions
Available requests
This page describes the different possibilities for testing a communication channel from the debugging screen.
Sending a request to an unconnected station results in an error message.
The Channel Test window allows the following requests: z
Identification : prompts the Identification request to be sent to the designated slave, z z
Counters : prompts the Read error counters request to be sent to the designated station,
Reset Counters : prompts the designated station’s error counters to be reset to zero, z z
Enter request : allows a UNI-TE request, other than those provided by the command buttons, to be sent to the designated station. Selecting this function gives access to a screen that allows you to select the parameters that are specific to the request (request code must be coded in hexadecimal),
Mirror : allows a mirror request to be sent to the designated station. Selecting this function gives access to a screen that allows you to select the length of the character string to be sent (a maximum of 80 characters ). The PLC then sends this character string (ABCD….) to the destination device. The latter automatically sends the character string that was received back to the sender.
35011050 01 July 2006
41
Debugging
How to test a channel with Identification and Mirror requests
Introduction This page indicates the procedure for testing a communication channel by means of
Identification and Mirror requests.
How to identify a station
The following procedure is used to identify a designated station.
Step
1
2
Actions
Select the address of the station to be interrogated using the Station field.
Click on the Identification button.
Result
The response appears in the Receive Response window:
Receive Response
...TSX FPP20.../...
ASCII Hex.
42
35011050 01 July 2006
Debugging
How to send the
Mirror request
The following procedure is used to send the Mirror request and thus to test the routing of information between two devices.
Step
1
2
Action
Select the address of the station to be interrogated using the Station field.
Click on the Mirror button.
Result
The following window appears:
Mirror Request
Length of data to be sent
Send Cancel
8
3
4
Enter the length of data to be sent (maximum 80 characters).
Click on the Send button.
Result
The response appears in the Receive Response window:
Receive Response
ABCDEFGH
ASCII Hex.
The response contains: z the character string ABCDEFGH that corresponds to the length of data sent 8.
35011050 01 July 2006
43
Debugging
How to test a channel with requests
Introduction
How to send a request
This page indicates the procedure for testing a communication channel from the debugging screen using different requests.
The following procedure is used to send a request, other than those provided by the command buttons, to a designated station.
Step
1
2
Action
Select the address of the station to be interrogated using the Station field.
Click on the Enter Request button.
Result
The following window appears:
Enter Request
Request Code (Hexadecimal)
fa
Data (Hexadecimal)
1234db
3
4
5
Send Cancel
The data sent in this example is coded on 3 bytes.
Enter the function code (coded in hexadecimal on one byte), corresponding to the request that you want to send.
Enter the data to be sent by coding all the data in hexadecimal. Enter the data continuously without any intervening spaces.
Click on the Send button.
Result
The response appears in the Receive Response window:
Receive Response
1234DB
ASCII Hex.
the response from the example has data on 3 bytes (12 43 DB).
44
35011050 01 July 2006
İndir
Reklam