10/30/2011 6:54 PM | |
Joined: 10/12/2006 Last visit: 11/27/2024 Posts: 206 Rating: (25) |
Hi panthripu, maybe this link help you... Siwarex U example Regards Zenta |
11/2/2011 1:34 PM | |
Joined: 1/4/2007 Last visit: 12/5/2024 Posts: 1153 Rating: (175)
|
Hello panthripu, RECNUM:B#16#C means only: Write DR12 (DR12: Commands for Ch2) to the Siwarex U. Into the parameter “RECORD” of the SFC58 you have to write the command code, e.g. “3” for zeroing. If you want to do a calibration for the Ch2 follow the steps below please: 1. Read the DR4 from the Siwarex U module to the PLC: Call SFC 59 … RECNUM:=B#16#4 //Read DR4 … RECORD:=P#DB80.DBX0.0 BYTE 10 //DR4 has a length of 10 Byte (DB80.DBX0.0: only as an example, you need 10 Byte for the DR4.) 2. Change the calibration weight at the address DB80.DBW8. The address is DB80.DBW8 if the parameter “RECORD” was “P#DB80.DBX0.0 BYTE 10”. (See the step above.) Please see also the chapter 9.3.5 and 9.3.6 into the attached file. 3. Write the changed DR4 from the PLC to the Siwarex U module: Call SFC 58 … RECNUM:=B#16#4 //Write DR4 RECORD:=P#DB80.DBX0.0 BYTE 10 //DR4 has a length of 10 Byte … 4. Execute the command “1” (Set as zero) for the Ch2 if the scale is empty: L 1 //1 = Set as zero T DBxx.DBWyy Call SFC 58 … RECNUM:=B#16#C //Execute a command for Ch2 RECORD:=P#DBxx.DBXyy.0 BYTE 2 //command code … (“DBxx.DBWyy” AND “DBxx.DBXyy.0” are only placeholders) 5. Load the scale with the defined calibration weight. 6. Execute the command “2” (Adjust) for the Ch2: L 2 //2 = Adjust T DBxx.DBWyy Call SFC 58 … RECNUM:=B#16#C //Execute a command for Ch2 RECORD:=P#DBxx.DBXyy.0 BYTE 2 //command code … (“DBxx.DBWyy” AND “DBxx.DBXyy.0” are only placeholders) 7. The calibration is finished. Congratulation!
Siwarexi AttachmentManual_U_062005_en.pdf (328 Downloads) |
1/16/2017 1:29 PM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4766 Rating: (122) |
New question published by alanisgp is split to a separate thread with the subject Siwarex U module, faceplate freezes. Best regards |
Follow us on