Connection Of Serial Devices Via Freeport Protocol; Compatible Ident Devices; Functions And Commands - Siemens SIMATIC Ident Function Manual

Hide thumbs Also See for SIMATIC Ident:
Table of Contents

Advertisement

A.2

Connection of serial devices via Freeport protocol

A.2.1

Compatible Ident devices

The following Ident devices can be operated using the communication modules via the
Freeport protocol and the RS232 interface:
• SIMATIC MV320
• SIMATIC RF1040R/RF1070R
You can also connect any serial device to the communication module because the
communication module can use the Freeport protocol to communicate with serial
devices (e.g. bar code scanner, intelligent sensor or other automation components with
serial connection). For communication modules with four serial interfaces, only two
interfaces support RS232.
A.2.2

Functions and commands

You can communicate with the Ident devices using the add-on instructions. The "Write"
command handles the sending of data and the "Read" command the receipt of data.
The following table shows the block-specific commands that you can execute with serial
field devices.
Table A- 3
Command
Read
Write
Reset_Univ
You can find detailed information on the commands and error messages of the
RF1040R/RF1070R in the "Programming" section of the "SIMATIC RF1000" manual. The
system job frames displayed must be stored in the data area for the "Write" command.
The answer message frames are output in the data block following a "Read" command.
Ident profile, Add-on instruction for Rockwell systems
Function Manual, 07/2020, C79000-G8976-C410-04
Overview of the commands
Description
Read data
Address "0x0000"
The length of the valid data is entered in the first 2 bytes of the result.
The user data is entered starting at the third byte. Max. net data 227
bytes; no error message if the length is exceeded
Address "0x0002"
No length information in the result; max. net data 229 bytes
Sending data
The address must be specified as "0xFFFF". Max. net data 194 bytes
(without length information); no error message if the length is exceeded
Reset the communication between CM and device and empty the buffer.
The 11th byte ("option_1") of parameter "PARAM" can be occupied by
"0x00" or "0x02". The value "0x04" must be entered in the first byte, and
"0x0A" in the 6th byte.
A.2 Connection of serial devices via Freeport protocol
Appendix
119

Advertisement

Table of Contents
loading

Table of Contents