Peripheral Devices
552 9836 3521 01
8.14.4.4 GetPLCByteEx
Description: This method reads a BYTE value from the PLC output data area for ExtCom_API.
Return type: A RetCodeEnum value.
Syntax: object.GetPLCByteEx(Station, Address, Value)
The Api object to operate on.
Specifies which stations PLC to access. Range 0 – 15 where 0
correspond to the station connected to the API device.
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.5 SetPLCByteEx
Description: This method writes a BYTE value to the PLC input data area for ExtCom_API.
Return type: A RetCodeEnum value.
Syntax: object.SetPLCByteEx(Station, Address, Value)
The Api object to operate on.
Specifies which stations PLC to access. Range 0 – 15 where 0
correspond to the station connected to the API device.
Specifies the offset in the PLC area of the Byte to write. Range
0 – 999.
The data to write. Range 0 to 255.