58 HEIDENHAIN Technical Manual iTNC 530 HSCI
Module 9046 Copy controller data to the PLC memory
Module 9046 is used to copy controller data (data of the CC) to the PLC
memory via configured channels.
Constraints:
The module must not be called in the cyclic PLC program part.
The module should only run once for each channel. Once a channel has
been configured successfully, the programmed CC data is copied to the PLC
memory at the PLC clock rate.
If a channel that has already been configured must be reconfigured (other
CC data or other axis), the channel must be reset first. Direct reconfiguration
leads to a module error.
Only with CC 6xxx.
Call:
PS B/W/D/K <Mode>
0: Configuration of cyclic data channels from the CC to the
PLC
PS B/W/D/K <Axis number>
0 to n: Dependence on MP4020 bit 14
PS B/W/D/K <Code for CC data>
Mode 0:
–1: Reset channel (default setting)
0: Mass moment of inertia of the table [kg*m
2
]
1: Mass of the table [kg]
2: Total mass moment of inertia (table and motor) [kg*m
2
]
3: Total mass (table and motor) [kg]
4: Total power [W]
5: Axis power [W]
6: Torque-producing nominal current (with sign) [mA]
7: Total actual current (with sign) [mA]
PS B/W/D/K <Data channel>
Mode 0: 0 to 15, up to 16 channels can be programmed
PS B/W/D/K <Target address in PLC memory>
Mode 0: Double-word address to which the value of the
programmed data channel is copied
CM 9046
PL B/W/D <Error code>
0: No error. Data channel was (already) configured
1: Call was not in a submit/spawn job
2: NC/CC does not support the desired function
3: Invalid value in the <Mode> parameter
4: Invalid value in the <Axis number> parameter
5: Invalid value in the <Code for CC data> parameter
6: Invalid value in the <Channel number> parameter
7: Invalid double-word address in the <Target address in
PLC memory> parameter
8: Programmed data channel is already being used
100: Programmed CC data is not available for programmed
axis