Programming manual M238 | 3 MB - BERGER - POSITEC
Programming manual M238 | 3 MB - BERGER - POSITEC
Programming manual M238 | 3 MB - BERGER - POSITEC
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
AS-Interface Configuration<br />
Software Setup Principles<br />
At a Glance<br />
Setup Principle<br />
To respect the operating principles adopted in SoMachine software, the user should<br />
adopt a step-by-step approach for creating an AS-Interface application.<br />
The following table shows the software implementation phases of the AS-Interface<br />
Fieldbus.<br />
Mode Phase Description<br />
Logged out Declaration of module<br />
(see page 95)<br />
Declaration of slave<br />
devices (see page 116)<br />
Logged out<br />
or logged in<br />
<strong>Programming</strong><br />
(see page 120)<br />
Choice of the slot for the AS-Interface Master<br />
module TWDNOI10M3 on the expansion bus.<br />
Selection for each device:<br />
of its address on the bus<br />
of its profile<br />
<strong>Programming</strong> diagnostic functions with the<br />
IoDrvASI (see page 208) library.<br />
Logged in Transfer Transfer of the application to the controller.<br />
Diagnostic / Debugging<br />
(see page 116)<br />
Debugging the application with the help of:<br />
the SoMachine interface to display slaves (address,<br />
profile), and to assign them the desired addresses.<br />
NOTE: The declaration and deletion of the AS-Interface Master module on the<br />
expansion bus is the same as for other expansion modules. However, once two AS-<br />
Interface Master modules have been declared on the expansion bus, SoMachine<br />
will not permit any other AS-Interface Master modules to be declared.<br />
Considerations Prior to Connection<br />
You must ensure that all slaves have a unique address. In addition, the address of<br />
0 is reserved for automatic addressing mode. If there is a slave with an address of<br />
0 detected on the bus at start-up, the master will change to the offline phase and try<br />
to restart. You must ensure that all addresses are unique and that none are 0.<br />
WARNING<br />
UNINTENDED EQUIPMENT OPERATION<br />
Ensure that each slave has a unique address greater than 0.<br />
Failure to follow these instructions can result in death, serious injury, or<br />
equipment damage.<br />
94 EIO0000000384 04/2012