Using USS Protocol Instructions to Communicate with Drives
11-14
S7-200 Programmable Controller System Manual
A5E00066097-02
CAUTION
When you use the WRITE_PM instruction to update the parameter set held in
drive EEPROM, you must ensure that the maximum number of write cycles
(approximately 50,000) to the EEPROM is not exceeded.
Exceeding the maximum number of write cycles will result in corruption of the
stored data and subsequent data loss. The number of read cycles are unlimited.
If frequent writes to the drive parameters are required, then you should first set
P971 (EEPROM storage control) to zero.
Table 11-5 shows the operands and data types of the WRITE_PM subroutine.
Table 11-5 Operands and Data Types for the WRITE_PM Subroutine
Inputs/Outputs
Operands Data Types
XMT_REQ I, Q, M, S, SM, T, C, V, L, Power Flow conditioned by a rising edge
detection element.
BOOL
DRIVE VB, IB, QB, MB, SB, SMB, LB, AC, Constant, *VD, *AC, *LD BYTE
PARM VW, IW, QW, MW, SW, SMW, LW, T, C, AIW, Constant, AC *VD, *AC,
*LD
WORD
VAL VW, IW, QW, MW, SW, SMW, LW, T, C, AIW, Constant, AC *VD, *AC,
*LD
WORD
DB_PTR &VB DWORD
DONE I, Q, M, S, SM, T, C, V, L BOOL
ERR VB, IB, QB, MB, SB, SMB, LB, AC, *VD, *AC, *LD BYTE