Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

Precautions for Correct Use
• When Abort remains FALSE, this instruction is executed until the completion of processing even if
Execute changes to FALSE or the execution time exceeds the task period.
The value of Done changes to TRUE when processing is completed. Use this to confirm normal com-
pletion of processing. If Abort is changed to TRUE during instruction execution, CommandAborted or
Done changes to TRUE.
• A compiling error will occur if you use this instruction in an event task. Do not use this instruction in
event tasks.
• "CIF Unit Initialized" may occur when the NX-series Communications Interface Unit is restarted. Send
or receive the data again, if necessary.
• If you use this instruction, do not assign device variables to any I/O ports that are indicated by "W"
under the R/W column on the I/O Map Tab Page in the Sysmac Studio for the applicable NX-series
Communications Interface Unit.
• An error will occur in the following cases. Error will change to TRUE.
• A value that is out of range is set for SendSize, SendCfg.StartTrig, SendCfg.EndTrig, Device-
Port.DevicePortType, or DevicePort.PortNo.
• The array variable specified with SendDat is smaller than the size specified with SendSize.
• The Unit, Option Board, or port specified with DevicePort does not exist.
• The data type of DevicePort is invalid.
• If more than 32 instructions from the NX_SerialSend instruction, NX_SerialRcv instruction, NX_-
ModbusRtuCmd instruction, NX_ModbusRtuRead instruction, NX_ModbusRtuWrite instruction,
NX_SerialSigCtl instruction, NX_SerialSigRead instruction, NX_SerialStatusRead instruction,
NX_SerialBufClear instruction, NX_SerialStartMon instruction and NX_SerialStopMon instruction
are executed at the same time.
• This instruction is executed with a device port variable that is the same as the one specified for
the instruction which is still being executed. In this case, the instruction which is still being exe-
cuted is one of the followings.
The NX_SerialSend instruction, NX_ModbusRtuCmd instruction, NX_ModbusRtuRead instruc-
tion, and NX_ModbusWrite instruction.
• This instruction is executed for Units other than NX-series Communications Interface Units and
Option Boards.
• The serial communications mode of the specified Option Board is not No-protocol.

NY-series Instructions Reference Manual (W560)

2 Instruction Descriptions
2-1163
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents