Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016
Page 281
Vision Sensor Manual
Fig. 293: Switch to run not possible
5.6.5.8 Strong recommendations for PLC programmer
1. Follow the sequence for requests.
2. Wait for completion of an action before sending the next one. Completion of action is given by change
in image ID for trigger request and reception of acknowledge bit for other requests.
Note that completion of action cannot be safely detected by low-high transition of READY because long
exchange rates between PLC and SBS, e.g. 32ms, may result in READY not getting low.
3. READY should be high before sending trigger request.
5.6.5.9 Request sequences
5.6.5.9.1 Accepting / Discarding of Requests of Control Module
1. Request is accepted with rising Ack bit.
2. Request is discarded with error bit.
3. Request is discarded without error and Ack, if sensor is processing previous request and has not given
Ack to that request. (Not obeying recommended "Handshake").
5.6.5.9.2 TRIGGER Request Sequence
1. Check Ready Bit high in Status module.
2. Set Trigger Request Bit high in Control Module.
3. Check Trigger Ack Bit high and Error Bitfield in status Module.
a) if Trigger Ack Bit high ( Trigger successful), set Trigger Request Bit low. (continue with step 4)
b) if Trigger Ack Bit low and Error Bitfield has Errorcode "1: Failure trigger request", then set Trigger
Request Bit low and set Reset Error Bit high. (continue with step 6)
4. (Case Trigger successful) check Trigger Ack Bit low.
5. (Case Trigger successful) then check ImageID Byte incremented.
Trigger Request is finished.
6. (Case Trigger not successful) Check Error Bitfield going 0, then set Reset Error Bit low.
5.6.5.9.3 ChangeJob Request Sequence
1. Set Byte Jobnumber in Control module to desired value.
Summary of Contents for SBSC-EN
Page 1: ......