Nx_Serialsigctl - Omron NY532-5400 Reference Manual

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

Advertisement

NX_SerialSigCtl

The NX_SerialSigCtl instruction turns ON or OFF the ER or RS signal of a serial port on an NX-series
Communications Interface Unit or Option Board.
Instruction
Name
Serial Con-
trol Signal
NX_Serial-
SigCtl
ON/OFF
Switching
Version Information
A CPU Unit with unit version 1.11 or later and Sysmac Studio version 1.15 or higher are required
to use this instruction.
Variables
Name
Meaning
DevicePort
Device port
Signal
Kind
command
ON/OFF
Sig
command
Timeout
TimeOut
time
*1 You cannot use _CS_SIG or _DR_SIG. If either of them is specified, an error will occur when the instruction is executed.
*2 If you omit an input parameter, the default value is not applied. A building error will occur.
Bit strings
DevicePort
Kind
Sig
OK
TimeOut
NY-series Instructions Reference Manual (W560)
FB/
Graphic expression
FUN
NX_SerialSigCtl_instance
Execute
FB
DevicePort
Kind
Sig
TimeOut
I/O
Description
Object that represents a
device port
Signal command
Input
ON/OFF command
2.0 s when the timeout
time is set to 0
Refer to Function for details on the structure _sDEVICE_PORT.
Refer to Function for the enumerators of the enumerated type _eSERIAL_SIG.
OK
NX_SerialSigCtl
Done
Busy
Error
ErrorID
Valid range
---
_RS_SIG
*1
_ER_SIG
Depends on data type.
Depends on data type.
Integers
2 Instruction Descriptions
ST expression
NX_SerialSigCtl_instance(
Execute,
DevicePort,
Kind,
Sig,
TimeOut,
Done,
Busy,
Error,
ErrorID);
Unit
Default
---
---
---
*2
---
*2
0.1 s
0
Times, durations,
dates, and text strings
2-1215
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents