PLC
240
9836 3521 01
5.3.6
DC PLUS variables
The following variables are used for control of a DC PLUS Ethernet device. For a more detailed
description of the DC PLUS Ethernet device see chapter: DC PLUS.
Inputs (seen from the PLC):
Variable
Type
Use
PLUS_CONNECTED
BOOL
TRUE if a connection to the PLUS server is established.
PLUS_DATAAVALIABLE
BOOL
TRUE if there are data available in the cycle data queue for the
PLUS device.
PLUS_MODE
INT
Mode number from conversion of TMU. The conversion table in the
PLUS device will be used for the conversion.
The string to convert is a TMU received
from PLUS, if “Station Type”
on the PLUS device is SAW/WIS. Otherwise the string
PLUS_OVERRIDETMU will be used.
The value is updated when PLUS_GETTMU_OK is set to TRUE.
PLUS_GETTMU_CHECKED
BOOL
Reflects the selection of Station Type in the PLUS device in
ToolsTalk PowerMACS. Set to TRUE for station type SAW and to
FALSE for the other types.
Only available for backward compatibility reasons, it is
recommended to use PLUS_STATIONTYPE instead.
PLUS_STATIONTYPE
INT
Reflects the selection of Station Type in the PLUS device in
ToolsTalk PowerMACS.
Possible values are:
1 = SAW/WIS
2 = SPS
3 = VBA
4 = SSE
PLUS_SENDDATA_NOK
BOOL
Is set to NOK if a send of cycle data fails for some reason, e.g. bad
VIN number, bad QO, etc.
If there are more data in the cycle data queue they will be sent even
if one send failed.
PLUS_SENDDATA_NOK will be set until a positive edge is sent to
PLUS_RESETSENDDATA_NOK.
PLUS_BUSY
BOOL
The device is busy sending a request for TMU or a Test telegram.
Only tests started from the PowerMACS PLC, with
PLUS_CHECKCOM will affect PLUS_BUSY.
PLUS_GETTMU_OK
BOOL
TRUE if the latest request for TMU succeeded.
PLUS_GETTMU_NOK
BOOL
TRUE if the latest request for TMU failed.
PLUS_CHECKCOM_OK
BOOL
TRUE if the latest test of the communication, started from the
PowerMACS PLC with PLUS_CHECKCOM, succeeded.
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...