www.balluff.com
BIS U-602_ Processor Unit
TCP/IP / RS232
41
Monitoring the digital inputs on the device.
Active inputs have a supply voltage of +V
s
. Reset inputs have 0 V DC available.
The following replies are possible:
– '0' = Both inputs OFF,
– '1' = Input 1 ON (+V
S
), input 2 OFF (0 V DC),
– '2' = Input 1 OFF (0 V DC), input 2 ON (+V
S
),
– '3' = Input 1 ON (+V
S
), input 2 ON (+V
S
).
1. Controller sends:
Com-
mand
End identifier
Character
'IR'
CRC-16 or <LF> <CR>
Byte length
2
2
2. Processor unit replies
:
Reply
Status
End identifier
Character
<ACK>
'0' or '1' or '2' or '3'
CRC-16 or <LF><CR>
Byte length
1
1
2
or
Reply
Status number
End identifier
Character
<NAK>
See "8.5 Status Indicators" on
CRC-16 or <LF><CR>
Byte length
1
1
2
Monitoring the digital inputs on the device.
1. Command
: 'IR'<LF><CR>
'IR' <LF><CR>
Monitor the status of the
digital inputs
End identifier
2. Reply:
<ACK>'1'<LF><CR>
<ACK>
'1'
<LF><CR>
Acknowledgment
Status of the inputs:
Input 1 ON
Input 2 OFF
End identifier
Telegram Read
digital inputs (IR)
Telegram
example
Read digital
inputs 'IR'
8
Device Function
Содержание BIS U-6020-053-10 RS232
Страница 2: ...www balluff com...