![Festo CMMS-AS-G2 Series Скачать руководство пользователя страница 170](http://html1.mh-extra.com/html/festo/cmms-as-g2-series/cmms-as-g2-series_description_2283130170.webp)
C
Serial interface RS485
170
Festo – GDCP-CMMS-AS-G2-FW-EN – 1310NH – English
C.3
Commands/syntax of the RS485 interface
Control of the motor controller via RS485 takes place with the same objects as with RS232. Only the
syntax of the commands to read/write the objects is expanded in comparison to the RS232.
Syntax:
Xtnn:HH...HH:CC
Short code
Significance
XT
Fixed constants
nn
Node number, identical to the CANopen node number (setting via DIP switch)
HH...HH
Data (RS232 command syntax)
CC
Checksum
Tab. C.4
Command syntax RS485
–
The reply sends the following characters to the first 5 positions:
“XRnn:” with nn = node number of the device.
–
All devices react to the node number 00 as “Broadcast”. In this way, each device can be addressed
without knowing the node number.
–
The commands of type “=” “?”, etc. support an optional checksum. This checksum is formed
without the first 5 characters.
At the byte level, all characters are added up byte-by-byte to a UINT8 number without taking the
overtravel into account.
The checksum comprises the entire command without RS485 identifier and without checksum.
Example:
for “XT07:=607A00:000A0000:80”
the checksum “80” is created over
“=607A00:000A0000:”.
–
The boot-up message of the boot loader and the boot-up message of the firmware are sent only
over RS232 mode.
Example “Profile position mode” via RS485
If the motor controller is operated via the RS485 interface, control, just as operation, can take place via
the RS232 interface
Profile position mode, page 164. If required, the node number is simply written
in front of the command. The node number is set via the DIP switches.
Command:
XT07:=607A00:000A0000
Target position 10 revolutions send to node 7
Содержание CMMS-AS-G2 Series
Страница 1: ...Description Functions Firmware design from 1 4 0 2 6 8026161 1310NH Motor controller CMMS AS G2 ...
Страница 173: ......