Example
Gets the setting information of image display window 3.
GetImageWindow 3, locationX&, locationY&, width&, height&, unitNo&, subNo&, magnification#, originX&,
originY&, update&, visible&
Gets measurement result the Output presence
GetMeasureOut
Parameters
Return Value
Returns the value of the integer type.
The content of the value is Output presence measurement result. (0: no output, 1: output)
Description
Gets measurement and the Output presence.
If an acquisition value carries out the serial data output in the case of 0, the data are not output to the
outside.
If an acquisition value carries out the serial data output in the case of 1, the data are output to the
outside.
Example
An acquisition value sets an initial value for output data at the time of 0.
*outputsub
output& = GetMeasureOut
If output& = 0 Then
outdataA& = 0
outdataB& = 0
outdataC& = 0
Else
outdataA& = 100
outdataB& = 200
outdataC& = 300
Endif
End sub
Gets PLC the read data
GetPlcData <ioIdent>, <readData()>, <offset>, <size>, <data>
Parameters
<ioIdent>
FZ4 User's Manual
Identification name of I/O module (character type)
Using Custom Command
4
213