ProSoft Technology 5202-DFNT-GRCM4 User Manual

GRCM
GRCM Driver
GRC GARECO Check Weigher
Module
Table of Contents
1 Introduction ..........................................................................................................................3
1.1 General Specifications.....................................................................................................3
1.2 Resources........................................................................................................................3
2 Functionality .........................................................................................................................4
2.1 Data Flow.........................................................................................................................4
2.2 GRCM Database Map .....................................................................................................5
2.2.1 Sending Data ................................................................................................................... 5
2.2.2 Receiving Data ................................................................................................................7
3 Modes of Operation............................................................................................................ 15
3.1 Data Flow.......................................................................................................................15
3.1.1 Receive Mode................................................................................................................15
3.1.2 Configuration Mode .......................................................................................................15
3.1.2.1 Configuring a Port for Configuration Mode............................................................ 16
4 Driver Configuration ..........................................................................................................17
5 Driver Status Data ..............................................................................................................23
ProLinx Communication Gateways, Inc. 1
06.PLNX.GRCM.OO.01.EN July 2003
Contact Information
ProLinx Communication Gateways, Inc. 1675 Chester Avenue, Fourth Floor Bakersfield, CA 93301 661-716-5105 Fax: 661-716-5101 prolinx@prolinxgateways.com http://www.prolinxgateways.com
Document Revision History
Revision Description
01 First public release 7/11/03
Date
Related Documents & Reference Materials
Several resources are available to assist with the configuration and support of the ProLinx Communication Gateways, Inc. modules. The following files are available off the ftp site:
ftp://ftp.prosoft-technology.com/pub/prolinx/Protocol_Manuals/ Startup Guide Startup_guide_2.20.pdf ProLinx Communication Gateways,
Inc. Startup Guide
ProLinx Communication Gateways, Inc. 2
06.PLNX.GRCM.OO.01.EN July 2003
1 Introduction
The GRCM driver permits the ProLinx Communication Gateways, Inc. module to interface GARECO Check Weigher using Remote Control Instruction to the many protocols and networks available. The driver supports one to four ports that provide accessibility from one to four independent serial networks.
1.1 General Specifications
Ports: One to four ports to receive and/or transmit data Receive buffer size: 255 bytes Receive termination: Termination character Receive database location: 0 to 7000 Communication Configuration
o Baud Rate: 300 to 115,200 o Parity: None, Odd, Even o Data Bits: 5 to 8 o Stop Bits: 1 or 2 o RTS On and Off Timing: 0 to 65535 milliseconds o Minimum Response Delay: 0 to 65535 milliseconds o Hardware Handshaking: RTS/CTS
Supports device types of Topline VS/VO, “S” Series, and “E” Series
1.2 Resources
The ProLinx Communication Gateways, Inc. Startup Guide provides general information on all ProLinx modules including installation, editing configuration files, cabling and jumper configurations, troubleshooting, and a wide range of useful information. You should have this manual available when installing and configuring ProLinx modules.
ProLinx Communication Gateways, Inc. 3
06.PLNX.GRCM.OO.01.EN July 2003
2 Functionality
This section describes the functionality of the GRCM driver.
2.1 Data Flow
The following diagram displays receive and transmit dataflow of the GRCM driver.
Data received from the GRC device is accepted by the receive driver and placed in the receive database location. The receive driver starts saving the characters when a character is received. The receive driver waits until a termination character is recognized while receiving the data before placing the new data into the database.
The LF character is used as the termination condition for a received message. This signals the end of the message. When the receive driver observes this character in the input stream, it takes all received characters, processes them, and places them in the internal database according to the command and parameters types returned.
The data flow for configuration data from an external device to the GRC device is also shown in the previous diagram. When the configuration driver is triggered, it copies the data in the internal database into the transmit buffer and sends the new data to the GRC device.
ProLinx Communication Gateways, Inc. 4
06.PLNX.GRCM.OO.01.EN July 2003
2.2 GRCM Database Map
Data transmitted to and from GRC device is placed in a fixed location in the module’s internal database. The following table and section show where and how GRC module’s internal database looks like:
Article
Port
No.
Toggle
Command
(0 or 1)
Assign ID
for RS-485
(0=no id
included)
Name
(keyword
"CURRENT"
for current
Command
Count
Command
Number
(MAX 99
commands)
Start
Parameter
Start
Response
Value
article)
Port 1 0 2 4 to 9 100 101 to 199 1000 2300
Port 2 10 12 14 to 19 200 201 to 299 1300 3300
Port 3 20 22 24 to 29 300 301 to 399 1600 4300
Port 4 30 32 34 to 39 400 401 to 499 1900 5300
2.2.1 Sending Data
Each command transmitted to GRC devices can dynamically be set up. The following table shows each individual location for each command’s parameter according to database address map:
DB 0 1 2 3 4 5 6 7 8 9
0
10
FB_SENDEN
inquire specific
data block (INT)
FB_SET_DATE
1 Day (INT)
FB_SET_DATE
2 Month (INT)
FB_SET_TOLSY
ST production
legislation (INT)
FB_SET_DATE
3 Year (INT)
FB_SET_PGS
Plus to Good
(INT)
FB_SET_TIME 1
Hour (INT)
FB_SET_TIME 2
Minute (INT)
FB_SET_PAUS
E Delay (INT)
FB_SET_HS 1
Handshake
Protocol (INT)
FB_SET_AUTO
HOUR Automatic
sending
production hour
(INT)
FB_SET_HS 2
Handshake
Protocol (INT)
ProLinx Communication Gateways, Inc. 5
06.PLNX.GRCM.OO.01.EN July 2003
DB 0 1 2 3 4 5 6 7 8 9
20
30
40
50
60
70
80
FB_PD 1 (Two
CHAR Byte)
FB_GRUND 1
version number
(Two CHAR
Byte)
FB_GRUND 1
article name (Two CHAR
Byte)
FB_DATA 1
nominal weight
(Float)
FB_DATA target throughput (INT)
FB_DATA 1
block termination
(Float)
FB_GRENZEN 1
limit PLUS 3
(Float)
FB_PD 2 (Two
CHAR Byte)
FB_GRUND 2
version number
(Two CHAR
Byte)
FB_GRUND 2
article name (Two CHAR
Byte)
FB_DATA 2
nominal weight
(Float)
FB_DATA 2
block termination
(Float)
FB_GRENZEN 2
limit PLUS 3
(Float)
FB_PD 3 (Two
CHAR Byte)
FB_GRUND 3
version number
(Two CHAR
Byte)
FB_GRUND 3
article name (Two CHAR
Byte)
FB_DATA
measuring time
(INT)
FB_PD 4 (Two
CHAR Byte)
FB_GRUND 4
article name (Two CHAR
Byte)
FB_PD 5 (Two
CHAR Byte)
FB_GRUND 1
article name (Two CHAR
Byte)
FB_GRUND 5
article name (Two CHAR
Byte)
FB_DATA 1
mean fixed tare
(Float)
FB_DATA 1
correction factor
(Float)
FB_GRENZEN 1
limit PLUS 2
(Float)
FB_GRUND 2
article name (Two CHAR
Byte)
FB_GRUND 6
article name (Two CHAR
Byte)
FB_DATA 2
mean fixed tare
(Float)
FB_DATA 2
correction factor
(Float)
FB_GRENZEN 2
limit PLUS 2
(Float)
FB_GRUND 3
article name (Two CHAR
Byte)
FB_GRUND 7
article name (Two CHAR
Byte)
FB_GRUND 4
article name (Two CHAR
Byte)
FB_DATA
product length
(INT)
FB_DATA max
length (INT)
FB_GRUND 5
article name (Two CHAR
Byte)
FB_GRUND
weight unit (INT)
FB_GRENZEN 1
limit PLUS 1
(Float)
FB_DATA
successive
errors number
(INT)
FB_GRENZEN 2
limit PLUS 1
(Float)
90
100
110
120
FB_GRENZEN 1
limit MINUS 1
(Float)
FB_STAT 1
batch number
(Two CHAR
Byte)
FB_STAT 1
tolerance limit
TO 1 (Float)
FB_STAT
tolerance system
(INT)
FB_GRENZEN 2
limit MINUS 1
(Float)
FB_STAT 2
batch number
(Two CHAR
Byte)
FB_STAT 2
tolerance limit
TO 1 (Float)
FB_STAT 3
batch number
(Two CHAR
Byte)
FB_STAT TU 1
percentage (INT)
FB_STAT 4
batch number
(Two CHAR
Byte)
FB_GRENZEN 1
limit MINUS 2
(Float)
FB_STAT 5
batch number
(Two CHAR
Byte)
FB_STAT 1
tolerance limit
TU 1 (Float)
FB_STAT type of
interval (INT)
FB_GRENZEN 2
limit MINUS 2
(Float)
FB_STAT 2
tolerance limit
TU 1 (Float)
FB_STAT 1
tolerance limit
TO 2 (Float)
FB_STAT scope
of one interval
(INT)
FB_STAT 2
tolerance limit
TO 2 (Float)
FB_GRENZEN 1
limit MINUS 3
(Float)
FB_STAT 1
tolerance limit
TU 2 (Float)
FB_STAT block
termination (INT)
FB_GRENZEN 2
limit MINUS 3
(Float)
FB_STAT 2
tolerance limit
TU 2 (Float)
ProLinx Communication Gateways, Inc. 6
06.PLNX.GRCM.OO.01.EN July 2003
DB 0 1 2 3 4 5 6 7 8 9
130
140
150
160
170
180
FB_TR 1
tolerance+
(Float)
FB_TR 1 low
limit (Float)
FB_TR start phase (INT)
FB_GLEIT 1
reference weight
(Float)
FB_GLEIT 1 T1-
limit (Float)
FB_FKT number
of cycle (INT)
FB_TR 2
tolerance+
(Float)
FB_TR 2 low
limit (Float)
FB_GLEIT 2
reference weight
(Float)
FB_GLEIT 2 T1-
limit (Float)
FB_TR start
vaule (INT)
FB_FKT neutral
distance (INT)
FB_TR 1
tolerance- (Float)
FB_TR 1 overfill
(Float)
FB_TR 1 control
factor (Float)
FB_GLEIT 1
high limit (Float)
FB_GLEIT 1 low
limit (Float)
FB_FKT 1 high
limit (Float)
FB_TR 2
tolerance- (Float)
FB_TR 2 overfill
(Float)
FB_TR 2 control
factor (Float)
FB_GLEIT 2
high limit (Float)
FB_GLEIT 2 lo w
limit (Float)
FB_FKT 2 high
limit (Float)
FB_TR no. of
pcs (INT)
FB_TR feedback controlling on/off
(INT)
FB_GLEIT
gliding limits
(INT)
FB_TR 1 high
limit (Float)
FB_GLEIT 1 T1+
limit (Float)
FB_FKT 1 low
limit (Float)
FB_TR 2 high
limit (Float)
FB_TR neutral distance (INT)
FB_GLEIT 2 T1+
limit (Float)
FB_FKT 2 low
limit (Float)
190
200
210
FB_FKT
automatic
printing (INT)
FB_MWG
number of pcs
for mean value
(INT)
FB_METALL
product memory
No. (INT)
FB_FKT fill head
test (INT)
FB_MWG 1 high
limit (Float)
FB_METALL
sensitivity (INT)
FB_MWG 2 high
limit (Float)
FB_METALL
block termination
(INT)
FB_MWG 1 low
limit (Float)
FB_MWG 2 low
limit (Float)
FB_MWG
monitoring (INT)
2.2.2 Receiving Data
Whenever requesting data from GRC devices, received data will also be stored on to module database area. The following table shows how those values are setup according to database address map:
DB 0 1 2 3 4 5 6 7 8 9
ProLinx Communication Gateways, Inc. 7
06.PLNX.GRCM.OO.01.EN July 2003
DB 0 1 2 3 4 5 6 7 8 9
0
10
Article Name 1 Article Name 1 Article Name 1 Article Name 1 Article Name 1 Article Name 1 Article Name 1 Article Name 1 Article Name 1 Article Name 1
Article Name 2 Article Name 2 Article Name 2 Article Name 2 Article Name 2 Article Name 2 Article Name 2 Article Name 2 Article Name 2 Article Name 2
Article Name 3 Article Name 3 Article Name 3 Article Name 3 Article Name 3 Article Name 3 Article Name 3 Article Name 3 Article Name 3 Article Name 3
20
Article Name 4 Article Name 4 Article Name 4 Article Name 4 Article Name 4 Article Name 4 Article Name 4 Article Name 4 Article Name 4 Article Name 4
30
Article Name 5 Article Name 5 Article Name 5 Article Name 5 Article Name 5 Article Name 5 Article Name 5 Article Name 5 Article Name 5 Article Name 5
40
Article Name 6 Article Name 6 Article Name 6 Article Name 6 Article Name 6 Article Name 6 Article Name 6 Article Name 6 Article Name 6 Article Name 6
50
Article Name 7 Article Name 7 Article Name 7 Article Name 7 Article Name 7 Article Name 7 Article Name 7 Article Name 7 Article Name 7 Article Name 7
60
Article Name 8 Article Name 8 Article Name 8 Article Name 8 Article Name 8 Article Name 8 Article Name 8 Article Name 8 Article Name 8 Article Name 8
70
Article Name 9 Article Name 9 Article Name 9 Article Name 9 Article Name 9 Article Name 9 Article Name 9 Article Name 9 Article Name 9 Article Name 9
80
Article Name 10 Article Name 10 Article Name 10 Article Name 10 Article Name 10 Article Name 10 Article Name 10 Article Name 10 Article Name 10 Article Name 10
90
Weigher Number Weigher Number Weigher Number Weigher Number Weigher Number Weigher Number Weigher Number Weigher Number Weigher Number
100
110
120
130
140
Identity Letter of
program option
Latest Deleted
Article
Hourly Records -
current number
Hourly Records -
time of end 1
Identity Letter of
program option
Latest Deleted
Article
Hourly Records -
time of end 2
Identity Letter of
program option
Latest Deleted
Article
Hourly Records -
time of begin 1
Hourly Records -
time of end 3
Identity Letter of
program option
Latest Deleted
Article
Hourly Records -
time of begin 2
Identity Letter of
program option
Latest Deleted
Article
Hourly Records -
time of begin 3
Hourly Records -
date of end 1
Identity Letter of
program option
Latest Deleted
Article
Hourly Records -
date of end 2
Latest Deleted
Article
Hourly Records -
date of begin 1
Hourly Records -
date of end 3
Latest Deleted
Article
Hourly Records -
date of begin 2
Hourly Records -
date of end 4
Latest Deleted
Article
Hourly Records -
date of begin 3
Latest Deleted
Article
Hourly Records -
date of begin 4
ProLinx Communication Gateways, Inc. 8
06.PLNX.GRCM.OO.01.EN July 2003
Loading...
+ 16 hidden pages