The text of a manual · part 36 of 46
Pico GFX-70 Controllers User Manual: 6 - Pico-Link and Point-to-Point Serial Connections, pages 315 to 322
Pages 315 to 322 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 315
Pico-Link and Point-to-Point Serial Connections
6-9
Send Each Change on the Inputs/Outputs (SEND IO) The SEND IO function should be used if you wish to send any change in input or output status immediately to all other network stations. SEND IO should be activated if intelligent stations have read access to the inputs and outputs of other stations (2I 02, 8Q 01, etc.).
SEND IO
✓
This means that the quantity of messages on the network can increase significantly.
IMPORTANT
If high-speed counters are used, the SEND IO function should be deactivated. Otherwise the input data is written very rapidly onto the network as they change continuously, leading to unnecessary loading of the network. If intelligent devices are required to exchange bit information, it should be implemented via RN and SN.
SEND IO ✓ = factory default setting
Automatic Change of the RUN and STOP Mode REMOTE RUN should be activated if stations 2 to 8 are to automatically follow the mode change of station 1 during operation.
IMPORTANT
IMPORTANT
Input and output devices must always have SEND IO activated, to ensure that station 1 always receives up-to-date input and output data.
Intelligent stations with display only follow the operating mode change when the display is showing the Status display or a text.
Publication 1760-UM002B-EN-P - March 2005
Page 316
6-10
Pico-Link and Point-to-Point Serial Connections
The following is of utmost importance during commissioning:
ATTENTION
If several engineers are commissioning a machine or system involving several spatially separated elements via the Pico-Link, it must be ensured that REMOTE RUN is not activated. Otherwise unwanted machine or system starts may occur during commissioning. The associated events depend on the machines or systems involved.
REMOTE RUN ✓ = factory default setting
Input/Output Device (REMOTE IO) Configuration All devices are factory set for operation as input and output devices. This has the advantage that devices can be used immediately as I/O devices, regardless of whether they have a display or not. You only need to assign the station number. This can be implemented via PicoSoft Pro or on a Station 1 with a display. If you want to assign a device as an intelligent station on the network, the REMOTE IO should be deactivated. Figure 6.4 Remote IO deactivated REMOTE IO
Publication 1760-UM002B-EN-P - March 2005
Page 317
Pico-Link and Point-to-Point Serial Connections
6-11
The standard settings for the input and output devices are:
SEND IO
✓
REMOTE RUN
✓
REMOTE IO
✓
Station number (Pico-Link ID) and baud rate can be specified via station 1.
Station Message Types The Pico-Link network recognizes various message types. They are: • Output data of station 1 (Q., S.) which is sent to stations without programs. • Network outputs and inputs sent and received between stations with programs (*SN, *RN). • Data sent and received via the network between stations with programs (PT and GT function blocks). • Inputs, outputs, station status (I, R, Q, S) transfers. • Loading programs to and from every station. The Pico-Link is based on a CAN (Controller Area Network) system. Each message type has its own ID. The message priority is determined via the respective ID. This is important in transmission borderline cases to ensure that all messages reach their destination.
Transfer Behavior Network CPU data transfer to program image The Pico GFX-70 network connection is equipped with its own CPU. Network data can therefore be processed while the program is running. After each program cycle, the status of the network data is written to the operand image of the program and the send data is read from the image. The program runs through the next cycle with this data.
Publication 1760-UM002B-EN-P - March 2005
Page 318
6-12
Pico-Link and Point-to-Point Serial Connections
Reading and sending the network data from the CPU The network CPU of the station reads every message on the network. If the message is relevant to the station, it is accepted into a message memory. If the content of a send message changes, it is sent. Transmission only occurs when there is no message on the network. The Pico-Link is configured so that every station can send its messages. This means that the station must observe a pause time between sending messages. The pause time increases the higher the number of stations and the lower baud rate setting. The number of stations is recognized by every station via a “sign of life” signal.
IMPORTANT
The following applies to fast message transfer: • Set the fastest possible baud rate to suit the network length and cable cross-section. • Fewer messages means faster messages. • Avoid program downloads during the RUN mode.
Signs of Life of the Individual Stations and Diagnostics The inputs and outputs message type is used as a “sign of life” recognition to ensure that the state of a station can be recognized by other stations. The states of the inputs and outputs are sent cyclically and at the set baud rate, irrespective of the SEND IO setting. If the inputs and outputs of a station are not recognized by other stations after a time determined by the baud rate, the station is deemed to be disconnected until the next “sign of life” is recognized.
Publication 1760-UM002B-EN-P - March 2005
Page 319
Pico-Link and Point-to-Point Serial Connections
6-13
Evaluation occurs at the following intervals:
Baud rate
Stations must send a “sign of life” every ...
Stations recognize the absence of a “sign of life” signal after
[KB]
[ms]
[ms]
1000
60
180
500
60
180
250
120
360
125
240
720
50
600
1800
20
1500
4500
10
3000
9000
If the absence of a “sign of life” is detected, the respective diagnostics contact is set to 1.
Diagnostics contact
Station number
ID 01
1
ID 02
2
ID 03
3
ID 04
4
ID 05
5
ID 06
6
ID 07
7
ID 08
8
Publication 1760-UM002B-EN-P - March 2005
Page 320
6-14
Pico-Link and Point-to-Point Serial Connections
IMPORTANT
ATTENTION
If a station does not send a “sign of life” signal (station not available, Pico-Link interrupted), the respective diagnostics contact ID is activated.
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.
IMPORTANT
Publication 1760-UM002B-EN-P - March 2005
The data to be read from a faulty station is set to 0 after the fault is detected.
Page 321
Pico-Link and Point-to-Point Serial Connections
6-15
Network Transmission Security The Pico-Link is a CAN-based network. CAN is used in cars and commercial vehicles in all areas. The same fault recognition capability with data transfer applies as with CAN. A BOSCH study relating to undiscovered and corrupt messages determined the following: The probability of non-discovery of a corrupted message (residual error probability) is: < 10-10 message error rate. The message error rate depends on: • Bus loading • Telegram length • Malfunction frequency • Number of stations Example: Network with: • 500 kBaud • average bus load 25% • average operating time 2000 h/year • average error rate of 10-3, i.e.: 1 message is faulty every 1000 • transmission of 1.12 x 1010 messages per year of which 1.12 x 107 messages are faulty • residual error probability: r < 10-10 x 10-3 = 10-13 This means: one of 1013 messages is so corrupt that the fault cannot be recognized as such. For a network, this corresponds to a working time of approximately 1000 years.
Publication 1760-UM002B-EN-P - March 2005
Page 322
6-16
Pico-Link and Point-to-Point Serial Connections
Introduction to the Serial Interface
The Serial Interface is a point-to-point connection using the serial interface. This interface connection allows the reading of input/output states as well as the reading and writing of marker ranges. This data can be used for set point entry or for display functions. The stations of the Serial Interface have different functions. The active station controls the entire interface connection. The remote station responds to the requests of the active station. The remote station cannot distinguish whether the Serial Interface is active or whether a PC with PicoSoft Pro is using the interface.
Topology The following topologies are possible: Two devices, GFX as active station and GFX as remote station. Figure 6.5 Serial Interface connection to a another GFX
POW-Side
Publication 1760-UM002B-EN-P - March 2005