West Control Solutions Rail line MODTCP Manuale utente

Tipo
Manuale utente
PMA Prozeß- und Maschinen-Automation GmbH
rail line
Field bus coupler RL ETH
Interface desciption
Ethernet MODBUS/TCP
9499-040-77911
Valid from:10/2005
© 2005 PMA Prozeß- und Maschinen-Automation GmbH ·Printed in Germany
All rights reserved. No part of this document may be reproduced or published in any form
or by any means without prior written permission from the copyright owner.
A publication of PMA Prozeß- und Maschinen Automation
Postfach 310229
D-34058 Kassel
Germany
ModbusÒund ModbusÒTCP are registered trademarks of the Modbus-IDA Organisation
BluePort®und BlueControl®are registered trademarks of
PMA Prozeß- und Maschinen-Automation GmbH
SyConÒis a registered trademark of
Hilscher Gesellschaft für Systemautomation GmbH
Legend of symbols:
gGeneral information
aGeneral warning
lCaution: ESD-hazarded components
rail line 3
Content
1. General ...........................................5
1.1 References........................................5
1.2 Additional information .................................5
2. Safety hints ..........................................6
2.1 Maintenance, modification and repair .........................7
2.2 Cleaning .........................................7
2.3 Spare parts .......................................7
3. Quick entry ..........................................8
4. Commissioning........................................9
4.1 Hints for installation...................................9
4.2 Dimensions .......................................9
4.3 Mounting ........................................10
4.3.1 Dismounting ..............................10
4.4 Electrical connections .................................11
4.4.1 Bus coupler supply voltage ........................11
4.4.2 Energization via RL PWR power supply module .............11
4.4.3 Physical connection ............................12
4.4.4 Cable layout ................................12
4.4.5 Screening .................................12
4.5 Ethernet settings ....................................13
4.5.1 TCP port ..................................13
4.5.2 IP address and IP netmask ........................13
4.5.3 Connections ................................13
4.6 IP address definition ..................................13
4.6.1 Parameter setting via BlueControl®...................13
4.6.2 BOOTP (Bootstrap Protocol) ........................13
4.7 Switching on the device ................................14
4.8 Displays ........................................14
5. System design .......................................15
5.1 System structure ....................................15
5.1.1 Hints for connection ...........................15
5.1.2 Operation without bus coupler ......................16
6. Bus protocol ........................................17
6.1 General message structure ..............................17
6.2 Module addressing...................................18
6.3 Function codes .....................................18
6.3.1 Function: read output words / read holding register (FC= 3) ......18
6.3.2 Function: read input words / read input register (FC= 4) .........19
6.3.3 Function: write an output word / preset single register (FC= 6) .....19
6.3.4 Function: write output words / preset multiple register (FC= 16) ....19
6.3.5 Function: read/write words / read/write register (FC= 23)........19
6.3.6 Function: encapsulated interface transport (FC=43) ...........20
6.3.7 Error reply .................................21
7. Address areas and -formats for function modules CI 45, KS 45, TB 45 .......22
7.1 Area definitions ....................................22
7.2 Special values .....................................22
4 rail line
7.3 Composition of the address tables ..........................23
7.4 Internal data types ...................................23
7.5 Address tables .....................................23
7.6 Annex of status / control information .........................24
7.6.1 Transmitter UNIFLEX CI 45 ........................24
7.6.2 Universal controller KS 45 ........................25
7.6.3 Temperature limiter TB 45 ........................27
8. Bus coupler data ......................................29
8.1 Survey .........................................29
8.2 Function module status information..........................29
9. BlueControl
®
engineering tool ..............................30
9.1 Defining the configuration ...............................30
9.2 Comparison with actual configuration ........................32
9.3 Viewing the process data on the bus coupler .....................32
9.4 Processing a function module engineering ......................33
9.4.1 Individual engineering ..........................33
9.5 Ethernet coupler parameter setting ..........................34
10.Index ...........................................35
.1General
Thank you very much for buying a rail line series device. This document describes the Ethernet interface functions of
field bus coupler RL ETH, which is called bus coupler in the following description, and the system capability of the
various module versions of the rail line series (CI45-1xx-2.., KS45-1xx-2..., TB45-1xx-2....), called “function module” in
the following description. The term “ device” applies to both bus coupler and function modules.
Bus couplers with a Ethernet - 150 interface permit the transmission of process, parameter and configuration data.
Field bus connection is via a RJ 45 socket at the top of the bus coupler. The serial communication interface facilitates
connections to supervisory systems, visualization tools, etc.
Another standard interface is the non-bussable ‘BluePort®’ front-panel (PC) interface. It is used for direct connection of
the ‘BlueControl®’ tool which runs on a PC.
The most important features of the bus connection with their physical and electrical properties are:
Transfer rate
The Ethernet coupler operates as a Modbus/TCP server with a maximum transfer rate of 10 / 100 Mbit/s
Clients
The Ethernet bus coupler permits communication with up to 4 clients using the TCP/IP protocol
Physical layer
10/100BaseT
Connection
RJ45 socket
1.1 References
Additional information
[1] Homepage of the MODBUS - User Organization
– http://www.modbus-IDA.org
[2] MODBUS Messaging on TCP/IP
- Implementation Guide V1.0a
[3] MODBUS Application Protocol Specification V1.1a
[4] MODBUS over Serial Line
- Specification & Implementation Guide V1.0
Other documentations of rail line series s:
[5] Universal transmitter UNIFLEX CI 45
Data sheet CI 45 9498 737 48313
Operating note CI 45 9499 040 71441
Operating manual CI 45 9499 040 71711
[6] Universal controller KS 45
Data sheet KS 45 9498 737 48513
Operating note KS 45 9499 040 71541
Operating manual KS 45 9499 040 71811
[7] Temperature limiter TB 45
Data sheet TB 45 9498 737 48413
Operating note TB 45 9499 040 71641
Operating manual TB 45 9499 040 71911
1.2 Additional information
Information on bus coupler and function module parameter addresses is given in documentation 9499-040-78111.
General
rail line References 5
.2Safety hints
This device was built and tested in compliance with VDE 0411-1 / EN 61010-1 and was shipped in safe condition.
The device meets European guideline 89/336/EEC (EMC) and is provided with the CE-marking.
The device was tested before delivery and has passed the tests stipulated in the test plan. To maintain this condition
and to ensure safe operation, the user must follow the hints and warnings given in this operating manual and operate
the device in compliance with the information provided in this manual.
aWarning
The device is provided exclusively for use as a measuring and control unit in technical systems.
aWarning
If the device is damaged to an extent that safe operation is not possible, it must not be taken into
operation.
ELECTRICAL CONNECTIONS
The electrical connections must conform to local standards (e.g. VDE 0100). The input leads must be kept separate
from signal and mains leads.
A circuit breaker or a power switch must be provided for the device and marked accordingly in the installation. The
circuit breaker or power switch must be installed near the device and should be easily accessible for the operator.
COMMISSIONING
Before device switch-on, ensure that the rules given below were followed:
wEnsure that the supply voltage corresponds to the specification on the type label.
wAll covers required for contact safety must be fitted.
wBefore device switch-on, check, if other equipment and/or facilities connected in the same signal loop is / are not
affected. If necessary, appropriate protective measures must be taken.
wThe device may be operated only when mounted in its enclosure.
wThe temperature limits specified for operation of the device must be met before and during operation.
aWarning
During operation, the ventilation slots of the housing must not be covered.
aWarning
The measurement inputs are designed for measurement of circuits which are not connected directly with
the mains supply (CAT I). The measurement inputs are designed for transient voltage peaks up to 800V
against PE.
SHUT-DOWN
For permanent shut-down, disconnect the instrument from all voltage sources and protect it against accidental
operation.
Before instrument switch-off, check that other equipment and / or facilities connected in the same signal loop is / are
not affected. If necessary, appropriate measures must be taken.
Safety hints
6 rail line
2.1 Maintenance, modification and repair
The devices need no particular maintenance.
No operable controls are mounted inside the device, i.e. the operator must not open it.
Modification, maintenance and repair may be carried out only by trained, authorized persons. For this purpose, the user
is invited to contact the PMA service.
aWarning
When opening the devices, or when removing covers and components, live parts or terminals can be
exposed.
lCaution
When opening the devices, electrostatically sensitive components can be exposed.
gThe PMA service address and contact information are as given below:
PMA Prozeß- und Maschinen-Automation GmbH
Miramstraße 87
D-34123 Kassel
Phone +49 (0)561 / 505-1257
Fax +49 (0)561 / 505-1357
2.2 Cleaning
gHousing and front panel of the device can be cleansed using a dry, lint-free cloth.
2.3 Spare parts
The following accessories are permitted as spare parts for the device:
Description Order no.
Connector set with screw terminals 9407-998-07101
Connector set with spring clamp terminals 9407-998-07111
Bus connector for fitting in top-hat rail 9407-998-07121
Safety hints
rail line Maintenance, modification and repair 7
.3Quick entry
For installing a rail line system, please, proceed as follows:
èDetermine system concept and function modules.
èDetermine the function module order behind the bus coupler.
èMount a bus connector for each module on the top-hat rail and push them together.
èTo mount the bus coupler, snap it onto the left bus connector.
èMount the function modules analogously in the planned order.
èConnect the bus coupler to the supply voltage.
èSpecify an IP address for the bus coupler.
èSet a unique address for each function module, which should start with 1 for the module next to the
bus coupler, followed by module no. 2, etc. Please, don’t leave an address gap.
Adjusting the addresses can be done via front-panel keyboard or BlueControl ®engineering tool.
èWrite the engineering for each individual function module. Determine which data should be read and /
or written via the field bus (menu Bus data (read) / Bus data (write)). Note the order of selected data.
èMake the function module wiring.
èConfigure the bus coupler with the order of fitted function modules. Please, specify the actually fitted
device types exactly.
èConnect the Ethernet cable with the device.
èStart the data exchange with the coupler !
Quick entry
8 rail line
.4Commissioning
4.1 Hints for installation
wMeasurement and data lines should be kept separate from control and power supply cables.
wSensor measuring cables should be twisted and screened, with the screening connected to earth.
wExternal contactors, relays, motors, etc. must be fitted with RC snubber circuits to manufacturer specifications.
wThe unit must not be installed near strong electric and magnetic fields.
aThe unit is not suitable for installation in explosion-hazarded areas.
aFaulty connection can lead to the destruction of the instrument.
aThe device may be operated only in environments for which it is suitable due to its protection type.
aThe housing ventilation slots must not be covered.
aIn plants where transient voltage peaks are susceptible to occur, the devices must be equipped with
additional protective filters or voltage limiters!
lCaution!
The device contains electrostatically sensitive components .
aPlease, follow the instructions given in the safety hints.
4.2 Dimensions
The bus coupler dimensions are shown in the following drawing. For the function module data, see the relevant
operating manuals.
Commissioning
rail line Hints for installation 9
117.5 (4.63”)
99 (3.90”)
22.5
111 (4.37)
(0.87”)
2.3
(0.08”)
5.5
(0.20”)
Klemme /
terminal
PWR
1
8
22
21
23
24
117.5 (4.63”)
99 (3.90”)
22.5
111 (4.37)
(0.87”)
2.3
(0.08”)
5.5
(0.20”)
Klemme /
terminal
P
PWR
1
8
22
21
23
24
Fig. 2: Dimension
4.3 Mounting
Connection between bus coupler and function modules is via bus connectors, which snap onto the top-hat rail. Several
devices are mounted side by side with high packing density. The bus links between the devices are made directly via
the bus connectors.
The instruments are provided for vertical mounting on 35 mm top-hat rails to EN 50022.
If possible, the place of installation should be exempt of vibration, aggressive fluids (e.g. acid, lye), liquids, dust or
other suspended matters.
Instruments of the rail line family can be mounted directly side by side. For mounting and dismounting, the min.
distance above and below the instrument from other equipment should be 8 cm.
For installation of the bus connection, proceed as follows:
1Snap on the bus connectors (delivered with the device) onto the top-hat rail
2For high-density mounting, push the bus connectors together.
3Clip the instruments onto the top-hat rail via the bus connectors
- the internal system bus connection is ready!
+Please, mount the bus coupler in the leftmost position and fit the function modules right of the bus coupler
in the required order.
grail line instruments do not contain parts for which maintenance is compulsory and need not be opened by
the customer.
aWarning
A field bus coupler can energize max. 16 function modules. For connecting a higher number of modules RL
PWR power supply modules must be used.
4.3.1 Dismounting
Dismounting is in the inverse order
of the steps described above.
Commissioning
10 Mounting rail line
top
1
top
2 3
Fig. 3 Mounting steps
1
Fig. 4: Dismounting
4.4 Electrical connections
4.4.1 Bus coupler supply voltage
A system comprising bus coupler and one or several function modules is energized centrally via the bus coupler.
Central energization reduces the wiring expenditure considerably.
aWarning
Energization at the function modules is not permissible.
gA bus coupler can energize max. 16 function modules. For extension possibilities, see chapter 4.4.2.
4.4.2 Energization via RL PWR power supply module
Power supply module RL PWR is used for energization of function modules with system interface via the bus connector
in the top-hat rail.
For connecting a higher number of function modules to the bus coupler than permissible for energization, additional
power supply modules must be used.
Applications:
Supplementary energization of additional function modules
Repartition to different installation levels (e.g. two rows in a control cabinet)
Construction of separate potential levels
A power supply module can energize up to 16 function modules.
aWarning
Energ. at the function modules is not permitted.
aWarning
High-density mounting with other partial systems is not permissible.
gCascade connection of power supply modules is not permissible (see above).
Commissioning
rail line Electrical connections 11
22
21 23 24
PWR
++
=24V
Fig. 5: Bus coupler energy supply conn.
22
21 23 24
PWR
++
=24V
Fig. 6: Energy supply connection Fig. 7: Ex: power supply module
4.4.3 Physical connection
Ethernet connection is via the front-panel bus coupler RJ45 interface.
10/100BaseT is used as physical layer.
Physical connection is via Ethernet using twisted two-wire cable (CAT5 cable, 8-pole in RJ-45 connection technique).
The connection is made by means of an RJ-45 socket.
Pin allocation RJ-45:
Contact Signal Description
1 TD + Transmit +
2 TD - Transmit -
3 RD + Receive +
4 - Not used
5 - Not used
6 RD - Receive -
7 - Not used
8 - Not used
4.4.4 Cable layout
For connecting the field instruments, suitable bus cables for the application must be used. The wiring must comply
with the general hints and regulations (e.g. VDE 0100):
Cable layout in buildings (inside and outside cabinets)
Cable layout outside buildings
Potential compensation
Cable screening
Measures against interference voltages
Length of tap line
In particular, the following information must be taken into account:
With RS 485 technology, max. 32 field units can be connected in a segment at a bus cable. Several segments
can be coupled by means of repeaters.
The bus topology should be a line of max. 1000m length per segment. Extension by means of repeaters is
permissible.
The bus cable connection must be a “daisy chain” between field instruments rather than star-shaped .
If possible, tap lines should be avoided to prevent reflections causing communication trouble. With higher
transfer rates, tap lines are not permissible.
The general hints for low-interference signal and bus cable wiring are applicable (see operating note „EMC –
General information“ (9407-047-09118)).
To increase the transfer safety, pairwisely twisted and screened bus cables can be used.
4.4.5 Screening
The type of screening connection is dependent mainly on the expected interference.
For suppression of electric fields, one end of the screening must be connected to earth. Always realize this
measure at first.
However, suppression of interference due to an alternating magnetic field is possible only, when the both ends
of the screening are connected to earth. With earth circuits, however, note the screening effect is reduced by
galvanic interference on the reference potential.
If several devices are linked to a single bus, the screen must be connected at each device, e.g. by means of
screen clamps.
Short distance bus screening must have a large-surface, low-resistance connection to a central protective earth,
e.g. via screening terminals
Commissioning
rail line Electrical connections 12
Fig. 8: RJ45 socket
4.5 Ethernet settings
4.5.1 TCP port
The ModbusTCP server expects TCP messages on TCP port 502. This port is reserved for ModbusTCP.
gWhen Port 502 is connected, LED ‘BS’ is lit.
4.5.2 IP address and IP netmask
The IP address can be determined in two different ways:
via parameters by means of the BlueControl®engineering tool
via BOOTP (Bootstrap protocol)
+For detailed information on the modes and settings, see chapter 4.6 .
The IP netmask is adjustable via parameter “IPSub”. The default value is 255.255.255.0 .
4.5.3 Connections
gRL ETH can operate max. 4 connections at a time. Up to 16 messages can be handled.
4.6 IP address definition
The unique MAC-ID is specified in item “Mac-Adr.” on the type label.
The IP address can be determined using two different methods.
+The allocated IP address must be unique in the network.
4.6.1 Parameter setting via BlueControl®
The IP address (4 byte) and subnet mask (4 bytes) can be set in the coupler via the BlueControl®software.
gIf IP address 0.0.0.0 is specified, no valid address is provided (factory setting). In this case, the address can be defined
via the BootP protocol.
4.6.2 BOOTP (Bootstrap Protocol)
BOOTP is a TCP/IP configuration service. A BOOTP client sends a BOOTREQUEST broadcast via address
255.255.255.255 into the network. BOOTP awaits a server reply (BOOTREPLY) during a defined time. Unless a reply is
received, the client sends the broadcast again. BOOTP uses the UDP protocol for communication.
Procedure:
To determine the IP address of Ethernet coupler RL ETH via BOOTP, a BOOTP server replying the Ethernet
coupler inquiry must be provided.
On Ethernet coupler RL ETH, the switch for the IP address must be set to 0.0.0.0.
After switching on the Ethernet coupler, the sequence described above is started, the address is determined
and stored in the Ethernet coupler EEPROM.
When starting up the Ethernet coupler for the next time, the IP address is loaded from the EEPROM.
+In networks in which the IP addresses are defined via a DHCP server, a special BOOTP server is not required. The
DHCP server allocates an IP address to Ethernet coupler RL ETH dynamically.
Commissioning
rail line Ethernet settings 13
4.7 Switching on the device
After switching on the overall module, the Ethernet starts the start-up phase. The following tasks are completed:
detection and interpretation of the IP address
detection of fitted modules
initialization of detected modules
handling of already pending input data
4.8 Displays
Five bus coupler indicator LEDs indicate various operating statuses.
* “ green- yellow- red- off” alternating display: internal error status
Commissioning
14 Switching on the device rail line
Signification
1
System bus status indicator LED
off: off
blinks: searching modules
on: communication active
2LED “TX” Ethernet Transmit
on:: send operation
3
Device status indicator LED *
green: ok
yellow: initialization
yellow blinking: configuration difference
red: no configuration
red blinking: module failure
4no function
5
LED “BS” Ethernet connection
off no connection
on connected
6LED “RX” Ethernet Receive
on receive operation
7PC connection for engineering tool
.5System design
Up to 16 function modules can be connected and energized at a bus coupler. System extension is possible by using
power supply modules:
Up to 62 function modules can be addressed logically by a bus coupler.
Up to 4 installation levels can be built up.
The max. permissible extension is 10 m.
5.1 System structure
Using power supply modules offers many advantages:
The number of function modules connectable to a bus coupler can be extended.
The function modules can be distributed to different levels in the control cabinet.
A potential-isolated energy supply is possible.
gThe overall system length including cables must not exceed 10 m. Max. 3 m cable length between two
groups is permissible.
5.1.1 Hints for connection
For connecting the function modules energized by the bus coupler and the function modules energized by the power
supply module, proceed as follows:
1Insert a connector (e.g. 9407-998-07141) on the right side of the group with the bus coupler into the bus connector
in the top-hat rail.
2Insert a connector (e.g. 9407-998-07131) on the left side of the group with the power supply module into the bus
connector.
3Use twisted and screened two-wire bus cable.
Connect conductor 1 with the lower contact S5 and conductor 2 with contact S4.
4Terminate the system bus with a terminating resistor LT = 100.
For this, insert a connector (e.g. 9407-998-07141) on the right side of the last group with a power supply module
into the bus connector. Connect the resistor across terminals S4 - S5.
System design
rail line System structure 15
Versorgung / Power supply
interner Systembus / internal system bus
Fig. 9: Possible system structure
aDon’t interconnect a bus coupler and one or several power supply modules via bus connector.
Connections via contacts S1 to S3 can lead to damage of the connected devices!
5.1.2 Operation without bus coupler
gPower supply module RL PWR can be used also for energization of function modules with system interface, if the use
of a bus coupler is planned only for the future, or if only a single function module version may be available due to
reduced stock-keeping.
System design
16 System structure rail line
Fig. 10: Connecting
.6Bus protocol
6.1 General message structure
The maximum length of a Modbus/TCP message must not exceed 260 bytes.
The message is composed of the following elements:
MBAP header Function code Data
7 bytes 1 byte N * 1 byte
PDU (Process Data Unit)
MBAP header
The MODBUS Application Protocol Header (MBAP) identifies the message and is composed of 4 information
items.
- Transaction Identifier (2 bytes) : identification of a transaction
- Protocol Identifier (2 bytes) : protocol type ( 0 = MODBUS)
- Length (2 bytes) : number of following bytes
- Unit identify (1 byte) : identification of underlying slave
Function code
The function code defines the message type. The function codes supported by the RL ETH are described in
chapter “function codes” (®p. 18).
Data
The data block includes the further specification of the action defined by the function block. The data block
length is dependent on the function code.
The MBAP header structure and data origin are described in the following table:
Field Length (bytes) Description Client Server
Transaction identifier 2 Identification of MODBUS
inquiry/reply message
Determined by client Copied into reply of
inquiry message
Protocol identifier 2 0 = MODBUS protocol Determined by client Copied into reply of
inquiry message
Length 2 Number of following bytes Determined in reply
by client
Determined in reply
by server
Unit identifier 1 Addressing of a remote
slave which is connected to
a subordinate.
Determined by client Copied into reply of
inquiry message
Further information is given in [1] … [4].
Bus protocol
17 General message structure rail line
6.2 Module addressing
The access to the data of a special function module or of the bus coupler is controlled via the unit identifier in the
MBAP header.
Unit Identifier Description
0 Bus coupler addressing
1 … 62 Function module addressing
6.3 Function codes
The following MODBUS RTU protocol function codes are realized in the RL ETH:
Function code Description Signification
hex dec
0x03 3 Read Holding (Output)
Register
Wordwise reading of process data, parameters and configuration data
0x04 4 Read Input Register Wordwise reading of process data, parameters and configuration data
0x06 6 Preset Single Register
(Output)
Writing a register wordwisely with word address
0x10 16 Preset Multiple Register
(Output)
Writing several process data, parameters and configuration data
wordwisely
(also for floating point values)
0x17 23 Read/Write Registers Writing outputs wordwisely with start address and number of outputs
Reading inputs wordwisely with start address and number of inputs
0x2B 43 Read Device
Identification
Manufacturer name, product code and software version read-out
gFunction codes 03 and 04 are not distinguished and are identical as to processing.
gFunction codes 0x17 and 0x2B are supported directly only for data from the bus coupler . They can be used
for access to the process data caches. Free access to any other data of the rail line devices are not
possible with this function code.
The message structure (PDU) is shown using examples in the following chapters.
6.3.1 Function: read output words / read holding register (FC= 3)
Inquiry: Reply:
Field name Value
(Hex) Signification Field name Value Signification
Function 03 Wordwise output
read-back
Function 03 Wordwise output
read-back
Start address High
Startaddress Low
01
00
Start address 256dec Number of bytes 04 4 data bytes are sent
Number of values 00
02
Number of values : 2
words
Value1 02
4B
Value1
Value2 01
03
Value2
Bus protocol
18 Module addressing rail line
6.3.2 Function: read input words / read input register (FC= 4)
Inquiry: Reply:
Field name Value
(Hex) Signification Field name Value Signification
Function 04 Wordwise input reading Function 04 Wordwise input reading
Start address High
Start address Low
01
00
Start address 256dec Number of bytes 04 4 data bytes are sent
Number of values 00
02
Number of values: 2
words
Value1 02
4B
Value1
Value2 01
03
Value2
6.3.3 Function: write an output word / preset single register (FC= 6)
Inquiry: Reply:
Field name Value
(Hex) Signification Field name Value Signification
Function 06 Write a register
(wordwisely)
Function 06 Write a register
(wordwisely)
Register address
High
Register address
Low
01
00
Start address 256dec Register address
High
Register address
Low
01
00
Start address 256dec
Value 00
64
Set value to 100 Value 00
64
Set value to 100
6.3.4 Function: write output words / preset multiple register (FC= 16)
Inquiry: Replyt:
Field name Value
(Hex) Signification Field name Value Signification
Function 10 Write registers
wordwisely
Function 10 Write a register
(wordwisely)
Bit address High
Bit address Low
01
00
Start address 256dec Bit address High
Bit address Low
01
00
Start address 256dec
Numb. bits High
Numb. bits Low
00
02
Write 2 registers Numb. bits High
Numb. bits Low
00
02
Number bytes.04 Number of bytes
Value 1
Value 2
0201
05DC
6.3.5 Function: read/write words / read/write register (FC= 23)
This function supports writing of several output words and read-in of several input words in a message.
Inquiry: Reply:
Field name Value
(Hex) Signification Field name Value Signification
Function 17 Wordwise output writing
and wordwise input
reading
Function 17 Wordwise output writing
and wordwise input
reading
Read address High
Read address Low
01
00
Start address 256dec Number read
bytes
6 Read 3 registers
Numb. read reg.
High
Numb. read reg.
Low
00
03
Read 3 registers Value1 45
27
Bus protocol
19 Function codes rail line
Field name Value
(Hex) Signification Field name Value Signification
Write address
High
Write address Low
01
20
Start addres 288dec Value2 01
00
Numb. write reg.
High
Numb. write reg.
Low
00
02
Write 2 registers Value 3 00
02
Numb. bytes. 04 Number bytes
Value 1
Value 2
0201
05DC
6.3.6 Function: encapsulated interface transport (FC=43)
RM 204 supports MEI index 14 (0x0E), which describes the data exchange for a device identification (Read Device
Description). As access type, the basic device identification data are available:
VendorName = PMA Prozess- und Maschinen-Automation GmbH
ProductCode = Mod I/O RM204
MajorMinorRevision = Mod I/O RM204
Inquiry: Reply:
Field name Value
(Hex) Signification Field name Value
Function 2B Embedded interface
transport
Function 2B
MEI type 0E Read Device Identification MEI type 0E
Read Device ID
code
01 Read basic data Read Device ID code 01
Object Identifier 00 0x00 VendorName
0x01 ProductCode
0x02 MajorMinorRelease
Conformity level 01
More Follows 00
NextObjectID 00
Number of Objects 03
Object Id 00
Object Length 2A
Object Value “PMA Prozess- und
Maschinen-Automation GmbH”
Object Id 01
Object Length 0D
Object Value “Mod I/O RM204”
Object Id 02
Object Length 05
Object Value “V1.02”
Bus protocol
20 Function codes rail line
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36

West Control Solutions Rail line MODTCP Manuale utente

Tipo
Manuale utente