Danfoss VACON 1000 Operating Manual page 81

Fieldbus options
Hide thumbs Also See for VACON 1000:
Table of Contents

Advertisement

VACON® 1000 Fieldbus Options
Operating Guide
Parity
Accumulated sum of 8 bits of all data, ignore the flow bit.
[Message parity code] = [output data length] + [high byte of output data address] + [low byte of output data address] + [input
data length] + [high byte of input data address] + [low byte of input data address] + [output data 1] +...+ [output data n]
[Response parity code] = [input data length] + [high byte of input data address] + [low byte of input data address] +[output
data 1] +...+ [output data n]
Error Code
0x01: Output data length error
0x02: Accumulated sum parity error
0x03: Output data address error or illegal output data area
0x04: Input data address error or illegal input data area
7.6.3 User Config
Definition
Common-mode protocol message of the gateway can be set freely, which solves the communication problem between Modbus
standard protocol and Modbus nonstandard protocol devices. There are two operation modes under common mode: POLL and
READ.
The working principle of POLL mode is similar with Modbus communication protocol, which uses request and response communi-
cation way and every subnet can set 30 commands under common mode.
READ mode only receives stored data and does not respond after receiving data, such as bar code scanner and device communica-
tion.
User Configuration - POLL Mode
Before using common mode-POLL, configure the request message and response message.
Frame header: HEX input, maximum bytes number: 8
Data: HEX input, every item occupies 2 bytes
Constant: HEX input, maximum bytes number: 8
Parity: None, CRC check, LRC check, Sum check
End of Frame: HEX input, maximum bytes number: 3
Send order in RTU format: header, data, constant, parity, and end
Receive order in RTU format: header, data, constant, parity, and end
Send order in ASCII format: header, constant, data, parity, and end
Receive order in ASCII format: header, constant, data, parity, and end
User Configuration - Receiving only Mode
Receiving only Mode only receives data and does not respond. Each subnet of receiving only mode has 16 group data receiving
buffer and receiving data buffer of each group is 255 bytes.
Communication way: One subnet of the gateway is configured as user config-read and connects to the communication device. An-
other subnet is configured as Modbus slave and connects to the gateway with Modbus master. Modbus master uses 04H function
code to read the data beginning from register 0. Register 0 is a transaction sequence number. Every time it reads a new message,
the transaction number increases by 1 and it recycles from 0 to 255. Registers 1–n are the data which they receive from the commu-
nication device. The specific number of data depends on Modbus master configuration. The maximum valid bytes is 255.
If only one serial port is configured as receiving only mode, this serial writes the data it read to the address range 0x000–0x0FF. If
more than 1 serial port is configured as receiving only mode, the mapping address range by size according to the subnet number is:
0x000–0x0FF, 0x100–0x1FF, and 0x200–0x2FF.
Danfoss A/S © 2023.09
PROFINET I/O
AQ454734633756en-000101 / 172K1112 | 81

Advertisement

Table of Contents
loading

Table of Contents