Operating Instructions
COMPAX-M / -S
PLC data interface (function not available with COMPAX 1000SL)
156
8.6.2 PLC data interface
(function not available with COMPAX 1000SL)
This universal data interface allows data to be exchanged with all PLC types,
regardless of manufacturer and origin. You will need five binary inputs and outputs
for this process. These can be divided into four data lines (BCD format) and one
control line.
♦
Direct commands
♦
Absolute and relative positioning commands (POSA, POSR)
♦
Specification of acceleration time and velocity (ACCEL, SPEED)
♦
Password enabling or modifying data record indicator (GOTO)
♦
Queries of status S1...S12 (actual values).
♦
Modifying parameters P1...P49 with defined parameter acceptance (VP).
The PLC data interface is activated by setting P18 (P18="1" or "3". When it is "3",
the "Fast start" function I15 is also switched on) and by switching off and on. The
following binary inputs and outputs are assigned:
Input/output
Meaning
I7 (X8/7)
Control line "UBN"
I8 (X8/8)
Data bit 20
I9 (X10/1)
Data bit 21
I10 (X10/2)
Data bit 22
I11 (X10/3)
Data bit 23
O7 (X8/15)
Control line "RDY"
O8 (X8/16)
Data bit 20
O9 (X10/9)
Data bit 21
O10 (X10/10)
Data bit 22
O11 (X10/11)
Data bit 23
O7...O11 are no longer available for the OUTPUT command. The GOSUB
EXT and GOTO EXT commands are no longer permitted when P18="1".
Instead use the GOTO command.
Each transfer begins with the start letter "E" and ends with the end letter "F". In
between them is the command. This consists of two BCD numbers (called function
code) for the command type and of numerical values for position, velocity,
acceleration time, etc. The numerical values can contain special figures:
Figure
BCD coded
Meaning
"D"
≡
"1101"
Negative prefix
"0"
≡
"0000"
Positive prefix
"C"
≡
"1100"
Decimal point
"A"
≡
"1010"
Assignment "="
Use status S29 to e.g. track the interface data via the front plate display.
Functions
available:
Activation: