|
yUSEz |
COMPOWAY
|
COMPOWAY 1 2 0 cmnd$ buff$ COMPOWAY buff$ nod adr id rcv$ |
yFORMATz |
yFUNCTIONz |
COMPOWAY n m l str1$ str2$ COMPOWAY str1$ v1 v2 v3 str2$
|
|
yEXPLANATIONz |
|
|
|
*RS-485_SEND_READ _VAR data_len cmnd_txt$=mrc_src$+hensu_shu$+str_adr$+bit_ichi$+yoso_su$+setteichi$ COMPOWAY node_no sub_adr sid cmnd_txt$ snd$ PRINT# 5 COMPOWAY snd$ INPUT# 5 COMPOWAY rcv$ IF rse_!=0 THEN /* WHEN rse_ is 4 , BCC error happend , OTHER cases indicates RS-232c errors PRINT "communication error" END_IF COMPOWAY rcv$ node_no sub_adr end_code res$ ptr_=res$+4 res_code=HEX(PTR$(4)) ptr_=res$+8 res_data$=PTR$(data_len) RETURN |
|
|
[LASTMODIFY]2014-10-13 17:37:31 |
[CREATEDATE]2009-03-05 15:42:27 |
|
|
|