Okuma OSP-P200L Programming Manual page 306

Hide thumbs Also See for OSP-P200L:
Table of Contents

Advertisement

[Supplement]
The following situations during data transmission will cause Alarm B.
The number of characters of transmission data exceeds 160.
Transmission of data through RS232C interface stops for more than determined period of
time.
Occurrence of an alarm in the RS232C interface during transmission.
RS232C is no longer in ready status.
Do not execute list output or punch out using the same channel of the RS232C interface during
the execution of the READ/WRITE command.
Execution of the READ/WRITE command and printing out of measured data cannot be
executed at the same time.
While either is in progress, execution of the other command is suspended.
Since the areas for READ and WRITE are different, execution of the READ command does not
change the WRITE area.
Nothing but a sequence number may be placed before the READ/WRITE command.
When using JIS 7 bit code, designate SI code (shift in $0F) at the beginning of communication
1 and designate SO (shift out $0E) at the end. Since both SI and SO are treated as data,
include them in the number of characters in transmission.
4-1-6. GET/PUT Statement
[Program format]
N0
GET
Designates a GET statement
Sequence name of this block (can be omitted)
N0
Designates a PUT statement
Sequence name of this block (can be omitted)
s,
K
This indicates the number of digits to be read out from the read area
where data has been stored by the READ statement (max. 10 lines).
However, if s = 0, this indicates the number of characters to be skipped
(max. 160 characters).
The variable name used to store the data in the READ area where data are stored
by the READ statement (common variables, system variables, local variables,
output variables)
PUT
s,
K
This indicates the number of digits to be written to the write area by
the WRITE statement (max. 10 lines).
However, if s = 0, this indicates the number of space codes
(max. 160 space codes).
Indicates the data to be written to the write area: variable name, character-string
or hexadecimal number (common variable, system variable, local variable, input
variable, "ABC", $0A)
5238-E P-293
SECTION 12 USER TASK
LE33013R0301400380001

Advertisement

Table of Contents
loading

This manual is also suitable for:

Osp-p20l-rOsp-p20lOsp-p200l-r

Table of Contents