Serial Interface Rs-485; Structure Of The Commands; Fundamental Structure Of The Commands - Bosch Rexroth SMART Flex Effector Manual

Table of Contents

Advertisement

49
6.2.2

Serial interface RS-485

Communication takes place via a serial interface (RS-485). To simplify commissioning and
incorporation into the customer's application, the SFE uses a text-based communication protocol. This
interface is used to communicate using ASCII strings. Each string transmission ends with a line feed
(/n oder LF). The various commands are explained in more detail in the Range of functions section. To
familiarize yourself with the command set, we recommend establishing a connection between SFE
and the "Smart Flex Effector Desktop Software" and sending a few commands manually.
When the SFE is started up for the first time, a baud rate of 38400 is set as standard. If the baud rate
is changed during operation, this is saved. When you restart, the newly set baud rate is active, it is not
reset to 38400.
Settings for the first connection setup:
You must select the following parameters for the connection setup
• Baud rate -> 38400 (may vary after the initial startup)
• Bits -> 8
• Parity -> none
• stopBits -> 1
• timeout -> 0
6.3

Structure of the commands

6.3.1

Fundamental structure of the commands

The command set is divided into three groups: GET, SET and CTR. These groups are subdivided
once more into the areas: locking, sensors, diagnostics, LED modes and system.
GET commands allow you to query parameters and states. The SET commands allow you to set
parameters and execute commands to change the state of the SFE unit.
CTR commands trigger actions (e.g. restarting the SFE unit), however parameter values are not
changed by CTR commands.
In principle, the commands are structured as follows:
• GET commands: GET;PARAMETER
• SET commands: SET;PARAMETER;
VALUE (when setting several values, these are separated by | )
• CTR commands: CTR;ACTION
After each sent command, the SFE unit sends a response which depends on the sent command type.
For GET commands, the response contains the queried values next to the executed command. If a
SET or CTR type command was executed, the response contains an ENUM which states whether the
command execution was successful.
en
Interface description
6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rexroth sfe

Table of Contents