8 Station variants
8.3 How the "station variants" operating mode works
Gateway XN-312-GW-CAN 06/16 MN050003-DE
www.eaton.eu
359
check practically verifies that the station variant on the gateway corresponds
to a permitted reduced assembly). If it does, the PLC writes the checksum
back to the gateway, which in turn interprets this as an enable signal. The
gateway will not start transferring data until it receives this enable signal.
Initialization phases
When the "station variants" mode is active, there will be two initialization
phases on the PLC. The first one is initialization phase 1, which will be carried
out by the CANopen master. During this phase, the CANopen master will
carry out the mapping, write the "Activation StationVariants Mode" object to
the gateway, and switch the gateway to the "OPERATIONAL" status. No data
will be transferred yet at this point, i.e., in order for data to start being trans-
ferred, the enable process needs to send an enable signal first.
8.3.2 Startup behavior
The user needs to create an application. The desired full configuration needs
to be set up in the PLC configuration.
The enable signal for the "station variants" operating mode needs to be
turned on in the configuration settings for the XN-321-GW-CAN gateway
(object 0x4005/Sub0 == 0x01).
Information regarding the full configuration and the permitted reduced
assembly variants will be passed to the "StationVariants" function block.
When the gateway starts, the application will run through the following steps
by calling the "XN300_StationVariants" function block instance:
1.
The gateway is started and communication via the CAN bus is enabled;
PRE-OPERATIONAL CANopen status. Continue to step 2.
2.
Initialization phase 1 for the gateway is carried out by the PLC's CANo-
pen master.
During this phase, the "Activation StationVariants Mode" entry, SDO
0x4005/0, must be set to 1. Continue to step 3.
3.
The PLC's CANopen master switches the gateway to "OPERATIONAL"
status. Continue to step 4.
4.
The "XN300_StationVariants" function block instance queries whether
the "Activation StationVariants Mode" entry on the gateway has a value
of TRUE.
If it does: continue to step 5.
If it does not, continue to step 12.
The entry may not have a value of TRUE if, for example, object 0x4005 was
not set because the "station variants" operating mode is not desired or
because the gateway features old firmware that does not support this oper-
ating mode and, accordingly, SDO 0x4005.
5.
The function block instance compares the checksum for the station vari-
ant on the gateway with the checksum for the station variant expected /
permitted by the application (SDO 0x4006/0).
•
If the check fails because a matching station variant could not be
found: continue to step 6.
Содержание XN-312-GW-CAN
Страница 1: ...Manual CANopen Gateway XN 312 GW CAN 06 16 MN050003 EN ...
Страница 4: ...II ...
Страница 14: ...10 Gateway XN 312 GW CAN 06 16 MN050003 EN www eaton com ...
Страница 374: ...9 What Happens If 370 Gateway XN 312 GW CAN 06 16 MN050003 EN www eaton eu ...
Страница 388: ...384 Gateway XN 312 GW CAN 06 16 MN050003 EN www eaton eu ...