OMRON Primion - SmartRelay 3 system
Signal description
An OMRON interface uses the following standardised signals:
Signal | Meaning | Explanation | SREL.ADV connection | SREL3 ADV connection | SREL AX Classic connection |
|---|---|---|---|---|---|
DATA | Data | F1 ("D0") | O1 | Output 1 | |
CLK | Clock | F2 ("D1") | O2 | Output 2 | |
CLS | Card loading signal | Optionally configurable | F3 (“LED/buzzer/input1”) | O3 | Not available |
All outputs are open-drain. A pull-up resistor (1kΩ to 10kΩ type) and the positive power supply (3 VDC to 24 VDC ) must be provided for signal lines.
The signals are “Active low”. The data becomes valid on the falling edge of the CLK signal.
Signal timing
Time | Description | Min. | Typ. | Max. | Unit |
|---|---|---|---|---|---|
t CLS- | Time between activation of the CLS signal and first data bit | 8 | 12 | 20 | ms |
tCLK | Clock period | 290 | 320 | 350 | µs |
tS | Set-up time for data bit | 50 | 100 | 150 | µs |
tC0 | Clock set to “low” level (clock low) | 50 | 100 | 150 | µs |
t CLS+ | Time between last data bit and deactivation of the CLS signal | 8 | 12 | 20 | ms |
Data format (OMRON Primion)
Each message below consists of a sequence of letters ("characters").
Each “character” is represented by a sequence of 5 bits (BCD code + parity):
Data structure of a message:
S AAAAA BBBBB E
Meaning:
S | Start character (hex B) |
A | Facility code (0 to 99,999) |
B | User ID number (0 to 99,999) |
E | End character (hex F) |
Example:
- Facility code: 563
- User ID: 3,551
S | A | A | A | A | A | B | B | B | B | B | E |
|---|---|---|---|---|---|---|---|---|---|---|---|
Start character | Facility code | User ID | End character | ||||||||
11010 | 00001 | 00001 | 10101 | 01101 | 11001 | 00001 | 11001 | 10101 | 10101 | 10000 | 11111 |
B | 0 | 0 | 5 | 6 | 3 | 0 | 3 | 5 | 5 | 1 | F |