EasyManua.ls Logo

Atlas Copco PowerMACS 4000

Atlas Copco PowerMACS 4000
668 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Peripheral Devices
9836 3521 01 551
8.14.4.2 GetPLCBoolEx
Description: This method reads a Boolean value from the PLC output data area for ExtCom_API.
Return type: A RetCodeEnum value.
Syntax: object.GetPLCBoolEx(Station, Address, Bit, Value)
Obj./Arg.
Type
Dir
Description
object
Api
The Api object to operate on.
Station
Integer
In
Specifies which stations PLC to access. Range 0 15 where 0
correspond to the station connected to the API device.
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.3 SetPLCBoolEx
Description: This method writes a Boolean value to the PLC input data area for ExtCom_API.
Return type: A RetCodeEnum value.
Syntax: object.SetPLCBoolEx (Address, Bit, Value)
Obj./Arg.
Type
Dir
Description
object
Api
The Api object to operate on.
Station
Integer
In
Specifies which stations PLC to access. Range 0 15 where 0
correspond to the station connected to the API device.
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.

Table of Contents

Related product manuals