PLC PROGRAMMING
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.
EzMD:O.
PLC output
EzMD:I.
PLC input
Data[0]
reserved
Data[0]
metal detector status
Data[1]
command
Data[1]
command confirmation
Data[2]
param 1 to send
Data[2]
received param 1
Data[3]
param 2 to send
Data[3]
received param 2
Data[4]
param 3 to send
Data[4]
received param 3
Data[5]
reserved
Data[5]
metal detector heartbeat
2. The PLC initiates all communication with the Metal Detector by
first
filling in the
necessary output (send) parameters,
then
writing (a command) to EzMD:O.Data[1].
3. When the Metal Detector responds with the same command and any associated
input (receive) parameters, the PLC writes a NO-OP command 0xFF to
EzMD.O.Data[1] and the Metal Detector responds with 0x00.
PLC
88
Summary of Contents for Xtreme
Page 2: ......
Page 8: ...6 ...
Page 31: ...FIGURE 1 TERMINAL CONNECTIONS FIGURE 2 TERMINAL CONNECTIONS ELEC 29 ...
Page 33: ...FIGURE 4 OUTPUT CONNECTION EXAMPLES ELEC 31 ...
Page 34: ...FIGURE 5 INPUT CONNECTION EXAMPLES ELEC 32 ...
Page 94: ...PLC 92 ...
Page 95: ...PLC 93 ...
Page 96: ...PLC 94 ...
Page 97: ...PLC 95 ...
Page 98: ...PLC 96 ...