The text of a manual · part 37 of 46
Pico GFX-70 Controllers User Manual: 6 - Pico-Link and Point-to-Point Serial Connections, pages 323 to 328
Pages 323 to 328 of 400, from Pico GFX-70 Controllers User Manual
The original document is the PDF (2.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley GFX-70 1760-DUB
Page 323
Pico-Link and Point-to-Point Serial Connections
6-17
Establishing a Serial Interface connection to a Pico-Link station. Figure 6.6 Pico-Link operation and Serial Interface connections.
GFX-70
GFX-70
GFX-70
GFX-70
A Serial Interface connection can be established with a Pico-Link station. The same conditions apply here as with operation without Pico-Link.
Data accesses via Serial Interface The following data access operations are possible from the active station to the remote station:
Active station, read
Remote station
Inputs
1I01 to 1I16
I01 to I16
Inputs of local expansion unit
1R1 to 1R16
R01 to R16
Outputs
1Q01 to 1Q08
Q01 to Q08
Outputs of local expansion unit
1S01 to 1S08
S01 to S08
Pico-Link diagnostics bits
1ID01 to 1ID08
ID01 to ID08
Analog inputs
1IA01 to 1IA04
IA01 to IA04
Analog output
1QA01
QA01
Write/read accesses in the marker range Publication 1760-UM002B-EN-P - March 2005
Page 324
6-18
Pico-Link and Point-to-Point Serial Connections
Active station
Remote station
1 MD01
MD01
1 MW01 1 MB01
1MW02 1MB02
1MB03
MW01 1MB04
MB01
MW02 MB02
1 M01 to 1 M32
M01 to M32
1 MD02
MD02
1 MW03 1 MB05
MW03
1MW04 1 MB06
1 MB07
1 MB08
MB05
MB06
M33 to M64
1 MD03
MD03
1 MB09
1 MW06 1 MB10
1 MB11
MW05 1 MB12
MB09
MB10
M65 to M96
1 MD04
MD04 1 MW08
MB07
MB08
MW06
1 M65 to 1 M96 1 MW07
MB04
MW04
1 M33 to 1 M64 1 MW05
MB03
MW07
MB11
MB12
MW08
....
..... .... 1 MD20
MD20
1 MW39 1 MB77
MW39
1 MW40 1 MB78
1 MB79
1 MB80
MB77
MW40 MB78
MB79
MB80
The normal rules for addressing the markers apply.
IMPORTANT
Ensure a clear separation of the write range of the two stations. The active station should write different markers to the remote station. Otherwise the markers in the last write operation will be overwritten.
Configuration of the Serial Interface The active station must have the following settings in order for the Serial Interface connection to be functional: • Baud rate, • Serial Interface (active), • Remote marker range (data exchange range).
Publication 1760-UM002B-EN-P - March 2005
Page 325
Pico-Link and Point-to-Point Serial Connections
6-19
Baud rate Serial Interface The baud rate can be 9600 baud or 19200 baud.
BAUDRATE:19200B
IMPORTANT
Serial Interface REMOTE MARKER...
In normal applications, select the higher baud rate of 19200 baud. The baud rate of 9600 baud should only be selected if the connection is frequently faulty. Factory setting: 9600 baud
Activating Serial Interface Serial Interface must be activated in order for it to function. Factory setting: not active
BAUDRATE:19200B
The tick on the Serial Interface menu item indicates that Serial Interface is active.
Serial Interface ✓ REMOTE MARKER...
Remote markers, Serial Interface data exchange range
IMPORTANT
The REMOTE MARKER.. menu only opens if a tick is displayed next to Serial Interface.
Select the REMOTE MARKER... menu option. Here you can determine, select and modify the data exchange range. In the example the READ range was selected with the marker double words MD11 to MD15. READ: 1MD11 → 1MD015 WRITE:
The WRITE range consists of the marker double words MD16 to MD18.
1MD16 → 1MD18
The entire data exchange range available is the marker range MD01 to MD20 of the remote station. The active station accesses these markers with 1MD*. The * indicates the number of the marker concerned. The smallest possible unit for defining a marker range is an MD marker double word.
Publication 1760-UM002B-EN-P - March 2005
Page 326
6-20
Pico-Link and Point-to-Point Serial Connections
Example: The read range of the active station is 1MD02. The write range of the active station is 1MD03. The read range of the remote station is therefore MD03. The write range of the remote station is MD02.
Operating principle of the Serial Interface connection The active station at the Serial Interface must be in RUN mode. Data can only be exchanged with the active station in RUN mode. The remote station must be in RUN or STOP mode. The active station scans the remote station. The entire READ marker range is transferred as a string. The entire WRITE marker range is transferred as a string.
IMPORTANT
Data consistency The data is located in the image range (data range storing the marker states) of the active station (1MD..) as well as in the image range of the remote station (MD..) Each station writes data to its own image range asynchronously for data communication. As the serial interface transfers large data volumes slower than the devices overwrite the image ranges, the following applies: one marker double word 1MD.., MD.. is consistent. Within a program cycle, a marker double word that is overwritten via Serial Interface is not constant. The data via the Serial Interface is written to the status image over the course of the program cycle. This means that a different marker value can be present at the start of the program cycle to after the write operation via Serial Interface.
Sign of life detection Serial Interface, diagnostics contact ID09 To determine the proper functioning of the Serial Interface connection, the diagnostics contact ID09 is provided on the active station of the Serial Interface connection. Publication 1760-UM002B-EN-P - March 2005
Page 327
Pico-Link and Point-to-Point Serial Connections
Status of diagnostics contact ID09
Status of the connection
“0”
Serial Interface connection operating correctly or
6-21 no Serial Interface connection selected. “1”
Serial Interface connection not functioning, faulty
The time required to detect that the Serial Interface is not working properly depends on the baud rate selected and the event concerned.
Baud rate
Time required for detection of faulty Serial Interface connection. CRC error (data content incorrect)
No response, no hardware connection, remote station not in operation
9600 Baud
250 ms
1.5 s
19200 Baud
120 ms
0.8 s
ATTENTION
If the states of the inputs, outputs or data are required by a station without fail, the respective diagnostics contact should be evaluated and the information applied in accordance with its respective application. If the respective diagnostics contacts are not evaluated, it may cause faults in your application.
Publication 1760-UM002B-EN-P - March 2005
Page 328
6-22
Pico-Link and Point-to-Point Serial Connections
Publication 1760-UM002B-EN-P - March 2005