Write analog value to plc_scan program.
void @PlcScanWriteWord(int port, int station, int address, string extra1, int extra2, double value);
Parameters
int port : Port number to write
int station : Station number to write
int address : Address to write
string extra1 : extra1 to write
int extra2 : extra2 to write
double value : Value to write
Return Value
None
Example
@PlcScanWriteWord(0, 1, 5, "M", 0, 12.34);
Description : Write 12.34 to memory that can be found in port: 0, station: 1, address: 5, extra1: "M" and extra2: 0
Version Information
Supported Version: 10.2.0
Related Helps