Peripheral Devices
556
9836 3521 01
8.14.4.12 GetPLCBool
Description:
This method is replaced with the GetPLCBoolEx method and should not be used in new
applications. It is here only for backward compatibility reasons.
This method reads a Boolean value from the PLC output data area for ExtCom_API (see
Access to PLC data).
Return type
: A
value.
Syntax:
object
.
GetPLCBool
(
Address, Bit, Value
)
Obj./Arg.
Type
Dir
Description
object
Api
The Api object to operate on.
Address
Integer
In
Specifies the offset in the PLC area of the Byte to read. Range
0
– 999.
Bit
Integer
In
Specifies which bit to read within the byte. Range 0
– 7 where
0 is the Least significant bit and 7 is the Most significant bit.
Value
Boolean
Out
Returns the result. True if the read bit is 1, False otherwise.
8.14.4.13 SetPLCBool
Description:
This method is replaced with the SetPLCBoolEx method and should not be used in new
applications. It is here only for backward compatibility reasons.
This method writes a Boolean value to the PLC input data area for ExtCom_API (see
Access to PLC data).
Return type
: A
value.
Syntax:
object
.
SetPLCBool
(
Address, Bit, Value
)
Obj./Arg.
Type
Dir
Description
object
Api
The Api object to operate on.
Address
Integer
In
Specifies the offset in the PLC area of the Byte to write. Range
0
– 999.
Bit
Integer
In
Specifies which bit to write within the byte. Range 0
– 7 where
0 is the Least significant bit and 7 is the Most significant bit.
Value
Boolean
In
If True then the bit is set to 1. If False then it is set to 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...