Fipio bus operating mode is linked to the processor's operating mode and to the physical state of the bus.
If the number of physical errors detected by the processors endangers the nominal operation of the devices connected to the bus, then the processor stops all bus activity. In this case, certain connected devices apply fallback values to the inputs.
The operating mode is as follows:
Situation
|
Description
|
1
|
Cold start of the processor with a Fipio project: the bus is automatically started, the inputs/outputs are checked and controlled.
|
2
|
Downloading a Fipio project: the bus is automatically started, the inputs/outputs are checked and controlled.
|
3
|
When a communication issue is detected by the processor (equipment powered off, Fipio cable disconnected, ...) the status bit corresponding to the equipement in the system words %SW128 to %SW143 is reset.The equipment status bits should be tested before their input/output values are used.
|
4
|
If the processor detects serious physical errors, the Fipio bus is automatically stopped. The connected devices apply the fallback values and the processor no longer checks inputs/outputs. An example of a serious physical error is disconnection of the line end jack, disconnection of the Fipio terminal block from the processor, etc.
|
5
|
Following an automatic stopping (serious errors detected by the processor):
-
The %SW144.2 bit is set to 1: the processor periodically executes an attempt to restart by trying to check and control the inputs/outputs of the connected devices. This is automatic mode.
-
The %SW144.2 bit is set to 0: to restart the bus, a user action must be carried out by program or in the programming terminal. Set the %SW144.0 and %SW144.1 bits to 1. This is manual mode.
|
6
|
Warm restart: The bus is automatically restarted if it was not intentionally stopped though an action on the %SW144 system word 0 and 1 bits. The bus is set to the previous power outage state.
|
7
|
If %S0 = 1 the system words are initialized, and if the bus was stopped, it is restarted.
|
Additional Information Concerning Manual Mode
If %SW144.0 is set to 0 (in the programming terminal or by program), then the producer/consumer (PC) function stops. No further variables or messages are exchanged on the bus.
If %SW144.1 is set to 0 (in the programming terminal or by program), then the bus arbiter (BA) function stops. No further variable or message scanning is carried out on the bus.
To completely and intentionally stop Fipio bus activity, the %SW144 system word 0 and 1 bits must be set to 0 simultaneously in the programming terminal or by the program.
Additional Information Concerning Automatic Mode
If the Fipio bus is stopped without intentional action on the %SW144 system word, this means that the processor has detected physical errors that inhibit nominal operation of the bus and of the connected devices.
In this case and only in this case, if the %SW144.2 bit is set to 1 (automatic start), then the processor will periodically and automatically attempt to restart exchanges on the bus.
If the %SW144.2 bit is set to 0 following a stop of the bus due to physical errors, then the %SW144.0 and %SW144.1 bits must be reset to 1 by the program or in the programming terminal in order to restart the Fipio bus. In this case, the bus will restart if and only if the physical error that caused the stop has disappeared.
If the %SW144.2 bit is set to 1, when the Fipio terminal block is disconnected/reconnected from/to the processor, the bus will be restarted automatically.
The devices will be checked again and will be able to apply program values.
If the %SW144.2 bit is set to 0, when the Fipio bus is disconnected/reconnected from/to the processor, the devices connected to the bus will not be checked and will be unable to apply program values.
The devices will be checked again if the user sets the %SW144.0 and %SW144.1 bits to 1.