Size I/O area:
n Enter the size of the I/O area. Depending on the host system the CP occupies for
input and output the following bytes in the I/O areas:
– PROFIBUS: 8byte, 20byte or 60byte selectable
– PROFINET: 20byte or 60byte selectable
– CANopen: 8byte
– EtherCAT: 60byte
– DeviceNET: 60byte
– ModbusTCP: 60byte
DONE:
n is set at order ready without errors and STATUS = 0000h.
ERROR:
n is set at order ready with error. Here STATUS contains the corresponding error mes-
sage.
If there is no error, STATUS = 0000h or 8181h. With an error here the corresponding error
code may be found. As long as ERROR is set, the value of STATUS is available. The fol-
lowing status messages are possible:
STATUS Description
0000h There is no error.
0202h Possible sources of error:
n Handling block and CP are not synchronous (remedy: Trigger
synchronous reset)
n IO_SIZE is not valid (IO_SIZE = 0 or IO_SIZE > 60).
0301h DB is not valid.
0517h LEN is not valid (LEN = 0 or LEN > 1024).
070Ah Transfer failed, there is no response of the partner or the job was
negative acknowledged.
8090h HW_ID is unknown.
80A0h When accessing the periphery, an access error was detected.
80A1h
8181h Job is running (status and no error message).
8323h Send DB available, but too short.
833Ah Send DB not readable (DB not available or DB in optimized block
access).
Ä
Chap. 2.3 ‘No optimized block access’ page 16
The handling blocks SEND and RECEIVE use the common parameter CONTROL for the
handshake. Assign to this parameter a common flag byte.
IO_SIZE
DONE
ERROR
STATUS
CONTROL
VIPA SPEED7
Serial Communication
CP040 > FB 60 - SEND - Send to System SLIO CP 040
HB00 | OPL_SP7 | Operation list | en | 18-30 222