[18] Communication
416
z
WRIT (Write)
Command, declaration
Extension
condition
LD,A,O,AB,OB
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
E
N, Cnd
Cmnd
Operand 1
Operand 2
Pst
Optional Optional
WRIT
Channel
number
Column
number
CC
(Note 1)
Applicable models
All models [Refer to Section 5.1 for details of models]
{
[Function]
Write the character string in the column specified in operand 2 to the channel
specified in operand 1.
The operation will end when the character specified by a SCHA command is
written.
Either a local or global column can be specified.
[Example]
SCHA 10
Set LF (= 10) as the end character.
OPEN
1
Open
channel
1.
WRIT
1
2
Write the character string in column 2 to channel
1 until LF is written.
CLOS
1
Close the channel.
With a standard SIO (channel 1 or 2), WRIT is supported by (can be sent in)
a task other than the one that opened the channel, as long as the channel is
currently open. Accordingly, by sending WRIT in other task after executing
READ in a task that opened the channel, a response can be received from
the other side without delay after sending from XSEL.
(Note 1)
CP is performed if the channel is other than 1 and 2.
Return code of WRIT command (channels 1 and 2 only)
The return code is stored in a local variable. The variable number can be set by “Other
parameter No. 24”. The default variable number is 99.
0
: WRIT completed successfully
1
: WRIT timeout (the timeout value is set by a TMRW command)
2
: WRIT timer cancelled (the wait status is cancelled by a TIMC command)
3 to 4 : Reserved by the system
5
: WRIT factor error (program abort error) (Cannot be recognized by SEL commands)
6
: WRIT task ended (program end request, etc.) (Cannot be recognized by SEL
commands)
Содержание PSEL
Страница 2: ......
Страница 10: ......
Страница 18: ...8 Part 1 Installation ...
Страница 37: ...27 Part 1 Installation 2 2 axis specification with battery ...
Страница 382: ...372 Appendix Micro cylinder RCL Series Current limiting value ratio Push force N ...
Страница 476: ...466 Appendix ...
Страница 480: ...470 ...
Страница 485: ...475 ...
Страница 487: ...INTELLIGENT ACTUATOR SEL Language Programming Manual Eighth Edition ...
Страница 488: ......
Страница 490: ......
Страница 494: ......
Страница 518: ...24 ...
Страница 526: ...32 ...
Страница 831: ... 11 Actuator Control Declaration 337 Example DFIF 1 170 ...
Страница 1060: ......
Страница 1061: ......