Keyence DL-RS1A/IB Manual do Utilizador Página 12

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 24
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 11
10
Commands and Responses
Writing
External devices such as PLC's use the following communication commands to write data to
DL-RS1A.
Attempting to write data with "read-only" attribute results in a communication error and an
error response (error number: 22).
Write to the specified sensor amplifier (SW command)
Command
Response
Error response
* The data length is different depending on the data being written.
Write to all sensor amplifiers (AW command)
Command
Response
Error response
* The data length is different depending on the data being written.
Point
SW CR LFID No. Data No.
,,
Setting data*
,
SW CR LFID No. Data No.
,,
ER CR LF
,
SW
,
Error No.
AW CR LFData No.
,
Setting data*
,
AW CR LFData No.
,
ER CR LF
,
AW
,
Error No.
Parameters of Commands and Responses
This section describes the parameters used with various commands and responses.
Communication commands
There are two types of communication commands: read commands and write commands.
For information on the data, refer to the instruction manual or user's manual supplied with
the sensor amplifiers.
If commands are sent during the period of approx. 3 seconds after the power is turned on,
the communication error (error number: 22) will occur.
ID numbers
This parameter is used with communication commands "SR" and "SW". Specify the ID number of the
target sensor amplifier using two digits (ASCII characters).
(Example) Sensor amplifier with the ID number 00 = 00, sensor amplifier with the ID number 03 = 03
Communication
command
Attribute Description
SR
Read
Reads the data for the specified data number from the sensor amplifier with the
specified ID number.
M0
Reads the judgment value (P.V.) that DL-RS1A periodically retrieves from all
sensor amplifiers.
MS
Reads the judgment output that DL-RS1A periodically retrieves from all sensor
amplifiers, the ON/OFF state of the check output and the judgment value (P.V.)
collectively.
DRQ input
Reads the ON/OFF state of the judgment output and check output, and the
judgment value (P.V.) that DL-RS1A periodically retrieves from all sensor
amplifiers when a DRQ input is received.
SW
Write
Writes setting data for the specified data number onto the sensor amplifier with
the specified ID number.
AW Writes setting data for the specified data number onto all sensor amplifiers.
Point
Vista de página 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 23 24

Comentários a estes Manuais

Sem comentários