Omron SYSMAC FH Series User Manual page 543

Vision sensor vision system
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

Rem Attempting the data reception.
ReceiveData IOMODULE$, BUFFER&(), 12, SIZE&
Rem Once the data has been received, display the data size in the system status console window.
If(SIZE& > 0) Then
Print "Received data size = " + Str$(SIZE&)
Endif
Loop While SIZE& = 0
Rem Data has been received, so set the polling state of the communication module to running.
SetPollingState IOMODULE$, True
Catch
Rem Return the polling state of the stopped communication module to running.
If GetPollingState(IOMODULE$) = False Then
SetPollingState IOMODULE$, True
Endif
End Try
Useable Modules
Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 4.20 or later
Related Items
SendData (Reference:
SetPollingState (Reference:
Vision System FH/FZ5 Series
User's Manual (Z340)
Details (p.696))
Details (p.711))
WWW.NNC.IR
SendString (Reference:
ReceiveData (Reference:
Details (p.698))
Details (p.651))
Macro Reference
8
541

Advertisement

Table of Contents
loading

Table of Contents