![Roland l20 Manual Download Page 50](http://html1.mh-extra.com/html/roland/l20/l20_manual_1479453050.webp)
Manual
Double Sheet Control System R1000 series L20
with integrated fieldbus interface
Communication with the PLC
B0063191 / 1.3
50
ROLAND ELECTRONIC GmbH · Otto-Maurer-Str. 17 · DE 75210 Keltern · Phone +49 (0)7236-9392-0 · Fax +49 (0)7236-9392-33
6.4.2 Service "Open parameter channel"
The service open parameter channel is initiated by the master with the selection of the service. The
content of the index bytes BIN1, BIN2 and the application data bytes 0 to 3 are not relevant. The
checksum of bytes 1 to 6 is calculated and inserted into byte 7. To initiate the service the master
changes the handshake bit. To avoid data fault the following sequence is mandatory:
1. Service selection, program index, parameter index
2. Switch
handshake
In addition a consistent data transmission from the master is necessary.
Note
For the service “Open parameter channel“ the index bytes BIN1, BIN2
and the application data bytes BIN3... BIN6 are not relevant.
The R1000 checks the data with the checksum and mirrors the application data, the service
selection and the index selection into BOUT1, BOUT2. The R1000 sets the handshake bit in
BOUT 0.0
only in the last step
and signals thereby that the data is valid. This sequence is
observed by the R1000 in order to avoid data faults.
The slave ensures a consistent data transmission.
Note
If reading cannot be executed the collision bit is set. The fault number is
transmitted instead of application data bit , see section “6.4.8. Reset faulty
access“. The collision bit can be deleted by one of the following services:
“Close parameter channel”, “Empty service” or “Reset parameter channel”.
6.4.3 Service "Close parameter channel"
This service is initiated by the master by selecting the service. The content of the index bytes BIN1,
BIN2 and the application data bytes 0 to 3 is not relevant. The checksum of bytes 1 to 6 is
calculated and inserted into byte 7. To initiate the service the master changes the handshake bit.
To avoid data fault the following sequence is mandatory:
1. Service selection, program index, parameter index
2. Switch
handshake
In addition consistent data transmission from master is necessary.
Note
For the service “Open parameter channel“ the index bytes BIN1,
BIN2 and the application data bytes BIN3... BIN6 are irrelevant.
The R1000 checks the data with the checksum and mirrors the application data bytes, the service
selection and the index selection in BOUT1 and BOUT2. The R1000 sets the handshake bit in
output BOUT0.0 only in the last step and signals thereby that the data is valid. This sequence is
observed by the R1000 in order to avoid data faults.
The slave ensures a consistent data transmission.
Note
If the checksum is correct then the closing of the parameter
channel is always executed. A set collision bit is thereby deleted.