WWW.NNC.IR
Macro Reference
711
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
SetPollingState
Sets the execution status of the communication module.
Format
SetPollingState <ioIdent>, <state>
Parameter
Return value
None.
Description
Sets the polling state specified in the <state> parameter in the communication module specified in the
<ioIdent> parameter.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a non-existent number, numerical value, or combination of data types or values is specified for a parameter,
an "Illegal function call" error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
• After using this macro function to set the polling state of the communication module to the stopped state,
always return the polling state to the running state. If the polling state of the communication module is left in
the stopped state, the communication module will not be able to receive communication commands.
Parameter
name
Data type Description
<ioIdent>
Character
string type
Identification name of communication module whose polling state is to be set (Reference:
XList of I/O Modules (p.341))
<state> Integer type
Execution status of the communication module to set
False: Stopped
True: Operating.