Keyence DL-CL1 Manuel d'utilisateur Page 48

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 74
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 47
3-3 Communication Methods
3-20
- CC-Link Compatible Network Unit DL-CL1 User’s Manual (FD-S) -
Communicating with the FD-S series
3
Available motion commands: See "Motion command parameters" (page 3-25).
Commands can be used to reset preset values, clear errors, or for other purposes.
To issue a motion command to a sensor amplifier, create a program that controls
commands by handshaking between a remote input/output and remote register
This example executes integration reset on ID 01.
(1) To see that the sensor amplifier is ready to send/receive commands, check that the "sensor ready"
parameter is set to 1.
(2) Write the data category and command number in the remote register.
Data category: For motion command, write 00h in the high byte.
Data number: For motion command, write 02h in the low byte.
(3) Write the data number in the remote register
.
ID number:
In the high byte, write the ID number of the sensor amplifier to which to issue the motion
command.
Data number: In the low byte, write the data number of the intended motion command, by referring
to "Command Parameter List" (page 3-24).
(4) Execute the motion command by activating the "request for command" (0 -> 1).
(5) After the command execution on the sensor amplifier completes, the "command completed" signal
flips from 0 to 1.
(6) If an error occurs during command ex
ecution, the "command error" signal flips from 0 to 1. For
details of the error, check the values entered in the "command response".
(7) Details of the command execution result are stored. For details of the result, see "Command
response list" (page 3-8).
(8) When the "request for command" is set to 0, the "command completed" and "command error"
parameters flip to 0.
Issuing a Motion Command to a Sensor Amplifier
PLC
Sensor amplifier
(2)
Data category/command number 0002h (Motion command)
RWw00
(3)
Data number 0102h
RWw01
(1)
Sensor ready
RX50
(4)
Command request
RY51
(5)
Command finish
RX51
(6)
Command error
RX52
(7)
Command response 0000h (Successfully completed)
RWr01
Action of motion command
Motion command executed
1
1
1
1
0
0
0
0
(8)
h
Command number (Motion command=02h)
Data category
0
2
0 0
h
Data number
ID number of target sensor amplifier
Vue de la page 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 73 74

Commentaires sur ces manuels

Pas de commentaire