PLC
244
9836 3521 01
5.3.8
Bolt specific commands
The bolt specific commands enables extended control of individual bolts using the following input and
outputs variables.
Outputs:
Variable
Type
Use
BOLTCTRL2_CMD
INT
The command to execute on the bolts selected using
BOLTCTRL2_BOLTSEL. See table below for supported command
codes.
The command is sent to the station when BOLTCTRL2_CMD
changes to a non zero value.
BOLTCTRL2_BOLTSEL
ARRAY[1..50]
OF BYTE
Assign a non zero value for the bolts that should execute the
BOLTCTRL2_CMD command.
Note 1
The array index corresponds to the bolts ordinal number
within the station (not the user defined).
Note 2
The highest element (bolt) checked is NO_OF_BOLTS.
Currently the following command codes are supported:
Mnemonic
Value
Description
DROPLASTCD
1
Drop the last cycle data stored for the bolts selected.
The command may only be issued when the station is idle, that is, not executing a
cycle. The current cycle data must also include at least one result record for each of
the bolts selected.
In addition to the general result values the following may also be returned in
BOLTCTRL2_BOLTRES[x]:
5: NODATATODROP. There is no data to drop for the bolt.
6: CDCORRUPT. Cycle data is found to be corrupt.
Unless the command was executed OK for all bolts the cycle data is left untouched.
Note!
The value of the station level result variable Status is always set according to
the status of all individual bolt results in the cycle data.
If used erroneously this function might cause NOK parts to be reported as OK
parts! Removing all NOK results from a cycle data produced by a station
causes it to be reported as OK. You should therefore not use this function
unless you are sure how to handle it.
Illegal commands, errors and successful drops are logged using events.
Note!
New command codes may be added in future versions. To avoid unexpected behavior when
upgrading you should not make use of any other codes then the above listed and zero (0).
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...