PLC
9836 3521 01
245
Inputs:
Variable
Type
Use
BOLTCTRL2_STS
INT
Overall execution status of the BOLTCTRL2 command:
0: Idle and OK. Command completed OK for all bolts selected.
1: Idle and NOK. Command failed for at least one of the bolts
selected. Check BOLTCTRL2_BOLTRES for status of the
individual bolts.
2: Busy executing the command.
Note!
The operation is not complete until this signal is 0 (or 1 if it
fails). After issuing a BOLTCTRL2 command you should wait one
PLC scan before evaluating BOLTCTRL2_STS.
BOLTCTRL2_BOLTRES
ARRAY[1..50]
OF BYTE
Returns the result per individual bolts of the command executed.
The below values are common for all commands. See also the
description of the commands for additional command specific return
codes:
0: OK. Command executed OK.
1: ERROR. Command failed for unknown reason (that is,
anyone not listed here or per command).
2: NOBOLTSSEL. There where no bolts selected for the
command to execute on.
3: CMDNOTIMPL. Command not implemented (unknown value
of BOLTCTRL2_CMD).
4: STNNOTIDLE. Station is not idle (many commands may only
be executed when the station is not running a cycle).
Note!
Values are only returned for the bolts selected using
BOLTCTRL2_BOLTSEL.
Using the BOLTCTRL2 variables in combination with the output DATAHOLD it is possible run reject
management from the PowerMACS PLC, or an external PLC, and still report one complete cycle data for
the tightening using PowerMACS standard reporting facilities.
Example
: This example shows how reject management can be handled by the PowerMACS PLC for a
station having four bolts named "B1", "B2", "B3" and "B4". The scenario is that all four bolts starts by
running program "Tighten" (mode 1), bolt "B1" and "B2" fails and are loosened by program "Loosen"
(mode 2) and then retightened OK by running program "Tighten".
1. Set PLC output DATAHOLD to TRUE.
2. Set MODE to 1 and start a cycle. Wait for it to be completed. Say that bolt "B1" and "B2" finished
NOK.
3. To drop the NOK result of the failing bolts "B1" and "B2" do the following: First set up
BOLTCTRL2_BOLTSEL as below:
BOLTCTRL2_BOLTSEL[1] = 1
BOLTCTRL2_BOLTSEL[2] = 1
Summary of Contents for PowerMACS 4000
Page 2: ......
Page 46: ...System Architecture 46 9836 3521 01...
Page 267: ...Tightening 9836 3521 01 267...
Page 400: ...Tightening 400 9836 3521 01...
Page 486: ...Peripheral Devices 486 9836 3521 01...
Page 622: ...Peripheral Devices 622 9836 3521 01...
Page 664: ...References 664 9836 3521 01...
Page 668: ...9836 3521 01 2010 11 Edition 10 3 0 www atlascopco com...