P4: PLC for SINUMERIK 828D
14.3 Programming
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1099
14.3.1.4 Fast onboard inputs and outputs
SINUMERIK828D provides 4 inputs and 4 outputs "onboard". These are also fed to the outside at connector
X142; therefore no I/O modules are required and these I/O can be especially quickly processed ("fast I/O").
As standard, these IO are assigned to the NCK, the assignment to the PLC is described in:
References:
Commissioning Manual SINUMERIK 828D
The onboard IO is not assigned to an image memory; reading and writing are always directly made to/from the
hardware. This is the reason that direct operation commands must be used when accessing this IO:
It makes sense to use the interrupt program INT0 for this purpose, because these command can be executed as
quickly as possible in the servo cycle.
14.3.2 Target system memory
14.3.2.1 Type of memory
Addressing the onboard inputs: I256.0 ... I256.3
Addressing the onboard outputs: Q256.0 … Q256.3
• Direct NO contact -| I |-
• Direct NC contact -| /I |-
• Directly set bit value -(SI)-
• Directly reset bit value -(RI)-
• Directly assign bit value -( I )-
Type Description
Access in the
bit format
Access in the
type format
Access in the
word format
Access in the
double word
format
can be
retentive
I Digital inputs and process
image input
read / write read / write read / write read / write no
Q Digital outputs and
process image output
read / write read / write read / write read / write no
M Internal bit memory read / write read / write read / write read / write no
SM Special bit memory
(SM0.0-SM0.6 are write-
protected)
read / write read / write read / write read / write no
V Variable memory read / write read / write read / write read / writeyes
T Actual values of timers
and time bits
Time bit
read / write
no actual value of
time
read / write
no no
C Actual values of the
counters and count bits
Counter bit
read / write
no actual value of
the counter
read / write
no no
AC Accumulators no read / write read / write read / write no
L Local data memory read / write read / write read / write read / write no