ACR Electronics FPR-10 PROGRAMMER Manuale Pagina 164

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 163
Parker Hannifin
164 Programmer’s Guide
and two analog outputs (0 to 10 VDC). They are both configured at
a bit rate of 1 Mb. The example shows the required setup, and how
to use the data in a very basic program.
P32768 = 5 : REM SET THE CONTROLLER ID TO 5
P32769 = 1000 : REM SET THE BIT RATE TO 1 Mb
P32770 = 2 : REM TELL THE CONTROLLER THERE
:REM ARE 2 SLAVES ON THE NETWORK
P33024 = 3 : REM SET NODE 0 TO PHYSICAL NODE 3
P33040 = 4 : REM SET NODE 1 TO PHYSICAL NODE 4
P33056 = 0 : REM SET NODE 2 TO NOTHING
P33072 = 0 : REM SET NODE 2 TO NOTHING
P32772 = 50 : REM SET THE CYCLIC PERIOD TO 50 ms
SET11265 : REM START THE NETWORK
DWL1 : REM DWELL FOR A SECOND TO ALLOW THE
REM NETWORK TO BECOME OPERATIONAL
IF (NOT BIT 11269) THEN SET 11266
REM IF THE NETWORK IS NOT OPERATIONAL AT
REM THIS POINT THEN TRY TO RESET IT
REM MORE CODE MAY BE NEEDED HERE TO ENSURE THE NETWORK IS OPERATIONAL
INH 11520 : REM WAIT UNTIL THE FIRST DIGITAL INPUT ON
REM NODE 0 IS ON
SET 12033 : REM TURN ON DIGITAL OUTPUT 2 ON NODE 0
SET 13057 : REM TURN ON DIGITAL OUTPUT 2 ON NODE 1
IF (P33288 > 5.0) THEN P33792 = 2.5
REM IF ANALOG INPUT 1 FROM NODE 0 IS
REM GREATER THAN 5 VDC THEN SET ANALOG
REM OUTPUT 1 ON NODE 1 TO 2.5 VDC
INH –11520 : REM WAIT UNTIL THE FIRST DIGITAL INPUT ON
REM NODE 0 IS OFF
CLR 12033 : REM TURN OFF DIGITAL OUTPUT 2 ON NODE 0
CLR 13057 : REM TURN OFF DIGITAL OUTPUT 2 ON NODE 1
P33792 = 0 : REM RESET ANALOG OUTPUT 1 ON NODE 1 TO 0
Drive Talk
The Drive Talk feature on ACR series controllers provides
communication with Aries drives through the Axis connectors. You
can include Drive Talk in programs and PLC programs. Machine
builders, for example, could configure and monitor drive data—such
as motor and drive temperatures, drive under or over voltages, and
excessive torque—through a custom HMI status panel.
Drive Talk lets you:
Set the controller to automatically assign addresses to Aries
drives. Subsequently, programs can use axis aliases and the
controller manages the drive address-prefixing.
Get existing drive configuration data, and send new
configuration data.
Get drive status data.
Set which error data the Aries drive logs.
Vedere la pagina 163
1 2 ... 159 160 161 162 163 164 165 166 167 168 169 ... 198 199

Commenti su questo manuale

Nessun commento