| Improved Master - Slave Cross-referencing |
Master PLCs and Slave PLCs (Master Assembly and Slave Assembly)
Master PLCs can reference several slave PLCs, the maximum number of
slaves which can be referenced being defined with the master at element
creation.
At cross-referencing, the slave PLC will inherit the Device ID of the Master and their relative position will be annotated with the elements (they must have the same cross-reference function).
SLOT attribute
Within a group, which has a Master PLC (or a Master Assembly) and several
Slave PLCs (Slave Assemblies), the cross-referencing between the Master
and the Slaves can be extended by the SLOT attribute.
Every Slave element has a SLOT attribute defined, which is inserted automatically by the DEFRC command (insert Cross-reference Position). On the Master Assembly, depending on the number of Slaves, the command will insert the SLOT\1, SLOT\2 .. attributes which will be referenced when running the XRC command.
For example, a master PLC with 3 possible slaves will have the cross-reference type descriptor: P\1\2\3, and will be able to cross-reference 3 slaves with the cross-reference type descriptors respectively: 1, 2 and 3.
If defined, the slot values of the slaves will be annotated on the master PLC, by the cross-referencing function.
In the schematic, the value of the SLOT attribute (for the slaves) can be set with the SSLOT command.
Functional Assemblies and Sub-Assemblies
Functional assemblies (Master Assemblies) can have more than 3 connection poles (coils have only two, and contacts 2 or 3). For this reason, at element creation, the poles of the Assemblies will be grouped together in groups of 3 connection poles. When inserting the XR Position attribute, the command (DEFRC) will create a virtual contact list (P\.. attribute) for every group.
For example, a Functional Assembly with 5 Connection Poles:
CN1 - CN5
with the Default values:
A1 - A5
will have two groups and the virtual connection list will be:
P\A1,A2,A3
P\A4,A5 (and the XR_TYPE attribute will be R\A1,A2,A3\A4,A5)
A Master Assembly with 5 connection poles (two groups), will therefore be able to reference maximum 2 sub-assemblies, having the corresponding contact definition (value of XR_TYPE attribute: A1,A2,A3 and A4,A5).
So, if the Master Assembly has the contact map P\1,2,3 and P\4,5 (XR_TYPE : R\1,2,3\4,5), then it can reference up to two sub-assemblies, one having the XR_TYPE value *1, *2, *3 and the other *4, *5 (supposing they have the same cross-reference function).