Peripheral Devices
9836 3521 01 557
8.14.4.14 GetPLCByte
Description: This method is replaced with the GetPLCByteEx method and should not be used in new
applications. It is here only for backward compatibility reasons.
This method reads a BYTE value from the PLC output data area for ExtCom_API (see
Access to PLC data).
Return type: A RetCodeEnum value.
Syntax: object.GetPLCByte(Address, Value)
The Api object to operate on.
Specifies the offset in the PLC area of the Byte to read. Range
0 – 999.
Returns the result. Range 0 to 255.
8.14.4.15 SetPLCByte
Description: This method is replaced with the SetPLCByteEx method and should not be used in new
applications. It is here only for backward compatibility reasons.
This method writes a BYTE value to the PLC input data area for ExtCom_API (see Access
to PLC data).
Return type: A RetCodeEnum value.
Syntax: object.SetPLCByte(Address, Value)
The Api object to operate on.
Specifies the offset in the PLC area of the Byte to write. Range
0 – 999.
The data to write. Range 0 to 255.