Programmer's Guide
ObjectC 100
© CEDES Safety & Automation AG
http://csa.cedes.com/ 21
Table 45: CAN telegrams at interruption of the 5
th
tray in row 3
Byte
Response
Add-
ress
DLC
1
2
3
4
5
6
7
8
X-axis, zone 5 interrupted
(Byte 5: 0001'0000B = 10H)
65 [41 Hex]
02A0
08
00 41 22 24 10 00 00 00
Y-axis, zone 3 interrupted
(Byte 5: 0000'0100B = 04H)
67 [43 Hex]
02A0
08
00 43 31 33 04 00 00 00
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
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Byte7
Byte8
Master (PLC)
to ObjectC
-
100
STX
(02)
Address
(DIP
switch)
Command
High byte
Command
Low byte
Data Data Data Data Data Data
ETX
(03)
ObjectC
-
100 to
Master (PLC)
ACK
(06)
Inverted
(Address)
Command
High byte
Command
Low byte
Data Data Data Data Data Data
ETX
(03)
Table 47: RS485 command example (Hex)
Direction
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Byte7
Byte8
Master (PLC)
to ObjectC
-
100
02
00
00
14
00 00 00 00 00 00 03
ObjectC
-
100 to
Master (PLC)
06
FF
00
15
05 13 0F 0F 00 00 03
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):
Table 48: Command examples
Byte
Description
Value
Byte structure
STX
02 Hex
0000 0010
Address
(DIP switch)
01 0000
0001
Byte 1
Command
00
0000 0000
Byte 2
Command
12 Hex
0001 0010
Byte 3
Data
00
0000 0000
Byte 4
Data
00
0000 0000
Byte 5
Data
00
0000 0000
Byte 6
Data
00
0000 0000
Byte 7
Data
00
0000 0000
Byte 8
Data
00
0000 0000
ETX
03 Hex
0000 0011
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: