发布于 2006-07-13 22:04:44
0楼
1.仔细读一读有关RECORD的说明:
RECORD OUTPUT ANY I, Q, M, D, L Destination area for the user data that were read. This must be exactly as long as you configured for the selected module with STEP 7. Only the data type BYTE is permitted.
2. 我写的调用SFC14,编译通过。注意BYTE后面一定打一空格再写8 !
CALL "DPRD_DAT"
LADDR :=PIW256
RET_VAL:=MW100
RECORD :=P#M 540.0 BYTE 8
一日三省吾身