Új hozzászólás Aktív témák

  • DP_Joci

    tag

    válasz Szirty #3839 üzenetére

    Szia Szirty,

    Egy címzővel lehet a legegyszerűbben a slave címet beállítani:

    http://www.ifm.com/products/hu/ds/AC1154.htm

    Amire hivatkozom doksi abban a 20. oldalon a master ledjeiről lehet leolvasni, hogy milyen slavek vannak a hálózaton. A ledek mutatják az AS-i címeket.

    Sajnos itt nem találom, de lehet azért mert nincs is az a lehetőség, mint ami a DP/AS-i –nál, hogy a set gomb meg talán mode gomb nyomkodásával be lehet állítani a slave címeket címző nélkül.

    A 24. oldalon a PLC címeket említi a doksi.
    A 40. oldalon meg az egyes slavek PLC címeit, slave-nként 4 bit, mert ált. 4db ki vagy/és bemenet van egy slave-n. (digitális címek)
    A 75. oldalon van az AS-i címek megváltoztatáshoz leírás. De mint említettem nekem volt AS-i címzőm és azt használtam.

    Szeretnék segíteni, mert te is sokszor adtál már tanácsot, de sajnos már vagy 10 éve foglalkoztam AS-i-val és csak emlékképeim vannak.

    A lényeg az, hogy rendelkezzen az AS-i slave a megfelelő címmel, és minden cím csak egyszer szerepeljen a hálózaton.

    A HW konfigban beállítod a kezdő címeket IN/OUT.

    Aztán elvégzed ezt a varázslást leírás szerint, CPU stopba stb. (ezt már a másik doksiból vettem 3. fejezet, ami neked kell a CP342-2, link lent)

    3 Standard Operation of the CP 342-2
    Standard operation represents the most common and at the same time simplest use of the CP 342-2.
    It allows direct access to the inputs and outputs of the slave (e.g. bus modules) just as with analog
    I/O modules of the SIMATIC PLC. This type of operation is available immediately after plugging in the
    module; no FC is required.
    3.1 Configuring the CP 342-2 for Standard Operation
    The CP 342-2 is capable of two operating modes, the configuration mode and the protected mode.
    When supplied, the CP 342-2 is set for the configuration mode indicated by the CM LED being lit.
    ±_ Configuration Mode:
    The configuration mode is used to install and start up an AS-i installation. In the configuration
    mode, the CP 342-2 can exchange data with every slave connected to the AS-i cable. Newly
    added slaves are detected immediately by the master and included in the cyclic data
    exchange. After testing the PLC program, the CP 342-2 can be switched to the protected
    mode when the PLC CPU is in the STOP mode by pressing the SET button.
    ±_ Protected Mode:
    If the CP 342-2 is in the protected mode, it only exchanges data with the slaves that are
    “configured”. “Configured” in this sense means that the slave address saved on the CP and
    the configuration data stored on the CP match the values of a slave.
    Configuration of the CP 342-2 during installation and start-up of the AS-i network
    The following situation is assumed:
    ±_ The connected AS-i slaves are supplied with addresses (address programming device).
    ±_ The AS-i bus is complete, i.e. with the AS-i power supply unit in operation and the slaves are
    connected to the AS-i cable.
    To configure the CP 342-2 in standard operation while installing the AS-i network, follow the steps
    outlined below:
    __ Switch the PLC to the STOP mode
    __ Change the CP 342-2 to the configuration mode, (press the button on the CP 342-2 while the
    PLC is in the STOP mode; the CM lamp lights up. If the CP is already in the configuration mode
    (as supplied), this step can be omitted.
    __ Switch the PLC to RUN and test your program.
    Note:
    In the configuration mode, you can also add or remove slaves from the AS-i cable. Newly
    added slaves are activated immediately by the CP 342-2.
    __ On completion of the installation of the AS-i slave, switch the PLC to the STOP mode.
    __ Now press the SET button of the CP 342-2. The CP adopts the configuration indicated by the
    active slaves as the desired configuration and switches to the protected mode. In the protected
    mode, the “CM” LED is switched off.
    __ Switch the PLC to RUN. The installation of the CP is then completed.
    Simplified Configuration
    Once you are certain that all the slaves on the AS-i cable are functioning correctly (e.g. when a CP
    342-2 is replaced), the CP 342-2 can be started up as follows:
    __ Switch the PLC to the STOP mode.
    __ Change the CP 342-2 to the configuration mode, (press the SET button; the CM indicator lights
    up. If the CP is already in the configuration mode (as supplied), this step can be omitted.
    __ Now press the “SET” button again on the CP 342-2. The CP then adopts the configuration
    indicated by the active slaves as the desired configuration and switches to the protected mode.
    In the protected mode, the “CM” LED is switched off.
    __ Switch the PLC to RUN. The CP is then started up.

    CP 342-2 link:

    https://support.automation.siemens.com/WW/adsearch/resultset.aspx?region=WW&lang=en&netmode=internet&ui=NDAwMDAxNwAA&term=cp342-2&ID=1123328&ehbid=1123328&docid=1136534

Új hozzászólás Aktív témák