Objectc 100 Rs485; Rs485 Communication; Rs485 Protocol Structure; Rs485 Commands And Responses - Cedes ObjectC 100 I/O Programmer's Manual

Multiple proximity switch systems for object recognition
Table of Contents

Advertisement

Programmer's Guide
Table 45: CAN telegrams at interruption of the 5
X-axis, zone 5 interrupted
(Byte 5: 0001'0000B = 10H)
Y-axis, zone 3 interrupted
(Byte 5: 0000'0100B = 04H)
3.

ObjectC 100 RS485

3.1.

RS485 communication

This system works according to the Master-Slave principle, where each ObjectC°100 (Slave) is addressed and
receives a command from a Master (PC or PLC). The addressed ObjectC 100 processes the command and
responds with the required data. Only one ObjectC 100 may be communicated with at any given time.
3.1.1.

RS485 protocol structure

Table 46: RS485 protocol architecture (Hex)
Direction
Master (PLC)
STX
to ObjectC-100
(02)
ObjectC-100 to
ACK
Master (PLC)
(06)
Table 47: RS485 command example (Hex)
Direction
Master (PLC)
02
to ObjectC-100
ObjectC-100 to
06
Master (PLC)
Trigger (1 Standard Scan), interrupted beams: 05-19, total interrupted beams: 15 (Dec), pitch factor = 1
All datas must be interpreted as Hex values!
3.1.2.

RS485 commands and responses

The command list of the RS485 commands is the same as for the CAN commands (see chapter 2.2.5)
3.1.3.

RS485 communication example 1

Get the number of active beams for the light curtain with Address 1. PLC sends command 18 (=12 Hex):
The responses to be expected from an ObjectC 100 RS485 system with a light curtain counting 30 beams (=1E
Hex), and no offset beams, are as follows:
© CEDES Safety & Automation AG
th
tray in row 3
Response
65 [41 Hex]
67 [43 Hex]
Byte1
Byte2
Address
Command
Command
(DIP
High byte
Low byte
switch)
Inverted
Command
Command
(Address)
High byte
Low byte
Byte1
Byte2
00
00
14
FF
00
15
Table 48: Command examples
Byte
Description
STX
Address
(DIP switch)
Byte 1
Command
Byte 2
Command
Byte 3
Data
Byte 4
Data
Byte 5
Data
Byte 6
Data
Byte 7
Data
Byte 8
Data
ETX
Add-
ress
02A0
02A0
Byte3
Byte4
Data
Data
Data
Data
Byte3
Byte4
00
00
05
13
Value
02 Hex
01
00
12 Hex
00
00
00
00
00
00
03 Hex
http://csa.cedes.com/
DLC
1
2
3
08
00
41
22
24
08
00
43
31
33
Byte5
Byte6
Byte7
Data
Data
Data
Data
Data
Data
Byte5
Byte6
Byte7
00
00
00
0F
0F
00
Byte structure
0000 0010
0000 0001
0000 0000
0001 0010
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0011
ObjectC 100
Byte
4
5
6
7
8
10
00
00
00
04
00
00
00
Byte8
ETX
Data
(03)
ETX
Data
(03)
Byte8
00
03
00
03
21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Objectc 100 rs485Objectc 100 can

Table of Contents