EasyManua.ls Logo

Pepperl+Fuchs IC-KP2-2HB17-2V1D - Page 63

Pepperl+Fuchs IC-KP2-2HB17-2V1D
122 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
IC-KP2-2HB17-2V1D
Commands
2014-02
63
Set trigger mode (TM)
Command:
Response:
Permitted parameters:
Activating trigger mode interrupts a command running on the <Ident channel>.
If trigger mode is activated with <Trigger mode>=1 (=2), dampening the trigger sensor
generates the status 0 (5) and after changing to undamped state, generates the status 5 (0) as
a response to the <Sensor channel>. Activating trigger mode generates a response that
includes the current status of the sensor on the <Sensor channel>.
If a read/write command is sent to the triggered channel <Ident channel> when trigger mode is
active, this command is always activated if the <Sensor channel> transmits status 0. <Ident
channel> transmits status 0 to confirm receipt of this command.
If you set <Ident channel> 0, the signal is transferred without influencing a reading head.
The command activated by the <Sensor channel> initiates execution as if it had just been
restarted by the host.
The command is deactivated again if the status of the <Sensor channel> changes to 5 or
trigger mode is deactivated.
If the <Sensor channel> requests a version message, the response contains the status 0 and
no other information.
Byte Ty pe Bit no.
7 6 5 4 3 2 1 0
Byte 0* Telegram length, high byte 0 0 0 0 0 0 0 0
Byte 1* Telegram length, low byte 0 0 0 0 0 1 0 1
Byte 2 Command code (9Ch) 1 0 0 1 1 1 0 0
Byte 3
Ident channel/sensor channel/
toggle bit
0 <Ident channel> <Sensor channel> <T>
Byte 4 Tr i gg e r m od e <Trigger mode>
Byte Ty pe Bit no.
7 6 5 4 3 2 1 0
Byte 0* Telegram length, high byte 0 0 0 0 0 0 0 0
Byte 1* Telegram length, low byte 0 0 0 0 0 1 1 0
Byte 2 Command code (9Ch) 1 0 0 1 1 1 0 0
Byte 3 Reserved/sensor channel/
toggle bit
0 0 0 0 <Sensor channel> <T>
Byte 4 Status <Status>
Byte 5 Reply counter <ReplyCounter>
Table 7.12 * this byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
<Sensor channel> 1 (0001b), 2 (0010b)
<Ident channel> 0, 1 (0001b), 2 (0010b)
(but not <Sensor channel>)
<Trigger mode> 0 (00000000b): Trigger mode off
1 (00000001b): Trigger mode on
2 (00000010b): Trigger mode inverted

Table of Contents

Related product manuals