9. En la pantalla de Configuración PLC del detector de metales, verifique que que ambas casillas del Status
son verdes.
5.4
PROGRAMACIÓN PLC
1. The PLC communicates with the Metal Detector using two 6-word blocks of memory in the Generic
Ethernet Module. Each word is 16 bits.
MD:O.
Data[0]
Data[1]
Data[2]
Data[3]
Data[4]
Data[5]
2. The PLC initiates all communication with the Metal Detector by first filling in the necessary output (send)
parameters, then writing (a command) to MD:O.Data[1].
3. When the Metal Detector responds with the same command and any associated
parameters, the PLC writes a NO-OP command 0xFF to MD.O.Data[1] and the Metal Detector responds
with 0x00.
4. The following Metal Detector commands are available
70
Manual de Operación de Detección de Metales
Figura 5-8. Pantalla de Configuración PLC del Detector de Metales
PLC output
reserved
command
param 1 to send
param 2 to send
param 3 to send
reserved
Tabla 5-1. Comunicación PLC
MD:I.
PLC input
Data[0]
metal detector status
command confirmation
Data[1]
received param 1
Data[2]
received param 2
Data[3]
Data[4]
received param 3
Data[5]
metal detector heartbeat
input (receive)