Manual
Double Sheet Control System R1000 series L20
with integrated fieldbus interface
Communication with the PLC
B0063191 / 1.3
54
ROLAND ELECTRONIC GmbH · Otto-Maurer-Str. 17 · DE 75210 Keltern · Phone +49 (0)7236-9392-0 · Fax +49 (0)7236-9392-33
6.4.10 Example: Remote control with parameter adjustment for the L20
H is the handshake bit and switched by the master and with each data transmission via the
parameter channel (see section of “6.4.1 Layout of the parameters channel - data access control“)
1.
Terminate current activities via I/O or process channel
2.
Open parameter channel with service “Open parameter channel“
- Transfer:
0H110100b 00h 00h 00h 00h 00h 00h 00h
- Wait for answer:
0H110100b 00h 00h 00h 00h 00h 00h 00h
- In case of collision: Undo the collision with the service “Empty service“, remove the cause of the collision
and open again. If necessary evaluate fault number in application data bytes.
3.
Set nominal thickness to the desired program index (e.g. program number 7, 1.00 mm)
- Transfer:
0H110010b 06h 02h 00h 00h 03h E8h F3h
- Wait for answer:
0H110010b 06h 02h 00h 00h 03h E8h F3h
- In case of collision: Undo the collision with the service “Empty service“, remove the cause of the collision
and open again. If necessary evaluate fault number in application data byte.
4.
Set the lower limit to the desired program index (e.g. program number 7, 80%)
- Transfer:
0H110010b 06h 04h 00h 00h 03h 20h 2Dh
- Wait for answer:
0H 110010b 06h 04h 00h 00h 03h 20h 2Dh
- In case of collision: Undo the collision with the service “Empty service“, remove the cause of the collision
and open again. If necessary evaluate fault number in application data byte.
5.
Set the upper limit to the desired program index (e.g. program number 7, 120%)
- Transfer:
0H110010b 06h 05h 00h 00h 04h B0h BFh
- Wait for answer:
0H110010b 06h 05h 00h 00h 04h B0h BFh
- In case of collision: Undo the collision with the service “Empty service“, remove the cause of the collision
and open again. If necessary evaluate fault number in application data byte.
6.
Set the time for averaging to the desired program index (e.g. program number 7; 25ms)
- Transfer:
0H110010b 06h 10h 00h 00h 00h 03h 19h
- Answer:
0H110010b 06h 10h 00h 00h 00h 03h 19h
- In case of collision: Undo the collision with the service “Empty service“, remove the cause of the collision
and open again. If necessary evaluate fault number in application data byte.
7.
Close Parameter channel
- Transfer:
0H111000b 00h 00h 00h 00h 00h 00h 00h
- Wait for answer:
0H111000b 00h 00h 00h 00h 00h 00h 00h
- In case of collision: Undo the collision with service “Empty service“, remove the cause of the collision
(normally only wrong content or checksum are possible) and close.
If necessary evaluate fault number in application data bytes.
8.
Switch program number via the process channel (e.g. switch to program number 7)
- Transfers: byte 9: 06h, byte 8: 40h
- Answer:
byte 8: 01h, byte 9: 06h
- Transfer: byte 8: 00h
- Answer:
byte 8: 00h
- In case of malfunctioning the “Function fault“ is returned (see also section “6.3 Process channel“)
9.
Open, if necessary, the parameters channel again and read the internal program parameter (1-11) of the
selected programs and store the data backup in the PLC. Then close the parameters channel again.