Modbus - JVL MIS17 Series User Manual

Integrated step motors, including step motor controller smc66, smc85
Table of Contents

Advertisement

12.1
The Modbus implementation is a subset of the Modbus Specification V1.1b. This stand-
ard can be downloaded free of charge from the website www.modbus.org.
Also you may want to download and read the
mentation Guide
ing and inter-connecting two-wire RS-485.
The serial communications lines normally used for communications between the motor
and MacTalk can be configured to use the Modbus protocol instead of the standard Mac-
Talk protocol.
The MISxxx firmware supports the two command types Read Holding Registers (3) and
Write Multiple Register (0x10). All other commands will result in Exception replies (ex-
ception type 1, Illegal Function).
Use firmware version 4.00 or later.
All registers can be read as well as written over Modbus, but the number of registers per
transfer is limited to 16 16-bit registers or 8 32-bit registers.
Contact JVL if more registers are needed in a single transfer.
JVL recommends reading and writing as few 32-bit values as possible, normally 4 or max-
imum 8 at a time. Whenever possible, split long commands into smaller commands. Also,
only write the absolutely necessary values to the motor.
All registers in the MISxxx are 32-bits. To comply with the clean 16-bit Modbus standard,
a 32-bit register must be read or written as two consecutive 16-bit registers.
The register address mapping follows the normal documented register numbers, but the
address field but must be multiplied by two, so to read or write register 3, P_SOLL, use
the address 6.
The address space is mapped to offset 40000, though it is also possible to write to regis-
ter 3, P_SOLL using the address 40006. It is not necessary to do anything to choose be-
tween offset 0 and offset 40000, just read or write to desired address.
The setup of the Modbus protocol is done by writing to register 121, called ModbusSet-
up.
The motor always starts up with the MacTalk protocol enabled. This is to always make
it possible for a user to re-connect with MacTalk, if MacTalk is running at the time of a
motor power up cycle.
The standard way of switching to Modbus is to write a value to Register 121, Modbus-
Setup, that has bit 0 set to one. After a delay where there is no MacTalk communications,
the motor will switch to Modbus. Note that MacTalk cannot use the Modbus protocol,
and so cannot be used to configure the motor, after Modbus has been activated.
That is, until the next power cycle, as described above.
310
JVL Industri Elektronik A/S - User Manual - Integrated Stepper Motors MIS17x, 23x, 34x, 43x

Modbus

V1.02, that describes many aspects of the signals, and the details of us-
Modbus Serial Line Protocol and Imple-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents