Connectable components
9.3 PP 72/48D 2/2A PN
9.3.5.2
Assigning parameters to the analog inputs / outputs
Operating mode
Parameters are assigned to the operating mode via the m+0 byte (Analog Control Byte 0) of
the output image of the analog outputs:
Byte
m+0
m+1
m+2
m+3
The reserved bits must be preassigned with the value "0".
The operating mode is set to "no operating mode" during power-up, as soon as a valid setting
is made this will be applied and will subsequently no longer be reset. If a reset is initiated by
the user, this is interpreted as an error.
Type of control
The control type must be specified in the Analog Control Byte m+1 (bit 0), so that the 16 bit
input and output values from and for the analog module are correctly interpreted by the control.
In the SINUMERIK 840D sl control, the value "1" must be entered here.
Note
The control type must be set prior to the operating mode so that the first set of user data is
not misinterpreted. In addition to this, the Analog Control Byte m+0 / m+1 must only be
accessed byte by byte.
Assigning parameters to the analog inputs
The analog inputs (AI) can be operated in the following operating modes:
Operating mode 1st channel
No operating mode
Voltage measurement
Current measurement
Temperature measurement (Pt100)
Operating mode 2nd channel
No operating mode
Voltage measurement
136
Bit7
Bit6
Bit5
AO
AO
AO
(channel
(channel
(channel
4)
4)
3)
Bit4
Bit3
Bit3
AO
AI
AI
(channel
(channel
(channel
3)
2)
2)
Reserved
Reserved
Reserved
Bit 1
0
0
1
1
Bit 3
0
0
Manual, 06/2014, 6FC5397-1EP40-5BA1
Bit1
Bit0
AI
AI
(channel
(channel
1)
1)
Data
format
Bit 0
0
1
0
1
Bit 2
0
1
NCU 7x0.3 PN, NCU 7x0.3B PN