41
CTDS V2.0/MCTDS5 Data transmission description and flow control suggestion
VER:2020060201
1. Controller power on and time synchronization
After controller is power on, it will send data {REQ0...} each second to inform
external device such as computer
、
PLC
、
AMS. It needs to reply {CMD0,....} that
controller function normally and controller time.
If the controller does not receive {CMD100,....},{REQ100,...}will be sent again after 10 seconds.
2. When controller received barcode information, it will send scanned data and data format as {REQ1....} to
external device for control judgement or record saving. External device needs to reply {CMD0....}
3. After controller is power on and screwdriver shut off, brake signal format as {DATA0, .....} will be send.
Every shut off will cause column 6 (no. of total tightening on controller) to increase by 1. External device
needs to reply {CMD0,....}, if not, CMD0 will keep on sending DATA0(only update date time) and column
6 (no. of total tightening on controller) value will remain unchanged.
4. Shut off data will be sent after each shut off. Use the column 6 (no. of tightening on controller) to judge if
there it is a new shut off data or not.
5.When controller receive feedback and format as {CMD0,....} from external device, controller will resume to
automatically send {REQ0,...} and be able to configure controller time.
6. Recommended software control flow as below:
P.S: The content of [CMD0] in flow as the below:
{CMD0,0,0,0,0,0,0,YEAR,MONTH,DAY,HOUR,MINUTE,SECOND,0000,000
0}
str8 0001~9999 YEAR
str9 01~12 MONTH
str10 01~31 DAY
str11 00~23 HOUR
str12 00~59 MINUTE
str13 00~59 SECOND
str14 0000-9999 Check Sum(year, month, day, hour, mimute, and second plus sum)
str15 0000-9999 Key Code(Check Sum + 5438)