Fipio Agent. Schneider Electric Premium and Atrium Using EcoStruxure™ Control Expert - Fipio Bus
Reklama
Reklama
Premium and Atrium Using EcoStruxure™ Control Expert
Fipio Agent
35008155 12/2018
Fipio Agent Chapter 11
Fipio Agent
Subject of this Chapter
This Chapter introduces the Agent devices on the Fipio bus and its services.
What Is in This Chapter?
This chapter contains the following sections:
Section
11.1
11.2
11.3
11.4
Topic
Introduction to Fipio Agents
Configuration of Fipio Agents
Debugging Fipio Agents
Language objects associated with the Fipio Agents
Page
35008155 12/2018
187
Fipio Agent
Introduction to Fipio Agents Section 11.1
Introduction to Fipio Agents
Aim of this Section
This section provides a summary description of the agents on the Fipio bus and their associated services.
What Is in This Section?
This section contains the following topics:
Topic
Fipio Agent: General
Periodic Data Exchange
Special Cases
Communication from a Fipio Agent
Page
188
35008155 12/2018
Fipio Agent
Fipio Agent: General
At a Glance
Micro or Premium PLCs, equipped with a TSX FPP 10 PCMCIA card on their built-in communication channel act as agents on the Fipio bus.
The Fipio Agent function can be used for two types of data exchange:
periodic exchanges of information with the manager (of shared variable type), aperiodic message exchanges with the manager or with other agents.
NOTE: This function is available with version V1.9 or later of the TSX FPP 10 card.
NOTE: The periodic cycle time of Fipio agents must be at least 5ms but the value depends on the configuration.
35008155 12/2018
189
Fipio Agent
Periodic Data Exchange
At a Glance
Each Fipio Agent PLC uses 64 consecutive %MW words to exchange periodic data.
The first 32 words are reserved for sending the information to the manager.
The next 32 words are reserved for receiving information.
NOTE: The %MW status words and the %MW command words are not significant.
View of Exchanges
The following diagram shows the exchanges between a Fipio Agent and a Premium manager.
190
35008155 12/2018
Fipio Agent
Special Cases
At a Glance
A Premium PLC declared as a Fipio Agent can communicate with a TSX 47-107 or APRIL 5000 manager.
When used in this way, the Fipio Agent is declared on the bus as a standard profile at the connection point.
The standard profile to be declared is as follows:
Device family: STD_P.
Base: FED M32.
Communicator: TSX FPP 10.
Exchanges with a TSX 47-107
The following diagram shows the exchanges between a Fipio Agent and a TSX 47-107 manager.
35008155 12/2018
191
Fipio Agent
Communication from a Fipio Agent
At a Glance
A PLC declared as a Fipio Agent can communicate:
with the bus manager server, with the server of another Fipio Agent.
Address Settings
The syntax of an address is as follows:
ADDR('\2.4\SYS')
The following table describes the address parameters:
Parameter
2.4
SYS
Description
2 : corresponds to the Fipio bus number
4 : corresponds to the destination connection point
Corresponds to the server address.
192
35008155 12/2018
Example
Example of How Different PLCs Access the System
Fipio Agent
The Fipio Agent PLC at address 1 reads 10 words from the Fipio Agent at address 4.
READ_VAR(ADDR('\2.4\SYS'), '%MW',0,10, %MW100:4,%MW10:10)
35008155 12/2018
193
Fipio Agent
Configuration of Fipio Agents Section 11.2
Configuration of Fipio Agents
Aim of this Section
This Section introduces the configuration principles for Fipio Agents.
What Is in This Section?
This section contains the following topics:
Topic
How to Fipio Agent Parameters Using PCMCIA Cards
Configuration Screen of a Fipio Agent
Page
194
35008155 12/2018
Fipio Agent
How to Fipio Agent Parameters Using PCMCIA Cards
At a Glance
The creation of a project implementing Fipio Agents requires you to configure the communication channel of the PLC declared as a Fipio Agent.
This part describes how to access the configuration parameters of the Fipio Agent link using the
TSX FPP 10 PCMCIA card for Micro/Premium PLCs.
How to Declare the Fipio PCMCIA Card
The following table shows the procedure for physically declaring the Fipio PCMCIA card on the
PLC:
Step
1
2
Action
Open the hardware configuration editor.
Double-click the PCMCIA communication card slot (bottom slot).
Result: The card type selection window appears
3 Expand the Communication line by clicking on the + sign.
Result:
35008155 12/2018
4 Select the TSX FPP 10 Fipio card and then confirm with OK.
Result: the hardware configuration editor is displayed with the configured card.
195
Fipio Agent
Step
5
Action
Double click on the processor's PCMCIA communication card.
Result:
196
6 Select the channel and choose the Fipio AGENT function.
Result:
35008155 12/2018
Fipio Agent
Configuration Screen of a Fipio Agent
At a Glance
This screen, separated into two areas, is used to declare the communication channel and to configure the necessary parameters for a Fipio Agent link.
Illustration
The following figure shows an example of a Fipio Agent configuration screen.
35008155 12/2018
197
Fipio Agent
Description
The following table shows the various elements of the configuration screen and their functions.
2
3
Number Element
1 Tabs
4
5
General parameters area
Configuration area
Function
The tab in the foreground indicates the mode in progress
(Configuration in this example). Every mode can be selected using the respective tab. The available modes are:
Configuration,
Debug which can be accessed only in online mode.
Fault (channel level) accessible only in online mode.
Module area Gives a reminder of the device’s shortened name.
Channel area Is used:
By clicking on the device reference number, to display the tabs:
Description which gives the characteristics of the device.
I/O Objects (see EcoStruxure™ Control Expert, Operating
Modes) which is used to presymbolize the input/output objects.
Fault which shows the device faults (in online mode).
By clicking on the Channel, to select the channel to be debugged. To the left of the symbol there is a copy of the CHx channel LED.
This area displays the task (MAST or FAST) in which the channel's implicit exchange objects will be exchanged.
The function menu is used to select the Fipio Agent function.
None is selected by default.
Used to select and enter the following parameters:
the address of the connection point on the Fipio bus,
the address of the start of the table.
Table Start Address
This parameter indicates the table address to be reserved for periodic data exchanges between the bus manager and the Fipio Agent.
The table contains 64 words:
32 words for the inputs (%IW\2.e\0.0.1.d),
32 words for the outputs (%QW\2.e\0.0.1.d).
198
35008155 12/2018
Debugging Fipio Agents Section 11.3
Debugging Fipio Agents
Debug Screen of a Fipio Agent
At a Glance
This screen, separated into two areas, allows you to debug a Fipio Agent.
Illustration
The figure below represents a debug screen.
Fipio Agent
35008155 12/2018
199
Fipio Agent
Description
The following table shows the different elements of the debug screen and their functions.
2
3
Number
1
4
5
Element
Tabs
Module area Gives a reminder of the device’s shortened name.
Channel area Is used:
By clicking on the device reference number, to display the tabs:
Description which gives the characteristics of the device.
I/O Objects (see EcoStruxure™ Control Expert, Operating
Modes) which is used to presymbolize the input/output objects.
Fault which shows the device faults (in online mode).
General parameters area
Debug area
Function
The tab in the foreground indicates the mode in progress (Debug in this example). Each mode can be selected using the respective tab. The available modes are:
Debug which can be accessed only in online mode.
Fault (channel level) accessible only in online mode,
Configuration.
By clicking on the Channel, to select the channel to be debugged. To the left of the symbol there is a copy of the CHx channel LED.
This area displays the task (MAST or FAST) in which the channel's implicit exchange objects will be exchanged.
Gives access to the debug parameters of a Fipio Agent.
No data can be accessed from this screen.
200
35008155 12/2018
Fipio Agent
Language objects associated with the Fipio Agents Section 11.4
Language objects associated with the Fipio Agents
Aim of this Section
This Section introduces the language objects associated with Fipio Agents.
What Is in This Section?
This section contains the following topics:
Topic
Implicit Exchange Language Objects
Explicit Exchange Language Objects
Explicit Exchange Management and Report
Language Objects Associated with Configuration
Page
35008155 12/2018
201
Fipio Agent
Implicit Exchange Language Objects
At a Glance
This page describes all the implicit exchange language objects associated with agent for Fipio communication that can be displayed or modified by the agent application program.
Bit Objects
The table below shows the different bit objects for implicit exchange.
Object (1)
%I\2.e\0.0.1.ERR
Function
%I\2.e\0.0.MOD.ERR Module error bit
Meaning
This bit set to 1 indicates a module error (at least one of the channels has an error, for instance)
Channel error bit This bit set to 1 indicates a line fault.
Word Objects
The table below shows the various implicit exchange word objects.
Object (1)
%IW\2.e\0.0.1.0
Function
Agent function
Status
Strategy to apply to outputs
Meaning
Byte 0:
= 16#01: IDLE Function
= 16#02: RUN Function
= 16#03: STOP Function
Byte 1:
= 16#01: security
= 16#02: valid %MW value
= 16#03: fallback
Key
(1) Address 2.e\0.m.c.d
2: corresponds to the bus number
e: corresponds to the connection point number
0: corresponds to the (virtual) rack number
0: corresponds to the module position number
1: corresponds to the channel number d: corresponds to the channel data
202
35008155 12/2018
Fipio Agent
Explicit Exchange Language Objects
At a Glance
This page describes all the explicit exchange language objects associated with agent for Fipio communication that can be displayed or modified by the agent application program.
Word Objects
The table below shows the different explicit exchange word objects.
Object (1)
%MW\2.e\0.m.c.2
Function
%MW\2.e\0.m.MOD.2 Module status
Channel standard status
Meaning bit 0 = 1: defective module bit 1 = 1: functional error (error between the processor and the module, adjustment or configuration error, etc.) bit 2 = 1: terminal block fault (not connected) bit 3 = 1: self-tests running bit 4 = 1: reserved bit 5 = 1: error in hardware or software configuration (the module present is not that declared in the configuration, the sub-modules are not compatible) bit 6 = 1: module missing bit 7 = 1: error in one of the sub-modules
Byte 0:
bit 0 = 1: the inputs words are not valid if the manager is in
RUN bit 1 = 1: the output words are not valid if the agent is in
RUN bit 4 = 1: internal fault on the TSX FPP 10 card or card not
yet started by the manager bit 5 = 1: configuration fault (the configured module is different from the one connected) bit 6 = 1: Fipio communication fault bit 7 = 1: application fault (%MW table overflow)
Byte 1: reserved
Key
(1) Address 2.e\0.m.c.d
2 : corresponds to the bus number
e: corresponds to the connection point number
0 : corresponds to the (virtual) rack number m: corresponds to the module position number c: corresponds to the channel number d: corresponds to the channel data
35008155 12/2018
203
Fipio Agent
Explicit Exchange Management and Report
At a Glance
This page describes all language objects which manage explicit exchanges.
Word objects
The table below shows the different word objects for the management of explicit exchanges.
Object (1) Function
%MW\2.e\0.m.MOD.0 Module exchanges in progress
%MW\2.e\0.m.MOD.1 Module report
%MW\2.e\0.m.c.0
%MW\2.e\0.m.c.1
Channel exchanges in progress
Channel report
Meaning
bit 0 = 1: status reading in progress bit 1 = 1: sending of command parameters to the communication module bit 2 = 1: sending of adjustment parameters to the communication module
bit 1 = 0: command parameters received and accepted by the module bit 2 = 0: adjustment parameters received and accepted by the module bit 0 = 1: status reading in progress bit 1 = 1: sending of command parameters to the communication channel bit 2 = 1: sending of adjustment parameters to the communication channel bit 1 = 0: command parameters received and accepted by the communication channel bit 2 = 0: adjustment parameters received and accepted by the communication channel
Key
(1) Address 2.e\0.m.c.d
2 : corresponds to the bus number
e: corresponds to the connection point number
0 : corresponds to the (virtual) rack number m: corresponds to the module position number c: corresponds to the channel number d: corresponds to the channel data
204
35008155 12/2018
Fipio Agent
Language Objects Associated with Configuration
At a Glance
This page describes all configuration language objects associated with Fipio communication agents which can be displayed by the agent application program.
Internal Constants
The following table describes the internal constants:
Object Function
%KW\2.e\0.m.c.0
Type
%KW\2.e\0.m.c.1
Reserved
%KW\2.e\0.m.c.2
Connection point address
%KW\2.e\0.m.c.3
Table start address
Meaning
Byte 0 = 16#09: for the Fipio Agent function
-
Byte 0 = 16#01 to 16#7F: corresponds to addresses
1 to 127
Byte 0: Least significant byte of address
Byte 1: Most significant byte of address
35008155 12/2018
205
Fipio Agent
206
35008155 12/2018
Premium and Atrium Using EcoStruxure™ Control Expert
Index
35008155 12/2018
Index
0-9
A
adjusting,
C
channel data structure for all modules
T_GEN_MOD,
configuring,
configuring Fipio Agent,
configuring standard profiles,
Connecting
TSXFPP10,
channel data structure for Fipio devices
D
Debug screen
Access,
debugging Fipio Agent,
Description
F
Fipio management,
35008155 12/2018
P
standard profiles,
S
T
T_STDP_GEN,
TBXBLP01,
TBXBLP10, topologie
IP65,
IP67, topologies
IP20,
TSXEFACC99,
TSXFPACC10,
TSXFPACC12,
TSXFPACC14,
TSXFPC10,
207
Index
TSXFPCAx00,
TSXFPCCx00,
TSXFPCE030,
consumption,
X
208
35008155 12/2018
Stiahnuť
Reklama